linux-386 at a754d2993db1771ca3903d0a5d0e3add1883cf9b building tools at d0db29b5c615a0acadf0405a5c2eaa51ac0056a3 testing in module mode; GOMOD=/workdir/gopath/src/golang.org/x/tools/go.mod :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "golang.org/x/tools/..."] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn5112fd3" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=25.1s" "GO_STAGE0_DL_DELAY=1.5s" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-386" "GOROOT_BOOTSTRAP=/go1.4" "GOARCH=386" "GOHOSTARCH=386" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.13:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools go: downloading golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 go: downloading golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: extracting golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 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 go: finding golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 ok golang.org/x/tools/benchmark/parse 0.018s ok golang.org/x/tools/blog 0.015s ? 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.017s ok golang.org/x/tools/cmd/bundle 0.011s ok golang.org/x/tools/cmd/callgraph 7.594s ? golang.org/x/tools/cmd/compilebench [no test files] ok golang.org/x/tools/cmd/cover 2.112s ok golang.org/x/tools/cmd/digraph 0.013s ? golang.org/x/tools/cmd/eg [no test files] ok golang.org/x/tools/cmd/fiximports 10.653s ok golang.org/x/tools/cmd/getgo 0.016s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.007s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 13.326s ? 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] ok golang.org/x/tools/cmd/gorename 8.976s ? 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.040s ? 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] ? golang.org/x/tools/cmd/splitdwarf [no test files] ok golang.org/x/tools/cmd/splitdwarf/internal/macho 0.023s ? golang.org/x/tools/cmd/ssadump [no test files] ? golang.org/x/tools/cmd/stress [no test files] ok golang.org/x/tools/cmd/stringer 17.048s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 1.105s ? golang.org/x/tools/cover [no test files] ? golang.org/x/tools/go/analysis [no test files] ok golang.org/x/tools/go/analysis/analysistest 0.187s ok golang.org/x/tools/go/analysis/internal/analysisflags 0.111s ok golang.org/x/tools/go/analysis/internal/checker 0.152s ok golang.org/x/tools/go/analysis/internal/facts 0.251s ok golang.org/x/tools/go/analysis/multichecker 16.537s ok golang.org/x/tools/go/analysis/passes/asmdecl 0.685s ok golang.org/x/tools/go/analysis/passes/assign 2.025s ok golang.org/x/tools/go/analysis/passes/atomic 0.061s ok golang.org/x/tools/go/analysis/passes/atomicalign 2.163s ok golang.org/x/tools/go/analysis/passes/bools 1.863s ok golang.org/x/tools/go/analysis/passes/buildssa 0.058s ok golang.org/x/tools/go/analysis/passes/buildtag 0.059s ok golang.org/x/tools/go/analysis/passes/cgocall 2.739s ok golang.org/x/tools/go/analysis/passes/composite 2.254s ok golang.org/x/tools/go/analysis/passes/copylock 1.895s ok golang.org/x/tools/go/analysis/passes/ctrlflow 2.766s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 1.729s ok golang.org/x/tools/go/analysis/passes/errorsas 2.095s ok golang.org/x/tools/go/analysis/passes/findcall 0.391s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/httpresponse 3.077s ? golang.org/x/tools/go/analysis/passes/inspect [no test files] ? golang.org/x/tools/go/analysis/passes/internal/analysisutil [no test files] ok golang.org/x/tools/go/analysis/passes/loopclosure 0.045s ok golang.org/x/tools/go/analysis/passes/lostcancel 2.613s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 0.072s ok golang.org/x/tools/go/analysis/passes/nilness 0.083s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 0.073s ok golang.org/x/tools/go/analysis/passes/printf 3.096s ok golang.org/x/tools/go/analysis/passes/shadow 2.157s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 0.061s ok golang.org/x/tools/go/analysis/passes/sortslice 1.666s ok golang.org/x/tools/go/analysis/passes/stdmethods 4.754s ok golang.org/x/tools/go/analysis/passes/structtag 2.832s ok golang.org/x/tools/go/analysis/passes/tests 2.678s ok golang.org/x/tools/go/analysis/passes/unmarshal 2.563s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 0.071s ok golang.org/x/tools/go/analysis/passes/unsafeptr 2.259s ok golang.org/x/tools/go/analysis/passes/unusedresult 2.297s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 3.313s ok golang.org/x/tools/go/ast/astutil 0.037s ok golang.org/x/tools/go/ast/inspector 0.175s ok golang.org/x/tools/go/buildutil 0.061s ? golang.org/x/tools/go/callgraph [no test files] ok golang.org/x/tools/go/callgraph/cha 0.018s ok golang.org/x/tools/go/callgraph/rta 0.022s ok golang.org/x/tools/go/callgraph/static 0.026s ok golang.org/x/tools/go/cfg 0.018s ok golang.org/x/tools/go/expect 0.004s ok golang.org/x/tools/go/gccgoexportdata 0.025s ok golang.org/x/tools/go/gcexportdata 0.037s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.022s ok golang.org/x/tools/go/internal/gcimporter 39.929s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 13.957s ok golang.org/x/tools/go/packages 56.673s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 0.101s ok golang.org/x/tools/go/pointer 7.871s ok golang.org/x/tools/go/ssa 9.212s ok golang.org/x/tools/go/ssa/interp 0.413s ok golang.org/x/tools/go/ssa/ssautil 2.063s ok golang.org/x/tools/go/types/objectpath 0.021s ok golang.org/x/tools/go/types/typeutil 1.104s ok golang.org/x/tools/go/vcs 0.051s ok golang.org/x/tools/godoc 1.048s ? 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 5.153s ok golang.org/x/tools/godoc/static 2.411s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.037s ok golang.org/x/tools/godoc/vfs/gatefs 0.047s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.008s ok golang.org/x/tools/godoc/vfs/zipfs 0.009s ? golang.org/x/tools/imports [no test files] ok golang.org/x/tools/internal/apidiff 0.696s ok golang.org/x/tools/internal/fastwalk 0.017s ok golang.org/x/tools/internal/gopathwalk 0.034s --- FAIL: TestStdlibNotPrefixed (0.48s) --- FAIL: TestStdlibNotPrefixed/Modules (0.12s) fix_test.go:1571: Got: package p var _ = bytes.Buffer Want: package p import "bytes" var _ = bytes.Buffer FAIL FAIL golang.org/x/tools/internal/imports 25.473s ok golang.org/x/tools/internal/jsonrpc2 0.034s 2019/10/29 04:36:19 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:23 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:23 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:23 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:23 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:32 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/- --- FAIL: TestLSP (24.20s) --- FAIL: TestLSP/GOPATH (11.11s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestLSP/GOPATH/Completion (5.20s) --- FAIL: TestLSP/GOPATH/Completion/assign_rank_18_7 (0.00s) completion_test.go:25: /workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0xbb1b6e0 [] [] } {apple var [] int false false InsertTextFormat(0) 0xbb1b710 [] [] } {pear var [] string false false InsertTextFormat(0) 0xbb1b740 [] [] } got: {apple var [] int false true 00000 apple Snippet 0xbb1af60 [] [] } {pear var [] string false false 00001 pear Snippet 0xbb1af90 [] [] } --- FAIL: TestLSP/GOPATH/Diagnostics (1.54s) --- FAIL: TestLSP/GOPATH/Diagnostics/badstmt (0.00s) lsp_test.go:92: diagnostics failed because of different lengths got 6 want 1: expected: file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///workdir/tmp/TestLSP_GOPATH573620972/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo --- FAIL: TestLSP/Modules (13.09s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestLSP/Modules/Completion (6.29s) --- FAIL: TestLSP/Modules/Completion/assign_rank_18_7 (0.00s) completion_test.go:25: /workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0x101047e0 [] [] } {apple var [] int false false InsertTextFormat(0) 0x10104810 [] [] } {pear var [] string false false InsertTextFormat(0) 0x10104840 [] [] } got: {apple var [] int false true 00000 apple Snippet 0x10104060 [] [] } {pear var [] string false false 00001 pear Snippet 0x10104090 [] [] } --- FAIL: TestLSP/Modules/Diagnostics (1.60s) --- FAIL: TestLSP/Modules/Diagnostics/badstmt (0.00s) lsp_test.go:92: diagnostics failed because of different lengths got 6 want 1: expected: file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///workdir/tmp/TestLSP_Modules872683355/primarymod/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo FAIL FAIL golang.org/x/tools/internal/lsp 24.230s ? golang.org/x/tools/internal/lsp/browser [no test files] ? golang.org/x/tools/internal/lsp/cache [no test files] 2019/10/29 04:36:33 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:33 Error:2019/10/29 04:36:33 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:35 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:35 Error:2019/10/29 04:36:35 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:35 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:35 Error:2019/10/29 04:36:35 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 Error:2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 Error:2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 Error:2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:35 Error:2019/10/29 04:36:35 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:39 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:39 Error:2019/10/29 04:36:39 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:40 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:40 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:40 Error:2019/10/29 04:36:40 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:40 Error:2019/10/29 04:36:40 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 Error:2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 Error:2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 Error:2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- 2019/10/29 04:36:41 Error:2019/10/29 04:36:41 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/- --- FAIL: TestCommandLine (13.10s) --- FAIL: TestCommandLine/GOPATH (6.11s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestCommandLine/GOPATH/Diagnostics (1.96s) --- FAIL: TestCommandLine/GOPATH/Diagnostics/badstmt (0.15s) check.go:64: missing diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:13: function must be invoked in defer statement" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:10:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:2: y declared but not used" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:16:10: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:7: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH494200139/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:23:7: _ not declared by package foo" --- FAIL: TestCommandLine/Modules (6.98s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestCommandLine/Modules/Diagnostics (2.28s) --- FAIL: TestCommandLine/Modules/Diagnostics/badstmt (0.08s) check.go:64: missing diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:8:13: function must be invoked in defer statement" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:16:10: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:22:7: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:23:7: _ not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:8:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:10:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules378038830/primarymod/lsp/badstmt/badstmt.go:9:2: y declared but not used" FAIL FAIL golang.org/x/tools/internal/lsp/cmd 13.143s ? golang.org/x/tools/internal/lsp/cmd/test [no test files] ? golang.org/x/tools/internal/lsp/debug [no test files] ok golang.org/x/tools/internal/lsp/diff 0.011s ok golang.org/x/tools/internal/lsp/diff/difftest 0.005s [no tests to run] ok golang.org/x/tools/internal/lsp/diff/myers 0.020s ok golang.org/x/tools/internal/lsp/fuzzy 0.022s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/snippet 0.024s 2019/10/29 04:36:41 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:49 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:49 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:49 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:49 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:52 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:36:53 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:53 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:53 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- 2019/10/29 04:36:53 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/internal/lsp/source/- --- FAIL: TestSource (14.22s) --- FAIL: TestSource/GOPATH (9.87s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestSource/GOPATH/Completion (6.64s) --- FAIL: TestSource/GOPATH/Completion/assign_rank_18_7 (0.00s) source_test.go:108: /workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0xe773fb0 [] [] } {apple var [] int false false InsertTextFormat(0) 0xe8e8000 [] [] } {pear var [] string false false InsertTextFormat(0) 0xe8e8030 [] [] } got: {apple var [] int false false apple InsertTextFormat(0) 0xe8e80f0 [] [] } {pear var [] string false false pear InsertTextFormat(0) 0xe8e8120 [] [] } --- FAIL: TestSource/GOPATH/Diagnostics (0.91s) --- FAIL: TestSource/GOPATH/Diagnostics/badstmt (0.00s) source_test.go:84: diagnostics failed because of different lengths got 6 want 1: expected: file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///workdir/tmp/TestSource_GOPATH830721773/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo --- FAIL: TestSource/Modules (4.35s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestSource/Modules/Completion (2.04s) --- FAIL: TestSource/Modules/Completion/assign_rank_18_7 (0.00s) source_test.go:108: /workdir/tmp/TestSource_Modules876595048/primarymod/lsp/rank/assign_rank.go:18:7-9: completion failed because of different lengths got 2 want 3: expected: {pineapple var [] int false false InsertTextFormat(0) 0x13a64c90 [] [] } {apple var [] int false false InsertTextFormat(0) 0x13a64cc0 [] [] } {pear var [] string false false InsertTextFormat(0) 0x13a64cf0 [] [] } got: {apple var [] int false false apple InsertTextFormat(0) 0x13a64db0 [] [] } {pear var [] string false false pear InsertTextFormat(0) 0x13a64de0 [] [] } --- FAIL: TestSource/Modules/Diagnostics (0.53s) --- FAIL: TestSource/Modules/Diagnostics/badstmt (0.00s) source_test.go:84: diagnostics failed because of different lengths got 6 want 1: expected: file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:7:12-7:15: function must be invoked in defer statement got: file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:7:11-7:12: F not declared by package foo file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:8:1-8:2: y declared but not used file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:9:11-9:12: F not declared by package foo file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:15:9-15:10: F not declared by package foo file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:21:6-21:7: F not declared by package foo file:///workdir/tmp/TestSource_Modules876595048/primarymod/lsp/badstmt/badstmt.go:22:6-22:6: _ not declared by package foo FAIL FAIL golang.org/x/tools/internal/lsp/source 14.239s ? golang.org/x/tools/internal/lsp/telemetry [no test files] ? golang.org/x/tools/internal/lsp/tests [no test files] ok golang.org/x/tools/internal/memoize 0.030s ok golang.org/x/tools/internal/module 0.017s ok golang.org/x/tools/internal/semver 0.014s ok golang.org/x/tools/internal/span 0.035s ? golang.org/x/tools/internal/telemetry [no test files] ? golang.org/x/tools/internal/telemetry/export [no test files] ok golang.org/x/tools/internal/telemetry/export/ocagent 0.030s ? golang.org/x/tools/internal/telemetry/export/ocagent/wire [no test files] ? golang.org/x/tools/internal/telemetry/export/prometheus [no test files] ? golang.org/x/tools/internal/telemetry/log [no test files] ? golang.org/x/tools/internal/telemetry/metric [no test files] ? golang.org/x/tools/internal/telemetry/stats [no test files] ? golang.org/x/tools/internal/telemetry/tag [no test files] ? golang.org/x/tools/internal/telemetry/trace [no test files] ? golang.org/x/tools/internal/telemetry/unit [no test files] ? golang.org/x/tools/internal/testenv [no test files] ? golang.org/x/tools/internal/tool [no test files] ok golang.org/x/tools/internal/txtar 0.033s ? 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.080s ok golang.org/x/tools/present 0.037s ok golang.org/x/tools/refactor/eg 3.307s ok golang.org/x/tools/refactor/importgraph 0.737s ok golang.org/x/tools/refactor/rename 0.096s ? golang.org/x/tools/refactor/satisfy [no test files] FAIL :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "golang.org/x/tools/gopls/..."] and env ["PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn5112fd3" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=25.1s" "GO_STAGE0_DL_DELAY=1.5s" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-386" "GOROOT_BOOTSTRAP=/go1.4" "GOARCH=386" "GOHOSTARCH=386" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.13:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools/gopls go: downloading github.com/sergi/go-diff v1.0.0 go: downloading honnef.co/go/tools v0.0.1-2019.2.3 go: extracting github.com/sergi/go-diff v1.0.0 go: extracting honnef.co/go/tools v0.0.1-2019.2.3 go: downloading github.com/BurntSushi/toml v0.3.1 go: extracting github.com/BurntSushi/toml v0.3.1 go: finding github.com/sergi/go-diff v1.0.0 go: finding honnef.co/go/tools v0.0.1-2019.2.3 go: finding github.com/BurntSushi/toml v0.3.1 ? golang.org/x/tools/gopls [no test files] ok golang.org/x/tools/gopls/internal/hooks 0.010s 2019/10/29 04:37:00 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:00 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:00 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:00 Error:2019/10/29 04:37:00 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 failed to convert span to range: no ParseGoHandle for file:///workdir/gopath/src/golang.org/x/tools/gopls/test/- 2019/10/29 04:37:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2019/10/29 04:37:03 Error:2019/10/29 04:37:03 no dep handle: no metadata for nosuchpkg package = nosuchpkg --- FAIL: TestCommandLine (5.78s) --- FAIL: TestCommandLine/GOPATH (2.77s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestCommandLine/GOPATH/Diagnostics (0.81s) --- FAIL: TestCommandLine/GOPATH/Diagnostics/badstmt (0.04s) check.go:64: missing diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:13: function must be invoked in defer statement" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:22:7: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:23:7: _ not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:8:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:10:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:9:2: y declared but not used" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_GOPATH283208448/lsp/src/golang.org/x/tools/internal/lsp/badstmt/badstmt.go:16:10: F not declared by package foo" --- FAIL: TestCommandLine/Modules (3.00s) tests.go:598: test summary does not match, want CompletionsCount = 185 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 2 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 got: CompletionsCount = 168 CompletionSnippetCount = 39 UnimportedCompletionsCount = 1 DeepCompletionsCount = 5 FuzzyCompletionsCount = 7 RankedCompletionsCount = 1 CaseSensitiveCompletionsCount = 4 DiagnosticsCount = 22 FoldingRangesCount = 2 FormatCount = 6 ImportCount = 2 SuggestedFixCount = 1 DefinitionsCount = 38 TypeDefinitionsCount = 1 HighlightsCount = 2 ReferencesCount = 6 RenamesCount = 20 PrepareRenamesCount = 8 SymbolsCount = 1 SignaturesCount = 21 LinksCount = 4 --- FAIL: TestCommandLine/Modules/Diagnostics (0.86s) --- FAIL: TestCommandLine/Modules/Diagnostics/badstmt (0.05s) check.go:64: missing diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:8:13: function must be invoked in defer statement" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:8:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:10:12: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:9:2: y declared but not used" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:16:10: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:22:7: F not declared by package foo" check.go:74: extra diagnostic "/workdir/tmp/TestCommandLine_Modules909370975/primarymod/lsp/badstmt/badstmt.go:23:7: _ not declared by package foo" FAIL FAIL golang.org/x/tools/gopls/test 5.803s FAIL Error: tests failed: exit status 1; exit status 1