linux-amd64-race at 0d34f5f09b155a9a7496490d6204f6f18179f098 building tools at b827eb7ab7a52fe10432b1911ea7c24b83bc35b5 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" "-race" "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-rn91a8137" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=9.1s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.7:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools go: downloading golang.org/x/net v0.0.0-20190620200207-3b0461eec859 go: downloading golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 go: downloading golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 ok golang.org/x/tools/benchmark/parse 0.038s ok golang.org/x/tools/blog 0.029s ? 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.024s ok golang.org/x/tools/cmd/bundle 0.043s ok golang.org/x/tools/cmd/callgraph 29.255s ? golang.org/x/tools/cmd/compilebench [no test files] ok golang.org/x/tools/cmd/cover 1.873s ok golang.org/x/tools/cmd/digraph 0.052s ? golang.org/x/tools/cmd/eg [no test files] ok golang.org/x/tools/cmd/fiximports 11.145s ok golang.org/x/tools/cmd/getgo 0.038s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.048s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 18.776s ? golang.org/x/tools/cmd/goimports [no test files] ? golang.org/x/tools/cmd/gomvpkg [no test files] ok golang.org/x/tools/cmd/gorename 10.565s ? 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.052s ? 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.064s ? 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 16.575s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 2.475s ok golang.org/x/tools/cover 0.036s ? golang.org/x/tools/go/analysis [no test files] ok golang.org/x/tools/go/analysis/analysistest 0.247s ok golang.org/x/tools/go/analysis/internal/analysisflags 0.303s ok golang.org/x/tools/go/analysis/internal/checker 0.156s ok golang.org/x/tools/go/analysis/internal/facts 0.491s ok golang.org/x/tools/go/analysis/multichecker 64.337s ok golang.org/x/tools/go/analysis/passes/asmdecl 2.115s ok golang.org/x/tools/go/analysis/passes/assign 6.673s ok golang.org/x/tools/go/analysis/passes/atomic 0.129s ok golang.org/x/tools/go/analysis/passes/atomicalign 0.173s ok golang.org/x/tools/go/analysis/passes/bools 6.820s ok golang.org/x/tools/go/analysis/passes/buildssa 0.128s ok golang.org/x/tools/go/analysis/passes/buildtag 0.086s ok golang.org/x/tools/go/analysis/passes/cgocall 8.488s ok golang.org/x/tools/go/analysis/passes/composite 13.555s ok golang.org/x/tools/go/analysis/passes/copylock 6.467s ok golang.org/x/tools/go/analysis/passes/ctrlflow 10.220s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 10.585s ok golang.org/x/tools/go/analysis/passes/errorsas 8.460s ok golang.org/x/tools/go/analysis/passes/findcall 0.486s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/httpresponse 20.044s ? 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.157s ok golang.org/x/tools/go/analysis/passes/lostcancel 8.712s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 0.071s ok golang.org/x/tools/go/analysis/passes/nilness 0.196s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 0.087s ok golang.org/x/tools/go/analysis/passes/printf 14.097s ok golang.org/x/tools/go/analysis/passes/shadow 6.388s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 0.201s ok golang.org/x/tools/go/analysis/passes/sortslice 5.901s ok golang.org/x/tools/go/analysis/passes/stdmethods 20.403s ok golang.org/x/tools/go/analysis/passes/structtag 7.498s ok golang.org/x/tools/go/analysis/passes/testinggoroutine 11.603s ok golang.org/x/tools/go/analysis/passes/tests 9.593s ok golang.org/x/tools/go/analysis/passes/unmarshal 9.154s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 0.281s ok golang.org/x/tools/go/analysis/passes/unsafeptr 8.696s ok golang.org/x/tools/go/analysis/passes/unusedresult 6.071s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 4.685s ok golang.org/x/tools/go/ast/astutil 0.343s ok golang.org/x/tools/go/ast/inspector 0.752s ok golang.org/x/tools/go/buildutil 0.893s ? golang.org/x/tools/go/callgraph [no test files] ok golang.org/x/tools/go/callgraph/cha 0.050s ok golang.org/x/tools/go/callgraph/rta 0.047s ok golang.org/x/tools/go/callgraph/static 0.043s ok golang.org/x/tools/go/cfg 0.022s ok golang.org/x/tools/go/expect 0.044s ok golang.org/x/tools/go/gccgoexportdata 0.028s ok golang.org/x/tools/go/gcexportdata 0.300s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.094s ok golang.org/x/tools/go/internal/gcimporter 34.008s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 39.978s ok golang.org/x/tools/go/packages 182.748s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 0.145s ok golang.org/x/tools/go/pointer 26.760s ok golang.org/x/tools/go/ssa 29.109s ok golang.org/x/tools/go/ssa/interp 1.886s ok golang.org/x/tools/go/ssa/ssautil 13.150s ok golang.org/x/tools/go/types/objectpath 0.081s ok golang.org/x/tools/go/types/typeutil 6.716s ok golang.org/x/tools/go/vcs 0.063s ok golang.org/x/tools/godoc 4.566s ? 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.480s ok golang.org/x/tools/godoc/static 30.446s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.073s ok golang.org/x/tools/godoc/vfs/gatefs 0.058s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.045s ok golang.org/x/tools/godoc/vfs/zipfs 0.062s ? golang.org/x/tools/imports [no test files] ok golang.org/x/tools/internal/apidiff 0.548s ok golang.org/x/tools/internal/fastwalk 0.057s ok golang.org/x/tools/internal/gopathwalk 0.042s ok golang.org/x/tools/internal/imports 38.755s ok golang.org/x/tools/internal/jsonrpc2 0.039s ok golang.org/x/tools/internal/jsonrpc2/servertest 0.055s ok golang.org/x/tools/internal/lsp 34.817s ? golang.org/x/tools/internal/lsp/browser [no test files] ok golang.org/x/tools/internal/lsp/cache 0.089s ok golang.org/x/tools/internal/lsp/cmd 42.816s ? 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.057s ok golang.org/x/tools/internal/lsp/diff/difftest 0.025s [no tests to run] ok golang.org/x/tools/internal/lsp/diff/myers 0.057s ok golang.org/x/tools/internal/lsp/fuzzy 0.084s ? golang.org/x/tools/internal/lsp/helper [no test files] ok golang.org/x/tools/internal/lsp/mod 2.526s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/sessionserver 0.166s ok golang.org/x/tools/internal/lsp/snippet 0.046s ok golang.org/x/tools/internal/lsp/source 140.670s ? 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.069s ok golang.org/x/tools/internal/module 0.046s ? golang.org/x/tools/internal/packagesinternal [no test files] ok golang.org/x/tools/internal/semver 0.052s ok golang.org/x/tools/internal/span 0.064s ? 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.062s ok golang.org/x/tools/internal/telemetry/export/ocagent/wire 0.057s ? golang.org/x/tools/internal/telemetry/export/prometheus [no test files] ok golang.org/x/tools/internal/telemetry/log 0.039s [no tests to run] ? 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] ? 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.027s ok golang.org/x/tools/present 0.078s ok golang.org/x/tools/refactor/eg 17.438s ok golang.org/x/tools/refactor/importgraph 4.587s ok golang.org/x/tools/refactor/rename 0.511s ? golang.org/x/tools/refactor/satisfy [no test files] ok golang.org/x/tools/txtar 0.021s :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "-race" "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-rn91a8137" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=9.1s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://10.240.0.7:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/gopath/src/golang.org/x/tools/gopls go: downloading honnef.co/go/tools v0.0.1-2019.2.3 go: downloading github.com/sergi/go-diff v1.0.0 go: downloading mvdan.cc/xurls/v2 v2.1.0 go: downloading github.com/BurntSushi/toml v0.3.1 ? golang.org/x/tools/gopls [no test files] ? golang.org/x/tools/gopls/integration/parse [no test files] ? golang.org/x/tools/gopls/integration/replay [no test files] ok golang.org/x/tools/gopls/internal/hooks 0.054s 2020/01/30 16:09:47 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:47 Error:2020/01/30 16:09:47 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:47 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:09:47 Error:2020/01/30 16:09:47 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:09:47 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:09:47 Error:2020/01/30 16:09:47 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:09:47 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:47 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:47 Error:2020/01/30 16:09:47 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:47 Error:2020/01/30 16:09:47 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:50 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:50 Error:2020/01/30 16:09:50 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:51 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:51 Error:2020/01/30 16:09:51 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:53 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:09:53 Error:2020/01/30 16:09:53 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:09:54 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:09:54 Error:2020/01/30 16:09:54 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 Error:2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 Error:2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 Error:2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 Error:2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:54 Error:2020/01/30 16:09:54 unable to compute error positions: context canceled package = golang.org/x/tools/internal/lsp/bar 2020/01/30 16:09:55 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:09:55 Error:2020/01/30 16:09:55 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors ================== WARNING: DATA RACE Write at 0x00c0001fe0f0 by goroutine 3283: runtime.mapassign_faststr() /workdir/go/src/runtime/map_faststr.go:202 +0x0 golang.org/x/tools/gopls/internal/hooks.updateAnalyzers() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/analysis.go:17 +0x180 golang.org/x/tools/gopls/internal/hooks.Options() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/hooks.go:20 +0x9e golang.org/x/tools/gopls/test_test.commandLineOptions() /workdir/gopath/src/golang.org/x/tools/gopls/test/gopls_test.go:34 +0x72 golang.org/x/tools/internal/lsp/cmd.(*connection).initialize() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:241 +0x47d golang.org/x/tools/internal/lsp/cmd.(*Application).connectRemote() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:230 +0xaa4 golang.org/x/tools/internal/lsp/cmd.(*Application).connect() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:206 +0x91e golang.org/x/tools/internal/lsp/cmd.(*check).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/check.go:45 +0xf5 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd.(*Application).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:144 +0x3f8 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd/test.(*runner).runGoplsCmd() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/cmdtest.go:127 +0x6b9 golang.org/x/tools/internal/lsp/cmd/test.(*runner).Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/check.go:25 +0x1e0 golang.org/x/tools/internal/lsp/tests.Run.func9.1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:421 +0xff testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Previous read at 0x00c0001fe0f0 by goroutine 3571: [failed to restore the stack] Goroutine 3283 (running) created at: testing.(*T).Run() /workdir/go/src/testing/testing.go:1044 +0x660 golang.org/x/tools/internal/lsp/tests.Run.func9() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:419 +0x150 testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Goroutine 3571 (finished) created at: golang.org/x/tools/internal/lsp.(*Server).diagnose.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:50 +0x180 ================== ================== WARNING: DATA RACE Write at 0x00c00042d5c8 by goroutine 3283: golang.org/x/tools/gopls/internal/hooks.updateAnalyzers() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/analysis.go:17 +0x195 golang.org/x/tools/gopls/internal/hooks.Options() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/hooks.go:20 +0x9e golang.org/x/tools/gopls/test_test.commandLineOptions() /workdir/gopath/src/golang.org/x/tools/gopls/test/gopls_test.go:34 +0x72 golang.org/x/tools/internal/lsp/cmd.(*connection).initialize() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:241 +0x47d golang.org/x/tools/internal/lsp/cmd.(*Application).connectRemote() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:230 +0xaa4 golang.org/x/tools/internal/lsp/cmd.(*Application).connect() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:206 +0x91e golang.org/x/tools/internal/lsp/cmd.(*check).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/check.go:45 +0xf5 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd.(*Application).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:144 +0x3f8 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd/test.(*runner).runGoplsCmd() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/cmdtest.go:127 +0x6b9 golang.org/x/tools/internal/lsp/cmd/test.(*runner).Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/check.go:25 +0x1e0 golang.org/x/tools/internal/lsp/tests.Run.func9.1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:421 +0xff testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Previous read at 0x00c00042d5c8 by goroutine 3571: [failed to restore the stack] Goroutine 3283 (running) created at: testing.(*T).Run() /workdir/go/src/testing/testing.go:1044 +0x660 golang.org/x/tools/internal/lsp/tests.Run.func9() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:419 +0x150 testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Goroutine 3571 (finished) created at: golang.org/x/tools/internal/lsp.(*Server).diagnose.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:50 +0x180 ================== ================== WARNING: DATA RACE Write at 0x00c00042ca58 by goroutine 3283: golang.org/x/tools/gopls/internal/hooks.updateAnalyzers() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/analysis.go:24 +0x319 golang.org/x/tools/gopls/internal/hooks.Options() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/hooks.go:20 +0x9e golang.org/x/tools/gopls/test_test.commandLineOptions() /workdir/gopath/src/golang.org/x/tools/gopls/test/gopls_test.go:34 +0x72 golang.org/x/tools/internal/lsp/cmd.(*connection).initialize() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:241 +0x47d golang.org/x/tools/internal/lsp/cmd.(*Application).connectRemote() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:230 +0xaa4 golang.org/x/tools/internal/lsp/cmd.(*Application).connect() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:206 +0x91e golang.org/x/tools/internal/lsp/cmd.(*check).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/check.go:45 +0xf5 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd.(*Application).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:144 +0x3f8 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd/test.(*runner).runGoplsCmd() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/cmdtest.go:127 +0x6b9 golang.org/x/tools/internal/lsp/cmd/test.(*runner).Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/check.go:25 +0x1e0 golang.org/x/tools/internal/lsp/tests.Run.func9.1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:421 +0xff testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Previous read at 0x00c00042ca58 by goroutine 3571: [failed to restore the stack] Goroutine 3283 (running) created at: testing.(*T).Run() /workdir/go/src/testing/testing.go:1044 +0x660 golang.org/x/tools/internal/lsp/tests.Run.func9() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:419 +0x150 testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Goroutine 3571 (finished) created at: golang.org/x/tools/internal/lsp.(*Server).diagnose.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:50 +0x180 ================== ================== WARNING: DATA RACE Write at 0x00c00042c988 by goroutine 3283: golang.org/x/tools/gopls/internal/hooks.updateAnalyzers() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/analysis.go:27 +0x598 golang.org/x/tools/gopls/internal/hooks.Options() /workdir/gopath/src/golang.org/x/tools/gopls/internal/hooks/hooks.go:20 +0x9e golang.org/x/tools/gopls/test_test.commandLineOptions() /workdir/gopath/src/golang.org/x/tools/gopls/test/gopls_test.go:34 +0x72 golang.org/x/tools/internal/lsp/cmd.(*connection).initialize() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:241 +0x47d golang.org/x/tools/internal/lsp/cmd.(*Application).connectRemote() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:230 +0xaa4 golang.org/x/tools/internal/lsp/cmd.(*Application).connect() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:206 +0x91e golang.org/x/tools/internal/lsp/cmd.(*check).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/check.go:45 +0xf5 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd.(*Application).Run() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:144 +0x3f8 golang.org/x/tools/internal/tool.Run() /workdir/gopath/src/golang.org/x/tools/internal/tool/tool.go:152 +0x304 golang.org/x/tools/internal/lsp/cmd/test.(*runner).runGoplsCmd() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/cmdtest.go:127 +0x6b9 golang.org/x/tools/internal/lsp/cmd/test.(*runner).Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cmd/test/check.go:25 +0x1e0 golang.org/x/tools/internal/lsp/tests.Run.func9.1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:421 +0xff testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Previous read at 0x00c00042c988 by goroutine 3571: [failed to restore the stack] Goroutine 3283 (running) created at: testing.(*T).Run() /workdir/go/src/testing/testing.go:1044 +0x660 golang.org/x/tools/internal/lsp/tests.Run.func9() /workdir/gopath/src/golang.org/x/tools/internal/lsp/tests/tests.go:419 +0x150 testing.tRunner() /workdir/go/src/testing/testing.go:993 +0x1eb Goroutine 3571 (finished) created at: golang.org/x/tools/internal/lsp.(*Server).diagnose.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:50 +0x180 ================== 2020/01/30 16:09:57 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:57 Error:2020/01/30 16:09:57 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:09:57 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:09:57 Error:2020/01/30 16:09:57 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:09:57 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:09:57 Error:2020/01/30 16:09:57 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:10:01 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:10:01 Error:2020/01/30 16:10:01 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:10:01 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:10:01 Error:2020/01/30 16:10:01 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:10:01 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:10:01 Error:2020/01/30 16:10:01 no dep handle: no metadata for nosuchpkg package = nosuchpkg 2020/01/30 16:10:04 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:10:04 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:10:04 Error:2020/01/30 16:10:04 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:10:04 Error:2020/01/30 16:10:04 no dep handle: no metadata for golang.org/x/tools/internal/lsp/protocol package = golang.org/x/tools/internal/lsp/protocol 2020/01/30 16:10:04 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:10:04 Error:2020/01/30 16:10:04 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:10:06 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors 2020/01/30 16:10:06 Error:2020/01/30 16:10:06 no dep handle: no metadata for golang.org/x/xerrors package = golang.org/x/xerrors --- FAIL: TestCommandLine (21.40s) --- FAIL: TestCommandLine/Modules (11.06s) --- FAIL: TestCommandLine/Modules/Diagnostics (5.09s) --- FAIL: TestCommandLine/Modules/Diagnostics/generated (3.71s) testing.go:907: race detected during execution of test testing.go:907: race detected during execution of test testing.go:907: race detected during execution of test testing.go:907: race detected during execution of test FAIL FAIL golang.org/x/tools/gopls/test 21.592s FAIL Error: tests failed: exit status 1