illumos-amd64-joyent at 2bcbe6a4b6bc74ad9a1de159058e452c4d9d92cb building tools at e98af230987614b97d20a34f8062bf3fa0fe2376 :: Running /tmp/workdir-host-illumos-amd64-joyent/go/bin/go with args ["/tmp/workdir-host-illumos-amd64-joyent/go/bin/go" "test" "-short" "golang.org/x/tools/..."] and env ["_=*12830*/opt/buildlet-stage0" "LANG=C" "PATH=/tmp/workdir-host-illumos-amd64-joyent/go/bin:/usr/sbin:/usr/bin" "PWD=/" "SHLVL=1" "SMF_FMRI=svc:/network/buildlet:default" "SMF_METHOD=start" "SMF_RESTARTER=svc:/system/svc/restarter:default" "SMF_ZONENAME=a7b1a6d2-172e-cbcd-8e45-baf8d2ccffeb" "TZ=UTC" "A__z=\"*SHLVL" "USER=root" "HOME=/root" "GO_STAGE0_NET_DELAY=200ms" "GO_STAGE0_DL_DELAY=0s" "WORKDIR=/tmp/workdir-host-illumos-amd64-joyent" "GOROOT_BOOTSTRAP=/tmp/workdir-host-illumos-amd64-joyent/go1.4" "GO_BUILDER_NAME=illumos-amd64-joyent" "GOROOT_BOOTSTRAP=/root/goboot" "HOME=/root" "PATH=/usr/sbin:/usr/bin:/opt/local/bin" "GOROOT=/tmp/workdir-host-illumos-amd64-joyent/go" "GOPATH=/tmp/workdir-host-illumos-amd64-joyent/gopath" "GOPROXY=http://10.240.0.54:30157" "GOPROXY=https://proxy.golang.org" "TMPDIR=/tmp/workdir-host-illumos-amd64-joyent/tmp" "GOCACHE=/tmp/workdir-host-illumos-amd64-joyent/gocache"] in dir /tmp/workdir-host-illumos-amd64-joyent/gopath/src/golang.org/x/tools go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 go: downloading golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: extracting golang.org/x/sync v0.0.0-20190423024810-112230192c58 go: extracting golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: finding golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: finding golang.org/x/sync v0.0.0-20190423024810-112230192c58 ok golang.org/x/tools/benchmark/parse 0.533s ok golang.org/x/tools/blog 0.902s ? golang.org/x/tools/blog/atom [no test files] ? golang.org/x/tools/cmd/auth/authtest [no test files] ? golang.org/x/tools/cmd/auth/cookieauth [no test files] ? golang.org/x/tools/cmd/auth/gitauth [no test files] ? golang.org/x/tools/cmd/auth/netrcauth [no test files] ok golang.org/x/tools/cmd/benchcmp 0.494s ok golang.org/x/tools/cmd/bundle 1.132s --- FAIL: TestCallgraph (0.00s) main_test.go:81: 'go list' driver requires 'go', but executable file not found in $PATH main_test.go:81: 'go list' driver requires 'go', but executable file not found in $PATH main_test.go:81: 'go list' driver requires 'go', but executable file not found in $PATH main_test.go:81: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/cmd/callgraph 2.108s ? golang.org/x/tools/cmd/compilebench [no test files] --- FAIL: TestCover (0.00s) cover_test.go:92: exec: "go": executable file not found in $PATH FAIL FAIL golang.org/x/tools/cmd/cover 0.317s ok golang.org/x/tools/cmd/digraph 0.567s ? golang.org/x/tools/cmd/eg [no test files] --- FAIL: TestFixImports (0.00s) main_test.go:214: #0. fiximports() = false main_test.go:222: #0. stderr: got <>, want << testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF' fruit.io/banana fixed: old.com/one -> new.com/one fixed: titanic.biz/bar -> new.com/bar >> main_test.go:235: #0. rewrite[$GOPATH/src/fruit.io/banana/banana.go] missing, want <> main_test.go:214: #1. fiximports() = false main_test.go:222: #1. stderr: got <>, want << testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF' >> main_test.go:222: #2. stderr: got <>, want << testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF' fruit.io/banana testdata/src/fruit.io/banana/banana.go:6: import "titanic.biz/foo" fixed: old.com/one -> new.com/one fixed: titanic.biz/bar -> new.com/bar ERROR: titanic.biz/foo has no import comment imported directly by: fruit.io/pear imported indirectly by: fruit.io/orange >> main_test.go:235: #2. rewrite[$GOPATH/src/fruit.io/banana/banana.go] missing, want <> main_test.go:214: #3. fiximports() = false main_test.go:222: #3. stderr: got <>, want << testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF' fruit.io/banana fixed: old.com/one -> new.com/one fixed: titanic.biz/bar -> new.com/bar fixed: titanic.biz/foo -> new.com/foo >> main_test.go:235: #3. rewrite[$GOPATH/src/fruit.io/banana/banana.go] missing, want <> main_test.go:214: #4. fiximports() = false main_test.go:222: #4. stderr: got <>, want << testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF' fruit.io/banana fixed: old.com/one -> new.com/one fixed: titanic.biz/bar -> new.com/bar fixed: titanic.biz/foo -> new.com/foo >> main_test.go:235: #4. rewrite[$GOPATH/src/fruit.io/banana/banana.go] missing, want <> main_test.go:214: #5. fiximports() = false main_test.go:222: #5. stderr: got <>, want << testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF' fruit.io/banana fixed: old.com/one -> new.com/one fixed: titanic.biz/bar -> new.com/bar fixed: titanic.biz/foo -> new.com/foo >> main_test.go:235: #5. rewrite[$GOPATH/src/fruit.io/banana/banana.go] missing, want <> --- FAIL: TestDryRun (0.00s) main_test.go:251: fiximports failed: importfix: exec: "go": executable file not found in $PATH FAIL FAIL golang.org/x/tools/cmd/fiximports 0.334s ok golang.org/x/tools/cmd/getgo 0.674s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.383s ? golang.org/x/tools/cmd/godex [no test files] --- FAIL: TestURL (0.00s) godoc_test.go:55: Building godoc: exec: "go": executable file not found in $PATH --- FAIL: TestWeb (0.00s) godoc_test.go:55: Building godoc: exec: "go": executable file not found in $PATH --- FAIL: TestTypeAnalysis (0.00s) godoc_test.go:55: Building godoc: exec: "go": executable file not found in $PATH FAIL FAIL golang.org/x/tools/cmd/godoc 1.045s ? golang.org/x/tools/cmd/goimports [no test files] ? golang.org/x/tools/cmd/gomvpkg [no test files] ? golang.org/x/tools/cmd/gopls [no test files] --- FAIL: TestGeneratedFiles (0.00s) gorename_test.go:336: Building gorename: exec: "go": executable file not found in $PATH FAIL FAIL golang.org/x/tools/cmd/gorename 1.145s ? golang.org/x/tools/cmd/gotype [no test files] ? golang.org/x/tools/cmd/goyacc [no test files] ok golang.org/x/tools/cmd/guru 0.229s ? golang.org/x/tools/cmd/guru/serial [no test files] ? golang.org/x/tools/cmd/html2article [no test files] ? golang.org/x/tools/cmd/present [no test files] ok golang.org/x/tools/cmd/splitdwarf/internal/macho 0.438s ? golang.org/x/tools/cmd/ssadump [no test files] ? golang.org/x/tools/cmd/stress [no test files] --- FAIL: TestEndToEnd (0.00s) endtoend_test.go:30: building stringer: exec: "go": executable file not found in $PATH --- FAIL: TestTags (0.00s) endtoend_test.go:64: building stringer: exec: "go": executable file not found in $PATH --- FAIL: TestConstValueChange (0.00s) endtoend_test.go:112: building stringer: exec: "go": executable file not found in $PATH 2019/07/16 22:16:49 'go list' driver requires 'go', but executable file not found in $PATH FAIL golang.org/x/tools/cmd/stringer 1.045s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 15.556s ? golang.org/x/tools/cover [no test files] ? golang.org/x/tools/go/analysis [no test files] --- FAIL: TestTheTest (0.00s) analysistest_test.go:89: got: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH want: a/b.go:5: in 'want' comment: unexpected ":" a/b.go:6: in 'want' comment: got String after foo, want ':' a/b.go:7: in 'want' comment: got EOF, want regular expression a/b.go:8: in 'want' comment: invalid char escape a/b.go:11:9: diagnostic "call of println(...)" does not match pattern "wrong expectation text" a/b.go:14:9: unexpected diagnostic: call of println(...) a/b.go:11: no diagnostic was reported matching "wrong expectation text" a/b.go:17: no diagnostic was reported matching "unsatisfied expectation" FAIL FAIL golang.org/x/tools/go/analysis/analysistest 1.649s ? golang.org/x/tools/go/analysis/cmd/vet [no test files] ok golang.org/x/tools/go/analysis/internal/analysisflags 1.254s ? golang.org/x/tools/go/analysis/internal/checker [no test files] --- FAIL: TestEncodeDecode (0.00s) facts_test.go:92: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/internal/facts 0.817s ok golang.org/x/tools/go/analysis/multichecker 1.606s --- FAIL: Test (0.03s) --- FAIL: Test/linux/amd64 (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/linux/386 (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/linux/arm (0.02s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/linux/mips64 (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/linux/s390x (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/linux/ppc64 (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/linux/mips (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: Test/js/wasm (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/asmdecl 0.811s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/assign 0.834s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/atomic 1.756s --- FAIL: Test (0.00s) analysistest.go:103: loading [a b]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/atomicalign 1.786s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/bools 1.774s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH panic: runtime error: index out of range [0] with length 0 [recovered] panic: runtime error: index out of range [0] with length 0 goroutine 34 [running]: testing.tRunner.func1(0xc000192100) /tmp/workdir-host-illumos-amd64-joyent/go/src/testing/testing.go:874 +0x3a3 panic(0x770ee0, 0xc000014160) /tmp/workdir-host-illumos-amd64-joyent/go/src/runtime/panic.go:679 +0x1b2 golang.org/x/tools/go/analysis/passes/buildssa_test.Test(0xc000192100) /tmp/workdir-host-illumos-amd64-joyent/gopath/src/golang.org/x/tools/go/analysis/passes/buildssa/buildssa_test.go:18 +0x332 testing.tRunner(0xc000192100, 0x7b2b20) /tmp/workdir-host-illumos-amd64-joyent/go/src/testing/testing.go:909 +0xc9 created by testing.(*T).Run /tmp/workdir-host-illumos-amd64-joyent/go/src/testing/testing.go:960 +0x350 FAIL golang.org/x/tools/go/analysis/passes/buildssa 1.598s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/buildtag 1.589s --- FAIL: Test (0.00s) analysistest.go:103: loading [a b c]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/cgocall 0.882s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/composite 0.850s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/copylock 0.212s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/ctrlflow 0.808s --- FAIL: Test (0.01s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/deepequalerrors 1.757s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/errorsas 1.585s --- FAIL: TestFromStringLiterals (0.00s) --- FAIL: TestFromStringLiterals/SimpleTest (0.00s) analysistest.go:103: loading [main]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestFromFileSystem (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/findcall 0.847s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/httpresponse 0.198s ? golang.org/x/tools/go/analysis/passes/inspect [no test files] ? golang.org/x/tools/go/analysis/passes/internal/analysisutil [no test files] --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/loopclosure 0.282s --- FAIL: Test (0.00s) analysistest.go:103: loading [a b]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/lostcancel 1.108s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/nilfunc 1.141s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/nilness 1.038s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] --- FAIL: Test (0.00s) analysistest.go:103: loading [c]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/pkgfact 0.651s --- FAIL: Test (0.00s) analysistest.go:103: loading [a b nofmt]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/printf 0.250s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/shadow 0.982s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/shift 1.174s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestAnalyzeEncodingXML (0.00s) analysistest.go:103: loading [encoding/xml]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/stdmethods 1.203s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/structtag 0.318s --- FAIL: Test (0.00s) analysistest.go:103: loading [a b_x_test divergent]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/tests 0.342s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/unmarshal 0.662s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/unreachable 0.545s --- FAIL: Test (0.01s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/unsafeptr 0.930s --- FAIL: Test (0.00s) analysistest.go:103: loading [a]: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/analysis/passes/unusedresult 0.480s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 1.159s ok golang.org/x/tools/go/ast/astutil 0.281s ok golang.org/x/tools/go/ast/inspector 0.464s ok golang.org/x/tools/go/buildutil 0.914s ? golang.org/x/tools/go/callgraph [no test files] ok golang.org/x/tools/go/callgraph/cha 0.440s ok golang.org/x/tools/go/callgraph/rta 0.843s ok golang.org/x/tools/go/callgraph/static 0.760s ok golang.org/x/tools/go/cfg 0.380s ok golang.org/x/tools/go/expect 0.405s ok golang.org/x/tools/go/gccgoexportdata 1.210s ok golang.org/x/tools/go/gcexportdata 1.340s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 3.215s --- FAIL: TestIssue25301 (0.00s) gcimporter_test.go:90: gcimporter_test.go:91: go tool compile issue25301.go failed: exec: "go": executable file not found in $PATH --- FAIL: TestImportTestdata (0.00s) gcimporter_test.go:90: gcimporter_test.go:91: go tool compile exports.go failed: exec: "go": executable file not found in $PATH --- FAIL: TestIssue13566 (0.00s) gcimporter_test.go:90: gcimporter_test.go:91: go tool compile a.go failed: exec: "go": executable file not found in $PATH --- FAIL: TestIssue15517 (0.00s) gcimporter_test.go:90: gcimporter_test.go:91: go tool compile p.go failed: exec: "go": executable file not found in $PATH --- FAIL: TestIssue15920 (0.00s) gcimporter_test.go:90: gcimporter_test.go:91: go tool compile issue15920.go failed: exec: "go": executable file not found in $PATH --- FAIL: TestIssue20046 (0.00s) gcimporter_test.go:90: gcimporter_test.go:91: go tool compile issue20046.go failed: exec: "go": executable file not found in $PATH cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/net_C926054611 -- -I /tmp/workdir-host-illumos-amd64-joyent/tmp/net_C926054611 cgo_resnew.go cgo_socknew.go cgo_solaris.go cgo_unix.go]: exec: "go": executable file not found in $PATH /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:324:23: undeclared name: cgoLookupPTR /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:124:24: undeclared name: cgoLookupCNAME /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:108:23: undeclared name: cgoLookupPort /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:96:24: undeclared name: cgoLookupIP /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:81:24: undeclared name: cgoLookupHost cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/os_user_C612081686 -- -I /tmp/workdir-host-illumos-amd64-joyent/tmp/os_user_C612081686 -D_POSIX_PTHREAD_SEMANTICS cgo_lookup_unix.go]: exec: "go": executable file not found in $PATH /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:57:9: undeclared name: lookupGroupId /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:51:9: undeclared name: lookupGroup /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:45:9: undeclared name: lookupUserId /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:36:9: undeclared name: lookupUser /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:15:41: undeclared name: current cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/runtime_cgo_C744640637 -import_runtime_cgo=false -import_syscall=false -- -D_POSIX_PTHREAD_SEMANTICS -I /tmp/workdir-host-illumos-amd64-joyent/tmp/runtime_cgo_C744640637 -Wall -Werror cgo.go]: exec: "go": executable file not found in $PATH haserrors/haserrors.go:2:22: cannot convert "" (untyped string constant) to untyped int haserrors/haserrors.go:3:18: undeclared name: undefined cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/net_C077656504 -- -I /tmp/workdir-host-illumos-amd64-joyent/tmp/net_C077656504 cgo_resnew.go cgo_socknew.go cgo_solaris.go cgo_unix.go]: exec: "go": executable file not found in $PATH cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/os_user_C913519543 -- -I /tmp/workdir-host-illumos-amd64-joyent/tmp/os_user_C913519543 -D_POSIX_PTHREAD_SEMANTICS cgo_lookup_unix.go]: exec: "go": executable file not found in $PATH cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/runtime_cgo_C003176874 -import_runtime_cgo=false -import_syscall=false -- -D_POSIX_PTHREAD_SEMANTICS -I /tmp/workdir-host-illumos-amd64-joyent/tmp/runtime_cgo_C003176874 -Wall -Werror cgo.go]: exec: "go": executable file not found in $PATH /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:324:23: undeclared name: cgoLookupPTR /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:124:24: undeclared name: cgoLookupCNAME /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:108:23: undeclared name: cgoLookupPort /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:96:24: undeclared name: cgoLookupIP /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:81:24: undeclared name: cgoLookupHost /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:57:9: undeclared name: lookupGroupId /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:51:9: undeclared name: lookupGroup /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:45:9: undeclared name: lookupUserId /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:36:9: undeclared name: lookupUser /tmp/workdir-host-illumos-amd64-joyent/go/src/os/user/lookup.go:15:41: undeclared name: current haserrors/haserrors.go:2:22: cannot convert "" (untyped string constant) to untyped int haserrors/haserrors.go:3:18: undeclared name: undefined FAIL FAIL golang.org/x/tools/go/internal/gcimporter 60.162s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 39.378s --- FAIL: TestLoadZeroConfig (0.00s) packages_test.go:51: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadImportsGraph (0.01s) --- FAIL: TestLoadImportsGraph/GOPATH (0.01s) packages_test.go:87: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadImportsGraph/Modules (0.00s) packages_test.go:68: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadImportsTestVariants (0.02s) --- FAIL: TestLoadImportsTestVariants/GOPATH (0.00s) packages_test.go:261: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadImportsTestVariants/Modules (0.01s) packages_test.go:247: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadAbsolutePath (0.00s) packages_test.go:302: failed to load imports: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestVendorImports (0.01s) packages_test.go:329: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestConfigDir (0.04s) --- FAIL: TestConfigDir/GOPATH (0.04s) packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/b", pattern "golang.org/fake/a": got , want "a" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/b", pattern "golang.org/fake/a": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/b", pattern "golang.org/fake/b": got , want "b" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/b", pattern "golang.org/fake/b": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "golang.org/fake/a": got , want "a" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "golang.org/fake/a": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "golang.org/fake/b": got , want "b" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "golang.org/fake/b": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "./a": got , want "a" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "./a": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "./b": got , want "b" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake", pattern "./b": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/a", pattern "golang.org/fake/a": got , want "a" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/a", pattern "golang.org/fake/a": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/a", pattern "golang.org/fake/b": got , want "b" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/a", pattern "golang.org/fake/b": error true, want false packages_test.go:424: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/a", pattern "./b": got , want "a/b" packages_test.go:433: dir "/tmp/workdir-host-illumos-amd64-joyent/tmp/TestConfigDir_GOPATH754865754/fake/src/golang.org/fake/a", pattern "./b": error true, want false --- FAIL: TestConfigDir/Modules (0.00s) packages_test.go:378: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestConfigFlags (0.01s) --- FAIL: TestConfigFlags/GOPATH (0.01s) packages_test.go:480: 'go list' driver requires 'go', but executable file not found in $PATH packages_test.go:480: 'go list' driver requires 'go', but executable file not found in $PATH packages_test.go:480: 'go list' driver requires 'go', but executable file not found in $PATH packages_test.go:480: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestConfigFlags/Modules (0.00s) packages_test.go:442: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadTypes (0.00s) --- FAIL: TestLoadTypes/GOPATH (0.00s) packages_test.go:519: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadTypes/Modules (0.00s) packages_test.go:507: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadTypesBits (0.02s) --- FAIL: TestLoadTypesBits/GOPATH (0.00s) packages_test.go:575: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadTypesBits/Modules (0.01s) packages_test.go:560: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadSyntaxOK (0.01s) --- FAIL: TestLoadSyntaxOK/GOPATH (0.00s) packages_test.go:651: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadSyntaxOK/Modules (0.01s) packages_test.go:636: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadDiamondTypes (0.01s) --- FAIL: TestLoadDiamondTypes/GOPATH (0.00s) packages_test.go:728: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadDiamondTypes/Modules (0.00s) packages_test.go:715: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLoadSyntaxError (0.03s) --- FAIL: TestLoadSyntaxError/GOPATH (0.02s) packages_test.go:773: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLoadSyntaxError/Modules (0.01s) packages_test.go:758: go [mod download]: exec: "go": executable file not found in $PATH: panic: runtime error: index out of range [0] with length 0 [recovered] panic: runtime error: index out of range [0] with length 0 goroutine 177 [running]: testing.tRunner.func1(0xc000140200) /tmp/workdir-host-illumos-amd64-joyent/go/src/testing/testing.go:874 +0x3a3 panic(0x702be0, 0xc00050e140) /tmp/workdir-host-illumos-amd64-joyent/go/src/runtime/panic.go:679 +0x1b2 golang.org/x/tools/go/packages_test.testParseFileModifyAST(0xc000140200, 0x7970a0, 0x98db00) /tmp/workdir-host-illumos-amd64-joyent/gopath/src/golang.org/x/tools/go/packages/packages_test.go:852 +0x4b5 golang.org/x/tools/go/packages/packagestest.TestAll.func1(0xc000140200) /tmp/workdir-host-illumos-amd64-joyent/gopath/src/golang.org/x/tools/go/packages/packagestest/export.go:101 +0x68 testing.tRunner(0xc000140200, 0xc00000e0e0) /tmp/workdir-host-illumos-amd64-joyent/go/src/testing/testing.go:909 +0xc9 created by testing.(*T).Run /tmp/workdir-host-illumos-amd64-joyent/go/src/testing/testing.go:960 +0x350 FAIL golang.org/x/tools/go/packages 1.195s ? golang.org/x/tools/go/packages/gopackages [no test files] --- FAIL: TestExpect (0.00s) expect_test.go:62: unable to load packages for directories [/tmp/workdir-host-illumos-amd64-joyent/tmp/TestExpect029540440/fake/src/golang.org/fake]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestModulesExport (0.04s) modules_test.go:17: go [mod download]: exec: "go": executable file not found in $PATH: FAIL FAIL golang.org/x/tools/go/packages/packagestest 0.762s ok golang.org/x/tools/go/pointer 23.574s ok golang.org/x/tools/go/ssa 37.239s ok golang.org/x/tools/go/ssa/interp 5.861s --- FAIL: TestPackages (0.01s) load_test.go:59: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestIssue28106 (0.00s) load_test.go:116: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/go/ssa/ssautil 0.690s ok golang.org/x/tools/go/types/objectpath 1.239s ok golang.org/x/tools/go/types/typeutil 4.903s ok golang.org/x/tools/go/vcs 0.977s ok golang.org/x/tools/godoc 2.414s ? golang.org/x/tools/godoc/analysis [no test files] ? golang.org/x/tools/godoc/golangorgenv [no test files] ok golang.org/x/tools/godoc/redirect 1.469s ok golang.org/x/tools/godoc/static 28.749s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.023s ok golang.org/x/tools/godoc/vfs/gatefs 0.028s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.186s ok golang.org/x/tools/godoc/vfs/zipfs 0.454s ? golang.org/x/tools/imports [no test files] --- FAIL: TestChanges (0.01s) apidiff_test.go:31: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestExportedFields (0.00s) apidiff_test.go:139: 'go list' driver requires 'go', but executable file not found in $PATH FAIL FAIL golang.org/x/tools/internal/apidiff 1.148s ok golang.org/x/tools/internal/fastwalk 0.429s ok golang.org/x/tools/internal/gopathwalk 0.341s --- FAIL: TestSimpleCases (3.23s) --- FAIL: TestSimpleCases/factored_imports_add (0.10s) --- FAIL: TestSimpleCases/factored_imports_add/Modules (0.05s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/factored_imports_add/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/factored_imports_add_first_sec (0.05s) --- FAIL: TestSimpleCases/factored_imports_add_first_sec/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/factored_imports_add_first_sec/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/factored_imports_add_first_sec_2 (0.08s) --- FAIL: TestSimpleCases/factored_imports_add_first_sec_2/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/factored_imports_add_first_sec_2/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/add_import_section (0.05s) --- FAIL: TestSimpleCases/add_import_section/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/add_import_section/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/add_import_paren_section (0.05s) --- FAIL: TestSimpleCases/add_import_paren_section/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/add_import_paren_section/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_double_add (0.05s) --- FAIL: TestSimpleCases/no_double_add/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_double_add/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_mismatched_add (0.18s) --- FAIL: TestSimpleCases/no_mismatched_add/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_mismatched_add/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_unused_1_of_2 (0.05s) --- FAIL: TestSimpleCases/remove_unused_1_of_2/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_unused_1_of_2/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_unused_2_of_2 (0.06s) --- FAIL: TestSimpleCases/remove_unused_2_of_2/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_unused_2_of_2/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_unused_1_of_1 (0.05s) --- FAIL: TestSimpleCases/remove_unused_1_of_1/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_unused_1_of_1/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/dont_remove_empty_imports (0.03s) --- FAIL: TestSimpleCases/dont_remove_empty_imports/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/dont_remove_empty_imports/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/dont_remove_dot_imports (0.05s) --- FAIL: TestSimpleCases/dont_remove_dot_imports/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/dont_remove_dot_imports/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/skip_resolved_refs (0.06s) --- FAIL: TestSimpleCases/skip_resolved_refs/Modules (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/skip_resolved_refs/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/skip_template (0.15s) --- FAIL: TestSimpleCases/skip_template/Modules (0.06s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/skip_template/Modules_GoPackages (0.04s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cgo (0.08s) --- FAIL: TestSimpleCases/cgo/Modules (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cgo/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/make_sections (0.17s) --- FAIL: TestSimpleCases/make_sections/GOPATH_GoPackages (0.01s) fix_test.go:1625: Got: package foo import ( "os" ) func foo() { _, _ = os.Args, fmt.Println _, _ = snappy.ErrCorrupt, p.P } Want: package foo import ( "fmt" "os" "github.com/golang/snappy" "rsc.io/p" ) func foo() { _, _ = os.Args, fmt.Println _, _ = snappy.ErrCorrupt, p.P } --- FAIL: TestSimpleCases/make_sections/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/make_sections/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/delete_empty_import_block (0.09s) --- FAIL: TestSimpleCases/delete_empty_import_block/Modules (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/delete_empty_import_block/Modules_GoPackages (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/use_empty_import_block (0.08s) --- FAIL: TestSimpleCases/use_empty_import_block/Modules (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/use_empty_import_block/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_line_before_new_group (0.24s) --- FAIL: TestSimpleCases/blank_line_before_new_group/GOPATH_GoPackages (0.02s) fix_test.go:1625: Got: package foo import ( "fmt" "net" ) func f() { _ = net.Dial _ = fmt.Printf _ = snappy.ErrCorrupt } Want: package foo import ( "fmt" "net" "github.com/golang/snappy" ) func f() { _ = net.Dial _ = fmt.Printf _ = snappy.ErrCorrupt } --- FAIL: TestSimpleCases/blank_line_before_new_group/Modules (0.05s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_line_before_new_group/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_line_separating_std_and_third_party (0.06s) --- FAIL: TestSimpleCases/blank_line_separating_std_and_third_party/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_line_separating_std_and_third_party/Modules_GoPackages (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/new_imports_before_comment (0.08s) --- FAIL: TestSimpleCases/new_imports_before_comment/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/new_imports_before_comment/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/new_section_for_dotless_import (0.04s) --- FAIL: TestSimpleCases/new_section_for_dotless_import/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/new_section_for_dotless_import/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/fragment_with_main (0.04s) --- FAIL: TestSimpleCases/fragment_with_main/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/fragment_with_main/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/fragment_without_main (0.04s) --- FAIL: TestSimpleCases/fragment_without_main/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/fragment_without_main/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_first_import_in_section (0.03s) --- FAIL: TestSimpleCases/remove_first_import_in_section/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_first_import_in_section/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/new_section_for_all_kinds_of_imports (0.06s) --- FAIL: TestSimpleCases/new_section_for_all_kinds_of_imports/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/new_section_for_all_kinds_of_imports/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/comments_formatted (0.05s) --- FAIL: TestSimpleCases/comments_formatted/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/comments_formatted/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_duplicates (0.05s) --- FAIL: TestSimpleCases/remove_duplicates/Modules (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/remove_duplicates/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_extra_groups (0.03s) --- FAIL: TestSimpleCases/no_extra_groups/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_extra_groups/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/named_import_doesnt_provide_package_name (0.06s) --- FAIL: TestSimpleCases/named_import_doesnt_provide_package_name/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/named_import_doesnt_provide_package_name/Modules_GoPackages (0.03s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/unused_named_import_removed (0.04s) --- FAIL: TestSimpleCases/unused_named_import_removed/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/unused_named_import_removed/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/ignore_unexported_identifier (0.04s) --- FAIL: TestSimpleCases/ignore_unexported_identifier/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/ignore_unexported_identifier/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/formatonly_works (0.07s) --- FAIL: TestSimpleCases/formatonly_works/Modules (0.04s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/formatonly_works/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/preserve_import_group (0.04s) --- FAIL: TestSimpleCases/preserve_import_group/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/preserve_import_group/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_no_groups (0.15s) --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_no_groups/GOPATH_GoPackages (0.01s) fix_test.go:1625: Got: package main import ( "time" ) func main() { _ = snappy.ErrCorrupt _ = p.P _ = time.Parse } Want: package main import ( "time" "github.com/golang/snappy" "rsc.io/p" ) func main() { _ = snappy.ErrCorrupt _ = p.P _ = time.Parse } --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_no_groups/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_no_groups/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_existing_group (0.18s) --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_existing_group/GOPATH_GoPackages (0.01s) fix_test.go:1625: Got: package main import ( "time" "github.com/golang/snappy" ) func main() { _ = snappy.ErrCorrupt _ = p.P _ = time.Parse } Want: package main import ( "time" "github.com/golang/snappy" "rsc.io/p" ) func main() { _ = snappy.ErrCorrupt _ = p.P _ = time.Parse } --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_existing_group/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/import_grouping_not_path_dependent_existing_group/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/package_statement_insertion_preserves_comments (0.05s) --- FAIL: TestSimpleCases/package_statement_insertion_preserves_comments/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/package_statement_insertion_preserves_comments/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/import_comment_stays_on_import (0.10s) --- FAIL: TestSimpleCases/import_comment_stays_on_import/Modules (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/import_comment_stays_on_import/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_blank_after_comment (0.10s) --- FAIL: TestSimpleCases/no_blank_after_comment/Modules (0.04s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_blank_after_comment/Modules_GoPackages (0.02s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_blank_after_comment_reordered (0.03s) --- FAIL: TestSimpleCases/no_blank_after_comment_reordered/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_blank_after_comment_reordered/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_blank_after_comment_unnamed (0.06s) --- FAIL: TestSimpleCases/no_blank_after_comment_unnamed/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/no_blank_after_comment_unnamed/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_after_package_statement_with_comment (0.03s) --- FAIL: TestSimpleCases/blank_after_package_statement_with_comment/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_after_package_statement_with_comment/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_after_package_statement_no_comment (0.03s) --- FAIL: TestSimpleCases/blank_after_package_statement_no_comment/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/blank_after_package_statement_no_comment/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_easy_possible (0.02s) --- FAIL: TestSimpleCases/cryptorand_preferred_easy_possible/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_easy_possible/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_easy_impossible (0.03s) --- FAIL: TestSimpleCases/cryptorand_preferred_easy_impossible/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_easy_impossible/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_complex_possible (0.02s) --- FAIL: TestSimpleCases/cryptorand_preferred_complex_possible/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_complex_possible/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_complex_impossible (0.03s) --- FAIL: TestSimpleCases/cryptorand_preferred_complex_impossible/Modules (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSimpleCases/cryptorand_preferred_complex_impossible/Modules_GoPackages (0.01s) fix_test.go:1168: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestAppengine (0.10s) --- FAIL: TestAppengine/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package p var _, _, _ = fmt.Printf, appengine.Main, datastore.ErrInvalidEntityType Want: package p import ( "fmt" "appengine" "appengine/datastore" ) var _, _, _ = fmt.Printf, appengine.Main, datastore.ErrInvalidEntityType --- FAIL: TestReadFromFilesystem (0.01s) --- FAIL: TestReadFromFilesystem/works (0.01s) --- FAIL: TestReadFromFilesystem/works/Modules (0.00s) fix_test.go:1264: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestReadFromFilesystem/works/Modules_GoPackages (0.00s) fix_test.go:1264: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestReadFromFilesystem/missing_package (0.00s) --- FAIL: TestReadFromFilesystem/missing_package/Modules (0.00s) fix_test.go:1264: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestReadFromFilesystem/missing_package/Modules_GoPackages (0.00s) fix_test.go:1264: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestImportSymlinks (0.09s) --- FAIL: TestImportSymlinks/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package p var ( _ = fmt.Print _ = mypkg.Foo ) Want: package p import ( "fmt" "golang.org/fake/x/y/mypkg" ) var ( _ = fmt.Print _ = mypkg.Foo ) --- FAIL: TestImportSymlinks/Modules (0.00s) fix_test.go:1309: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestImportSymlinks/Modules_GoPackages (0.00s) fix_test.go:1309: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestImportSymlinksWithIgnore (0.11s) --- FAIL: TestImportSymlinksWithIgnore/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package p var ( _ = fmt.Print _ = mypkg.Foo ) Want: package p import "fmt" var ( _ = fmt.Print _ = mypkg.Foo ) --- FAIL: TestModuleVersion (0.01s) --- FAIL: TestModuleVersion/Modules (0.00s) fix_test.go:1377: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestModuleVersion/Modules_GoPackages (0.00s) fix_test.go:1377: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestVendorPackage (0.00s) --- FAIL: TestVendorPackage/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package p import ( "fmt" "mypkg.com/mypkg_v1" ) var _, _ = fmt.Print, mypkg.Foo Want: package p import ( "fmt" mypkg "mypkg.com/mypkg_v1" ) var _, _ = fmt.Print, mypkg.Foo --- FAIL: TestInternal (0.26s) --- FAIL: TestInternal/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package bar var _ = race.Acquire Want: package bar import "foo.com/internal/race" var _ = race.Acquire --- FAIL: TestInternal/Modules (0.01s) fix_test.go:1437: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestInternal/Modules_GoPackages (0.01s) fix_test.go:1437: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestInternal/Modules#01 (0.00s) fix_test.go:1451: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestInternal/Modules_GoPackages#01 (0.01s) fix_test.go:1451: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestProcessVendor (0.14s) --- FAIL: TestProcessVendor/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package p var _ = hpack.HuffmanDecode Want: package p import "golang.org/x/net/http2/hpack" var _ = hpack.HuffmanDecode --- FAIL: TestFindStdlib (0.20s) --- FAIL: TestFindStdlib/Modules (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules_GoPackages (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules#01 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules_GoPackages#01 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules#02 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules_GoPackages#02 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules#03 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules_GoPackages#03 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules#04 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindStdlib/Modules_GoPackages#04 (0.00s) fix_test.go:1499: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestRenameWhenPackageNameMismatch (0.10s) --- FAIL: TestRenameWhenPackageNameMismatch/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package main const Y = bar.X Want: package main import bar "foo.com/foo/bar/baz" const Y = bar.X --- FAIL: TestRenameWhenPackageNameMismatch/Modules (0.00s) fix_test.go:1649: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestRenameWhenPackageNameMismatch/Modules_GoPackages (0.00s) fix_test.go:1649: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestAddNameToMismatchedImport (0.02s) --- FAIL: TestAddNameToMismatchedImport/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package main import ( "foo.com/a.thing" "foo.com/go-thing" "foo.com/go-wrong" "foo.com/other/v2" "foo.com/other/v3" "foo.com/surprise" "foo.com/v1" ) var _ = []interface{}{bar.X, v1.Y, a.A, v2.V2, other.V3, thing.Thing, gow.Wrong} Want: package main import ( "foo.com/a.thing" "foo.com/go-thing" gow "foo.com/go-wrong" v2 "foo.com/other/v2" "foo.com/other/v3" bar "foo.com/surprise" v1 "foo.com/v1" ) var _ = []interface{}{bar.X, v1.Y, a.A, v2.V2, other.V3, thing.Thing, gow.Wrong} --- FAIL: TestAddNameToMismatchedImport/Modules (0.00s) fix_test.go:1698: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestAddNameToMismatchedImport/Modules_GoPackages (0.01s) fix_test.go:1698: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPrefix (0.96s) --- FAIL: TestLocalPrefix/one_local (0.25s) --- FAIL: TestLocalPrefix/one_local/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package main const Y = bar.X const _ = runtime.GOOS Want: package main import ( "runtime" "foo.com/bar" ) const Y = bar.X const _ = runtime.GOOS --- FAIL: TestLocalPrefix/one_local/Modules (0.01s) fix_test.go:1806: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPrefix/one_local/Modules_GoPackages (0.00s) fix_test.go:1806: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPrefix/two_local (0.45s) --- FAIL: TestLocalPrefix/two_local/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package main const Y = bar.X const Z = foo.X const _ = runtime.GOOS Want: package main import ( "runtime" "foo.com/foo" "foo.com/foo/bar" ) const Y = bar.X const Z = foo.X const _ = runtime.GOOS --- FAIL: TestLocalPrefix/two_local/Modules (0.02s) fix_test.go:1806: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPrefix/two_local/Modules_GoPackages (0.00s) fix_test.go:1806: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPrefix/three_prefixes (0.26s) --- FAIL: TestLocalPrefix/three_prefixes/GOPATH_GoPackages (0.01s) fix_test.go:1625: Got: package main const X = pkg.A const Y = bar.B const Z = expproj.C const _ = runtime.GOOS Want: package main import ( "runtime" "code.org/r/p/expproj" "example.org/pkg" "foo.com/bar" ) const X = pkg.A const Y = bar.B const Z = expproj.C const _ = runtime.GOOS --- FAIL: TestLocalPrefix/three_prefixes/Modules (0.01s) fix_test.go:1806: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPrefix/three_prefixes/Modules_GoPackages (0.02s) fix_test.go:1806: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestIgnoreDocumentationPackage (0.13s) --- FAIL: TestIgnoreDocumentationPackage/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package x const Y = foo.X Want: package x import "foo.com/foo" const Y = foo.X --- FAIL: TestIgnoreDocumentationPackage/Modules (0.00s) fix_test.go:1836: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestIgnoreDocumentationPackage/Modules_GoPackages (0.00s) fix_test.go:1836: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestImportPathToNameGoPathParse (0.00s) --- FAIL: TestImportPathToNameGoPathParse/Modules (0.00s) fix_test.go:1854: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestImportPathToNameGoPathParse/Modules_GoPackages (0.00s) fix_test.go:1854: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestIgnoreConfiguration (0.09s) --- FAIL: TestIgnoreConfiguration/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package x const _ = pkg.X Want: package x import "foo.com/otherwise-longer-so-worse-example/foo/pkg" const _ = pkg.X --- FAIL: TestSkipNodeModules (0.10s) --- FAIL: TestSkipNodeModules/GOPATH_GoPackages (0.00s) fix_test.go:1625: Got: package x const _ = pkg.X Want: package x import "foo.com/otherwise-longer/not_modules/pkg" const _ = pkg.X --- FAIL: TestGlobalImports (0.01s) --- FAIL: TestGlobalImports/Modules (0.00s) fix_test.go:1953: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestGlobalImports/Modules_GoPackages (0.01s) fix_test.go:1953: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestGlobalImports_DifferentPackage (0.00s) --- FAIL: TestGlobalImports_DifferentPackage/Modules (0.00s) fix_test.go:1980: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestGlobalImports_DifferentPackage/Modules_GoPackages (0.00s) fix_test.go:1980: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestGlobalImports_MultipleMains (0.02s) --- FAIL: TestGlobalImports_MultipleMains/Modules (0.00s) fix_test.go:2009: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestGlobalImports_MultipleMains/Modules_GoPackages (0.01s) fix_test.go:2009: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSiblingImports (0.02s) --- FAIL: TestSiblingImports/Modules (0.00s) fix_test.go:2066: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSiblingImports/Modules_GoPackages (0.00s) fix_test.go:2066: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSiblingImport_Misnamed (0.00s) --- FAIL: TestSiblingImport_Misnamed/Modules (0.00s) fix_test.go:2093: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestSiblingImport_Misnamed/Modules_GoPackages (0.00s) fix_test.go:2093: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestIgnoreOwnPackage (0.09s) --- FAIL: TestIgnoreOwnPackage/Modules (0.00s) fix_test.go:2116: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestIgnoreOwnPackage/Modules_GoPackages (0.00s) fix_test.go:2116: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestExternalTestImportsPackageUnderTest (0.12s) --- FAIL: TestExternalTestImportsPackageUnderTest/GOPATH_GoPackages (0.01s) fix_test.go:1625: Got: package pkg_test var _ = pkg.DoIt Want: package pkg_test import "foo.com/pkg" var _ = pkg.DoIt --- FAIL: TestExternalTestImportsPackageUnderTest/Modules (0.00s) fix_test.go:2142: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestExternalTestImportsPackageUnderTest/Modules_GoPackages (0.00s) fix_test.go:2142: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestProcessStdin (0.08s) --- FAIL: TestProcessStdin/Modules (0.00s) fix_test.go:2281: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestProcessStdin/Modules_GoPackages (0.00s) fix_test.go:2281: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPackagePromotion (0.17s) --- FAIL: TestLocalPackagePromotion/GOPATH_GoPackages (0.01s) fix_test.go:1625: Got: package main var c = &config.SystemConfig{} Want: package main import "mycompany.net/tool/config" var c = &config.SystemConfig{} --- FAIL: TestLocalPackagePromotion/Modules (0.02s) fix_test.go:2324: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestLocalPackagePromotion/Modules_GoPackages (0.00s) fix_test.go:2324: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindImportInLocalGoFiles (0.03s) --- FAIL: TestFindImportInLocalGoFiles/Modules (0.01s) fix_test.go:2356: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestFindImportInLocalGoFiles/Modules_GoPackages (0.02s) fix_test.go:2356: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestInMemoryFile (0.02s) --- FAIL: TestInMemoryFile/Modules (0.01s) fix_test.go:2374: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestInMemoryFile/Modules_GoPackages (0.00s) fix_test.go:2374: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestImportNoGoFiles (0.00s) --- FAIL: TestImportNoGoFiles/Modules (0.00s) fix_test.go:2392: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestProcessLargeToken (0.27s) --- FAIL: TestProcessLargeToken/Modules (0.00s) fix_test.go:2440: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestProcessLargeToken/Modules_GoPackages (0.01s) fix_test.go:2440: go [mod download]: exec: "go": executable file not found in $PATH: --- FAIL: TestNoMainModule (0.01s) mod_112_test.go:17: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestScanOutOfScopeNestedModule (0.00s) mod_test.go:25: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestScanNestedModuleInLocalReplace (0.00s) mod_test.go:51: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModCase (0.00s) mod_test.go:90: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModDomainRoot (0.00s) mod_test.go:107: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModeGetmodeVendor (0.00s) mod_test.go:123: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModList (0.00s) mod_test.go:150: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModLocalReplace (0.00s) mod_test.go:185: loading package name for zz: running go: exec: "go": executable file not found in $PATH (stderr: ) mod_test.go:185: package name for zz = , want z mod_test.go:185: scan failed: running go: exec: "go": executable file not found in $PATH (stderr: ) mod_test.go:185: scanning for z did not find zz --- FAIL: TestModMultirepo1 (0.00s) mod_test.go:191: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModMultirepo3 (0.00s) mod_test.go:207: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModMultirepo4 (0.00s) mod_test.go:226: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModReplace1 (0.00s) mod_test.go:250: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModReplace2 (0.00s) mod_test.go:266: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModReplace3 (0.00s) mod_test.go:292: running go: exec: "go": executable file not found in $PATH (stderr: ) --- FAIL: TestModReplaceImport (0.00s) mod_test.go:325: running go: exec: "go": executable file not found in $PATH (stderr: ) FAIL FAIL golang.org/x/tools/internal/imports 6.847s ok golang.org/x/tools/internal/jsonrpc2 0.392s --- FAIL: TestLSP (0.04s) --- FAIL: TestLSP/GOPATH (0.02s) lsp_test.go:42: unable to load packages for directories [/tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/selector /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/funcvalue /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/channel /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rename/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/noparse /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/good /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/baz /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rename/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/anon /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/unresolved /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/types /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/deepcomplete /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/links /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/unsafe /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/badstmt /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/analyzer /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/imports /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/constant /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/comments /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/bar /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/basiclit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/highlights /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/good /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/signature /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/nested_complit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/index /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/broken /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/errors /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/foo /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/builtins /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rename/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/interfacerank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/imports /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/symbols /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/typeassert /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/cast /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/noparse_format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rename/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/complit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/references /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/nodisk /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/rename/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/nodisk /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/func_rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/importedcomplit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/snippets /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestLSP_GOPATH763434571/lsp/src/golang.org/x/tools/internal/lsp/nodisk]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestLSP/Modules (0.03s) lsp_test.go:42: go [mod download]: exec: "go": executable file not found in $PATH: FAIL FAIL golang.org/x/tools/internal/lsp 0.147s ? golang.org/x/tools/internal/lsp/browser [no test files] ? golang.org/x/tools/internal/lsp/cache [no test files] --- FAIL: TestCommandLine (0.07s) --- FAIL: TestCommandLine/GOPATH (0.02s) cmd_test.go:36: unable to load packages for directories [/tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/cast /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/good /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rename/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/broken /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/complit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/highlights /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/imports /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/funcvalue /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/anon /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/badstmt /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/references /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rename/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/analyzer /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rename/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/errors /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/deepcomplete /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/importedcomplit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/good /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/noparse_format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/unresolved /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/links /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/builtins /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/baz /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/nested_complit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/selector /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/foo /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/types /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/noparse /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rename/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/snippets /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/unsafe /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/constant /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/basiclit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/typeassert /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/comments /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/index /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/nodisk /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/symbols /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/bar /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/nodisk /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/channel /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rename/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/signature /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/interfacerank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/func_rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/imports /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestCommandLine_GOPATH329652879/lsp/src/golang.org/x/tools/internal/lsp/nodisk]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestCommandLine/Modules (0.05s) cmd_test.go:36: go [mod download]: exec: "go": executable file not found in $PATH: FAIL FAIL golang.org/x/tools/internal/lsp/cmd 0.199s ? golang.org/x/tools/internal/lsp/debug [no test files] ok golang.org/x/tools/internal/lsp/diff 0.482s ok golang.org/x/tools/internal/lsp/fuzzy 0.520s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/snippet 0.561s --- FAIL: TestSource (0.09s) --- FAIL: TestSource/GOPATH (0.04s) source_test.go:38: unable to load packages for directories [/tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/baz /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/imports /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/references /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/basiclit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/imports /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/comments /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/index /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/nested_complit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/highlights /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/links /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rename/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/badstmt /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rename/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/bar /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/errors /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/foo /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/cast /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/unresolved /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/analyzer /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/noparse /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/builtins /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/good /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/nodisk /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rename/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rename/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/func_rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/good /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/symbols /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/signature /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/importedcomplit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/channel /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/deepcomplete /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/anon /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/snippets /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/types /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/broken /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/bad /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/constant /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/interfacerank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/b /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rename/testy /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/godef/a /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/rank /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/unsafe /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/nodisk /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/typeassert /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/funcvalue /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/noparse_format /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/complit /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/selector /tmp/workdir-host-illumos-amd64-joyent/tmp/TestSource_GOPATH479421480/lsp/src/golang.org/x/tools/internal/lsp/nodisk]: 'go list' driver requires 'go', but executable file not found in $PATH --- FAIL: TestSource/Modules (0.05s) source_test.go:38: go [mod download]: exec: "go": executable file not found in $PATH: FAIL FAIL golang.org/x/tools/internal/lsp/source 0.252s ? golang.org/x/tools/internal/lsp/telemetry [no test files] ? golang.org/x/tools/internal/lsp/telemetry/metric [no test files] ? golang.org/x/tools/internal/lsp/telemetry/stats [no test files] ? golang.org/x/tools/internal/lsp/telemetry/tag [no test files] ? golang.org/x/tools/internal/lsp/telemetry/trace [no test files] ? golang.org/x/tools/internal/lsp/telemetry/worker [no test files] ? golang.org/x/tools/internal/lsp/tests [no test files] ? golang.org/x/tools/internal/lsp/xlog [no test files] ok golang.org/x/tools/internal/memoize 0.492s ok golang.org/x/tools/internal/module 0.510s ok golang.org/x/tools/internal/semver 0.534s ok golang.org/x/tools/internal/span 0.490s ? golang.org/x/tools/internal/tool [no test files] ok golang.org/x/tools/internal/txtar 0.504s ? golang.org/x/tools/internal/xcontext [no test files] ? golang.org/x/tools/playground [no test files] ok golang.org/x/tools/playground/socket 0.911s ok golang.org/x/tools/present 0.137s cgo failed: [go tool cgo -objdir /tmp/workdir-host-illumos-amd64-joyent/tmp/net_C265950046 -- -I /tmp/workdir-host-illumos-amd64-joyent/tmp/net_C265950046 cgo_resnew.go cgo_socknew.go cgo_solaris.go cgo_unix.go]: exec: "go": executable file not found in $PATH /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:324:23: undeclared name: cgoLookupPTR /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:124:24: undeclared name: cgoLookupCNAME /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:108:23: undeclared name: cgoLookupPort /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:96:24: undeclared name: cgoLookupIP /tmp/workdir-host-illumos-amd64-joyent/go/src/net/lookup_unix.go:81:24: undeclared name: cgoLookupHost --- FAIL: Test (24.91s) eg_test.go:98: couldn't load packages due to errors: net FAIL FAIL golang.org/x/tools/refactor/eg 25.953s ok golang.org/x/tools/refactor/importgraph 3.503s While scanning Go workspace: Package "foo": /go/src/foo/0.go:1:1: expected 'package', found 'EOF'. /go/src/foo/0.go:1:1: expected 'package', found 'EOF' Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 3 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 2 files in 2 packages. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 4 occurrences in 1 file in 1 package. Renamed 4 occurrences in 1 file in 1 package. Renamed 4 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 3 occurrences in 2 files in 2 packages. Renamed 3 occurrences in 2 files in 2 packages. Renamed 3 occurrences in 2 files in 2 packages. Renamed 5 occurrences in 1 file in 1 package. Renamed 5 occurrences in 1 file in 1 package. Renamed 3 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. /go/src/main/0.go:4:6: unused declared but not used Renamed 2 occurrences in 1 file in 1 package. --- FAIL: TestDiff (0.00s) rename_test.go:1295: can't find package "golang.org/x/tools/refactor/rename" FAIL FAIL golang.org/x/tools/refactor/rename 1.597s ? golang.org/x/tools/refactor/satisfy [no test files] FAIL