You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== RUN TestScript/work_module_not_in_go_work
=== PAUSE TestScript/work_module_not_in_go_work
=== CONT TestScript/work_module_not_in_go_work
script_test.go:132: 2024-07-31T17:06:18Z
script_test.go:134: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\work_module_not_in_go_work2039227295
script_test.go:156:
PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
USERPROFILE=/no-home
CCACHE_DISABLE=1
GOARCH=arm64
...
go work use a
[exit status 1]
> stderr 'directory a[\\/]c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:\n\tgo work use a'
matched: directory a\c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:
go work use a
> cd a/c
> ! go run .
[exit status 1]
script_test.go:156: FAIL: testdata\script\work_module_not_in_go_work.txt:16: context deadline exceeded
--- FAIL: TestScript/work_module_not_in_go_work (0.56s)
=== RUN TestScript/work_module_not_in_go_work
=== PAUSE TestScript/work_module_not_in_go_work
=== CONT TestScript/work_module_not_in_go_work
script_test.go:132: 2024-07-31T17:06:18Z
script_test.go:134: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\work_module_not_in_go_work2039227295
script_test.go:156:
PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
USERPROFILE=/no-home
CCACHE_DISABLE=1
GOARCH=arm64
...
go work use a
[exit status 1]
> stderr 'directory a[\\/]c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:\n\tgo work use a'
matched: directory a\c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:
go work use a
> cd a/c
> ! go run .
[exit status 1]
script_test.go:156: FAIL: testdata\script\work_module_not_in_go_work.txt:16: context deadline exceeded
--- FAIL: TestScript/work_module_not_in_go_work (0.56s)
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: