linux-amd64 at aba5a74cee7d5174dab1dc7f1ff151570fe2482a building tools at 4077921f14b3e552b192b53bee6a2d40f37d4636 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-bullseye-rne67a6bc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GO_BUILDER_NAME=linux-amd64" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /go1.4. (go1.4 linux/amd64) Building Go toolchain1 using /go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "golang.org/x/tools/..."] and env ["HOSTNAME=buildlet-linux-bullseye-rne67a6bc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GO_BUILDER_NAME=linux-amd64" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://gk3-services-nap-1pnbo1ui-7091de24-cq4h.c.symbolic-datum-552.internal:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "PWD=/workdir/gopath/src/golang.org/x/tools"] in dir /workdir/gopath/src/golang.org/x/tools go: downloading golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go: downloading golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 go: downloading github.com/yuin/goldmark v1.4.1 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c go: downloading golang.org/x/text v0.3.7 ok golang.org/x/tools/benchmark/parse 0.013s ok golang.org/x/tools/blog 0.006s ? 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.052s ok golang.org/x/tools/cmd/bundle 0.515s ok golang.org/x/tools/cmd/callgraph 7.181s ? golang.org/x/tools/cmd/compilebench [no test files] ok golang.org/x/tools/cmd/cover 1.431s ok golang.org/x/tools/cmd/digraph 0.002s ? golang.org/x/tools/cmd/eg [no test files] ok golang.org/x/tools/cmd/file2fuzz 0.014s ok golang.org/x/tools/cmd/fiximports 8.597s 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.034s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 8.808s ? 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 9.685s ? 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.006s ? 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] ok golang.org/x/tools/cmd/signature-fuzzer/fuzz-driver 0.766s ok golang.org/x/tools/cmd/signature-fuzzer/fuzz-runner 19.843s ok golang.org/x/tools/cmd/signature-fuzzer/internal/fuzz-generator 8.996s ? golang.org/x/tools/cmd/splitdwarf [no test files] ok golang.org/x/tools/cmd/splitdwarf/internal/macho 0.002s ? 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.543s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 0.684s ok golang.org/x/tools/copyright 1.254s ok golang.org/x/tools/cover 0.004s ok golang.org/x/tools/go/analysis 0.038s ok golang.org/x/tools/go/analysis/analysistest 1.951s ok golang.org/x/tools/go/analysis/internal/analysisflags 0.046s ok golang.org/x/tools/go/analysis/internal/checker 6.818s ok golang.org/x/tools/go/analysis/internal/facts 0.688s ok golang.org/x/tools/go/analysis/multichecker 16.860s ok golang.org/x/tools/go/analysis/passes/asmdecl 1.143s ok golang.org/x/tools/go/analysis/passes/assign 1.477s ok golang.org/x/tools/go/analysis/passes/atomic 0.289s ok golang.org/x/tools/go/analysis/passes/atomicalign 0.193s ok golang.org/x/tools/go/analysis/passes/bools 0.786s ok golang.org/x/tools/go/analysis/passes/buildssa 0.084s ok golang.org/x/tools/go/analysis/passes/buildtag 0.038s ok golang.org/x/tools/go/analysis/passes/cgocall 2.065s ok golang.org/x/tools/go/analysis/passes/composite 1.827s ok golang.org/x/tools/go/analysis/passes/copylock 1.221s ok golang.org/x/tools/go/analysis/passes/ctrlflow 1.814s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 1.460s ok golang.org/x/tools/go/analysis/passes/errorsas 1.036s ok golang.org/x/tools/go/analysis/passes/fieldalignment 0.106s ? golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment [no test files] ok golang.org/x/tools/go/analysis/passes/findcall 0.329s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/framepointer 0.048s ok golang.org/x/tools/go/analysis/passes/httpresponse 2.682s ok golang.org/x/tools/go/analysis/passes/ifaceassert 1.041s ? golang.org/x/tools/go/analysis/passes/ifaceassert/cmd/ifaceassert [no test files] ? golang.org/x/tools/go/analysis/passes/inspect [no test files] ok golang.org/x/tools/go/analysis/passes/internal/analysisutil 0.006s ok golang.org/x/tools/go/analysis/passes/loopclosure 0.117s ok golang.org/x/tools/go/analysis/passes/lostcancel 1.545s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 0.151s ok golang.org/x/tools/go/analysis/passes/nilness 0.166s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 0.156s --- FAIL: Test (1.79s) analysistest.go:518: a/a.go:268: no diagnostic was reported matching `\(testing.TB\).Errorf format %s has arg 1 of wrong type int` FAIL FAIL golang.org/x/tools/go/analysis/passes/printf 1.846s ok golang.org/x/tools/go/analysis/passes/reflectvaluecompare 1.237s ok golang.org/x/tools/go/analysis/passes/shadow 1.023s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 0.068s ok golang.org/x/tools/go/analysis/passes/sigchanyzer 0.989s ok golang.org/x/tools/go/analysis/passes/sortslice 0.887s ok golang.org/x/tools/go/analysis/passes/stdmethods 3.129s ok golang.org/x/tools/go/analysis/passes/stringintconv 0.170s ? golang.org/x/tools/go/analysis/passes/stringintconv/cmd/stringintconv [no test files] ok golang.org/x/tools/go/analysis/passes/structtag 1.696s ok golang.org/x/tools/go/analysis/passes/testinggoroutine 1.592s ok golang.org/x/tools/go/analysis/passes/tests 1.911s ok golang.org/x/tools/go/analysis/passes/unmarshal 1.716s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 0.168s ok golang.org/x/tools/go/analysis/passes/unsafeptr 1.328s ok golang.org/x/tools/go/analysis/passes/unusedresult 1.236s ok golang.org/x/tools/go/analysis/passes/unusedwrite 0.084s ok golang.org/x/tools/go/analysis/passes/usesgenerics 0.134s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 2.751s ok golang.org/x/tools/go/ast/astutil 0.025s ok golang.org/x/tools/go/ast/inspector 0.130s ok golang.org/x/tools/go/buildutil 0.537s ? golang.org/x/tools/go/callgraph [no test files] --- FAIL: TestCHA (0.00s) cha_test.go:88: testdata/iface.go:56:1: got: Dynamic calls (J).f$thunk --> (*D).f (interface{f(); g()}).f$bound --> (*D).f five --> (interface{f(); g()}).f$bound four --> (J).f$thunk one --> (*C).f one --> (*D).f three --> (*D).g two --> (*D).f want: Dynamic calls (J).f$bound --> (*D).f (J).f$thunk --> (*D).f five --> (J).f$bound four --> (J).f$thunk one --> (*C).f one --> (*D).f three --> (*D).g two --> (*D).f FAIL FAIL golang.org/x/tools/go/callgraph/cha 0.006s ok golang.org/x/tools/go/callgraph/rta 0.006s ok golang.org/x/tools/go/callgraph/static 0.028s ok golang.org/x/tools/go/callgraph/vta 0.064s ok golang.org/x/tools/go/callgraph/vta/internal/trie 1.010s ok golang.org/x/tools/go/cfg 0.003s ok golang.org/x/tools/go/expect 0.004s ok golang.org/x/tools/go/gccgoexportdata 0.026s ok golang.org/x/tools/go/gcexportdata 0.019s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.029s ok golang.org/x/tools/go/internal/gcimporter 3.700s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 6.050s ok golang.org/x/tools/go/packages 29.873s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 0.460s ok golang.org/x/tools/go/pointer 3.880s ok golang.org/x/tools/go/ssa 4.389s ok golang.org/x/tools/go/ssa/interp 0.633s ok golang.org/x/tools/go/ssa/ssautil 1.854s ok golang.org/x/tools/go/types/objectpath 0.038s ok golang.org/x/tools/go/types/typeutil 0.024s ok golang.org/x/tools/go/vcs 0.026s ok golang.org/x/tools/godoc 0.898s ? golang.org/x/tools/godoc/analysis [no test files] ok golang.org/x/tools/godoc/redirect 0.229s ok golang.org/x/tools/godoc/static 1.896s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.024s ok golang.org/x/tools/godoc/vfs/gatefs 0.021s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.023s ok golang.org/x/tools/godoc/vfs/zipfs 0.027s ? golang.org/x/tools/imports [no test files] ? golang.org/x/tools/internal/analysisinternal [no test files] ok golang.org/x/tools/internal/apidiff 1.506s ok golang.org/x/tools/internal/event 0.045s [no tests to run] ? golang.org/x/tools/internal/event/core [no test files] ok golang.org/x/tools/internal/event/export 0.052s ? 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.060s ok golang.org/x/tools/internal/event/export/ocagent/wire 0.035s ? 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.026s ? golang.org/x/tools/internal/fakenet [no test files] ok golang.org/x/tools/internal/fastwalk 0.028s ok golang.org/x/tools/internal/gocommand 0.073s ok golang.org/x/tools/internal/gopathwalk 0.068s ok golang.org/x/tools/internal/imports 14.243s ok golang.org/x/tools/internal/jsonrpc2 0.146s ok golang.org/x/tools/internal/jsonrpc2/servertest 0.033s ok golang.org/x/tools/internal/jsonrpc2_v2 0.179s 2022/04/05 16:58:32 New session create_session=1 2022/04/05 16:58:33 go/packages.Load snapshot=0 directory=/workdir/tmp/gopls-workspace-mod3930810718 query=[builtin golang.org/x/tools/internal/lsp/...] packages=142 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for crypto/elli: no metadata for crypto/elli snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for fm: no metadata for fm snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for go/pars: no metadata for go/pars snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/too: no metadata for golang.org/x/too snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/sign: no metadata for golang.org/x/tools/internal/lsp/sign snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/signa: no metadata for golang.org/x/tools/internal/lsp/signa snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/semantic: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:58:33 golang.org/x/tools/internal/lsp/semantic [golang.org/x/tools/internal/lsp/semantic.test]: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:58:33 reloadOrphanedFiles reloading query=[file:///workdir/tmp/TestLSP_Modules2767189337/lsp/nodisk/nodisk.go] 2022/04/05 16:58:33 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod3930810718 query=[file=/workdir/tmp/TestLSP_Modules2767189337/lsp/nodisk/nodisk.go] packages=1 2022/04/05 16:58:33 go/packages.Load snapshot=1 package="golang.org/x/tools/internal/lsp/nodisk" files=[/workdir/tmp/TestLSP_Modules2767189337/lsp/nodisk/nodisk.go] 2022/04/05 16:58:34 falling back to safe trimming due to type errors: [/workdir/go/src/runtime/vdso_linux.go:53:38: invalid operation: division by zero /workdir/go/src/runtime/vdso_linux.go:54:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/04/05 16:58:34 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/04/05 16:58:34 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/complit" 2022/04/05 16:58:34 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/unresolved" 2022/04/05 16:58:34 no completions found: this is a definition of var my invalid type position={14 21} 2022/04/05 16:58:34 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements package="golang.org/x/tools/internal/lsp/statements" 2022/04/05 16:58:34 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test] package="golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test]" 2022/04/05 16:58:34 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestLSP_Modules2767189337/lsp/selector/selector.go" 2022/04/05 16:58:34 no completions found: this is a definition of func (interface).m() invalid type position={24 3} 2022/04/05 16:58:34 no completions found: this is a definition of field m invalid type position={19 3} 2022/04/05 16:58:34 no completions found: this is a definition of var my invalid type position={10 18} 2022/04/05 16:58:34 no completions found: this is a definition of var my invalid type position={6 8} 2022/04/05 16:58:36 discovered missing identifiers: map[term:true] package="go/types" 2022/04/05 16:58:36 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/rename/issue39614" 2022/04/05 16:58:36 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:36 tidy: diagnosing file:///workdir/tmp/TestLSP_Modules2767189337/lsp/go.mod: err: exit status 1: stderr: go: finding module for package golang.org/x/too go: finding module for package golang.org/x/tools/internal/lsp/sign go: finding module for package golang.org/x/tools/internal/lsp/signa golang.org/x/tools/internal/lsp/%percent: malformed import path "golang.org/x/tools/internal/lsp/%percent": invalid char '%' golang.org/x/tools/internal/lsp/importedcomplit imports golang.org/x/too: cannot find module providing package golang.org/x/too: module lookup disabled by GOPROXY=off golang.org/x/tools/internal/lsp/importedcomplit imports golang.org/x/tools/internal/lsp/sign: cannot find module providing package golang.org/x/tools/internal/lsp/sign: module lookup disabled by GOPROXY=off golang.org/x/tools/internal/lsp/importedcomplit imports golang.org/x/tools/internal/lsp/signa: cannot find module providing package golang.org/x/tools/internal/lsp/signa: module lookup disabled by GOPROXY=off 2022/04/05 16:58:36 analyzer "nilness" failed: analysis nilness for package golang.org/x/tools/internal/lsp/godef/hover_generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:36 analyzer "unusedwrite" failed: analysis unusedwrite for package golang.org/x/tools/internal/lsp/godef/hover_generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:36 analyzer "nilness" failed: analysis nilness for package golang.org/x/tools/internal/lsp/rename/generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:36 analyzer "unusedwrite" failed: analysis unusedwrite for package golang.org/x/tools/internal/lsp/rename/generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:37 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:37 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:37 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:39 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestLSP_Modules2767189337/lsp/selector/selector.go" 2022/04/05 16:58:39 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod3930810718 query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:39 go/packages.Load snapshot=1 package="command-line-arguments" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:39 no signature help: no signature help within a function declaration position={76 2} 2022/04/05 16:58:39 no signature help: no signature help within a string literal position={49 5} 2022/04/05 16:58:41 New session create_session=2 2022/04/05 16:58:41 go/packages.Load snapshot=0 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[./... builtin] packages=142 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for crypto/elli: no metadata for crypto/elli snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for fm: no metadata for fm snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for go/pars: no metadata for go/pars snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/too: no metadata for golang.org/x/too snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/sign: no metadata for golang.org/x/tools/internal/lsp/sign snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/signa: no metadata for golang.org/x/tools/internal/lsp/signa snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/semantic: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:58:41 golang.org/x/tools/internal/lsp/semantic [golang.org/x/tools/internal/lsp/semantic.test]: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:58:41 reloadOrphanedFiles reloading query=[file:///workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/nodisk/nodisk.go] 2022/04/05 16:58:41 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/nodisk/nodisk.go] packages=1 2022/04/05 16:58:41 go/packages.Load snapshot=1 package="golang.org/x/tools/internal/lsp/nodisk" files=[/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/nodisk/nodisk.go] 2022/04/05 16:58:42 falling back to safe trimming due to type errors: [/workdir/go/src/runtime/vdso_linux.go:53:38: invalid operation: division by zero /workdir/go/src/runtime/vdso_linux.go:54:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/04/05 16:58:42 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/04/05 16:58:42 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements package="golang.org/x/tools/internal/lsp/statements" 2022/04/05 16:58:42 no completions found: this is a definition of var my invalid type position={6 8} 2022/04/05 16:58:42 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/selector/selector.go" 2022/04/05 16:58:42 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/complit" 2022/04/05 16:58:42 no completions found: this is a definition of field m invalid type position={19 3} 2022/04/05 16:58:42 no completions found: this is a definition of var my invalid type position={14 21} 2022/04/05 16:58:42 no completions found: this is a definition of var my invalid type position={10 18} 2022/04/05 16:58:42 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test] package="golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test]" 2022/04/05 16:58:42 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/unresolved" 2022/04/05 16:58:42 no completions found: this is a definition of func (interface).m() invalid type position={24 3} 2022/04/05 16:58:44 discovered missing identifiers: map[term:true] package="go/types" 2022/04/05 16:58:44 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/rename/issue39614" 2022/04/05 16:58:44 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:44 analyzer "nilness" failed: analysis nilness for package golang.org/x/tools/internal/lsp/godef/hover_generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:44 analyzer "unusedwrite" failed: analysis unusedwrite for package golang.org/x/tools/internal/lsp/godef/hover_generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:44 analyzer "unusedwrite" failed: analysis unusedwrite for package golang.org/x/tools/internal/lsp/rename/generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:44 analyzer "nilness" failed: analysis nilness for package golang.org/x/tools/internal/lsp/rename/generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:44 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:44 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:46 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/selector/selector.go" 2022/04/05 16:58:46 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:46 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:46 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:46 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:47 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:47 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:48 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:48 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:48 go/packages.Load snapshot=1 directory=/workdir/tmp/TestLSP_GOPATH4162119510/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:48 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:48 no signature help: no signature help within a string literal position={49 5} 2022/04/05 16:58:48 no signature help: no signature help within a function declaration position={76 2} 2022/04/05 16:58:49 New session create_session=3 2022/04/05 16:58:51 go/packages.Load snapshot=0 directory=/workdir/tmp/gopls-workspace-mod3301917242 query=[builtin golang.org/x/tools/internal/lsp/...] packages=142 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for crypto/elli: no metadata for crypto/elli snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for fm: no metadata for fm snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for go/pars: no metadata for go/pars snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/too: no metadata for golang.org/x/too snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/sign: no metadata for golang.org/x/tools/internal/lsp/sign snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/signa: no metadata for golang.org/x/tools/internal/lsp/signa snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/semantic: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:58:51 golang.org/x/tools/internal/lsp/semantic [golang.org/x/tools/internal/lsp/semantic.test]: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:58:51 reloadOrphanedFiles reloading query=[file:///workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/nodisk/nodisk.go] 2022/04/05 16:58:51 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod3301917242 query=[file=/workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/nodisk/nodisk.go] packages=1 2022/04/05 16:58:51 go/packages.Load snapshot=1 package="golang.org/x/tools/internal/lsp/nodisk" files=[/workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/nodisk/nodisk.go] 2022/04/05 16:58:51 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/unresolved" 2022/04/05 16:58:52 falling back to safe trimming due to type errors: [/workdir/go/src/runtime/vdso_linux.go:53:38: invalid operation: division by zero /workdir/go/src/runtime/vdso_linux.go:54:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/04/05 16:58:52 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/04/05 16:58:52 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/complit" 2022/04/05 16:58:52 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements package="golang.org/x/tools/internal/lsp/statements" 2022/04/05 16:58:52 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test] package="golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test]" 2022/04/05 16:58:52 no completions found: this is a definition of func (interface).m() invalid type position={24 3} 2022/04/05 16:58:52 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/selector/selector.go" 2022/04/05 16:58:52 no completions found: this is a definition of var my invalid type position={6 8} 2022/04/05 16:58:52 no completions found: this is a definition of var my invalid type position={14 21} 2022/04/05 16:58:52 no completions found: this is a definition of field m invalid type position={19 3} 2022/04/05 16:58:52 no completions found: this is a definition of var my invalid type position={10 18} 2022/04/05 16:58:53 discovered missing identifiers: map[term:true] package="go/types" 2022/04/05 16:58:53 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/rename/issue39614" 2022/04/05 16:58:54 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:54 tidy: diagnosing file:///workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/go.mod: err: exit status 1: stderr: go: finding module for package golang.org/x/too go: finding module for package golang.org/x/tools/internal/lsp/sign go: finding module for package golang.org/x/tools/internal/lsp/signa golang.org/x/tools/internal/lsp/%percent: malformed import path "golang.org/x/tools/internal/lsp/%percent": invalid char '%' golang.org/x/tools/internal/lsp/importedcomplit imports golang.org/x/too: cannot find module providing package golang.org/x/too: module lookup disabled by GOPROXY=off golang.org/x/tools/internal/lsp/importedcomplit imports golang.org/x/tools/internal/lsp/sign: cannot find module providing package golang.org/x/tools/internal/lsp/sign: module lookup disabled by GOPROXY=off golang.org/x/tools/internal/lsp/importedcomplit imports golang.org/x/tools/internal/lsp/signa: cannot find module providing package golang.org/x/tools/internal/lsp/signa: module lookup disabled by GOPROXY=off 2022/04/05 16:58:54 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:54 analyzer "nilness" failed: analysis nilness for package golang.org/x/tools/internal/lsp/godef/hover_generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:54 analyzer "unusedwrite" failed: analysis unusedwrite for package golang.org/x/tools/internal/lsp/godef/hover_generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:54 analyzer "nilness" failed: analysis nilness for package golang.org/x/tools/internal/lsp/rename/generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:54 analyzer "unusedwrite" failed: analysis unusedwrite for package golang.org/x/tools/internal/lsp/rename/generics panicked: interface conversion: interface {} is nil, not *buildssa.SSA 2022/04/05 16:58:54 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:54 analyzer "fillreturns" failed: analysis fillreturns for package golang.org/x/tools/internal/lsp/typeerrors panicked: runtime error: invalid memory address or nil pointer dereference 2022/04/05 16:58:56 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/selector/selector.go" 2022/04/05 16:58:57 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod3301917242 query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:58:57 go/packages.Load snapshot=1 package="command-line-arguments" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:58:58 no signature help: no signature help within a string literal position={49 5} 2022/04/05 16:58:58 no signature help: no signature help within a function declaration position={76 2} --- FAIL: TestLSP (26.41s) --- FAIL: TestLSP/Modules (8.36s) --- FAIL: TestLSP/Modules/Definition (0.37s) --- FAIL: TestLSP/Modules/Definition/b_22_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_Modules2767189337/lsp/godef/b/b.go:22:4-11: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.H).Goodbye() +func (interface).Goodbye() ``` \@mark\(AGoodbye, \"Goodbye\"\) - -[`(a.H).Goodbye` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#H.Goodbye) --- FAIL: TestLSP/Modules/Definition/b_17_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_Modules2767189337/lsp/godef/b/b.go:17:4-5: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.I).B() +func (interface).B() ``` \@mark\(AB, \"B\"\) - -[`(a.I).B` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#I.B) --- FAIL: TestLSP/Modules/Definition/b_20_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_Modules2767189337/lsp/godef/b/b.go:20:4-9: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.J).Hello() +func (interface).Hello() ``` \@mark\(AHello, \"Hello\"\) - -[`(a.J).Hello` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#J.Hello) --- FAIL: TestLSP/GOPATH (8.20s) --- FAIL: TestLSP/GOPATH/Definition (0.24s) --- FAIL: TestLSP/GOPATH/Definition/b_17_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:17:4-5: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.I).B() +func (interface).B() ``` \@mark\(AB, \"B\"\) - -[`(a.I).B` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#I.B) --- FAIL: TestLSP/GOPATH/Definition/b_22_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:22:4-11: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.H).Goodbye() +func (interface).Goodbye() ``` \@mark\(AGoodbye, \"Goodbye\"\) - -[`(a.H).Goodbye` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#H.Goodbye) --- FAIL: TestLSP/GOPATH/Definition/b_20_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_GOPATH4162119510/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:20:4-9: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.J).Hello() +func (interface).Hello() ``` \@mark\(AHello, \"Hello\"\) - -[`(a.J).Hello` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#J.Hello) --- FAIL: TestLSP/MultiModule (9.85s) --- FAIL: TestLSP/MultiModule/Definition (0.33s) --- FAIL: TestLSP/MultiModule/Definition/b_17_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/godef/b/b.go:17:4-5: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.I).B() +func (interface).B() ``` \@mark\(AB, \"B\"\) - -[`(a.I).B` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#I.B) --- FAIL: TestLSP/MultiModule/Definition/b_20_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/godef/b/b.go:20:4-9: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.J).Hello() +func (interface).Hello() ``` \@mark\(AHello, \"Hello\"\) - -[`(a.J).Hello` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#J.Hello) --- FAIL: TestLSP/MultiModule/Definition/b_22_4 (0.00s) lsp_test.go:727: /workdir/tmp/TestLSP_MultiModule569870757/lsp/testmodule/godef/b/b.go:22:4-11: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.H).Goodbye() +func (interface).Goodbye() ``` \@mark\(AGoodbye, \"Goodbye\"\) - -[`(a.H).Goodbye` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#H.Goodbye) FAIL FAIL golang.org/x/tools/internal/lsp 26.522s ok golang.org/x/tools/internal/lsp/analysis/fillreturns 3.271s ok golang.org/x/tools/internal/lsp/analysis/fillstruct 1.216s ok golang.org/x/tools/internal/lsp/analysis/infertypeargs 0.111s ok golang.org/x/tools/internal/lsp/analysis/nonewvars 1.132s ok golang.org/x/tools/internal/lsp/analysis/noresultvalues 0.071s ok golang.org/x/tools/internal/lsp/analysis/simplifycompositelit 0.084s ok golang.org/x/tools/internal/lsp/analysis/simplifyrange 1.081s ok golang.org/x/tools/internal/lsp/analysis/simplifyslice 0.064s ? golang.org/x/tools/internal/lsp/analysis/stubmethods [no test files] ok golang.org/x/tools/internal/lsp/analysis/undeclaredname 0.993s ok golang.org/x/tools/internal/lsp/analysis/unusedparams 2.836s ok golang.org/x/tools/internal/lsp/analysis/useany 0.060s ? golang.org/x/tools/internal/lsp/browser [no test files] ok golang.org/x/tools/internal/lsp/cache 0.024s ok golang.org/x/tools/internal/lsp/cmd 22.299s ? golang.org/x/tools/internal/lsp/cmd/test [no test files] ok golang.org/x/tools/internal/lsp/command 1.611s ? golang.org/x/tools/internal/lsp/command/commandmeta [no test files] ? golang.org/x/tools/internal/lsp/command/gen [no test files] ok golang.org/x/tools/internal/lsp/debug 0.031s ? golang.org/x/tools/internal/lsp/debug/log [no test files] ? golang.org/x/tools/internal/lsp/debug/tag [no test files] ok golang.org/x/tools/internal/lsp/diff 0.032s ok golang.org/x/tools/internal/lsp/diff/difftest 0.035s ok golang.org/x/tools/internal/lsp/diff/myers 0.003s ok golang.org/x/tools/internal/lsp/fake 0.015s ok golang.org/x/tools/internal/lsp/fuzzy 0.024s ? golang.org/x/tools/internal/lsp/helper [no test files] ? golang.org/x/tools/internal/lsp/lsppos [no test files] ok golang.org/x/tools/internal/lsp/lsprpc 1.215s ok golang.org/x/tools/internal/lsp/mod 0.100s ok golang.org/x/tools/internal/lsp/progress 0.011s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/regtest 0.018s ok golang.org/x/tools/internal/lsp/snippet 0.009s 2022/04/05 16:59:00 New session create_session=1 2022/04/05 16:59:01 go/packages.Load snapshot=0 directory=/workdir/tmp/gopls-workspace-mod2924658699 query=[builtin golang.org/x/tools/internal/lsp/...] packages=142 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for crypto/elli: no metadata for crypto/elli snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for fm: no metadata for fm snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for go/pars: no metadata for go/pars snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/too: no metadata for golang.org/x/too snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/sign: no metadata for golang.org/x/tools/internal/lsp/sign snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/signa: no metadata for golang.org/x/tools/internal/lsp/signa snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/semantic: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:59:01 golang.org/x/tools/internal/lsp/semantic [golang.org/x/tools/internal/lsp/semantic.test]: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:59:01 reloadOrphanedFiles reloading query=[file:///workdir/tmp/TestSource_Modules3273560750/lsp/nodisk/nodisk.go] 2022/04/05 16:59:01 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod2924658699 query=[file=/workdir/tmp/TestSource_Modules3273560750/lsp/nodisk/nodisk.go] packages=1 2022/04/05 16:59:01 go/packages.Load snapshot=1 package="golang.org/x/tools/internal/lsp/nodisk" files=[/workdir/tmp/TestSource_Modules3273560750/lsp/nodisk/nodisk.go] 2022/04/05 16:59:01 falling back to safe trimming due to type errors: [/workdir/go/src/runtime/vdso_linux.go:53:38: invalid operation: division by zero /workdir/go/src/runtime/vdso_linux.go:54:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/04/05 16:59:02 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/04/05 16:59:02 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/unresolved" 2022/04/05 16:59:02 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestSource_Modules3273560750/lsp/selector/selector.go" 2022/04/05 16:59:02 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/complit" 2022/04/05 16:59:02 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements package="golang.org/x/tools/internal/lsp/statements" 2022/04/05 16:59:02 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test] package="golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test]" 2022/04/05 16:59:03 discovered missing identifiers: map[term:true] package="go/types" 2022/04/05 16:59:03 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/rename/issue39614" 2022/04/05 16:59:04 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestSource_Modules3273560750/lsp/selector/selector.go" 2022/04/05 16:59:04 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod2924658699 query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:04 go/packages.Load snapshot=1 package="command-line-arguments" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:05 New session create_session=2 2022/04/05 16:59:05 go/packages.Load snapshot=0 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[./... builtin] packages=142 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for crypto/elli: no metadata for crypto/elli snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for fm: no metadata for fm snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for go/pars: no metadata for go/pars snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/too: no metadata for golang.org/x/too snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/sign: no metadata for golang.org/x/tools/internal/lsp/sign snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/signa: no metadata for golang.org/x/tools/internal/lsp/signa snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/semantic: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:59:05 golang.org/x/tools/internal/lsp/semantic [golang.org/x/tools/internal/lsp/semantic.test]: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:59:05 reloadOrphanedFiles reloading query=[file:///workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/nodisk/nodisk.go] 2022/04/05 16:59:05 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/nodisk/nodisk.go] packages=1 2022/04/05 16:59:05 go/packages.Load snapshot=1 package="golang.org/x/tools/internal/lsp/nodisk" files=[/workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/nodisk/nodisk.go] 2022/04/05 16:59:05 falling back to safe trimming due to type errors: [/workdir/go/src/runtime/vdso_linux.go:53:38: invalid operation: division by zero /workdir/go/src/runtime/vdso_linux.go:54:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/04/05 16:59:05 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/complit" 2022/04/05 16:59:05 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/04/05 16:59:06 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements package="golang.org/x/tools/internal/lsp/statements" 2022/04/05 16:59:06 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/selector/selector.go" 2022/04/05 16:59:06 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test] package="golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test]" 2022/04/05 16:59:06 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/unresolved" 2022/04/05 16:59:07 discovered missing identifiers: map[term:true] package="go/types" 2022/04/05 16:59:07 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/rename/issue39614" 2022/04/05 16:59:07 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/selector/selector.go" 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:08 go/packages.Load snapshot=1 directory=/workdir/tmp/TestSource_GOPATH2391562137/lsp/src query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:08 go/packages.Load snapshot=1 package="builtin" files=[/workdir/go/src/builtin/builtin.go] 2022/04/05 16:59:09 New session create_session=3 2022/04/05 16:59:09 go/packages.Load snapshot=0 directory=/workdir/tmp/gopls-workspace-mod1550542544 query=[builtin golang.org/x/tools/internal/lsp/...] packages=142 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for crypto/elli: no metadata for crypto/elli snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for fm: no metadata for fm snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for go/pars: no metadata for go/pars snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/too: no metadata for golang.org/x/too snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/sign: no metadata for golang.org/x/tools/internal/lsp/sign snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/importedcomplit: no dep handle for golang.org/x/tools/internal/lsp/signa: no metadata for golang.org/x/tools/internal/lsp/signa snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/semantic: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:59:09 golang.org/x/tools/internal/lsp/semantic [golang.org/x/tools/internal/lsp/semantic.test]: no dep handle for encoding/utf8: no metadata for encoding/utf8 snapshot=0 2022/04/05 16:59:09 reloadOrphanedFiles reloading query=[file:///workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/nodisk/nodisk.go] 2022/04/05 16:59:09 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod1550542544 query=[file=/workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/nodisk/nodisk.go] packages=1 2022/04/05 16:59:09 go/packages.Load snapshot=1 package="golang.org/x/tools/internal/lsp/nodisk" files=[/workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/nodisk/nodisk.go] 2022/04/05 16:59:09 falling back to safe trimming due to type errors: [/workdir/go/src/runtime/vdso_linux.go:53:38: invalid operation: division by zero /workdir/go/src/runtime/vdso_linux.go:54:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/04/05 16:59:09 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements package="golang.org/x/tools/internal/lsp/statements" 2022/04/05 16:59:09 unable to compute positions for type errors: no parsed file for in golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test] package="golang.org/x/tools/internal/lsp/statements [golang.org/x/tools/internal/lsp/statements.test]" 2022/04/05 16:59:09 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/complit" 2022/04/05 16:59:10 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/selector/selector.go" 2022/04/05 16:59:10 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/04/05 16:59:10 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/unresolved" 2022/04/05 16:59:11 discovered missing identifiers: map[term:true] package="go/types" 2022/04/05 16:59:11 unable to compute positions for type errors: invalid pos package="golang.org/x/tools/internal/lsp/rename/issue39614" 2022/04/05 16:59:11 fixSrc loop - last diff: --- before +++ after @@ -61,6 +61,6 @@ if y != b._ {}//@complete(" /", a, george) z = 5 - if z + y + 1 + b. //@complete(" /", a, george) + if z + y + 1 + b. {}//@complete(" /", a, george) r = 4 } file="/workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/selector/selector.go" 2022/04/05 16:59:12 go/packages.Load snapshot=1 directory=/workdir/tmp/gopls-workspace-mod1550542544 query=[file=/workdir/go/src/builtin/builtin.go] packages=1 2022/04/05 16:59:12 go/packages.Load snapshot=1 package="command-line-arguments" files=[/workdir/go/src/builtin/builtin.go] --- FAIL: TestSource (12.94s) --- FAIL: TestSource/Modules (5.42s) --- FAIL: TestSource/Modules/Definition (0.22s) --- FAIL: TestSource/Modules/Definition/b_22_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_Modules3273560750/lsp/godef/b/b.go:22:4-11 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.H).Goodbye() +func (interface).Goodbye() ``` \@mark\(AGoodbye, \"Goodbye\"\) - -[`(a.H).Goodbye` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#H.Goodbye) --- FAIL: TestSource/Modules/Definition/b_17_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_Modules3273560750/lsp/godef/b/b.go:17:4-5 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.I).B() +func (interface).B() ``` \@mark\(AB, \"B\"\) - -[`(a.I).B` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#I.B) --- FAIL: TestSource/Modules/Definition/b_20_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_Modules3273560750/lsp/godef/b/b.go:20:4-9 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.J).Hello() +func (interface).Hello() ``` \@mark\(AHello, \"Hello\"\) - -[`(a.J).Hello` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#J.Hello) --- FAIL: TestSource/GOPATH (3.77s) --- FAIL: TestSource/GOPATH/Definition (0.20s) --- FAIL: TestSource/GOPATH/Definition/b_22_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:22:4-11 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.H).Goodbye() +func (interface).Goodbye() ``` \@mark\(AGoodbye, \"Goodbye\"\) - -[`(a.H).Goodbye` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#H.Goodbye) --- FAIL: TestSource/GOPATH/Definition/b_20_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:20:4-9 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.J).Hello() +func (interface).Hello() ``` \@mark\(AHello, \"Hello\"\) - -[`(a.J).Hello` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#J.Hello) --- FAIL: TestSource/GOPATH/Definition/b_17_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_GOPATH2391562137/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:17:4-5 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.I).B() +func (interface).B() ``` \@mark\(AB, \"B\"\) - -[`(a.I).B` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#I.B) --- FAIL: TestSource/MultiModule (3.74s) --- FAIL: TestSource/MultiModule/Definition (0.23s) --- FAIL: TestSource/MultiModule/Definition/b_22_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/godef/b/b.go:22:4-11 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.H).Goodbye() +func (interface).Goodbye() ``` \@mark\(AGoodbye, \"Goodbye\"\) - -[`(a.H).Goodbye` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#H.Goodbye) --- FAIL: TestSource/MultiModule/Definition/b_17_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/godef/b/b.go:17:4-5 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.I).B() +func (interface).B() ``` \@mark\(AB, \"B\"\) - -[`(a.I).B` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#I.B) --- FAIL: TestSource/MultiModule/Definition/b_20_4 (0.00s) source_test.go:585: hoverdef for /workdir/tmp/TestSource_MultiModule3386437822/lsp/testmodule/godef/b/b.go:20:4-9 failed: --- want +++ got @@ -1,7 +1,5 @@ ```go -func (a.J).Hello() +func (interface).Hello() ``` \@mark\(AHello, \"Hello\"\) - -[`(a.J).Hello` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#J.Hello) FAIL FAIL golang.org/x/tools/internal/lsp/source 18.442s ok golang.org/x/tools/internal/lsp/source/completion 0.021s ok golang.org/x/tools/internal/lsp/template 0.036s ? golang.org/x/tools/internal/lsp/tests [no test files] ? golang.org/x/tools/internal/lsp/work [no test files] ok golang.org/x/tools/internal/memoize 0.012s ? golang.org/x/tools/internal/packagesinternal [no test files] ok golang.org/x/tools/internal/proxydir 0.018s ok golang.org/x/tools/internal/span 0.002s ok golang.org/x/tools/internal/stack 0.016s ? 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] --- FAIL: TestOriginMethodUses (0.00s) common_test.go:153: type T[P any] interface { m() P }; func _[A any](t T[A]) { t.m() }: Uses[t.m] = func (interface).m() A, want func (interface).m() P common_test.go:153: type T[P any] interface { m() P }; func _(t T[int]) { t.m() }: Uses[t.m] = func (interface).m() int, want func (interface).m() P FAIL FAIL golang.org/x/tools/internal/typeparams 0.110s ? golang.org/x/tools/internal/typeparams/example/findtypeparams [no test files] ? golang.org/x/tools/internal/typeparams/genericfeatures [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.004s ok golang.org/x/tools/present 0.016s ok golang.org/x/tools/refactor/eg 3.265s ok golang.org/x/tools/refactor/importgraph 0.769s While scanning Go workspace: Package "foo": /go/src/foo/0.go:1:1: expected 'package', found 'EOF'. /go/src/foo/0.go:1:1: expected 'package', found 'EOF' Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 3 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. --- FAIL: TestConflicts (0.05s) rename_test.go:408: -from "(main.D).g" -to "e": conflict does not match pattern: Conflict: renaming this method "g" to "e" would make *main.D no longer assignable to interface{f(); g()} (rename interface{f(); g()}.g if you intend to change both types) Pattern: renaming this method "g" to "e".*would make \*main.D no longer assignable to interface I.*(rename main.I.g if you intend to change both types) rename_test.go:408: -from "(main.C).f" -to "F": conflict does not match pattern: Conflict: renaming this method "f" to "F" would make main.D no longer assignable to interface{f()} (rename interface{f()}.f if you intend to change both types) Pattern: renaming this method "f" to "F".*would make main.D no longer assignable to interface I.*(rename main.I.f if you intend to change both types) rename_test.go:408: -from "main.I.f" -to "g": conflict does not match pattern: Conflict: renaming this method "f" to "g" would change the g method of main.C invoked via interface main.I from (interface{f()}).g to (main.C).g Pattern: renaming this method "f" to "g".*would change the g method of main.C invoked via interface main.I.*from \(main.I\).g.*to \(main.C\).g Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 2 files in 2 packages. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 4 occurrences in 1 file in 1 package. Renamed 4 occurrences in 1 file in 1 package. Renamed 4 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 3 occurrences in 2 files in 2 packages. Renamed 3 occurrences in 2 files in 2 packages. Renamed 3 occurrences in 2 files in 2 packages. Renamed 5 occurrences in 1 file in 1 package. Renamed 5 occurrences in 1 file in 1 package. Renamed 3 occurrences in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. Renamed 1 occurrence in 1 file in 1 package. Renamed 2 occurrences in 1 file in 1 package. /go/src/main/0.go:4:6: unused declared but not used Renamed 2 occurrences in 1 file in 1 package. FAIL FAIL golang.org/x/tools/refactor/rename 0.143s ? golang.org/x/tools/refactor/satisfy [no test files] ok golang.org/x/tools/txtar 0.016s FAIL :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "test" "-short" "golang.org/x/tools/gopls/..."] and env ["HOSTNAME=buildlet-linux-bullseye-rne67a6bc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GO_BUILDER_NAME=linux-amd64" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOROOT=/workdir/go" "GOPATH=/workdir/gopath" "GOPROXY=http://gk3-services-nap-1pnbo1ui-7091de24-cq4h.c.symbolic-datum-552.internal:30157" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PATH=/workdir/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "PWD=/workdir/gopath/src/golang.org/x/tools/gopls"] 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.2.2 go: downloading mvdan.cc/gofumpt v0.3.0 go: downloading mvdan.cc/xurls/v2 v2.4.0 go: downloading github.com/jba/printsrc v0.2.2 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 go: downloading golang.org/x/vuln v0.0.0-20220324005316-18fd808f5c7f go: downloading github.com/google/go-cmp v0.5.7 go: downloading github.com/jba/templatecheck v0.6.0 go: downloading github.com/google/safehtml v0.0.2 go: downloading github.com/BurntSushi/toml v1.0.0 ? golang.org/x/tools/gopls [no test files] ? golang.org/x/tools/gopls/api-diff [no test files] ok golang.org/x/tools/gopls/doc 4.809s ? golang.org/x/tools/gopls/integration/govim [no test files] ok golang.org/x/tools/gopls/internal/hooks 0.732s ok golang.org/x/tools/gopls/internal/regtest/bench 0.054s ok golang.org/x/tools/gopls/internal/regtest/codelens 14.242s ok golang.org/x/tools/gopls/internal/regtest/completion 14.823s ok golang.org/x/tools/gopls/internal/regtest/diagnostics 60.650s ok golang.org/x/tools/gopls/internal/regtest/misc 60.412s ok golang.org/x/tools/gopls/internal/regtest/modfile 20.820s ok golang.org/x/tools/gopls/internal/regtest/template 1.549s ok golang.org/x/tools/gopls/internal/regtest/watch 13.305s ok golang.org/x/tools/gopls/internal/regtest/workspace 18.032s ok golang.org/x/tools/gopls/internal/vulncheck 1.215s ? golang.org/x/tools/gopls/release [no test files] ok golang.org/x/tools/gopls/test 20.869s ok golang.org/x/tools/gopls/test/debug 4.197s Error: tests failed: exit status 1