linux-amd64-race at 23cc16cdd2fbda37dd54de944462f57795da7bd2 building tools at e34a3dafd1b4f2e5607a8acb3c9d9f0156f1b088 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-rnef29e6f" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=100ms" "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.8: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-20200804184101-5ec99f83aff1 go: downloading golang.org/x/net v0.0.0-20200822124328-c89045814202 go: downloading golang.org/x/mod v0.3.0 go: downloading golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 go: downloading github.com/yuin/goldmark v1.2.1 ok golang.org/x/tools/benchmark/parse 0.044s ok golang.org/x/tools/blog 0.062s ? 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.061s ok golang.org/x/tools/cmd/bundle 0.084s ok golang.org/x/tools/cmd/callgraph 34.255s ? golang.org/x/tools/cmd/compilebench [no test files] ok golang.org/x/tools/cmd/cover 1.828s ok golang.org/x/tools/cmd/digraph 0.031s ? golang.org/x/tools/cmd/eg [no test files] ok golang.org/x/tools/cmd/fiximports 11.755s ok golang.org/x/tools/cmd/getgo 0.037s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.029s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 17.748s ? 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.559s ? 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.076s ? 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/present2md [no test files] ? golang.org/x/tools/cmd/splitdwarf [no test files] ok golang.org/x/tools/cmd/splitdwarf/internal/macho 0.041s ? 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 13.339s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 2.538s ok golang.org/x/tools/cover 0.033s ok golang.org/x/tools/go/analysis 0.036s ok golang.org/x/tools/go/analysis/analysistest 0.232s ok golang.org/x/tools/go/analysis/internal/analysisflags 0.267s ok golang.org/x/tools/go/analysis/internal/checker 0.219s ok golang.org/x/tools/go/analysis/internal/facts 0.359s ok golang.org/x/tools/go/analysis/multichecker 71.598s ok golang.org/x/tools/go/analysis/passes/asmdecl 2.056s ok golang.org/x/tools/go/analysis/passes/assign 7.959s ok golang.org/x/tools/go/analysis/passes/atomic 0.127s ok golang.org/x/tools/go/analysis/passes/atomicalign 0.176s ok golang.org/x/tools/go/analysis/passes/bools 5.281s ok golang.org/x/tools/go/analysis/passes/buildssa 0.155s ok golang.org/x/tools/go/analysis/passes/buildtag 0.109s ok golang.org/x/tools/go/analysis/passes/cgocall 12.639s ok golang.org/x/tools/go/analysis/passes/composite 11.878s ok golang.org/x/tools/go/analysis/passes/copylock 6.597s ok golang.org/x/tools/go/analysis/passes/ctrlflow 9.227s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 12.076s ok golang.org/x/tools/go/analysis/passes/errorsas 7.376s ok golang.org/x/tools/go/analysis/passes/findcall 0.350s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/httpresponse 18.061s ok golang.org/x/tools/go/analysis/passes/ifaceassert 13.100s ? golang.org/x/tools/go/analysis/passes/ifaceassert/cmd/ifaceassert [no test files] ? 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.074s ok golang.org/x/tools/go/analysis/passes/lostcancel 15.925s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 0.106s ok golang.org/x/tools/go/analysis/passes/nilness 0.120s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 0.190s ok golang.org/x/tools/go/analysis/passes/printf 12.008s ok golang.org/x/tools/go/analysis/passes/shadow 7.177s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 0.093s ok golang.org/x/tools/go/analysis/passes/sortslice 8.253s ok golang.org/x/tools/go/analysis/passes/stdmethods 21.542s ok golang.org/x/tools/go/analysis/passes/stringintconv 0.109s ? golang.org/x/tools/go/analysis/passes/stringintconv/cmd/stringintconv [no test files] ok golang.org/x/tools/go/analysis/passes/structtag 12.862s ok golang.org/x/tools/go/analysis/passes/testinggoroutine 8.789s ok golang.org/x/tools/go/analysis/passes/tests 12.285s ok golang.org/x/tools/go/analysis/passes/unmarshal 12.465s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 0.565s ok golang.org/x/tools/go/analysis/passes/unsafeptr 8.230s ok golang.org/x/tools/go/analysis/passes/unusedresult 9.040s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 4.205s ok golang.org/x/tools/go/ast/astutil 0.325s ok golang.org/x/tools/go/ast/inspector 0.729s ok golang.org/x/tools/go/buildutil 1.029s ? golang.org/x/tools/go/callgraph [no test files] ok golang.org/x/tools/go/callgraph/cha 0.077s ok golang.org/x/tools/go/callgraph/rta 0.048s ok golang.org/x/tools/go/callgraph/static 0.047s ok golang.org/x/tools/go/cfg 0.064s ok golang.org/x/tools/go/expect 0.045s ok golang.org/x/tools/go/gccgoexportdata 0.038s ok golang.org/x/tools/go/gcexportdata 0.314s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.098s ok golang.org/x/tools/go/internal/gcimporter 33.656s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 49.511s ok golang.org/x/tools/go/packages 342.923s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 0.658s ok golang.org/x/tools/go/pointer 29.070s ok golang.org/x/tools/go/ssa 45.840s ok golang.org/x/tools/go/ssa/interp 2.262s ok golang.org/x/tools/go/ssa/ssautil 12.665s ok golang.org/x/tools/go/types/objectpath 0.064s ok golang.org/x/tools/go/types/typeutil 5.245s ok golang.org/x/tools/go/vcs 0.057s ok golang.org/x/tools/godoc 4.872s ? 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.331s ok golang.org/x/tools/godoc/static 33.534s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.057s ok golang.org/x/tools/godoc/vfs/gatefs 0.054s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.066s ok golang.org/x/tools/godoc/vfs/zipfs 0.100s ? golang.org/x/tools/imports [no test files] ? golang.org/x/tools/internal/analysisinternal [no test files] ok golang.org/x/tools/internal/apidiff 0.981s ok golang.org/x/tools/internal/event 0.050s [no tests to run] ? golang.org/x/tools/internal/event/core [no test files] ok golang.org/x/tools/internal/event/export 0.069s ? golang.org/x/tools/internal/event/export/eventtest [no test files] ? golang.org/x/tools/internal/event/export/metric [no test files] ok golang.org/x/tools/internal/event/export/ocagent 0.054s ok golang.org/x/tools/internal/event/export/ocagent/wire 0.033s ? golang.org/x/tools/internal/event/export/prometheus [no test files] ? golang.org/x/tools/internal/event/keys [no test files] ok golang.org/x/tools/internal/event/label 0.040s ? golang.org/x/tools/internal/fakenet [no test files] ok golang.org/x/tools/internal/fastwalk 0.043s ok golang.org/x/tools/internal/gocommand 0.050s ok golang.org/x/tools/internal/gopathwalk 0.058s ok golang.org/x/tools/internal/imports 49.887s ok golang.org/x/tools/internal/jsonrpc2 0.217s ok golang.org/x/tools/internal/jsonrpc2/servertest 0.052s ok golang.org/x/tools/internal/lsp 51.627s ok golang.org/x/tools/internal/lsp/analysis/fillreturns 20.533s ok golang.org/x/tools/internal/lsp/analysis/fillstruct 11.200s ok golang.org/x/tools/internal/lsp/analysis/nonewvars 10.605s ok golang.org/x/tools/internal/lsp/analysis/noresultvalues 0.086s ok golang.org/x/tools/internal/lsp/analysis/simplifycompositelit 0.221s ok golang.org/x/tools/internal/lsp/analysis/simplifyrange 11.441s ok golang.org/x/tools/internal/lsp/analysis/simplifyslice 0.180s ok golang.org/x/tools/internal/lsp/analysis/undeclaredname 0.153s ok golang.org/x/tools/internal/lsp/analysis/unusedparams 15.894s ? golang.org/x/tools/internal/lsp/browser [no test files] ok golang.org/x/tools/internal/lsp/cache 0.046s ok golang.org/x/tools/internal/lsp/cmd 129.047s ? golang.org/x/tools/internal/lsp/cmd/test [no test files] ? golang.org/x/tools/internal/lsp/debug [no test files] ? golang.org/x/tools/internal/lsp/debug/tag [no test files] ok golang.org/x/tools/internal/lsp/diff 0.060s ok golang.org/x/tools/internal/lsp/diff/difftest 0.172s ok golang.org/x/tools/internal/lsp/diff/myers 0.058s ok golang.org/x/tools/internal/lsp/fake 0.090s ok golang.org/x/tools/internal/lsp/fuzzy 0.087s ? golang.org/x/tools/internal/lsp/helper [no test files] ok golang.org/x/tools/internal/lsp/lsprpc 1.369s ok golang.org/x/tools/internal/lsp/mod 0.162s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/snippet 0.068s ok golang.org/x/tools/internal/lsp/source 64.240s ok golang.org/x/tools/internal/lsp/source/completion 0.108s ok golang.org/x/tools/internal/lsp/source/genopts 20.854s ? golang.org/x/tools/internal/lsp/tests [no test files] ok golang.org/x/tools/internal/memoize 0.029s ? golang.org/x/tools/internal/packagesinternal [no test files] ok golang.org/x/tools/internal/proxydir 0.067s ok golang.org/x/tools/internal/span 0.051s ok golang.org/x/tools/internal/stack 0.083s ? golang.org/x/tools/internal/stack/gostacks [no test files] ? golang.org/x/tools/internal/stack/stacktest [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/typesinternal [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.066s ok golang.org/x/tools/present 0.131s ok golang.org/x/tools/refactor/eg 19.226s ok golang.org/x/tools/refactor/importgraph 6.761s ok golang.org/x/tools/refactor/rename 0.599s ? golang.org/x/tools/refactor/satisfy [no test files] ok golang.org/x/tools/txtar 0.031s :: 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-rnef29e6f" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=100ms" "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.8: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.1.0 go: downloading honnef.co/go/tools v0.0.1-2020.1.5 go: downloading mvdan.cc/gofumpt v0.0.0-20200802201014-ab5a8192947d go: downloading mvdan.cc/xurls/v2 v2.2.0 go: downloading github.com/google/go-cmp v0.5.1 go: downloading github.com/BurntSushi/toml v0.3.1 ? golang.org/x/tools/gopls [no test files] ok golang.org/x/tools/gopls/doc 0.136s ? golang.org/x/tools/gopls/integration/govim [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.146s ================== WARNING: DATA RACE Read at 0x00c010298b00 by goroutine 789: golang.org/x/tools/internal/lsp/cache.(*snapshot).goCommandInvocation() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:229 +0xc31 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:109 +0x6fa golang.org/x/tools/internal/memoize.(*Handle).run.func1() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:310 +0xde Previous write at 0x00c010298b00 by goroutine 1023: golang.org/x/tools/internal/lsp/cache.(*snapshot).goCommandInvocation() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:229 +0xcd5 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:109 +0x6fa golang.org/x/tools/internal/memoize.(*Handle).run.func1() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:310 +0xde Goroutine 789 (running) created at: golang.org/x/tools/internal/memoize.(*Handle).run() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:303 +0x235 golang.org/x/tools/internal/memoize.(*Handle).Get() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:275 +0x245 golang.org/x/tools/internal/lsp/cache.(*modTidyHandle).tidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:46 +0xd1 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:151 +0x88f golang.org/x/tools/internal/lsp/mod.Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/mod/diagnostics.go:38 +0x367 golang.org/x/tools/internal/lsp.(*Server).diagnose() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:84 +0x484 golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:48 +0x94 golang.org/x/tools/internal/lsp.(*Server).didModifyFiles.func2() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:282 +0x89 Goroutine 1023 (running) created at: golang.org/x/tools/internal/memoize.(*Handle).run() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:303 +0x235 golang.org/x/tools/internal/memoize.(*Handle).Get() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:275 +0x245 golang.org/x/tools/internal/lsp/cache.(*modTidyHandle).tidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:46 +0xd1 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:151 +0x88f golang.org/x/tools/internal/lsp/mod.Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/mod/diagnostics.go:38 +0x367 golang.org/x/tools/internal/lsp.(*Server).diagnose() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:84 +0x484 golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:48 +0x94 golang.org/x/tools/internal/lsp.(*Server).didModifyFiles.func2() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:282 +0x89 ================== ================== WARNING: DATA RACE Read at 0x00c010fb35c0 by goroutine 789: runtime.growslice() /workdir/go/src/runtime/slice.go:125 +0x0 golang.org/x/tools/internal/lsp/cache.(*snapshot).goCommandInvocation() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:229 +0xd84 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:109 +0x6fa golang.org/x/tools/internal/memoize.(*Handle).run.func1() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:310 +0xde Previous write at 0x00c010fb35c0 by goroutine 1023: golang.org/x/tools/internal/lsp/cache.(*snapshot).goCommandInvocation() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/snapshot.go:229 +0xc8e golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy.func1() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:109 +0x6fa golang.org/x/tools/internal/memoize.(*Handle).run.func1() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:310 +0xde Goroutine 789 (running) created at: golang.org/x/tools/internal/memoize.(*Handle).run() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:303 +0x235 golang.org/x/tools/internal/memoize.(*Handle).Get() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:275 +0x245 golang.org/x/tools/internal/lsp/cache.(*modTidyHandle).tidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:46 +0xd1 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:151 +0x88f golang.org/x/tools/internal/lsp/mod.Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/mod/diagnostics.go:38 +0x367 golang.org/x/tools/internal/lsp.(*Server).diagnose() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:84 +0x484 golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:48 +0x94 golang.org/x/tools/internal/lsp.(*Server).didModifyFiles.func2() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:282 +0x89 Goroutine 1023 (running) created at: golang.org/x/tools/internal/memoize.(*Handle).run() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:303 +0x235 golang.org/x/tools/internal/memoize.(*Handle).Get() /workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:275 +0x245 golang.org/x/tools/internal/lsp/cache.(*modTidyHandle).tidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:46 +0xd1 golang.org/x/tools/internal/lsp/cache.(*snapshot).ModTidy() /workdir/gopath/src/golang.org/x/tools/internal/lsp/cache/mod_tidy.go:151 +0x88f golang.org/x/tools/internal/lsp/mod.Diagnostics() /workdir/gopath/src/golang.org/x/tools/internal/lsp/mod/diagnostics.go:38 +0x367 golang.org/x/tools/internal/lsp.(*Server).diagnose() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:84 +0x484 golang.org/x/tools/internal/lsp.(*Server).diagnoseSnapshot() /workdir/gopath/src/golang.org/x/tools/internal/lsp/diagnostics.go:48 +0x94 golang.org/x/tools/internal/lsp.(*Server).didModifyFiles.func2() /workdir/gopath/src/golang.org/x/tools/internal/lsp/text_synchronization.go:282 +0x89 ================== #### Start Gopls Test Logs 1 of 2 for "TestHoverAndDocumentLink/forwarded" [Trace - 21:54:28.891 PM] Sending request 'initialize - (1)'. Params: {"processId":0,"clientInfo":{"name":"fakeclient","version":"v1.0.0"},"rootUri":"","capabilities":{"Workspace":{"workspaceEdit":{},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{},"tagSupport":{"valueSet":null}},"executeCommand":{},"configuration":true},"textDocument":{"synchronization":{},"completion":{"completionItem":{"tagSupport":{"valueSet":null}},"completionItemKind":{}},"hover":{},"signatureHelp":{"signatureInformation":{"parameterInformation":{}}},"declaration":{},"definition":{},"typeDefinition":{},"implementation":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{},"tagSupport":{"valueSet":null}},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"codeLens":{},"documentLink":{},"colorProvider":{},"formatting":{},"rangeFormatting":{},"onTypeFormatting":{},"rename":{},"foldingRange":{},"selectionRange":{},"publishDiagnostics":{"tagSupport":{"valueSet":null}},"callHierarchy":{}},"Window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"10s","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath","GOPROXY":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy","GOSUMDB":"off"},"expandWorkspaceToModule":true,"experimentalWorkspaceModule":true,"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","name":"work"}]} [Trace - 21:54:28.892 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:28 Handshake session update\n\tupdate_session=154\n\tdebug_address=\"\"\n\tlogfile=\"\"\n\tserver=\"77\"\n\tgopls_path=\"/workdir/tmp/go-build827069940/b289/regtest.test\"\n"} [Trace - 21:54:28.962 PM] Received response 'initialize - (1)' in 70ms. Result: {"capabilities":{"textDocumentSync":{"change":2,"openClose":true,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":true,"foldingRangeProvider":true,"executeCommandProvider":{"commands":["generate","fill_struct","regenerate_cgo","test","tidy","undeclared_name","upgrade_dependency","vendor","extract_variable","extract_function","gc_details","generate_gopls_mod"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\nversion v0.5.0, built in $GOPATH mode\n\nGo info\n-------\ngo version devel 23cc16cdd2fbda37dd54de944462f57795da7bd2 linux/amd64\n\n"}} [Trace - 21:54:28.965 PM] Sending notification 'initialized'. Params: {} [Trace - 21:54:28.968 PM] Sending notification 'textDocument/didOpen'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go","languageId":"go","version":1,"text":"package main\n\nimport \"import.test/pkg\"\n\nfunc main() {\n\tprintln(pkg.Hello)\n}\n"}} [Trace - 21:54:28.971 PM] Sending notification 'textDocument/didOpen'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod","languageId":"","version":1,"text":"module mod.test\n\ngo 1.12\n\nrequire import.test v1.2.3\n"}} [Trace - 21:54:28.977 PM] Sending request 'textDocument/hover - (2)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"},"position":{"line":5,"character":9}} [Trace - 21:54:28.986 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:28 Build info\n----------\nversion v0.5.0, built in $GOPATH mode\n\nGo info\n-------\ngo version devel 23cc16cdd2fbda37dd54de944462f57795da7bd2 linux/amd64\n\n\n"} [Trace - 21:54:28.990 PM] Received request 'window/workDoneProgress/create - (1)'. Params: {"token":"8972475615499269822"} [Trace - 21:54:28.992 PM] Sending response 'window/workDoneProgress/create - (1)' in 2ms. Result: [Trace - 21:54:28.996 PM] Received notification '$/progress'. Params: {"token":"8972475615499269822","value":{"kind":"begin","message":"Calculating diagnostics for initial workspace load...","title":"diagnosing initial workspace load"}} [Trace - 21:54:28.999 PM] Received request 'window/workDoneProgress/create - (2)'. Params: {"token":"4738401576134308105"} [Trace - 21:54:29.002 PM] Sending response 'window/workDoneProgress/create - (2)' in 2ms. Result: [Trace - 21:54:29.006 PM] Received notification '$/progress'. Params: {"token":"4738401576134308105","value":{"kind":"begin","message":"Loading packages...","title":"Setting up workspace"}} [Trace - 21:54:29.009 PM] Received request 'workspace/configuration - (3)'. Params: {"items":[{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls"},{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls-work"}]} [Trace - 21:54:29.013 PM] Sending response 'workspace/configuration - (3)' in 3ms. Result: [{"completionBudget":"10s","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath","GOPROXY":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy","GOSUMDB":"off"},"expandWorkspaceToModule":true,"experimentalWorkspaceModule":true,"verboseWorkDoneProgress":true},null] [Trace - 21:54:29.237 PM] Received request 'client/registerCapability - (4)'. Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{go,mod,sum}","kind":7},{"globPattern":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/**/*.{go,mod,sum}","kind":7}]}}]} [Trace - 21:54:29.240 PM] Sending response 'client/registerCapability - (4)' in 3ms. Result: [Trace - 21:54:29.242 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go env for /workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work\n(root /workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work)\n(valid build configuration = true)\n(build flags: [])\nGOMOD=/workdir/gopath/src/golang.org/x/tools/gopls/go.mod\nGOMODCACHE=\nGOPROXY=file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy\nGOPATH=/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath\nGOCACHE=/workdir/gocache\nGONOSUMDB=\nGOPRIVATE=\nGO111MODULE=\nGOSUMDB=off\nGONOPROXY=\nGOROOT=/workdir/go\nGOFLAGS=\nGOINSECURE=\n\n"} [Trace - 21:54:29.251 PM] Received request 'window/workDoneProgress/create - (5)'. Params: {"token":"1613635449778561413"} [Trace - 21:54:29.254 PM] Sending response 'window/workDoneProgress/create - (5)' in 2ms. Result: [Trace - 21:54:29.260 PM] Received notification '$/progress'. Params: {"token":"1613635449778561413","value":{"kind":"begin","message":"Calculating file diagnostics...","title":"diagnosing opened files"}} [Trace - 21:54:29.344 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=0\n\tdirectory=/workdir/tmp/gopls-mod593839809\n\tquery=[builtin mod.test/...]\n\tpackages=2\n"} [Trace - 21:54:29.350 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=0\n\tpackage_path=\"builtin\"\n\tfiles=[/workdir/go/src/builtin/builtin.go]\n"} [Trace - 21:54:29.353 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=0\n\tpackage_path=\"mod.test\"\n\tfiles=[/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n"} [Trace - 21:54:29.357 PM] Received notification '$/progress'. Params: {"token":"4738401576134308105","value":{"kind":"end","message":"Finished loading packages."}} [Trace - 21:54:29.360 PM] Received request 'window/workDoneProgress/create - (6)'. Params: {"token":"8074640487395059988"} [Trace - 21:54:29.363 PM] Sending response 'window/workDoneProgress/create - (6)' in 2ms. Result: [Trace - 21:54:29.370 PM] Received notification '$/progress'. Params: {"token":"8972475615499269822","value":{"kind":"end","message":"Done."}} [Trace - 21:54:29.373 PM] Received notification '$/progress'. Params: {"token":"8074640487395059988","value":{"kind":"begin","message":"Calculating file diagnostics...","title":"diagnosing opened files"}} [Trace - 21:54:29.376 PM] Received response ' - (2)' in 9223372036854ms. Result: {"contents":{"kind":"markdown","value":"```go\npackage pkg (\"import.test/pkg\")\n```\n\n[`pkg` on pkg.go.dev](https://pkg.go.dev/import.test@v1.2.3/pkg)"},"range":{"start":{"line":5,"character":9},"end":{"line":5,"character":12}}} [Trace - 21:54:29.378 PM] Received notification '$/progress'. Params: {"token":"1613635449778561413","value":{"kind":"end","message":"Done."}} [Trace - 21:54:29.381 PM] Sending request 'textDocument/hover - (3)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"},"position":{"line":4,"character":8}} [Trace - 21:54:29.397 PM] Received response 'textDocument/hover - (3)' in 16ms. Result: {"contents":{"kind":"markdown","value":"### import.test\n\nThis module is necessary because [import.test/pkg](https://pkg.go.dev/import.test@v1.2.3/pkg) is imported in `mod.test`."},"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":19}}} [Trace - 21:54:29.400 PM] Sending request 'textDocument/documentLink - (4)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"}} [Trace - 21:54:29.406 PM] Received notification '$/progress'. Params: {"token":"8074640487395059988","value":{"kind":"end","message":"Done."}} [Trace - 21:54:29.407 PM] Received response 'textDocument/documentLink - (4)' in 6ms. Result: [{"range":{"start":{"line":2,"character":8},"end":{"line":2,"character":23}},"target":"https://pkg.go.dev/import.test@v1.2.3/pkg"}] [Trace - 21:54:29.410 PM] Sending request 'textDocument/documentLink - (5)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"}} [Trace - 21:54:29.414 PM] Received response 'textDocument/documentLink - (5)' in 4ms. Result: [{"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":19}},"target":"https://pkg.go.dev/mod/import.test@v1.2.3"}] [Trace - 21:54:29.417 PM] Sending notification 'workspace/didChangeConfiguration'. Params: {"settings":null} [Trace - 21:54:29.419 PM] Sending request 'textDocument/hover - (6)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"},"position":{"line":5,"character":9}} [Trace - 21:54:29.425 PM] Received request 'workspace/configuration - (7)'. Params: {"items":[{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls"},{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls-work"}]} [Trace - 21:54:29.429 PM] Sending response 'workspace/configuration - (7)' in 3ms. Result: [{"completionBudget":"10s","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath","GOPRIVATE":"import.test","GOPROXY":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy","GOSUMDB":"off"},"expandWorkspaceToModule":true,"experimentalWorkspaceModule":true,"verboseWorkDoneProgress":true},null] [Trace - 21:54:29.755 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tdirectory=/workdir/tmp/gopls-mod256216063\n\tquery=[builtin mod.test/...]\n\tpackages=2\n"} [Trace - 21:54:29.760 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tpackage_path=\"builtin\"\n\tfiles=[/workdir/go/src/builtin/builtin.go]\n"} [Trace - 21:54:29.763 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tdirectory=/workdir/tmp/gopls-mod589817120\n\tquery=[file=/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n\tpackages=1\n"} [Trace - 21:54:29.765 PM] Received response 'textDocument/hover - (6)' in 346ms. Result: {"contents":{"kind":"markdown","value":"```go\npackage pkg (\"import.test/pkg\")\n```"},"range":{"start":{"line":5,"character":9},"end":{"line":5,"character":12}}} [Trace - 21:54:29.766 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tpackage_path=\"mod.test\"\n\tfiles=[/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n"} [Trace - 21:54:29.770 PM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tpackage_path=\"mod.test\"\n\tfiles=[/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n"} [Trace - 21:54:29.770 PM] Sending request 'textDocument/hover - (7)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"},"position":{"line":4,"character":8}} [Trace - 21:54:29.786 PM] Received response 'textDocument/hover - (7)' in 15ms. Result: {"contents":{"kind":"markdown","value":"### import.test\n\nThis module is necessary because import.test/pkg is imported in `mod.test`."},"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":19}}} [Trace - 21:54:29.789 PM] Sending request 'textDocument/documentLink - (8)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"}} [Trace - 21:54:29.794 PM] Received response 'textDocument/documentLink - (8)' in 4ms. Result: null [Trace - 21:54:29.796 PM] Sending request 'textDocument/documentLink - (9)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"}} [Trace - 21:54:29.800 PM] Received response 'textDocument/documentLink - (9)' in 4ms. Result: null #### End Gopls Test Logs 1 of 2 for "TestHoverAndDocumentLink/forwarded" #### Start Gopls Test Logs 2 of 2 for "TestHoverAndDocumentLink/forwarded" [Trace - 21:54:28.698 PM] Received request 'initialize - (1)'. Params: {"processId":0,"clientInfo":{"name":"fakeclient","version":"v1.0.0"},"rootUri":"","capabilities":{"Workspace":{"workspaceEdit":{},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{},"tagSupport":{"valueSet":null}},"executeCommand":{},"configuration":true},"textDocument":{"synchronization":{},"completion":{"completionItem":{"tagSupport":{"valueSet":null}},"completionItemKind":{}},"hover":{},"signatureHelp":{"signatureInformation":{"parameterInformation":{}}},"declaration":{},"definition":{},"typeDefinition":{},"implementation":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{},"tagSupport":{"valueSet":null}},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"codeLens":{},"documentLink":{},"colorProvider":{},"formatting":{},"rangeFormatting":{},"onTypeFormatting":{},"rename":{},"foldingRange":{},"selectionRange":{},"publishDiagnostics":{"tagSupport":{"valueSet":null}},"callHierarchy":{}},"Window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"10s","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath","GOPROXY":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy","GOSUMDB":"off"},"expandWorkspaceToModule":true,"experimentalWorkspaceModule":true,"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","name":"work"}]} [Trace - 21:54:28.893 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:28 Handshake session update\n\tupdate_session=154\n\tdebug_address=\"\"\n\tlogfile=\"\"\n\tserver=\"77\"\n\tgopls_path=\"/workdir/tmp/go-build827069940/b289/regtest.test\"\n"} [Trace - 21:54:28.963 PM] Sending response 'initialize - (1)' in 264ms. Result: {"capabilities":{"textDocumentSync":{"change":2,"openClose":true,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":true,"foldingRangeProvider":true,"executeCommandProvider":{"commands":["generate","fill_struct","regenerate_cgo","test","tidy","undeclared_name","upgrade_dependency","vendor","extract_variable","extract_function","gc_details","generate_gopls_mod"]},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\nversion v0.5.0, built in $GOPATH mode\n\nGo info\n-------\ngo version devel 23cc16cdd2fbda37dd54de944462f57795da7bd2 linux/amd64\n\n"}} [Trace - 21:54:28.965 PM] Received notification 'initialized'. Params: {} [Trace - 21:54:28.967 PM] Received notification 'textDocument/didOpen'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go","languageId":"go","version":1,"text":"package main\n\nimport \"import.test/pkg\"\n\nfunc main() {\n\tprintln(pkg.Hello)\n}\n"}} [Trace - 21:54:28.970 PM] Received notification 'textDocument/didOpen'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod","languageId":"","version":1,"text":"module mod.test\n\ngo 1.12\n\nrequire import.test v1.2.3\n"}} [Trace - 21:54:28.977 PM] Received request 'textDocument/hover - (2)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"},"position":{"line":5,"character":9}} [Trace - 21:54:28.987 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:28 Build info\n----------\nversion v0.5.0, built in $GOPATH mode\n\nGo info\n-------\ngo version devel 23cc16cdd2fbda37dd54de944462f57795da7bd2 linux/amd64\n\n\n"} [Trace - 21:54:28.990 PM] Sending request 'window/workDoneProgress/create - (1)'. Params: {"token":"8972475615499269822"} [Trace - 21:54:28.991 PM] Received response 'window/workDoneProgress/create - (1)' in 1ms. Result: null [Trace - 21:54:28.997 PM] Sending notification '$/progress'. Params: {"token":"8972475615499269822","value":{"kind":"begin","message":"Calculating diagnostics for initial workspace load...","title":"diagnosing initial workspace load"}} [Trace - 21:54:29.000 PM] Sending request 'window/workDoneProgress/create - (2)'. Params: {"token":"4738401576134308105"} [Trace - 21:54:29.002 PM] Received response 'window/workDoneProgress/create - (2)' in 1ms. Result: null [Trace - 21:54:29.006 PM] Sending notification '$/progress'. Params: {"token":"4738401576134308105","value":{"kind":"begin","message":"Loading packages...","title":"Setting up workspace"}} [Trace - 21:54:29.010 PM] Sending request 'workspace/configuration - (3)'. Params: {"items":[{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls"},{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls-work"}]} [Trace - 21:54:29.012 PM] Received response 'workspace/configuration - (3)' in 1ms. Result: [{"completionBudget":"10s","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath","GOPROXY":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy","GOSUMDB":"off"},"expandWorkspaceToModule":true,"experimentalWorkspaceModule":true,"verboseWorkDoneProgress":true},null] [Trace - 21:54:29.238 PM] Sending request 'client/registerCapability - (4)'. Params: {"registrations":[{"id":"workspace/didChangeWatchedFiles-0","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.{go,mod,sum}","kind":7},{"globPattern":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/**/*.{go,mod,sum}","kind":7}]}}]} [Trace - 21:54:29.240 PM] Received response 'client/registerCapability - (4)' in 1ms. Result: null [Trace - 21:54:29.244 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go env for /workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work\n(root /workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work)\n(valid build configuration = true)\n(build flags: [])\nGOMOD=/workdir/gopath/src/golang.org/x/tools/gopls/go.mod\nGOMODCACHE=\nGOPROXY=file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy\nGOPATH=/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath\nGOCACHE=/workdir/gocache\nGONOSUMDB=\nGOPRIVATE=\nGO111MODULE=\nGOSUMDB=off\nGONOPROXY=\nGOROOT=/workdir/go\nGOFLAGS=\nGOINSECURE=\n\n"} [Trace - 21:54:29.252 PM] Sending request 'window/workDoneProgress/create - (5)'. Params: {"token":"1613635449778561413"} [Trace - 21:54:29.254 PM] Received response 'window/workDoneProgress/create - (5)' in 1ms. Result: null [Trace - 21:54:29.261 PM] Sending notification '$/progress'. Params: {"token":"1613635449778561413","value":{"kind":"begin","message":"Calculating file diagnostics...","title":"diagnosing opened files"}} [Trace - 21:54:29.344 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=0\n\tdirectory=/workdir/tmp/gopls-mod593839809\n\tquery=[builtin mod.test/...]\n\tpackages=2\n"} [Trace - 21:54:29.351 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=0\n\tpackage_path=\"builtin\"\n\tfiles=[/workdir/go/src/builtin/builtin.go]\n"} [Trace - 21:54:29.354 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=0\n\tpackage_path=\"mod.test\"\n\tfiles=[/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n"} [Trace - 21:54:29.357 PM] Sending notification '$/progress'. Params: {"token":"4738401576134308105","value":{"kind":"end","message":"Finished loading packages."}} [Trace - 21:54:29.360 PM] Sending request 'window/workDoneProgress/create - (6)'. Params: {"token":"8074640487395059988"} [Trace - 21:54:29.362 PM] Received response 'window/workDoneProgress/create - (6)' in 1ms. Result: null [Trace - 21:54:29.370 PM] Sending notification '$/progress'. Params: {"token":"8972475615499269822","value":{"kind":"end","message":"Done."}} [Trace - 21:54:29.376 PM] Sending notification '$/progress'. Params: {"token":"8074640487395059988","value":{"kind":"begin","message":"Calculating file diagnostics...","title":"diagnosing opened files"}} [Trace - 21:54:29.378 PM] Sending response ' - (2)' in 9223372036854ms. Result: {"contents":{"kind":"markdown","value":"```go\npackage pkg (\"import.test/pkg\")\n```\n\n[`pkg` on pkg.go.dev](https://pkg.go.dev/import.test@v1.2.3/pkg)"},"range":{"start":{"line":5,"character":9},"end":{"line":5,"character":12}}} [Trace - 21:54:29.379 PM] Sending notification '$/progress'. Params: {"token":"1613635449778561413","value":{"kind":"end","message":"Done."}} [Trace - 21:54:29.380 PM] Received request 'textDocument/hover - (3)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"},"position":{"line":4,"character":8}} [Trace - 21:54:29.398 PM] Sending response 'textDocument/hover - (3)' in 17ms. Result: {"contents":{"kind":"markdown","value":"### import.test\n\nThis module is necessary because [import.test/pkg](https://pkg.go.dev/import.test@v1.2.3/pkg) is imported in `mod.test`."},"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":19}}} [Trace - 21:54:29.399 PM] Received request 'textDocument/documentLink - (4)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"}} [Trace - 21:54:29.407 PM] Sending notification '$/progress'. Params: {"token":"8074640487395059988","value":{"kind":"end","message":"Done."}} [Trace - 21:54:29.408 PM] Sending response 'textDocument/documentLink - (4)' in 8ms. Result: [{"range":{"start":{"line":2,"character":8},"end":{"line":2,"character":23}},"target":"https://pkg.go.dev/import.test@v1.2.3/pkg"}] [Trace - 21:54:29.409 PM] Received request 'textDocument/documentLink - (5)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"}} [Trace - 21:54:29.415 PM] Sending response 'textDocument/documentLink - (5)' in 5ms. Result: [{"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":19}},"target":"https://pkg.go.dev/mod/import.test@v1.2.3"}] [Trace - 21:54:29.416 PM] Received notification 'workspace/didChangeConfiguration'. Params: {"settings":null} [Trace - 21:54:29.418 PM] Received request 'textDocument/hover - (6)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"},"position":{"line":5,"character":9}} [Trace - 21:54:29.426 PM] Sending request 'workspace/configuration - (7)'. Params: {"items":[{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls"},{"scopeUri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work","section":"gopls-work"}]} [Trace - 21:54:29.428 PM] Received response 'workspace/configuration - (7)' in 1ms. Result: [{"completionBudget":"10s","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/gopath","GOPRIVATE":"import.test","GOPROXY":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/proxy","GOSUMDB":"off"},"expandWorkspaceToModule":true,"experimentalWorkspaceModule":true,"verboseWorkDoneProgress":true},null] [Trace - 21:54:29.755 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tdirectory=/workdir/tmp/gopls-mod256216063\n\tquery=[builtin mod.test/...]\n\tpackages=2\n"} [Trace - 21:54:29.760 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tpackage_path=\"builtin\"\n\tfiles=[/workdir/go/src/builtin/builtin.go]\n"} [Trace - 21:54:29.764 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tdirectory=/workdir/tmp/gopls-mod589817120\n\tquery=[file=/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n\tpackages=1\n"} [Trace - 21:54:29.766 PM] Sending response 'textDocument/hover - (6)' in 348ms. Result: {"contents":{"kind":"markdown","value":"```go\npackage pkg (\"import.test/pkg\")\n```"},"range":{"start":{"line":5,"character":9},"end":{"line":5,"character":12}}} [Trace - 21:54:29.767 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tpackage_path=\"mod.test\"\n\tfiles=[/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n"} [Trace - 21:54:29.769 PM] Received request 'textDocument/hover - (7)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"},"position":{"line":4,"character":8}} [Trace - 21:54:29.771 PM] Sending notification 'window/logMessage'. Params: {"type":3,"message":"2020/09/24 21:54:29 go/packages.Load\n\tsnapshot=2\n\tpackage_path=\"mod.test\"\n\tfiles=[/workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go]\n"} [Trace - 21:54:29.786 PM] Sending response 'textDocument/hover - (7)' in 17ms. Result: {"contents":{"kind":"markdown","value":"### import.test\n\nThis module is necessary because import.test/pkg is imported in `mod.test`."},"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":19}}} [Trace - 21:54:29.788 PM] Received request 'textDocument/documentLink - (8)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/main.go"}} [Trace - 21:54:29.794 PM] Sending response 'textDocument/documentLink - (8)' in 6ms. Result: [Trace - 21:54:29.795 PM] Received request 'textDocument/documentLink - (9)'. Params: {"textDocument":{"uri":"file:///workdir/tmp/gopls-regtest-727970887/TestHoverAndDocumentLink/forwarded/gopls-sandbox-091747434/work/go.mod"}} [Trace - 21:54:29.800 PM] Sending response 'textDocument/documentLink - (9)' in 5ms. Result: #### End Gopls Test Logs 2 of 2 for "TestHoverAndDocumentLink/forwarded" --- FAIL: TestHoverAndDocumentLink (2.43s) --- FAIL: TestHoverAndDocumentLink/forwarded (1.13s) testing.go:1072: race detected during execution of test testing.go:1072: race detected during execution of test lsprpc.go:380: unable to add local env to initialize request: err: exit status 1: stderr: missing $GOPATH FAIL FAIL golang.org/x/tools/gopls/internal/regtest 341.798s ok golang.org/x/tools/gopls/test 280.182s FAIL Error: tests failed: exit status 1