dragonfly-amd64-5_8 at 1c60e0d928764b1b755c494d4a760eb51b99bc90 building tools at 9c452d85743e08cafcd8d47f73f923cb4b239f8b :: Running /tmp/workdir-host-dragonfly-amd64-5_8/go/src/make.bash with args ["/tmp/workdir-host-dragonfly-amd64-5_8/go/src/make.bash"] and env ["LOGNAME=root" "PAGER=less" "MAIL=/var/mail/root" "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/root/bin" "EDITOR=vi" "HOST=gobuilder.local" "PWD=/" "GROUP=wheel" "USER=root" "HOME=/root" "HOSTTYPE=DragonFly" "SHELL=/bin/csh" "BLOCKSIZE=K" "RC_PID=2" "WORKDIR=/tmp/workdir-host-dragonfly-amd64-5_8" "GOROOT_BOOTSTRAP=/tmp/workdir-host-dragonfly-amd64-5_8/go1.4" "GO_BUILDER_NAME=dragonfly-amd64-5_8" "GOROOT_BOOTSTRAP=/usr/local/go" "GOBIN=" "TMPDIR=/tmp/workdir-host-dragonfly-amd64-5_8/tmp" "GOCACHE=/tmp/workdir-host-dragonfly-amd64-5_8/gocache"] in dir /tmp/workdir-host-dragonfly-amd64-5_8/go/src Building Go cmd/dist using /usr/local/go. (go1.15.6 dragonfly/amd64) Building Go toolchain1 using /usr/local/go. 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 dragonfly/amd64. --- Installed Go for dragonfly/amd64 in /tmp/workdir-host-dragonfly-amd64-5_8/go Installed commands in /tmp/workdir-host-dragonfly-amd64-5_8/go/bin testing in module mode; GOMOD=/tmp/workdir-host-dragonfly-amd64-5_8/gopath/src/golang.org/x/tools/go.mod :: Running /tmp/workdir-host-dragonfly-amd64-5_8/go/bin/go with args ["/tmp/workdir-host-dragonfly-amd64-5_8/go/bin/go" "test" "-short" "golang.org/x/tools/..."] and env ["LOGNAME=root" "PAGER=less" "MAIL=/var/mail/root" "PATH=/tmp/workdir-host-dragonfly-amd64-5_8/go/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/root/bin" "EDITOR=vi" "HOST=gobuilder.local" "PWD=/" "GROUP=wheel" "USER=root" "HOME=/root" "HOSTTYPE=DragonFly" "SHELL=/bin/csh" "BLOCKSIZE=K" "RC_PID=2" "WORKDIR=/tmp/workdir-host-dragonfly-amd64-5_8" "GOROOT_BOOTSTRAP=/tmp/workdir-host-dragonfly-amd64-5_8/go1.4" "GO_BUILDER_NAME=dragonfly-amd64-5_8" "GOROOT_BOOTSTRAP=/usr/local/go" "GOROOT=/tmp/workdir-host-dragonfly-amd64-5_8/go" "GOPATH=/tmp/workdir-host-dragonfly-amd64-5_8/gopath" "GOPROXY=http://10.240.0.31:30157" "GOPROXY=https://proxy.golang.org" "TMPDIR=/tmp/workdir-host-dragonfly-amd64-5_8/tmp" "GOCACHE=/tmp/workdir-host-dragonfly-amd64-5_8/gocache"] in dir /tmp/workdir-host-dragonfly-amd64-5_8/gopath/src/golang.org/x/tools go: downloading golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go: downloading golang.org/x/net v0.0.0-20201021035429-f5854403a974 go: downloading golang.org/x/mod v0.4.1 go: downloading github.com/yuin/goldmark v1.2.1 go: downloading golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 ok golang.org/x/tools/benchmark/parse 0.004s ok golang.org/x/tools/blog 0.021s ? 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.003s ok golang.org/x/tools/cmd/bundle 1.076s ok golang.org/x/tools/cmd/callgraph 7.647s ? golang.org/x/tools/cmd/compilebench [no test files] ok golang.org/x/tools/cmd/cover 1.696s ok golang.org/x/tools/cmd/digraph 0.005s ? golang.org/x/tools/cmd/eg [no test files] ok golang.org/x/tools/cmd/fiximports 10.513s ok golang.org/x/tools/cmd/getgo 0.027s ? golang.org/x/tools/cmd/getgo/server [no test files] ok golang.org/x/tools/cmd/go-contrib-init 0.013s ? golang.org/x/tools/cmd/godex [no test files] ok golang.org/x/tools/cmd/godoc 14.016s ? 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.509s ? 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.039s ? 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.025s ? golang.org/x/tools/cmd/ssadump [no test files] ? golang.org/x/tools/cmd/stress [no test files] ok golang.org/x/tools/cmd/stringer 16.550s ? golang.org/x/tools/cmd/toolstash [no test files] ok golang.org/x/tools/container/intsets 0.332s ok golang.org/x/tools/copyright 0.814s ok golang.org/x/tools/cover 0.010s ok golang.org/x/tools/go/analysis 0.025s ok golang.org/x/tools/go/analysis/analysistest 3.138s ok golang.org/x/tools/go/analysis/internal/analysisflags 0.009s ok golang.org/x/tools/go/analysis/internal/checker 0.604s ok golang.org/x/tools/go/analysis/internal/facts 0.444s ok golang.org/x/tools/go/analysis/multichecker 0.029s ok golang.org/x/tools/go/analysis/passes/asmdecl 0.981s ok golang.org/x/tools/go/analysis/passes/assign 1.598s ok golang.org/x/tools/go/analysis/passes/atomic 0.052s ok golang.org/x/tools/go/analysis/passes/atomicalign 0.204s ok golang.org/x/tools/go/analysis/passes/bools 2.255s ok golang.org/x/tools/go/analysis/passes/buildssa 0.063s ok golang.org/x/tools/go/analysis/passes/buildtag 0.006s ok golang.org/x/tools/go/analysis/passes/cgocall 2.586s ok golang.org/x/tools/go/analysis/passes/composite 1.962s ok golang.org/x/tools/go/analysis/passes/copylock 1.905s ok golang.org/x/tools/go/analysis/passes/ctrlflow 1.910s ok golang.org/x/tools/go/analysis/passes/deepequalerrors 2.433s ok golang.org/x/tools/go/analysis/passes/errorsas 1.252s ok golang.org/x/tools/go/analysis/passes/fieldalignment 0.057s ? golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment [no test files] ok golang.org/x/tools/go/analysis/passes/findcall 0.331s ? golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall [no test files] ok golang.org/x/tools/go/analysis/passes/framepointer 0.009s ok golang.org/x/tools/go/analysis/passes/httpresponse 3.575s ok golang.org/x/tools/go/analysis/passes/ifaceassert 1.590s ? 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.169s ok golang.org/x/tools/go/analysis/passes/lostcancel 2.166s ? golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files] ok golang.org/x/tools/go/analysis/passes/nilfunc 0.060s ok golang.org/x/tools/go/analysis/passes/nilness 0.078s ? golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness [no test files] ok golang.org/x/tools/go/analysis/passes/pkgfact 0.204s ok golang.org/x/tools/go/analysis/passes/printf 2.235s ok golang.org/x/tools/go/analysis/passes/shadow 1.462s ? golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files] ok golang.org/x/tools/go/analysis/passes/shift 0.155s ok golang.org/x/tools/go/analysis/passes/sigchanyzer 1.433s ok golang.org/x/tools/go/analysis/passes/sortslice 1.113s ok golang.org/x/tools/go/analysis/passes/stdmethods 4.615s ok golang.org/x/tools/go/analysis/passes/stringintconv 0.152s ? golang.org/x/tools/go/analysis/passes/stringintconv/cmd/stringintconv [no test files] ok golang.org/x/tools/go/analysis/passes/structtag 1.936s ok golang.org/x/tools/go/analysis/passes/testinggoroutine 1.705s ok golang.org/x/tools/go/analysis/passes/tests 2.646s ok golang.org/x/tools/go/analysis/passes/unmarshal 1.355s ? golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal [no test files] ok golang.org/x/tools/go/analysis/passes/unreachable 0.185s ok golang.org/x/tools/go/analysis/passes/unsafeptr 1.385s ok golang.org/x/tools/go/analysis/passes/unusedresult 2.046s ok golang.org/x/tools/go/analysis/passes/unusedwrite 0.053s ? golang.org/x/tools/go/analysis/singlechecker [no test files] ok golang.org/x/tools/go/analysis/unitchecker 0.010s ok golang.org/x/tools/go/ast/astutil 0.026s ok golang.org/x/tools/go/ast/inspector 0.132s ok golang.org/x/tools/go/buildutil 1.005s ? golang.org/x/tools/go/callgraph [no test files] ok golang.org/x/tools/go/callgraph/cha 0.008s ok golang.org/x/tools/go/callgraph/rta 0.015s ok golang.org/x/tools/go/callgraph/static 0.021s ok golang.org/x/tools/go/cfg 0.034s ok golang.org/x/tools/go/expect 0.007s ok golang.org/x/tools/go/gccgoexportdata 0.003s ok golang.org/x/tools/go/gcexportdata 0.083s ? golang.org/x/tools/go/internal/cgo [no test files] ok golang.org/x/tools/go/internal/gccgoimporter 0.011s ok golang.org/x/tools/go/internal/gcimporter 53.532s ? golang.org/x/tools/go/internal/packagesdriver [no test files] ok golang.org/x/tools/go/loader 9.546s ok golang.org/x/tools/go/packages 171.285s ? golang.org/x/tools/go/packages/gopackages [no test files] ok golang.org/x/tools/go/packages/packagestest 0.464s ok golang.org/x/tools/go/pointer 4.354s ok golang.org/x/tools/go/ssa 8.519s ok golang.org/x/tools/go/ssa/interp 0.517s ok golang.org/x/tools/go/ssa/ssautil 2.244s ok golang.org/x/tools/go/types/objectpath 0.007s ok golang.org/x/tools/go/types/typeutil 0.599s ok golang.org/x/tools/go/vcs 0.033s ok golang.org/x/tools/godoc 0.792s ? golang.org/x/tools/godoc/analysis [no test files] ? golang.org/x/tools/godoc/golangorgenv [no test files] ok golang.org/x/tools/godoc/redirect 1.599s ok golang.org/x/tools/godoc/static 1.061s ? golang.org/x/tools/godoc/util [no test files] ok golang.org/x/tools/godoc/vfs 0.048s ok golang.org/x/tools/godoc/vfs/gatefs 0.026s ? golang.org/x/tools/godoc/vfs/httpfs [no test files] ok golang.org/x/tools/godoc/vfs/mapfs 0.027s ok golang.org/x/tools/godoc/vfs/zipfs 0.007s ? 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.814s ok golang.org/x/tools/internal/event 0.057s [no tests to run] ? golang.org/x/tools/internal/event/core [no test files] ok golang.org/x/tools/internal/event/export 0.015s ? 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.010s ok golang.org/x/tools/internal/event/export/ocagent/wire 0.006s ? 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.038s ? golang.org/x/tools/internal/fakenet [no test files] ok golang.org/x/tools/internal/fastwalk 0.077s ok golang.org/x/tools/internal/gocommand 0.038s ok golang.org/x/tools/internal/gopathwalk 0.038s ok golang.org/x/tools/internal/imports 24.235s ok golang.org/x/tools/internal/jsonrpc2 0.176s ok golang.org/x/tools/internal/jsonrpc2/servertest 0.009s ok golang.org/x/tools/internal/lsp 29.442s ok golang.org/x/tools/internal/lsp/analysis/fillreturns 4.127s ok golang.org/x/tools/internal/lsp/analysis/fillstruct 2.918s ok golang.org/x/tools/internal/lsp/analysis/nonewvars 2.218s ok golang.org/x/tools/internal/lsp/analysis/noresultvalues 0.155s ok golang.org/x/tools/internal/lsp/analysis/simplifycompositelit 0.176s ok golang.org/x/tools/internal/lsp/analysis/simplifyrange 1.590s ok golang.org/x/tools/internal/lsp/analysis/simplifyslice 0.132s ok golang.org/x/tools/internal/lsp/analysis/undeclaredname 0.120s ok golang.org/x/tools/internal/lsp/analysis/unusedparams 3.102s ? golang.org/x/tools/internal/lsp/browser [no test files] ok golang.org/x/tools/internal/lsp/cache 0.066s 2021/03/03 15:33:20 New session create_session=1 2021/03/03 15:33:20 go env for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359 (root /tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359) (go version go version go1.15.8 dragonfly/amd64) (valid build configuration = true) (build flags: []) GOCACHE=/tmp/workdir-host-dragonfly-amd64-5_8/gocache GONOPROXY= GONOSUMDB= GO111MODULE= GOINSECURE= GOMOD=/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359/go.mod GOMODCACHE=/tmp/workdir-host-dragonfly-amd64-5_8/gopath/pkg/mod GOPATH=/tmp/workdir-host-dragonfly-amd64-5_8/gopath GOPRIVATE= GOSUMDB=sum.golang.org GOPROXY=https://proxy.golang.org GOROOT=/tmp/workdir-host-dragonfly-amd64-5_8/go GOFLAGS= 2021/03/03 15:33:20 go/packages.Load snapshot=0 directory=/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359 query=[builtin fake/...] packages=2 2021/03/03 15:33:20 published 0 diagnostics level=5 2021/03/03 15:33:20 published 1 diagnostics level=5 2021/03/03 15:33:21 go/packages.Load snapshot=2 directory=/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359 query=[file=/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359/fake.go] packages=1 2021/03/03 15:33:21 go/packages.Load snapshot=2 package="fake" files=[/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359/fake.go] 2021/03/03 15:33:21 published 1 diagnostics level=5 2021/03/03 15:33:21 go/packages.Load snapshot=2 directory=/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359 query=[file=/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359/fake.go] packages=1 2021/03/03 15:33:21 go/packages.Load snapshot=2 package="fake" files=[/tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359/fake.go] 2021/03/03 15:33:21 published 0 diagnostics level=5 2021/03/03 15:33:21 Shutdown session shutdown_session=1 2021/03/03 15:33:21 diagnosing go.mod: err: chdir /tmp/workdir-host-dragonfly-amd64-5_8/tmp/fake421074359: no such file or directory: stderr: 2021/03/03 15:33:21 published 0 diagnostics level=5 --- FAIL: TestCommandLine (6.57s) --- FAIL: TestCommandLine/Modules (3.76s) --- FAIL: TestCommandLine/Modules/CallHierarchy (0.00s) --- FAIL: TestCommandLine/Modules/CallHierarchy/callhierarchy_29_6 (0.00s) call_hierarchy.go:46: call_hierarchy failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/callhierarchy/callhierarchy.go:29:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/CallHierarchy/callhierarchy_35_2 (0.00s) call_hierarchy.go:46: call_hierarchy failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/callhierarchy/callhierarchy.go:35:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Diagnostics (0.31s) --- FAIL: TestCommandLine/Modules/Diagnostics/generated (0.00s) check.go:55: missing diagnostic "generated/generated.go:6:6: y declared but not used", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/testy_test (0.29s) check.go:55: missing diagnostic "testy/testy_test.go:11:6: x declared but not used", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/badstmt (0.00s) check.go:55: missing diagnostic "badstmt/badstmt.go:8:13: function must be invoked in defer statement", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/noparse (0.00s) check.go:55: missing diagnostic "noparse/noparse.go:11:6: expected 'IDENT', found '.'", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/a_x_test (0.00s) check.go:55: missing diagnostic "godef/a/a_x_test.go:8:2: undeclared name: Nonexistant", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/bad_test (0.00s) check.go:55: missing diagnostic "analyzer/bad_test.go:9: Testbad has malformed name: first letter after 'Test' must not be lowercase", map[] check.go:55: missing diagnostic "analyzer/bad_test.go:11:6: assignment copies lock value to _: sync.Mutex", map[] check.go:55: missing diagnostic "analyzer/bad_test.go:13:2: printfWrapper format %s reads arg #1, but call has 0 args", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/bad1 (0.00s) check.go:55: missing diagnostic "bad/bad1.go:8:7: undeclared name: unknown", map[] check.go:55: missing diagnostic "bad/bad1.go:16:2: x declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:17:6: q declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:17:8: undeclared name: blah", map[] check.go:55: missing diagnostic "bad/bad1.go:18:6: t declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:18:10: undeclared name: blob", map[] check.go:55: missing diagnostic "bad/bad1.go:27:6: ch declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:27:15: undeclared name: favType1", map[] check.go:55: missing diagnostic "bad/bad1.go:28:6: m declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:28:12: undeclared name: keyType", map[] check.go:55: missing diagnostic "bad/bad1.go:29:6: arr declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:29:12: undeclared name: favType2", map[] check.go:55: missing diagnostic "bad/bad1.go:30:6: fn1 declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:30:17: undeclared name: badResult", map[] check.go:55: missing diagnostic "bad/bad1.go:31:6: fn2 declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:31:15: undeclared name: badParam", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/noparse_format (0.00s) check.go:55: missing diagnostic "noparse_format/noparse_format.go:7:5: missing condition in if statement", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/generator (0.00s) check.go:55: missing diagnostic "generated/generator.go:4:6: x declared but not used", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/bad_format (0.00s) check.go:55: missing diagnostic "format/bad_format.go:14:6: x declared but not used", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/bad0 (0.01s) check.go:55: missing diagnostic "bad/bad0.go:5:10: could not import golang.org/x/tools/internal/lsp/assign/internal/secret (invalid use of internal package golang.org/x/tools/internal/lsp/assign/internal/secret)", map[] check.go:55: missing diagnostic "bad/bad0.go:9:10: cannot use x (variable of type string) as int value in argument to random2", map[] check.go:55: missing diagnostic "bad/bad0.go:11:2: y declared but not used", map[] check.go:55: missing diagnostic "bad/bad0.go:21:3: unknown field f in struct literal", map[] --- FAIL: TestCommandLine/Modules/Diagnostics/var (0.00s) check.go:55: missing diagnostic "undeclared/var.go:4:12: undeclared name: y", map[] check.go:55: missing diagnostic "undeclared/var.go:7:18: undeclared name: n", map[] check.go:55: missing diagnostic "undeclared/var.go:10:6: undeclared name: i", map[] check.go:55: missing diagnostic "undeclared/var.go:12:2: undeclared name: r", map[] --- FAIL: TestCommandLine/Modules/FoldingRange (0.00s) --- FAIL: TestCommandLine/Modules/FoldingRange/a (0.00s) folding_range.go:23: folding_ranges failed failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/folding/a.go expected: 3:9-6:0 10:22-11:32 12:10-12:9 12:20-66:0 13:10-24:1 14:12-19:3 15:12-17:2 16:16-16:21 17:11-19:2 18:16-18:22 20:13-21:22 21:15-21:21 22:10-23:24 23:15-23:23 25:12-29:1 30:16-32:1 33:21-37:1 38:17-42:1 43:8-47:1 48:15-48:23 48:32-48:40 49:10-60:1 50:18-55:3 51:11-53:2 52:16-52:28 53:11-55:2 54:16-54:29 56:11-57:18 57:15-57:17 58:10-59:24 59:15-59:23 61:32-62:30 got: --- FAIL: TestCommandLine/Modules/FoldingRange/bad (0.00s) folding_range.go:23: folding_ranges failed failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/folding/bad.go expected: 3:9-5:0 7:9-8:8 11:13-11:12 11:23-18:0 12:8-15:1 14:15-14:20 15:10-16:23 16:15-16:21 got: --- FAIL: TestCommandLine/Modules/Format (0.10s) --- FAIL: TestCommandLine/Modules/Format/parse_format (0.03s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/noparse_format/parse_format.go expected: package noparse_format //@format("package") func _() { f() } got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Format/bad_format (0.03s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/format/bad_format.go expected: package format //@format("package") import ( "fmt" "log" "runtime" ) func hello() { var x int //@diag("x", "compiler", "x declared but not used", "error") } func hi() { runtime.GOROOT() fmt.Printf("") log.Printf("") } got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Format/good_format (0.02s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/format/good_format.go expected: package format //@format("package") import ( "log" ) func goodbye() { log.Printf("byeeeee") } got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Format/newline_format (0.01s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/format/newline_format.go expected: package format //@format("package") func _() {} got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Format/one_line (0.01s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/format/one_line.go expected: package format //@format("package") got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Import (0.03s) --- FAIL: TestCommandLine/Modules/Import/add_import (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/add_import.go, expected: --- want +++ got @@ -1,11 +1 @@ -package imports //@import("package") - -import ( - "bytes" - "fmt" -) - -func _() { - fmt.Println("") - bytes.NewBuffer(nil) -} --- FAIL: TestCommandLine/Modules/Import/good_imports (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/good_imports.go, expected: --- want +++ got @@ -1,7 +1 @@ -package imports //@import("package") - -import "fmt" - -func _() { -fmt.Println("") -} --- FAIL: TestCommandLine/Modules/Import/issue35458 (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/issue35458.go, expected: --- want +++ got @@ -1,18 +1 @@ -// package doc -package imports //@import("package") - - - - - - -func _() { - println("Hello, world!") -} - - - - - - - --- FAIL: TestCommandLine/Modules/Import/multiple_blocks (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/multiple_blocks.go, expected: --- want +++ got @@ -1,7 +1 @@ -package imports //@import("package") - -import "fmt" - -func _() { - fmt.Println("") -} --- FAIL: TestCommandLine/Modules/Import/needs_imports (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/needs_imports.go, expected: --- want +++ got @@ -1,11 +1 @@ -package imports //@import("package") - -import ( - "fmt" - "log" -) - -func goodbye() { - fmt.Printf("HI") - log.Printf("byeeeee") -} --- FAIL: TestCommandLine/Modules/Import/remove_import (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/remove_import.go, expected: --- want +++ got @@ -1,9 +1 @@ -package imports //@import("package") - -import ( - "fmt" -) - -func _() { - fmt.Println("") -} --- FAIL: TestCommandLine/Modules/Import/remove_imports (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/remove_imports.go, expected: --- want +++ got @@ -1,4 +1 @@ -package imports //@import("package") - -func _() { -} --- FAIL: TestCommandLine/Modules/Import/two_lines (0.03s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/imports/two_lines.go, expected: --- want +++ got @@ -1,2 +1 @@ -package main -func main() {} //@import("main") --- FAIL: TestCommandLine/Modules/SemanticTokens (0.00s) --- FAIL: TestCommandLine/Modules/SemanticTokens/a (0.00s) semanticdriver.go:19: /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/semantic/a.go: "unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory" --- FAIL: TestCommandLine/Modules/SemanticTokens/a#01 (0.00s) semanticdriver.go:19: /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/semantic/a.go: "unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory" --- FAIL: TestCommandLine/Modules/SemanticTokens/b (0.00s) semanticdriver.go:19: /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/semantic/b.go: "unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory" --- FAIL: TestCommandLine/Modules/SuggestedFix (0.01s) --- FAIL: TestCommandLine/Modules/SuggestedFix/has_suggested_fix_9_2 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/suggestedfix/has_suggested_fix.go: --- want +++ got @@ -1,12 +1 @@ -package suggestedfix -import ( - "log" -) - -func goodbye() { - s := "hiiiiiii" - //@suggestedfix("s = s", "quickfix") - log.Print(s) -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/extract_scope_11_9 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/extract/extract_variable/extract_scope.go: --- want +++ got @@ -1,15 +1 @@ -package extract -import "go/ast" - -func _() { - x0 := 0 - if true { - y := ast.CompositeLit{} //@suggestedfix("ast.CompositeLit{}", "refactor.extract") - } - if true { - x2 := !false - x1 := x2 //@suggestedfix("!false", "refactor.extract") - } -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/noresultvalues_3_19 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/typeerrors/noresultvalues.go: --- want +++ got @@ -1,6 +1 @@ -package typeerrors -func x() { return } //@suggestedfix("nil", "quickfix") - -func y() { return nil, "hello" } //@suggestedfix("nil", "quickfix") - --- FAIL: TestCommandLine/Modules/SuggestedFix/extract_func_call_8_12 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/extract/extract_variable/extract_func_call.go: --- want +++ got @@ -1,11 +1 @@ -package extract -import "strconv" - -func _() { - a := append([]int{}, 1) //@suggestedfix("append([]int{}, 1)", "refactor.extract") - str := "1" - x0, x1 := strconv.Atoi(str) - b, err := x0, x1 //@suggestedfix("strconv.Atoi(str)", "refactor.extract") -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/extract_scope_8_8 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/extract/extract_variable/extract_scope.go: --- want +++ got @@ -1,15 +1 @@ -package extract -import "go/ast" - -func _() { - x0 := 0 - if true { - x1 := ast.CompositeLit{} - y := x1 //@suggestedfix("ast.CompositeLit{}", "refactor.extract") - } - if true { - x1 := !false //@suggestedfix("!false", "refactor.extract") - } -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/extract_func_call_6_7 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/extract/extract_variable/extract_func_call.go: --- want +++ got @@ -1,11 +1 @@ -package extract -import "strconv" - -func _() { - x0 := append([]int{}, 1) - a := x0 //@suggestedfix("append([]int{}, 1)", "refactor.extract") - str := "1" - b, err := strconv.Atoi(str) //@suggestedfix("strconv.Atoi(str)", "refactor.extract") -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/var_4_12 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/undeclared/var.go: --- want +++ got @@ -1,16 +1 @@ -package undeclared -func m() int { - y := - z, _ := 1+y, 11 //@diag("y", "compiler", "undeclared name: y", "error"),suggestedfix("y", "quickfix") - if 100 < 90 { - z = 1 - } else if 100 > n+2 { //@diag("n", "compiler", "undeclared name: n", "error"),suggestedfix("n", "quickfix") - z = 4 - } - for i < 200 { //@diag("i", "compiler", "undeclared name: i", "error"),suggestedfix("i", "quickfix") - } - r() //@diag("r", "compiler", "undeclared name: r", "error") - return z -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/extract_basic_lit_5_10 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/extract/extract_variable/extract_basic_lit.go: --- want +++ got @@ -1,8 +1 @@ -package extract -func _() { - var _ = 1 + 2 //@suggestedfix("1", "refactor.extract") - x0 := 3 + 4 - var _ = x0 //@suggestedfix("3 + 4", "refactor.extract") -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/var_10_6 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/undeclared/var.go: --- want +++ got @@ -1,16 +1 @@ -package undeclared -func m() int { - z, _ := 1+y, 11 //@diag("y", "compiler", "undeclared name: y", "error"),suggestedfix("y", "quickfix") - if 100 < 90 { - z = 1 - } else if 100 > n+2 { //@diag("n", "compiler", "undeclared name: n", "error"),suggestedfix("n", "quickfix") - z = 4 - } - i := - for i < 200 { //@diag("i", "compiler", "undeclared name: i", "error"),suggestedfix("i", "quickfix") - } - r() //@diag("r", "compiler", "undeclared name: r", "error") - return z -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/noresultvalues_5_19 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/typeerrors/noresultvalues.go: --- want +++ got @@ -1,6 +1 @@ -package typeerrors -func x() { return nil } //@suggestedfix("nil", "quickfix") - -func y() { return } //@suggestedfix("nil", "quickfix") - --- FAIL: TestCommandLine/Modules/SuggestedFix/var_7_18 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/undeclared/var.go: --- want +++ got @@ -1,16 +1 @@ -package undeclared -func m() int { - z, _ := 1+y, 11 //@diag("y", "compiler", "undeclared name: y", "error"),suggestedfix("y", "quickfix") - n := - if 100 < 90 { - z = 1 - } else if 100 > n+2 { //@diag("n", "compiler", "undeclared name: n", "error"),suggestedfix("n", "quickfix") - z = 4 - } - for i < 200 { //@diag("i", "compiler", "undeclared name: i", "error"),suggestedfix("i", "quickfix") - } - r() //@diag("r", "compiler", "undeclared name: r", "error") - return z -} - --- FAIL: TestCommandLine/Modules/SuggestedFix/extract_basic_lit_4_10 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/extract/extract_variable/extract_basic_lit.go: --- want +++ got @@ -1,8 +1 @@ -package extract -func _() { - x0 := 1 - var _ = x0 + 2 //@suggestedfix("1", "refactor.extract") - var _ = 3 + 4 //@suggestedfix("3 + 4", "refactor.extract") -} - --- FAIL: TestCommandLine/Modules/Definition (0.13s) --- FAIL: TestCommandLine/Modules/Definition/random_25_11 (0.00s) definition.go:58: definition PosX-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#458"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:13:2-3: defined here as ```go -field x int -``` - -\@mark\(PosX, \"x\"\),mark\(PosY, \"y\"\) \ No newline at end of file definition.go:58: definition PosX-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#458"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 13, - "column": 2, - "offset": 187 - }, - "end": { - "line": 13, - "column": 3, - "offset": 188 - } - }, - "description": "```go\nfield x int\n```\n\n\\@mark\\(PosX, \\\"x\\\"\\),mark\\(PosY, \\\"y\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_37_5 (0.00s) definition.go:58: definition AString-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#829"} --- expect +++ got @@ -1,6 +1 @@ -godef/a/a.go:26:6-7: defined here as ```go -type A string //@mark(AString, "A") - -``` - -[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A) \ No newline at end of file definition.go:58: definition AString-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#829"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 26, - "column": 6, - "offset": 452 - }, - "end": { - "line": 26, - "column": 7, - "offset": 453 - } - }, - "description": "```go\ntype A string //@mark(AString, \"A\")\n\n```\n\n[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_47_4 (0.00s) definition.go:58: definition AStuff-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#964"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/a.go:28:6-12: defined here as ```go -func a.AStuff() -``` - -[`a.AStuff` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#AStuff) \ No newline at end of file definition.go:58: definition AStuff-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#964"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 28, - "column": 6, - "offset": 489 - }, - "end": { - "line": 28, - "column": 12, - "offset": 495 - } - }, - "description": "```go\nfunc a.AStuff()\n```\n\n[`a.AStuff` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#AStuff)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_50_8 (0.00s) definition.go:58: definition S1F1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1074"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:28:2-4: defined here as ```go -field F1 int -``` - -[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1) - -\@mark\(S1F1, \"F1\"\) \ No newline at end of file definition.go:58: definition S1F1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1074"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 28, - "column": 2, - "offset": 585 - }, - "end": { - "line": 28, - "column": 4, - "offset": 587 - } - }, - "description": "```go\nfield F1 int\n```\n\n[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1)\n\n\\@mark\\(S1F1, \\\"F1\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/e_13_6 (0.00s) definition.go:58: definition Things-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#237"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/d.go:11:6-12: defined here as ```go -func a.Things(val []string) []a.Thing -``` - -[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things) \ No newline at end of file definition.go:58: definition Things-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#237"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 11, - "column": 6, - "offset": 145 - }, - "end": { - "line": 11, - "column": 12, - "offset": 151 - } - }, - "description": "```go\nfunc a.Things(val []string) []a.Thing\n```\n\n[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_25_4 (0.01s) definition.go:58: definition Things-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#471"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/d.go:11:6-12: defined here as ```go -func Things(val []string) []Thing -``` - -[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things) \ No newline at end of file definition.go:58: definition Things-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#471"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 11, - "column": 6, - "offset": 145 - }, - "end": { - "line": 11, - "column": 12, - "offset": 151 - } - }, - "description": "```go\nfunc Things(val []string) []Thing\n```\n\n[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_30_4 (0.00s) definition.go:58: definition AString-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#667"} --- expect +++ got @@ -1,6 +1 @@ -godef/a/a.go:26:6-7: defined here as ```go -type A string //@mark(AString, "A") - -``` - -[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A) \ No newline at end of file definition.go:58: definition AString-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#667"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 26, - "column": 6, - "offset": 452 - }, - "end": { - "line": 26, - "column": 7, - "offset": 453 - } - }, - "description": "```go\ntype A string //@mark(AString, \"A\")\n\n```\n\n[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/c_6_9 (0.00s) definition.go:58: definition S1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/c.go:#107"} --- expect +++ got @@ -1,10 +1 @@ -godef/b/b.go:27:6-8: defined here as ```go -type S1 struct { - F1 int //@mark(S1F1, "F1") - S2 //@godef("S2", S2),mark(S1S2, "S2") - a.A //@godef("A", AString) - aAlias //@godef("a", aAlias) -} -``` - -[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1) \ No newline at end of file definition.go:58: definition S1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/c.go:#107"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 27, - "column": 6, - "offset": 566 - }, - "end": { - "line": 27, - "column": 8, - "offset": 568 - } - }, - "description": "```go\ntype S1 struct {\n\tF1 int //@mark(S1F1, \"F1\")\n\tS2 //@godef(\"S2\", S2),mark(S1S2, \"S2\")\n\ta.A //@godef(\"A\", AString)\n\taAlias //@godef(\"a\", aAlias)\n}\n```\n\n[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/a_x_test_7_6 (0.00s) definition.go:58: definition TestA2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a_x_test.go:#44"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/a_x_test.go:7:6-12: defined here as ```go -func TestA2(t *testing.T) -``` \ No newline at end of file definition.go:58: definition TestA2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a_x_test.go:#44"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a_x_test.go", - "start": { - "line": 7, - "column": 6, - "offset": 44 - }, - "end": { - "line": 7, - "column": 12, - "offset": 50 - } - }, - "description": "```go\nfunc TestA2(t *testing.T)\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_21_4 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#332"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#332"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_42_5 (0.00s) definition.go:58: definition AString-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#917"} --- expect +++ got @@ -1,6 +1 @@ -godef/a/a.go:26:6-7: defined here as ```go -type A string //@mark(AString, "A") - -``` - -[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A) \ No newline at end of file definition.go:58: definition AString-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#917"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 26, - "column": 6, - "offset": 452 - }, - "end": { - "line": 26, - "column": 7, - "offset": 453 - } - }, - "description": "```go\ntype A string //@mark(AString, \"A\")\n\n```\n\n[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_54_9 (0.00s) definition.go:58: definition myFoo-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1178"} --- expect +++ got @@ -1,5 +1 @@ -godef/b/b.go:4:2-7: defined here as ```go -package myFoo ("golang.org/x/tools/internal/lsp/foo") -``` - -[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls) \ No newline at end of file definition.go:58: definition myFoo-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1178"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 4, - "column": 2, - "offset": 21 - }, - "end": { - "line": 4, - "column": 7, - "offset": 26 - } - }, - "description": "```go\npackage myFoo (\"golang.org/x/tools/internal/lsp/foo\")\n```\n\n[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_6_2 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#87"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#87"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_31_2 (0.00s) definition.go:58: definition aAlias-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#700"} --- expect +++ got @@ -1,4 +1 @@ -godef/b/b.go:25:6-12: defined here as ```go -type aAlias = a.A //@mark(aAlias, "aAlias") - -``` \ No newline at end of file definition.go:58: definition aAlias-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#700"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 25, - "column": 6, - "offset": 521 - }, - "end": { - "line": 25, - "column": 12, - "offset": 527 - } - }, - "description": "```go\ntype aAlias = a.A //@mark(aAlias, \"aAlias\")\n\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_37_3 (0.00s) definition.go:58: definition AImport-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#827"} --- expect +++ got @@ -1,5 +1 @@ -godef/b/b.go:5:2-43: defined here as ```go -package a ("golang.org/x/tools/internal/lsp/godef/a") -``` - -[`a` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls) \ No newline at end of file definition.go:58: definition AImport-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#827"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 5, - "column": 2, - "offset": 112 - }, - "end": { - "line": 5, - "column": 43, - "offset": 153 - } - }, - "description": "```go\npackage a (\"golang.org/x/tools/internal/lsp/godef/a\")\n```\n\n[`a` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_52_11 (0.00s) definition.go:58: definition S2F1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1145"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:35:2-4: defined here as ```go -field F1 string -``` - -[`(b.S2).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F1) - -\@mark\(S2F1, \"F1\"\) \ No newline at end of file definition.go:58: definition S2F1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1145"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 35, - "column": 2, - "offset": 760 - }, - "end": { - "line": 35, - "column": 4, - "offset": 762 - } - }, - "description": "```go\nfield F1 string\n```\n\n[`(b.S2).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F1)\n\n\\@mark\\(S2F1, \\\"F1\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/e_10_11 (0.00s) definition.go:58: definition Thing-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#103"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:5:6-11: defined here as ```go -type Thing struct { - Member string //@Member -} -``` - -[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing) \ No newline at end of file definition.go:58: definition Thing-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#103"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 5, - "column": 6, - "offset": 62 - }, - "end": { - "line": 5, - "column": 11, - "offset": 67 - } - }, - "description": "```go\ntype Thing struct {\n\tMember string //@Member\n}\n```\n\n[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/usecgo_8_8 (0.02s) definition.go:58: definition funccgoexample-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/cgoimport/usecgo.go:#88"} --- expect +++ got @@ -1,5 +1 @@ -cgo/declarecgo.go:18:6-13: defined here as ```go -func cgo.Example() -``` - -[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example) \ No newline at end of file definition.go:58: definition funccgoexample-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/cgoimport/usecgo.go:#88"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://cgo/declarecgo.go", - "start": { - "line": 18, - "column": 6, - "offset": 151 - }, - "end": { - "line": 18, - "column": 13, - "offset": 158 - } - }, - "description": "```go\nfunc cgo.Example()\n```\n\n[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/a_30_5 (0.00s) definition.go:58: definition Random2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a.go:#522"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:8:6-13: defined here as ```go -func Random2(y int) int -``` - -[`a.Random2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random2) \ No newline at end of file definition.go:58: definition Random2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a.go:#522"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 8, - "column": 6, - "offset": 71 - }, - "end": { - "line": 8, - "column": 13, - "offset": 78 - } - }, - "description": "```go\nfunc Random2(y int) int\n```\n\n[`a.Random2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random2)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_29_2 (0.00s) definition.go:58: definition S2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#617"} --- expect +++ got @@ -1,9 +1 @@ -godef/b/b.go:34:6-8: defined here as ```go -type S2 struct { - F1 string //@mark(S2F1, "F1") - F2 int //@mark(S2F2, "F2") - *a.A //@godef("A", AString),godef("a",AImport) -} -``` - -[`b.S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2) \ No newline at end of file definition.go:58: definition S2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#617"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 34, - "column": 6, - "offset": 741 - }, - "end": { - "line": 34, - "column": 8, - "offset": 743 - } - }, - "description": "```go\ntype S2 struct {\n\tF1 string //@mark(S2F1, \"F1\")\n\tF2 int //@mark(S2F2, \"F2\")\n\t*a.A //@godef(\"A\", AString),godef(\"a\",AImport)\n}\n```\n\n[`b.S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_24_13 (0.00s) definition.go:58: definition Other-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#437"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:9:5-10: defined here as ```go -var Other Thing -``` - -[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other) - -\@Other \ No newline at end of file definition.go:58: definition Other-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#437"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 9, - "column": 5, - "offset": 118 - }, - "end": { - "line": 9, - "column": 10, - "offset": 123 - } - }, - "description": "```go\nvar Other Thing\n```\n\n[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other)\n\n\\@Other" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/a_34_19 (0.00s) definition.go:58: definition err-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a.go:#640"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/a.go:33:6-9: defined here as ```go -var err error -``` - -\@err \ No newline at end of file definition.go:58: definition err-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a.go:#640"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 33, - "column": 6, - "offset": 597 - }, - "end": { - "line": 33, - "column": 9, - "offset": 600 - } - }, - "description": "```go\nvar err error\n```\n\n\\@err" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/random_30_11 (0.00s) definition.go:58: definition PosSum-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#521"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:24:15-18: defined here as ```go -func (*Pos).Sum() int -``` - -[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Pos.Sum) \ No newline at end of file definition.go:58: definition PosSum-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#521"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 24, - "column": 15, - "offset": 413 - }, - "end": { - "line": 24, - "column": 18, - "offset": 416 - } - }, - "description": "```go\nfunc (*Pos).Sum() int\n```\n\n[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Pos.Sum)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_4_2 (0.00s) definition.go:58: definition myFoo-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#21"} --- expect +++ got @@ -1,5 +1 @@ -godef/b/b.go:4:2-7: defined here as ```go -package myFoo ("golang.org/x/tools/internal/lsp/foo") -``` - -[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls) \ No newline at end of file definition.go:58: definition myFoo-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#21"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 4, - "column": 2, - "offset": 21 - }, - "end": { - "line": 4, - "column": 7, - "offset": 26 - } - }, - "description": "```go\npackage myFoo (\"golang.org/x/tools/internal/lsp/foo\")\n```\n\n[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_48_8 (0.00s) definition.go:58: definition S1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1008"} --- expect +++ got @@ -1,10 +1 @@ -godef/b/b.go:27:6-8: defined here as ```go -type S1 struct { - F1 int //@mark(S1F1, "F1") - S2 //@godef("S2", S2),mark(S1S2, "S2") - a.A //@godef("A", AString) - aAlias //@godef("a", aAlias) -} -``` - -[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1) \ No newline at end of file definition.go:58: definition S1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1008"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 27, - "column": 6, - "offset": 566 - }, - "end": { - "line": 27, - "column": 8, - "offset": 568 - } - }, - "description": "```go\ntype S1 struct {\n\tF1 int //@mark(S1F1, \"F1\")\n\tS2 //@godef(\"S2\", S2),mark(S1S2, \"S2\")\n\ta.A //@godef(\"A\", AString)\n\taAlias //@godef(\"a\", aAlias)\n}\n```\n\n[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_51_8 (0.00s) definition.go:58: definition S2F2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1108"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:36:2-4: defined here as ```go -field F2 int -``` - -[`(b.S2).F2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F2) - -\@mark\(S2F2, \"F2\"\) \ No newline at end of file definition.go:58: definition S2F2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1108"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 36, - "column": 2, - "offset": 793 - }, - "end": { - "line": 36, - "column": 4, - "offset": 795 - } - }, - "description": "```go\nfield F2 int\n```\n\n[`(b.S2).F2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F2)\n\n\\@mark\\(S2F2, \\\"F2\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/c_7_2 (0.00s) definition.go:58: definition S1F1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/c.go:#131"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:28:2-4: defined here as ```go -field F1 int -``` - -[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1) - -\@mark\(S1F1, \"F1\"\) \ No newline at end of file definition.go:58: definition S1F1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/c.go:#131"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 28, - "column": 2, - "offset": 585 - }, - "end": { - "line": 28, - "column": 4, - "offset": 587 - } - }, - "description": "```go\nfield F1 int\n```\n\n[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1)\n\n\\@mark\\(S1F1, \\\"F1\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/a_test_7_6 (0.00s) definition.go:58: definition TestA-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a_test.go:#39"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/a_test.go:7:6-11: defined here as ```go -func TestA(t *testing.T) -``` \ No newline at end of file definition.go:58: definition TestA-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a_test.go:#39"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a_test.go", - "start": { - "line": 7, - "column": 6, - "offset": 39 - }, - "end": { - "line": 7, - "column": 11, - "offset": 44 - } - }, - "description": "```go\nfunc TestA(t *testing.T)\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/random_21_4 (0.00s) definition.go:58: definition TypField-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#362"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/random.go:17:18-23: defined here as ```go -field field string -``` \ No newline at end of file definition.go:58: definition TypField-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#362"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 17, - "column": 18, - "offset": 292 - }, - "end": { - "line": 17, - "column": 23, - "offset": 297 - } - }, - "description": "```go\nfield field string\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_49_8 (0.00s) definition.go:58: definition S1S2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1040"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:29:2-4: defined here as ```go -field S2 S2 -``` - -[`(b.S1).S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.S2) - -\@godef\(\"S2\", S2\),mark\(S1S2, \"S2\"\) \ No newline at end of file definition.go:58: definition S1S2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1040"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 29, - "column": 2, - "offset": 617 - }, - "end": { - "line": 29, - "column": 4, - "offset": 619 - } - }, - "description": "```go\nfield S2 S2\n```\n\n[`(b.S1).S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.S2)\n\n\\@godef\\(\\\"S2\\\", S2\\),mark\\(S1S2, \\\"S2\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/e_11_15 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#156"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#156"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_20_9 (0.00s) definition.go:58: definition Thing-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#296"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:5:6-11: defined here as ```go -type Thing struct { - Member string //@Member -} -``` - -[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing) \ No newline at end of file definition.go:58: definition Thing-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#296"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 5, - "column": 6, - "offset": 62 - }, - "end": { - "line": 5, - "column": 11, - "offset": 67 - } - }, - "description": "```go\ntype Thing struct {\n\tMember string //@Member\n}\n```\n\n[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_26_5 (0.00s) definition.go:58: definition Method-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#516"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/d.go:15:16-22: defined here as ```go -func (Thing).Method(i int) string -``` - -[`(a.Thing).Method` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Method) \ No newline at end of file definition.go:58: definition Method-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#516"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 15, - "column": 16, - "offset": 216 - }, - "end": { - "line": 15, - "column": 22, - "offset": 222 - } - }, - "description": "```go\nfunc (Thing).Method(i int) string\n```\n\n[`(a.Thing).Method` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Method)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/f_8_9 (0.00s) definition.go:58: definition switchY-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/f.go:#76"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/f.go:8:9-10: defined here as ```go -var y interface{} -``` \ No newline at end of file definition.go:58: definition switchY-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/f.go:#76"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/f.go", - "start": { - "line": 8, - "column": 9, - "offset": 76 - }, - "end": { - "line": 8, - "column": 10, - "offset": 77 - } - }, - "description": "```go\nvar y interface{}\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/b_57_7 (0.00s) definition.go:58: definition bX-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1228"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:57:7-8: defined here as ```go -const X untyped int = 0 -``` - -[`b.X` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#X) - -\@mark\(bX, \"X\"\),godef\(\"X\", bX\) \ No newline at end of file definition.go:58: definition bX-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/b.go:#1228"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 57, - "column": 7, - "offset": 1228 - }, - "end": { - "line": 57, - "column": 8, - "offset": 1229 - } - }, - "description": "```go\nconst X untyped int = 0\n```\n\n[`b.X` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#X)\n\n\\@mark\\(bX, \\\"X\\\"\\),godef\\(\\\"X\\\", bX\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/unclosedIf_8_26 (0.00s) definition.go:58: definition myUnclosedIf-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/broken/unclosedIf.go:#142"} --- expect +++ got @@ -1,5 +1 @@ -godef/broken/unclosedIf.go:7:7-19: defined here as ```go -var myUnclosedIf string -``` - -\@myUnclosedIf \ No newline at end of file definition.go:58: definition myUnclosedIf-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/broken/unclosedIf.go:#142"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/broken/unclosedIf.go", - "start": { - "line": 7, - "column": 7, - "offset": 68 - }, - "end": { - "line": 7, - "column": 19, - "offset": 80 - } - }, - "description": "```go\nvar myUnclosedIf string\n```\n\n\\@myUnclosedIf" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/a_31_8 (0.00s) definition.go:58: definition Random-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a.go:#563"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:3:6-12: defined here as ```go -func Random() int -``` - -[`a.Random` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random) \ No newline at end of file definition.go:58: definition Random-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/a.go:#563"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 3, - "column": 6, - "offset": 16 - }, - "end": { - "line": 3, - "column": 12, - "offset": 22 - } - }, - "description": "```go\nfunc Random() int\n```\n\n[`a.Random` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/declarecgo_26_4 (0.06s) definition.go:58: definition funccgoexample-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/cgo/declarecgo.go:#362"} --- expect +++ got @@ -1,5 +1 @@ -cgo/declarecgo.go:18:6-13: defined here as ```go -func Example() -``` - -[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example) \ No newline at end of file definition.go:58: definition funccgoexample-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/cgo/declarecgo.go:#362"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://cgo/declarecgo.go", - "start": { - "line": 18, - "column": 6, - "offset": 151 - }, - "end": { - "line": 18, - "column": 13, - "offset": 158 - } - }, - "description": "```go\nfunc Example()\n```\n\n[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/d_23_15 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#392"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/d.go:#392"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/random_9_9 (0.00s) definition.go:58: definition RandomParamY-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#135"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/random.go:8:14-15: defined here as ```go -var y int -``` \ No newline at end of file definition.go:58: definition RandomParamY-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/a/random.go:#135"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 8, - "column": 14, - "offset": 79 - }, - "end": { - "line": 8, - "column": 15, - "offset": 80 - } - }, - "description": "```go\nvar y int\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Definition/e_12_15 (0.00s) definition.go:58: definition Other-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#203"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:9:5-10: defined here as ```go -var a.Other a.Thing -``` - -[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other) - -\@Other \ No newline at end of file definition.go:58: definition Other-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/godef/b/e.go:#203"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 9, - "column": 5, - "offset": 118 - }, - "end": { - "line": 9, - "column": 10, - "offset": 123 - } - }, - "description": "```go\nvar a.Other a.Thing\n```\n\n[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other)\n\n\\@Other" -} \ No newline at end of file --- FAIL: TestCommandLine/Modules/Implementation (0.00s) --- FAIL: TestCommandLine/Modules/Implementation/implementation_15_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:15:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_12_13 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:12:13: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_16_2 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:16:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_29_14 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:29:14: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_31_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:31:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/other_20_12 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/other/other.go:20:12: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/other_26_2 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/other/other.go:26:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_7_14 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:7:14: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/other_17_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/other/other.go:17:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_19_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:19:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_27_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:27:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_5_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:5:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_10_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:10:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Implementation/implementation_24_2 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/implementation/implementation.go:24:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Highlight (0.04s) --- FAIL: TestCommandLine/Modules/Highlight/highlights_62_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:62:4 expected: highlights/highlights.go:47:2-5 highlights/highlights.go:49:4-9 highlights/highlights.go:62:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_72_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:72:4 expected: highlights/highlights.go:67:2-5 highlights/highlights.go:69:4-9 highlights/highlights.go:72:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_150_15 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:150:15 expected: highlights/highlights.go:149:2-7 highlights/highlights.go:150:15-20 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_33_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:33:2 expected: highlights/highlights.go:19:6-11 highlights/highlights.go:33:2-7 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_13_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:13:3 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_19_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:19:6 expected: highlights/highlights.go:19:6-11 highlights/highlights.go:33:2-7 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_77_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:77:2 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_149_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:149:2 expected: highlights/highlights.go:149:2-7 highlights/highlights.go:150:15-20 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_5_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:5:2 expected: highlights/highlights.go:5:2-4 highlights/highlights.go:20:6-8 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_47_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:47:2 expected: highlights/highlights.go:47:2-5 highlights/highlights.go:49:4-9 highlights/highlights.go:62:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_134_10 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:134:10 expected: highlights/highlights.go:132:25-32 highlights/highlights.go:134:10-14 highlights/highlights.go:137:9-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_22_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:22:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_32_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:32:6 expected: highlights/highlights.go:23:6-11 highlights/highlights.go:31:6-11 highlights/highlights.go:32:6-11 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_54_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:54:6 expected: highlights/highlights.go:54:6-9 highlights/highlights.go:56:8-16 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_69_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:69:4 expected: highlights/highlights.go:67:2-5 highlights/highlights.go:69:4-9 highlights/highlights.go:72:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_116_4 (0.01s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:116:4 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_132_25 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:132:25 expected: highlights/highlights.go:132:25-32 highlights/highlights.go:134:10-14 highlights/highlights.go:137:9-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_145_9 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:145:9 expected: highlights/highlights.go:140:34-41 highlights/highlights.go:143:10-14 highlights/highlights.go:145:9-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_20_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:20:6 expected: highlights/highlights.go:5:2-4 highlights/highlights.go:20:6-8 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_27_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:27:4 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_36_40 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:36:40 expected: highlights/highlights.go:36:38-57 highlights/highlights.go:36:40-57 highlights/highlights.go:37:19-36 highlights/highlights.go:39:27-44 highlights/highlights.go:43:9-15 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_59_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:59:6 expected: highlights/highlights.go:52:4-7 highlights/highlights.go:59:6-14 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_23_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:23:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_67_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:67:2 expected: highlights/highlights.go:67:2-5 highlights/highlights.go:69:4-9 highlights/highlights.go:72:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_107_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:107:5 expected: highlights/highlights.go:99:2-5 highlights/highlights.go:107:5-13 highlights/highlights.go:111:5-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_31_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:31:6 expected: highlights/highlights.go:23:6-11 highlights/highlights.go:31:6-11 highlights/highlights.go:32:6-11 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_127_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:127:3 expected: highlights/highlights.go:126:31-35 highlights/highlights.go:127:3-39 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_137_9 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:137:9 expected: highlights/highlights.go:132:25-32 highlights/highlights.go:134:10-14 highlights/highlights.go:136:2-3 highlights/highlights.go:137:9-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_143_10 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:143:10 expected: highlights/highlights.go:140:34-41 highlights/highlights.go:143:10-14 highlights/highlights.go:145:9-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_17_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:17:5 expected: highlights/highlights.go:17:5-8 highlights/highlights.go:22:14-17 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_32_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:32:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_87_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:87:5 expected: highlights/highlights.go:79:3-6 highlights/highlights.go:87:5-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_23_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:23:6 expected: highlights/highlights.go:23:6-11 highlights/highlights.go:31:6-11 highlights/highlights.go:32:6-11 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_39_27 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:39:27 expected: highlights/highlights.go:36:40-57 highlights/highlights.go:37:19-36 highlights/highlights.go:39:27-44 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_105_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:105:5 expected: highlights/highlights.go:103:4-10 highlights/highlights.go:105:5-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_109_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:109:5 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_126_31 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:126:31 expected: highlights/highlights.go:126:31-35 highlights/highlights.go:127:3-39 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_150_9 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:150:9 expected: highlights/highlights.go:148:23-28 highlights/highlights.go:150:9-14 highlights/highlights.go:150:9-21 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_26_8 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:26:8 expected: highlights/highlights.go:26:7-8 highlights/highlights.go:27:2-3 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_37_19 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:37:19 expected: highlights/highlights.go:36:40-57 highlights/highlights.go:37:19-36 highlights/highlights.go:39:27-44 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_114_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:114:4 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_140_43 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:140:43 expected: highlights/highlights.go:140:43-49 highlights/highlights.go:143:16-17 highlights/highlights.go:145:14-20 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_145_14 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:145:14 expected: highlights/highlights.go:140:43-49 highlights/highlights.go:143:16-17 highlights/highlights.go:145:14-20 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_31_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:31:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_85_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:85:5 expected: highlights/highlights.go:83:4-10 highlights/highlights.go:85:5-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_101_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:101:3 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_17_13 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:17:13 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_26_7 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:26:7 expected: highlights/highlights.go:26:7-8 highlights/highlights.go:27:2-3 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_89_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:89:5 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_99_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:99:2 expected: highlights/highlights.go:99:2-5 highlights/highlights.go:107:5-13 highlights/highlights.go:111:5-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_103_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:103:4 expected: highlights/highlights.go:103:4-10 highlights/highlights.go:105:5-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_121_19 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:121:19 expected: highlights/highlights.go:121:19-23 highlights/highlights.go:123:10-15 highlights/highlights.go:126:46-50 highlights/highlights.go:129:9-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_4_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:4:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_22_14 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:22:14 expected: highlights/highlights.go:17:5-8 highlights/highlights.go:22:14-17 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_49_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:49:4 expected: highlights/highlights.go:47:2-5 highlights/highlights.go:49:4-9 highlights/highlights.go:62:4-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_81_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:81:5 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_121_1 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:121:1 expected: highlights/highlights.go:121:1-5 highlights/highlights.go:123:3-15 highlights/highlights.go:129:2-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_143_16 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:143:16 expected: highlights/highlights.go:140:43-49 highlights/highlights.go:141:2-3 highlights/highlights.go:143:16-17 highlights/highlights.go:145:14-20 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_9_16 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:9:16 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_56_8 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:56:8 expected: highlights/highlights.go:54:6-9 highlights/highlights.go:56:8-16 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_129_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:129:2 expected: highlights/highlights.go:121:1-5 highlights/highlights.go:123:3-15 highlights/highlights.go:129:2-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_140_34 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:140:34 expected: highlights/highlights.go:140:34-41 highlights/highlights.go:143:10-14 highlights/highlights.go:145:9-12 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_27_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:27:2 expected: highlights/highlights.go:26:7-8 highlights/highlights.go:27:2-3 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_78_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:78:3 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_79_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:79:3 expected: highlights/highlights.go:79:3-6 highlights/highlights.go:87:5-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_83_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:83:4 expected: highlights/highlights.go:83:4-10 highlights/highlights.go:85:5-10 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_111_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:111:5 expected: highlights/highlights.go:99:2-5 highlights/highlights.go:107:5-13 highlights/highlights.go:111:5-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_123_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:123:3 expected: highlights/highlights.go:121:1-5 highlights/highlights.go:123:3-15 highlights/highlights.go:129:2-13 got: --- FAIL: TestCommandLine/Modules/Highlight/highlights_52_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/highlights/highlights.go:52:4 expected: highlights/highlights.go:52:4-7 highlights/highlights.go:59:6-14 got: --- FAIL: TestCommandLine/Modules/References (0.03s) --- FAIL: TestCommandLine/Modules/References/interfaces_31_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_31_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:31:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_31_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:31:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_32_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_32_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:32:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_32_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:32:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/foo_25_3 (0.00s) --- FAIL: TestCommandLine/Modules/References/foo_25_3/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/foo/foo.go:25:3: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/foo_25_3/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/foo/foo.go:25:3: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_4_2 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_4_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:4:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_4_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:4:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_10_2 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_10_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:10:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_10_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:10:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_15_11 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_15_11/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:15:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_15_11/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:15:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_27_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_27_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:27:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_27_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:27:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_28_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_28_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:28:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_28_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:28:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_33_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_33_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:33:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_33_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:33:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/testy_test_11_6 (0.00s) --- FAIL: TestCommandLine/Modules/References/testy_test_11_6/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/testy/testy_test.go:11:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/testy_test_11_6/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/testy/testy_test.go:11:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_4_6 (0.01s) --- FAIL: TestCommandLine/Modules/References/refs_4_6/refs-declaration-true (0.01s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:4:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_4_6/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:4:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_18_5 (0.00s) --- FAIL: TestCommandLine/Modules/References/refs_18_5/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:18:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_18_5/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:18:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_20_5 (0.00s) --- FAIL: TestCommandLine/Modules/References/refs_20_5/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:20:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_20_5/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:20:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_5_2 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_5_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:5:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_5_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:5:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/other_10_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/other_10_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/other/other.go:10:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/other_10_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/other/other.go:10:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/another_11_9 (0.00s) --- FAIL: TestCommandLine/Modules/References/another_11_9/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/another/another.go:11:9: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/another_11_9/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/another/another.go:11:9: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_9_2 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_9_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:9:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_9_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:9:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_25_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_25_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:25:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_25_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:25:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_26_4 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_26_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:26:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_26_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:26:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/foo_17_10 (0.00s) --- FAIL: TestCommandLine/Modules/References/foo_17_10/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/foo/foo.go:17:10: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/foo_17_10/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/foo/foo.go:17:10: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/testy_3_6 (0.00s) --- FAIL: TestCommandLine/Modules/References/testy_3_6/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/testy/testy.go:3:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/testy_3_6/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/testy/testy.go:3:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_29_2 (0.00s) --- FAIL: TestCommandLine/Modules/References/refs_29_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:29:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_29_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:29:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_37_8 (0.00s) --- FAIL: TestCommandLine/Modules/References/refs_37_8/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:37:8: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/refs_37_8/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/refs.go:37:8: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_17_11 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_17_11/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:17:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_17_11/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:17:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_19_11 (0.00s) --- FAIL: TestCommandLine/Modules/References/interfaces_19_11/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:19:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/References/interfaces_19_11/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/references/interfaces/interfaces.go:19:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/Modules/Renames (0.51s) --- FAIL: TestCommandLine/Modules/Renames/random_f2name (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:6:2-4 f2name expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2name "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2name.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_log (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:38:3-5 log expected: package a import ( "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: log.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_fmt2 (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:40:3-5 fmt2 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") fmt2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: fmt2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/issue43616_baz (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/issue43616/issue43616.go:5:15-18 baz expected: can't rename embedded fields: rename the type directly or name the field got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/issue43616_quux (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/issue43616/issue43616.go:7:11-14 quux expected: can't rename embedded fields: rename the type directly or name the field got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/testy_bar (0.05s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/testy/testy.go:6:2-5 bar expected: package testy type tt int //@rename("tt", "testyType") func a() { bar := 42 //@rename("foo", "bar") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/testy_test_b (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/testy/testy_test.go:7:2-3 b expected: testy.go: package testy type tt int //@rename("tt", "testyType") func b() { foo := 42 //@rename("foo", "bar") } testy_test.go: package testy import "testing" func TestSomething(t *testing.T) { var x int //@rename("x", "testyX") b() //@rename("a", "b") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_f2y (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:6:6-9 f2y expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2y "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2y.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_z (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:14:14-15 z expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(z int) int { //@rename("y", "z") return z } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/testy_test_testyX (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/testy/testy_test.go:6:6-7 testyX expected: package testy import "testing" func TestSomething(t *testing.T) { var testyX int //@rename("x", "testyX") a() //@rename("a", "b") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/crosspkg_Tomato (0.08s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/crosspkg/crosspkg.go:7:5-8 Tomato expected: crosspkg.go: package crosspkg func Foo() { //@rename("Foo", "Dolphin") } var Tomato int //@rename("Bar", "Tomato") other.go: package other import "golang.org/x/tools/internal/lsp/rename/crosspkg" func Other() { crosspkg.Tomato crosspkg.Foo() //@rename("Foo", "Flamingo") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_y0 (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:34:9-10 y0 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y0 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y0) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y0) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y0) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_y1 (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:36:20-21 y1 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y1 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y1) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y1) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y1) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/another_G (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/crosspkg/another/another.go:12:4-5 G expected: package another type ( I interface{ G() } C struct{ I } ) func (C) g() func _() { var x I = C{} x.G() //@rename("F", "G") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_GetSum (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:28:8-11 GetSum expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) GetSum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.GetSum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_y2 (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:38:19-20 y2 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y2 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y2) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y2) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y2) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_pos (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:27:6-7 pos expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var pos Pos //@rename("p", "pos") _ = pos.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_y3 (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:40:19-20 y3 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y3 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y3) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y3) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y3) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/c2_static (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/c/c2.go:4:5-11 static expected: package c //go:embed Static/* var static embed.FS //@rename("Static", "static") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/other_Flamingo (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/crosspkg/other/other.go:7:11-14 Flamingo expected: crosspkg.go: package crosspkg func Flamingo() { //@rename("Foo", "Dolphin") } var Bar int //@rename("Bar", "Tomato") other.go: package other import "golang.org/x/tools/internal/lsp/rename/crosspkg" func Other() { crosspkg.Bar crosspkg.Flamingo() //@rename("Foo", "Flamingo") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_myX (0.06s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:23:11-12 myX expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { myX, y int } func (p *Pos) Sum() int { return p.myX + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/testy_testyType (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/testy/testy.go:3:6-8 testyType expected: package testy type testyType int //@rename("tt", "testyType") func a() { foo := 42 //@rename("foo", "bar") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/bad_rFunc (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/bad/bad.go:6:20-25 rFunc expected: renaming "sFunc" to "rFunc" not possible because "golang.org/x/tools/internal/lsp/rename/bad" has errors got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/issue39614_bar (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/issue39614/issue39614.go:4:6-9 bar expected: package issue39614 func fn() { var bar bool //@rename("foo","bar") make(map[string]bool if true { } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/b_error (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/b/b.go:6:2-3 error expected: package b var c int //@rename("int", "uint") func _() { error := 1 //@rename("a", "error") error = 2 _ = error } var ( // Hello there. // Foo does the thing. Foo int //@rename("Foo", "Bob") ) /* Hello description */ func Hello() {} //@rename("Hello", "Goodbye") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/b_Bob (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/b/b.go:14:2-5 Bob expected: package b var c int //@rename("int", "uint") func _() { a := 1 //@rename("a", "error") a = 2 _ = a } var ( // Hello there. // Bob does the thing. Bob int //@rename("Foo", "Bob") ) /* Hello description */ func Hello() {} //@rename("Hello", "Goodbye") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/c_Goodbye (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/c/c.go:6:4-9 Goodbye expected: b.go: package b var c int //@rename("int", "uint") func _() { a := 1 //@rename("a", "error") a = 2 _ = a } var ( // Hello there. // Foo does the thing. Foo int //@rename("Foo", "Bob") ) /* Goodbye description */ func Goodbye() {} //@rename("Hello", "Goodbye") c.go: package c import "golang.org/x/tools/internal/lsp/rename/b" func _() { b.Goodbye() //@rename("Hello", "Goodbye") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/crosspkg_Dolphin (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/crosspkg/crosspkg.go:3:6-9 Dolphin expected: crosspkg.go: package crosspkg func Dolphin() { //@rename("Foo", "Dolphin") } var Bar int //@rename("Bar", "Tomato") other.go: package other import "golang.org/x/tools/internal/lsp/rename/crosspkg" func Other() { crosspkg.Bar crosspkg.Dolphin() //@rename("Foo", "Flamingo") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_fmty (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:5:3-6 fmty expected: package a import ( lg "log" fmty "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmty.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/random_format (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/a/random.go:36:3-6 format expected: package a import ( lg "log" format "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: format.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/issue43616_bar (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/issue43616/issue43616.go:3:6-9 bar expected: package issue43616 type bar int //@rename("foo","bar"),prepare("oo","foo","foo") var x struct{ bar } //@rename("foo","baz") var _ = x.bar //@rename("foo","quux") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/b_uint (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/b/b.go:3:7-10 uint expected: "int": builtin object got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/Renames/b_Goodbye (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/b/b.go:20:6-11 Goodbye expected: b.go: package b var c int //@rename("int", "uint") func _() { a := 1 //@rename("a", "error") a = 2 _ = a } var ( // Hello there. // Foo does the thing. Foo int //@rename("Foo", "Bob") ) /* Goodbye description */ func Goodbye() {} //@rename("Hello", "Goodbye") c.go: package c import "golang.org/x/tools/internal/lsp/rename/b" func _() { b.Goodbye() //@rename("Hello", "Goodbye") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/Modules/PrepareRenames (0.00s) --- FAIL: TestCommandLine/Modules/PrepareRenames/issue43616_3_7 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/rename/issue43616/issue43616.go:3:7-9 expected: `rename/issue43616/issue43616.go:3:6-9 ` got: `` --- FAIL: TestCommandLine/Modules/PrepareRenames/good0_3_6 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/good/good0.go:3:6-9 expected: `good/good0.go:3:6-11 ` got: `` --- FAIL: TestCommandLine/Modules/PrepareRenames/good0_5_5 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/good/good0.go:5:5-8 expected: `good/good0.go:5:2-9 ` got: `` --- FAIL: TestCommandLine/Modules/PrepareRenames/good1_8_7 (0.00s) prepare_rename.go:32: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/good/good1.go:8:7-13, expected: `` got: `unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory` --- FAIL: TestCommandLine/Modules/PrepareRenames/good1_9_11 (0.00s) prepare_rename.go:32: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/good/good1.go:9:11-12, expected: `` got: `unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory` --- FAIL: TestCommandLine/Modules/PrepareRenames/good1_10_2 (0.00s) prepare_rename.go:32: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/good/good1.go:10:2-8, expected: `` got: `unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory` --- FAIL: TestCommandLine/Modules/PrepareRenames/good1_15_9 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/good/good1.go:15:9-13 expected: `good/good1.go:15:8-13 ` got: `` --- FAIL: TestCommandLine/Modules/Symbols (0.00s) --- FAIL: TestCommandLine/Modules/Symbols/a_test (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/workspacesymbol/a/a_test.go expected: RandomGopherTestVariableA Variable 3:5-3:30 got: --- FAIL: TestCommandLine/Modules/Symbols/a_x_test (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/workspacesymbol/a/a_x_test.go expected: RandomGopherXTestVariableA Variable 3:5-3:31 got: --- FAIL: TestCommandLine/Modules/Symbols/main (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/symbols/main.go expected: x Variable 9:5-9:6 y Constant 11:7-11:8 Number Number 13:6-13:12 Alias String 15:6-15:11 NumberAlias Number 17:6-17:17 Boolean Boolean 20:2-20:9 BoolAlias Boolean 21:2-21:11 Foo Struct 24:6-24:9 Bar Field 27:2-27:5 Quux Field 25:2-25:6 W Field 26:2-26:3 baz Field 28:2-28:5 Quux Struct 31:6-31:10 X Field 32:2-32:3 Y Field 32:5-32:6 (Foo).Baz Method 35:14-35:17 (*Quux).Do Method 41:16-41:18 main Function 43:6-43:10 Stringer Interface 47:6-47:14 String Method 48:2-48:8 ABer Interface 51:6-51:10 A Method 53:2-53:3 B Method 52:2-52:3 WithEmbeddeds Interface 56:6-56:19 ABer Interface 58:2-58:6 Do Method 57:2-57:4 io.Writer Interface 59:2-59:11 Dunk Function 62:6-62:10 dunk Function 64:6-64:10 got: --- FAIL: TestCommandLine/Modules/Symbols/a (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/workspacesymbol/a/a.go expected: RandomGopherVariableA Variable 3:5-3:26 RandomGopherConstantA Constant 5:7-5:28 randomgopherinvariable Constant 8:2-8:24 got: --- FAIL: TestCommandLine/Modules/Symbols/b (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/workspacesymbol/b/b.go expected: RandomGopherVariableB Variable 3:5-3:26 RandomGopherStructB Struct 5:6-5:25 Bar Field 6:2-6:5 got: --- FAIL: TestCommandLine/Modules/WorkspaceSymbols (0.02s) --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/randomgophervar (0.00s) workspace_symbol.go:29: workspace_symbol failed for randomgophervar: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.main (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.main: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:8:6-10 main.main Function + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/p.Message (0.00s) workspace_symbol.go:29: workspace_symbol failed for p.Message: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/p/p.go:3:7-14 p.Message Constant + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myvar (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myvar: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:12:5-10 main.myvar Variable + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myType (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myType: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/main.go:14:6-12 main.myType String -workspacesymbol/main.go:18:18-26 main.myType.Blahblah Method + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myType.Blahblah (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myType.Blahblah: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:18:18-26 main.myType.Blahblah Method + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myStruct (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myStruct: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/main.go:20:6-14 main.myStruct Struct -workspacesymbol/main.go:21:2-15 main.myStruct.myStructField Field + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myStruct.myStructField (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myStruct.myStructField: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:21:2-15 main.myStruct.myStructField Field + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myInterface (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myInterface: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/main.go:24:6-17 main.myInterface Interface -workspacesymbol/main.go:25:2-17 main.myInterface.DoSomeCoolStuff Method + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.myInterface.DoSomeCoolStuff (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myInterface.DoSomeCoolStuff: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:25:2-17 main.myInterface.DoSomeCoolStuff Method + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.embed.myStruct (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.myStruct: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:29:2-10 main.embed.myStruct Field + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.embed.nestedStruct.nestedStruct2.int (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.nestedStruct.nestedStruct2.int: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:35:4-7 main.embed.nestedStruct.nestedStruct2.int Field + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.embed.nestedInterface.myInterface (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.nestedInterface.myInterface: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:40:3-14 main.embed.nestedInterface.myInterface Interface + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/main.embed.nestedInterface.nestedMethod (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.nestedInterface.nestedMethod: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:41:3-15 main.embed.nestedInterface.nestedMethod Method + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/dunk (0.00s) workspace_symbol.go:29: workspace_symbol failed for dunk: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:47:6-10 dunk Function + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/Dunk (0.00s) workspace_symbol.go:29: workspace_symbol failed for Dunk: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:45:6-10 Dunk Function + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/rgop (0.00s) workspace_symbol.go:29: workspace_symbol failed for rgop: --- want +++ got @@ -1,9 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/a/a.go:5:7-28 RandomGopherConstantA Constant -workspacesymbol/a/a.go:8:2-24 randomgopherinvariable Constant -workspacesymbol/a/a_test.go:3:5-30 RandomGopherTestVariableA Variable -workspacesymbol/a/a_x_test.go:3:5-31 RandomGopherXTestVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable -workspacesymbol/b/b.go:5:6-25 RandomGopherStructB Struct -workspacesymbol/b/b.go:6:2-5 RandomGopherStructB.Bar Field + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/randoma (0.00s) workspace_symbol.go:29: workspace_symbol failed for randoma: --- want +++ got @@ -1,8 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/a/a.go:5:7-28 RandomGopherConstantA Constant -workspacesymbol/a/a.go:8:2-24 randomgopherinvariable Constant -workspacesymbol/a/a_test.go:3:5-30 RandomGopherTestVariableA Variable -workspacesymbol/a/a_x_test.go:3:5-31 RandomGopherXTestVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable -workspacesymbol/b/b.go:6:2-5 RandomGopherStructB.Bar Field + --- FAIL: TestCommandLine/Modules/WorkspaceSymbols/randomb (0.00s) workspace_symbol.go:29: workspace_symbol failed for randomb: --- want +++ got @@ -1,8 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/a/a.go:8:2-24 randomgopherinvariable Constant -workspacesymbol/a/a_test.go:3:5-30 RandomGopherTestVariableA Variable -workspacesymbol/a/a_x_test.go:3:5-31 RandomGopherXTestVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable -workspacesymbol/b/b.go:5:6-25 RandomGopherStructB Struct -workspacesymbol/b/b.go:6:2-5 RandomGopherStructB.Bar Field + --- FAIL: TestCommandLine/Modules/SignatureHelp (0.01s) --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_50_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "fn(hi string, there string) func(i int) rune\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_57_40 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "func(string, int) bool\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_69_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_73_20 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "println(args ...Type)\n\nThe println built-in function formats its arguments in an implementation-specific way and writes the result to standard error.\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_40_16 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_72_9 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "panic(v interface{})\n\nThe panic built-in function stops normal execution of the current goroutine.\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_test_10_17 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature_test.go expected: "AliasSlice(a []*sig.Alias) (b sig.Alias)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/testy_test_16_17 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/testy/testy_test.go expected: "X(_ map[sig.Alias]types.CoolAlias) map[sig.Alias]types.CoolAlias\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_65_9 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "foo(e *json.Decoder) (*big.Int, error)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_81_16 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "OtherAliasMap(a map[Alias]OtherAlias, b map[Alias]OtherAlias) map[Alias]OtherAlias\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_test_11_15 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature_test.go expected: "AliasMap(a map[*sig.Alias]sig.StringAlias) (b map[*sig.Alias]sig.StringAlias, c map[*sig.Alias]sig.StringAlias)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_59_25 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Next(n int) []byte\n\nNext returns a slice containing the next n bytes from the buffer, advancing the buffer as if the bytes had been returned by Read.\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/snippets_24_5 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/snippets/snippets.go expected: "baz(at AliasType, b bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_37_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_70_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "myFunc(foo int) string\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_36_5 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_62_9 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "myFunc(foo int) string\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_79_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "AliasSlice(a []*Alias) (b Alias)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_80_11 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "AliasMap(a map[*Alias]StringAlias) (b map[*Alias]StringAlias, c map[*Alias]StringAlias)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature3_4_14 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature3.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_42_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Bar(float64, ...byte)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_44_22 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Bar(float64, ...byte)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_51_20 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "func(i int) rune\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_54_12 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "func(hi string, there string) func(i int) rune\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature2_4_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature2.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/literal_17_4 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/snippets/literal.go expected: "X(_ map[signature.Alias]t.CoolAlias) map[signature.Alias]t.CoolAlias\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_test_12_20 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature_test.go expected: "OtherAliasMap(a map[sig.Alias]sig.OtherAlias, b map[sig.Alias]sig.OtherAlias) map[sig.Alias]sig.OtherAlias\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_38_11 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_39_12 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_43_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "Bar(float64, ...byte)\n" got: ""' --- FAIL: TestCommandLine/Modules/SignatureHelp/signature_67_21 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_Modules174981216/lsp/signature/signature.go expected: "make(t Type, size ...int) Type\n\nThe make built-in function allocates and initializes an object of type slice, map, or chan (only).\n" got: ""' --- FAIL: TestCommandLine/Modules/Link (0.00s) --- FAIL: TestCommandLine/Modules/Link/links (0.00s) links.go:25: unexpected end of JSON input --- FAIL: TestCommandLine/GOPATH (2.80s) --- FAIL: TestCommandLine/GOPATH/CallHierarchy (0.00s) --- FAIL: TestCommandLine/GOPATH/CallHierarchy/callhierarchy_29_6 (0.00s) call_hierarchy.go:46: call_hierarchy failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/callhierarchy/callhierarchy.go:29:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/CallHierarchy/callhierarchy_35_2 (0.00s) call_hierarchy.go:46: call_hierarchy failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/callhierarchy/callhierarchy.go:35:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Diagnostics (0.01s) --- FAIL: TestCommandLine/GOPATH/Diagnostics/generator (0.00s) check.go:55: missing diagnostic "generated/generator.go:4:6: x declared but not used", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/bad_test (0.00s) check.go:55: missing diagnostic "analyzer/bad_test.go:9: Testbad has malformed name: first letter after 'Test' must not be lowercase", map[] check.go:55: missing diagnostic "analyzer/bad_test.go:11:6: assignment copies lock value to _: sync.Mutex", map[] check.go:55: missing diagnostic "analyzer/bad_test.go:13:2: printfWrapper format %s reads arg #1, but call has 0 args", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/badstmt (0.00s) check.go:55: missing diagnostic "badstmt/badstmt.go:8:13: function must be invoked in defer statement", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/noparse_format (0.00s) check.go:55: missing diagnostic "noparse_format/noparse_format.go:7:5: missing condition in if statement", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/bad1 (0.00s) check.go:55: missing diagnostic "bad/bad1.go:8:7: undeclared name: unknown", map[] check.go:55: missing diagnostic "bad/bad1.go:16:2: x declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:17:6: q declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:17:8: undeclared name: blah", map[] check.go:55: missing diagnostic "bad/bad1.go:18:6: t declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:18:10: undeclared name: blob", map[] check.go:55: missing diagnostic "bad/bad1.go:27:6: ch declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:27:15: undeclared name: favType1", map[] check.go:55: missing diagnostic "bad/bad1.go:28:6: m declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:28:12: undeclared name: keyType", map[] check.go:55: missing diagnostic "bad/bad1.go:29:6: arr declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:29:12: undeclared name: favType2", map[] check.go:55: missing diagnostic "bad/bad1.go:30:6: fn1 declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:30:17: undeclared name: badResult", map[] check.go:55: missing diagnostic "bad/bad1.go:31:6: fn2 declared but not used", map[] check.go:55: missing diagnostic "bad/bad1.go:31:15: undeclared name: badParam", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/a_x_test (0.00s) check.go:55: missing diagnostic "godef/a/a_x_test.go:8:2: undeclared name: Nonexistant", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/testy_test (0.00s) check.go:55: missing diagnostic "testy/testy_test.go:11:6: x declared but not used", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/var (0.00s) check.go:55: missing diagnostic "undeclared/var.go:4:12: undeclared name: y", map[] check.go:55: missing diagnostic "undeclared/var.go:7:18: undeclared name: n", map[] check.go:55: missing diagnostic "undeclared/var.go:10:6: undeclared name: i", map[] check.go:55: missing diagnostic "undeclared/var.go:12:2: undeclared name: r", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/generated (0.00s) check.go:55: missing diagnostic "generated/generated.go:6:6: y declared but not used", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/bad0 (0.00s) check.go:55: missing diagnostic "bad/bad0.go:5:10: could not import golang.org/x/tools/internal/lsp/assign/internal/secret (invalid use of internal package golang.org/x/tools/internal/lsp/assign/internal/secret)", map[] check.go:55: missing diagnostic "bad/bad0.go:9:10: cannot use x (variable of type string) as int value in argument to random2", map[] check.go:55: missing diagnostic "bad/bad0.go:11:2: y declared but not used", map[] check.go:55: missing diagnostic "bad/bad0.go:21:3: unknown field f in struct literal", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/bad_format (0.00s) check.go:55: missing diagnostic "format/bad_format.go:14:6: x declared but not used", map[] --- FAIL: TestCommandLine/GOPATH/Diagnostics/noparse (0.00s) check.go:55: missing diagnostic "noparse/noparse.go:11:6: expected 'IDENT', found '.'", map[] --- FAIL: TestCommandLine/GOPATH/FoldingRange (0.00s) --- FAIL: TestCommandLine/GOPATH/FoldingRange/a (0.00s) folding_range.go:23: folding_ranges failed failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/folding/a.go expected: 3:9-6:0 10:22-11:32 12:10-12:9 12:20-66:0 13:10-24:1 14:12-19:3 15:12-17:2 16:16-16:21 17:11-19:2 18:16-18:22 20:13-21:22 21:15-21:21 22:10-23:24 23:15-23:23 25:12-29:1 30:16-32:1 33:21-37:1 38:17-42:1 43:8-47:1 48:15-48:23 48:32-48:40 49:10-60:1 50:18-55:3 51:11-53:2 52:16-52:28 53:11-55:2 54:16-54:29 56:11-57:18 57:15-57:17 58:10-59:24 59:15-59:23 61:32-62:30 got: --- FAIL: TestCommandLine/GOPATH/FoldingRange/bad (0.00s) folding_range.go:23: folding_ranges failed failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/folding/bad.go expected: 3:9-5:0 7:9-8:8 11:13-11:12 11:23-18:0 12:8-15:1 14:15-14:20 15:10-16:23 16:15-16:21 got: --- FAIL: TestCommandLine/GOPATH/Format (0.13s) --- FAIL: TestCommandLine/GOPATH/Format/bad_format (0.02s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/format/bad_format.go expected: package format //@format("package") import ( "fmt" "log" "runtime" ) func hello() { var x int //@diag("x", "compiler", "x declared but not used", "error") } func hi() { runtime.GOROOT() fmt.Printf("") log.Printf("") } got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Format/good_format (0.01s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/format/good_format.go expected: package format //@format("package") import ( "log" ) func goodbye() { log.Printf("byeeeee") } got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Format/newline_format (0.03s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/format/newline_format.go expected: package format //@format("package") func _() {} got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Format/one_line (0.06s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/format/one_line.go expected: package format //@format("package") got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Format/parse_format (0.00s) format.go:36: format failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/noparse_format/parse_format.go expected: package noparse_format //@format("package") func _() { f() } got: format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Import (0.00s) --- FAIL: TestCommandLine/GOPATH/Import/add_import (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/add_import.go, expected: --- want +++ got @@ -1,11 +1 @@ -package imports //@import("package") - -import ( - "bytes" - "fmt" -) - -func _() { - fmt.Println("") - bytes.NewBuffer(nil) -} --- FAIL: TestCommandLine/GOPATH/Import/good_imports (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/good_imports.go, expected: --- want +++ got @@ -1,7 +1 @@ -package imports //@import("package") - -import "fmt" - -func _() { -fmt.Println("") -} --- FAIL: TestCommandLine/GOPATH/Import/issue35458 (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/issue35458.go, expected: --- want +++ got @@ -1,18 +1 @@ -// package doc -package imports //@import("package") - - - - - - -func _() { - println("Hello, world!") -} - - - - - - - --- FAIL: TestCommandLine/GOPATH/Import/multiple_blocks (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/multiple_blocks.go, expected: --- want +++ got @@ -1,7 +1 @@ -package imports //@import("package") - -import "fmt" - -func _() { - fmt.Println("") -} --- FAIL: TestCommandLine/GOPATH/Import/needs_imports (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/needs_imports.go, expected: --- want +++ got @@ -1,11 +1 @@ -package imports //@import("package") - -import ( - "fmt" - "log" -) - -func goodbye() { - fmt.Printf("HI") - log.Printf("byeeeee") -} --- FAIL: TestCommandLine/GOPATH/Import/remove_import (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/remove_import.go, expected: --- want +++ got @@ -1,9 +1 @@ -package imports //@import("package") - -import ( - "fmt" -) - -func _() { - fmt.Println("") -} --- FAIL: TestCommandLine/GOPATH/Import/remove_imports (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/remove_imports.go, expected: --- want +++ got @@ -1,4 +1 @@ -package imports //@import("package") - -func _() { -} --- FAIL: TestCommandLine/GOPATH/Import/two_lines (0.00s) imports.go:27: imports failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/imports/two_lines.go, expected: --- want +++ got @@ -1,2 +1 @@ -package main -func main() {} //@import("main") --- FAIL: TestCommandLine/GOPATH/SemanticTokens (0.00s) --- FAIL: TestCommandLine/GOPATH/SemanticTokens/a (0.00s) semanticdriver.go:19: /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/semantic/a.go: "unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory" --- FAIL: TestCommandLine/GOPATH/SemanticTokens/a#01 (0.00s) semanticdriver.go:19: /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/semantic/a.go: "unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory" --- FAIL: TestCommandLine/GOPATH/SemanticTokens/b (0.00s) semanticdriver.go:19: /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/semantic/b.go: "unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory" --- FAIL: TestCommandLine/GOPATH/SuggestedFix (0.02s) --- FAIL: TestCommandLine/GOPATH/SuggestedFix/noresultvalues_5_19 (0.01s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/typeerrors/noresultvalues.go: --- want +++ got @@ -1,6 +1 @@ -package typeerrors -func x() { return nil } //@suggestedfix("nil", "quickfix") - -func y() { return } //@suggestedfix("nil", "quickfix") - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/extract_basic_lit_5_10 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/extract/extract_variable/extract_basic_lit.go: --- want +++ got @@ -1,8 +1 @@ -package extract -func _() { - var _ = 1 + 2 //@suggestedfix("1", "refactor.extract") - x0 := 3 + 4 - var _ = x0 //@suggestedfix("3 + 4", "refactor.extract") -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/extract_func_call_6_7 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/extract/extract_variable/extract_func_call.go: --- want +++ got @@ -1,11 +1 @@ -package extract -import "strconv" - -func _() { - x0 := append([]int{}, 1) - a := x0 //@suggestedfix("append([]int{}, 1)", "refactor.extract") - str := "1" - b, err := strconv.Atoi(str) //@suggestedfix("strconv.Atoi(str)", "refactor.extract") -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/has_suggested_fix_9_2 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/suggestedfix/has_suggested_fix.go: --- want +++ got @@ -1,12 +1 @@ -package suggestedfix -import ( - "log" -) - -func goodbye() { - s := "hiiiiiii" - //@suggestedfix("s = s", "quickfix") - log.Print(s) -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/noresultvalues_3_19 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/typeerrors/noresultvalues.go: --- want +++ got @@ -1,6 +1 @@ -package typeerrors -func x() { return } //@suggestedfix("nil", "quickfix") - -func y() { return nil, "hello" } //@suggestedfix("nil", "quickfix") - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/var_7_18 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/undeclared/var.go: --- want +++ got @@ -1,16 +1 @@ -package undeclared -func m() int { - z, _ := 1+y, 11 //@diag("y", "compiler", "undeclared name: y", "error"),suggestedfix("y", "quickfix") - n := - if 100 < 90 { - z = 1 - } else if 100 > n+2 { //@diag("n", "compiler", "undeclared name: n", "error"),suggestedfix("n", "quickfix") - z = 4 - } - for i < 200 { //@diag("i", "compiler", "undeclared name: i", "error"),suggestedfix("i", "quickfix") - } - r() //@diag("r", "compiler", "undeclared name: r", "error") - return z -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/extract_basic_lit_4_10 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/extract/extract_variable/extract_basic_lit.go: --- want +++ got @@ -1,8 +1 @@ -package extract -func _() { - x0 := 1 - var _ = x0 + 2 //@suggestedfix("1", "refactor.extract") - var _ = 3 + 4 //@suggestedfix("3 + 4", "refactor.extract") -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/extract_scope_8_8 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/extract/extract_variable/extract_scope.go: --- want +++ got @@ -1,15 +1 @@ -package extract -import "go/ast" - -func _() { - x0 := 0 - if true { - x1 := ast.CompositeLit{} - y := x1 //@suggestedfix("ast.CompositeLit{}", "refactor.extract") - } - if true { - x1 := !false //@suggestedfix("!false", "refactor.extract") - } -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/extract_func_call_8_12 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/extract/extract_variable/extract_func_call.go: --- want +++ got @@ -1,11 +1 @@ -package extract -import "strconv" - -func _() { - a := append([]int{}, 1) //@suggestedfix("append([]int{}, 1)", "refactor.extract") - str := "1" - x0, x1 := strconv.Atoi(str) - b, err := x0, x1 //@suggestedfix("strconv.Atoi(str)", "refactor.extract") -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/var_10_6 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/undeclared/var.go: --- want +++ got @@ -1,16 +1 @@ -package undeclared -func m() int { - z, _ := 1+y, 11 //@diag("y", "compiler", "undeclared name: y", "error"),suggestedfix("y", "quickfix") - if 100 < 90 { - z = 1 - } else if 100 > n+2 { //@diag("n", "compiler", "undeclared name: n", "error"),suggestedfix("n", "quickfix") - z = 4 - } - i := - for i < 200 { //@diag("i", "compiler", "undeclared name: i", "error"),suggestedfix("i", "quickfix") - } - r() //@diag("r", "compiler", "undeclared name: r", "error") - return z -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/extract_scope_11_9 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/extract/extract_variable/extract_scope.go: --- want +++ got @@ -1,15 +1 @@ -package extract -import "go/ast" - -func _() { - x0 := 0 - if true { - y := ast.CompositeLit{} //@suggestedfix("ast.CompositeLit{}", "refactor.extract") - } - if true { - x2 := !false - x1 := x2 //@suggestedfix("!false", "refactor.extract") - } -} - --- FAIL: TestCommandLine/GOPATH/SuggestedFix/var_4_12 (0.00s) suggested_fix.go:33: suggested fixes failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/undeclared/var.go: --- want +++ got @@ -1,16 +1 @@ -package undeclared -func m() int { - y := - z, _ := 1+y, 11 //@diag("y", "compiler", "undeclared name: y", "error"),suggestedfix("y", "quickfix") - if 100 < 90 { - z = 1 - } else if 100 > n+2 { //@diag("n", "compiler", "undeclared name: n", "error"),suggestedfix("n", "quickfix") - z = 4 - } - for i < 200 { //@diag("i", "compiler", "undeclared name: i", "error"),suggestedfix("i", "quickfix") - } - r() //@diag("r", "compiler", "undeclared name: r", "error") - return z -} - --- FAIL: TestCommandLine/GOPATH/Definition (0.15s) --- FAIL: TestCommandLine/GOPATH/Definition/d_25_4 (0.00s) definition.go:58: definition Things-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#471"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/d.go:11:6-12: defined here as ```go -func Things(val []string) []Thing -``` - -[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things) \ No newline at end of file definition.go:58: definition Things-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#471"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 11, - "column": 6, - "offset": 145 - }, - "end": { - "line": 11, - "column": 12, - "offset": 151 - } - }, - "description": "```go\nfunc Things(val []string) []Thing\n```\n\n[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/declarecgo_26_4 (0.05s) definition.go:58: definition funccgoexample-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/cgo/declarecgo.go:#362"} --- expect +++ got @@ -1,5 +1 @@ -cgo/declarecgo.go:18:6-13: defined here as ```go -func Example() -``` - -[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example) \ No newline at end of file definition.go:58: definition funccgoexample-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/cgo/declarecgo.go:#362"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://cgo/declarecgo.go", - "start": { - "line": 18, - "column": 6, - "offset": 151 - }, - "end": { - "line": 18, - "column": 13, - "offset": 158 - } - }, - "description": "```go\nfunc Example()\n```\n\n[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/a_34_19 (0.00s) definition.go:58: definition err-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a.go:#640"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/a.go:33:6-9: defined here as ```go -var err error -``` - -\@err \ No newline at end of file definition.go:58: definition err-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a.go:#640"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 33, - "column": 6, - "offset": 597 - }, - "end": { - "line": 33, - "column": 9, - "offset": 600 - } - }, - "description": "```go\nvar err error\n```\n\n\\@err" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/random_21_4 (0.00s) definition.go:58: definition TypField-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#362"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/random.go:17:18-23: defined here as ```go -field field string -``` \ No newline at end of file definition.go:58: definition TypField-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#362"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 17, - "column": 18, - "offset": 292 - }, - "end": { - "line": 17, - "column": 23, - "offset": 297 - } - }, - "description": "```go\nfield field string\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_31_2 (0.00s) definition.go:58: definition aAlias-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#700"} --- expect +++ got @@ -1,4 +1 @@ -godef/b/b.go:25:6-12: defined here as ```go -type aAlias = a.A //@mark(aAlias, "aAlias") - -``` \ No newline at end of file definition.go:58: definition aAlias-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#700"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 25, - "column": 6, - "offset": 521 - }, - "end": { - "line": 25, - "column": 12, - "offset": 527 - } - }, - "description": "```go\ntype aAlias = a.A //@mark(aAlias, \"aAlias\")\n\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_51_8 (0.00s) definition.go:58: definition S2F2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1108"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:36:2-4: defined here as ```go -field F2 int -``` - -[`(b.S2).F2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F2) - -\@mark\(S2F2, \"F2\"\) \ No newline at end of file definition.go:58: definition S2F2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1108"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 36, - "column": 2, - "offset": 793 - }, - "end": { - "line": 36, - "column": 4, - "offset": 795 - } - }, - "description": "```go\nfield F2 int\n```\n\n[`(b.S2).F2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F2)\n\n\\@mark\\(S2F2, \\\"F2\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/c_6_9 (0.00s) definition.go:58: definition S1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/c.go:#107"} --- expect +++ got @@ -1,10 +1 @@ -godef/b/b.go:27:6-8: defined here as ```go -type S1 struct { - F1 int //@mark(S1F1, "F1") - S2 //@godef("S2", S2),mark(S1S2, "S2") - a.A //@godef("A", AString) - aAlias //@godef("a", aAlias) -} -``` - -[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1) \ No newline at end of file definition.go:58: definition S1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/c.go:#107"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 27, - "column": 6, - "offset": 566 - }, - "end": { - "line": 27, - "column": 8, - "offset": 568 - } - }, - "description": "```go\ntype S1 struct {\n\tF1 int //@mark(S1F1, \"F1\")\n\tS2 //@godef(\"S2\", S2),mark(S1S2, \"S2\")\n\ta.A //@godef(\"A\", AString)\n\taAlias //@godef(\"a\", aAlias)\n}\n```\n\n[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/e_10_11 (0.00s) definition.go:58: definition Thing-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#103"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:5:6-11: defined here as ```go -type Thing struct { - Member string //@Member -} -``` - -[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing) \ No newline at end of file definition.go:58: definition Thing-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#103"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 5, - "column": 6, - "offset": 62 - }, - "end": { - "line": 5, - "column": 11, - "offset": 67 - } - }, - "description": "```go\ntype Thing struct {\n\tMember string //@Member\n}\n```\n\n[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/usecgo_8_8 (0.04s) definition.go:58: definition funccgoexample-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/cgoimport/usecgo.go:#88"} --- expect +++ got @@ -1,5 +1 @@ -cgo/declarecgo.go:18:6-13: defined here as ```go -func cgo.Example() -``` - -[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example) \ No newline at end of file definition.go:58: definition funccgoexample-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/cgoimport/usecgo.go:#88"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://cgo/declarecgo.go", - "start": { - "line": 18, - "column": 6, - "offset": 151 - }, - "end": { - "line": 18, - "column": 13, - "offset": 158 - } - }, - "description": "```go\nfunc cgo.Example()\n```\n\n[`cgo.Example` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/cgo?utm_source=gopls#Example)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/d_20_9 (0.00s) definition.go:58: definition Thing-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#296"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:5:6-11: defined here as ```go -type Thing struct { - Member string //@Member -} -``` - -[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing) \ No newline at end of file definition.go:58: definition Thing-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#296"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 5, - "column": 6, - "offset": 62 - }, - "end": { - "line": 5, - "column": 11, - "offset": 67 - } - }, - "description": "```go\ntype Thing struct {\n\tMember string //@Member\n}\n```\n\n[`a.Thing` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/e_13_6 (0.00s) definition.go:58: definition Things-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#237"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/d.go:11:6-12: defined here as ```go -func a.Things(val []string) []a.Thing -``` - -[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things) \ No newline at end of file definition.go:58: definition Things-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#237"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 11, - "column": 6, - "offset": 145 - }, - "end": { - "line": 11, - "column": 12, - "offset": 151 - } - }, - "description": "```go\nfunc a.Things(val []string) []a.Thing\n```\n\n[`a.Things` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Things)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/a_31_8 (0.00s) definition.go:58: definition Random-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a.go:#563"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:3:6-12: defined here as ```go -func Random() int -``` - -[`a.Random` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random) \ No newline at end of file definition.go:58: definition Random-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a.go:#563"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 3, - "column": 6, - "offset": 16 - }, - "end": { - "line": 3, - "column": 12, - "offset": 22 - } - }, - "description": "```go\nfunc Random() int\n```\n\n[`a.Random` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/d_26_5 (0.00s) definition.go:58: definition Method-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#516"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/d.go:15:16-22: defined here as ```go -func (Thing).Method(i int) string -``` - -[`(a.Thing).Method` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Method) \ No newline at end of file definition.go:58: definition Method-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#516"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 15, - "column": 16, - "offset": 216 - }, - "end": { - "line": 15, - "column": 22, - "offset": 222 - } - }, - "description": "```go\nfunc (Thing).Method(i int) string\n```\n\n[`(a.Thing).Method` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Method)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/d_6_2 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#87"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#87"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/unclosedIf_8_26 (0.00s) definition.go:58: definition myUnclosedIf-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/broken/unclosedIf.go:#142"} --- expect +++ got @@ -1,5 +1 @@ -godef/broken/unclosedIf.go:7:7-19: defined here as ```go -var myUnclosedIf string -``` - -\@myUnclosedIf \ No newline at end of file definition.go:58: definition myUnclosedIf-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/broken/unclosedIf.go:#142"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/broken/unclosedIf.go", - "start": { - "line": 7, - "column": 7, - "offset": 68 - }, - "end": { - "line": 7, - "column": 19, - "offset": 80 - } - }, - "description": "```go\nvar myUnclosedIf string\n```\n\n\\@myUnclosedIf" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/a_test_7_6 (0.00s) definition.go:58: definition TestA-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a_test.go:#39"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/a_test.go:7:6-11: defined here as ```go -func TestA(t *testing.T) -``` \ No newline at end of file definition.go:58: definition TestA-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a_test.go:#39"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a_test.go", - "start": { - "line": 7, - "column": 6, - "offset": 39 - }, - "end": { - "line": 7, - "column": 11, - "offset": 44 - } - }, - "description": "```go\nfunc TestA(t *testing.T)\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/d_23_15 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#392"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#392"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_48_8 (0.00s) definition.go:58: definition S1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1008"} --- expect +++ got @@ -1,10 +1 @@ -godef/b/b.go:27:6-8: defined here as ```go -type S1 struct { - F1 int //@mark(S1F1, "F1") - S2 //@godef("S2", S2),mark(S1S2, "S2") - a.A //@godef("A", AString) - aAlias //@godef("a", aAlias) -} -``` - -[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1) \ No newline at end of file definition.go:58: definition S1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1008"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 27, - "column": 6, - "offset": 566 - }, - "end": { - "line": 27, - "column": 8, - "offset": 568 - } - }, - "description": "```go\ntype S1 struct {\n\tF1 int //@mark(S1F1, \"F1\")\n\tS2 //@godef(\"S2\", S2),mark(S1S2, \"S2\")\n\ta.A //@godef(\"A\", AString)\n\taAlias //@godef(\"a\", aAlias)\n}\n```\n\n[`b.S1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/random_30_11 (0.01s) definition.go:58: definition PosSum-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#521"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:24:15-18: defined here as ```go -func (*Pos).Sum() int -``` - -[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Pos.Sum) \ No newline at end of file definition.go:58: definition PosSum-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#521"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 24, - "column": 15, - "offset": 413 - }, - "end": { - "line": 24, - "column": 18, - "offset": 416 - } - }, - "description": "```go\nfunc (*Pos).Sum() int\n```\n\n[`(a.Pos).Sum` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Pos.Sum)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_4_2 (0.00s) definition.go:58: definition myFoo-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#21"} --- expect +++ got @@ -1,5 +1 @@ -godef/b/b.go:4:2-7: defined here as ```go -package myFoo ("golang.org/x/tools/internal/lsp/foo") -``` - -[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls) \ No newline at end of file definition.go:58: definition myFoo-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#21"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 4, - "column": 2, - "offset": 21 - }, - "end": { - "line": 4, - "column": 7, - "offset": 26 - } - }, - "description": "```go\npackage myFoo (\"golang.org/x/tools/internal/lsp/foo\")\n```\n\n[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_52_11 (0.00s) definition.go:58: definition S2F1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1145"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:35:2-4: defined here as ```go -field F1 string -``` - -[`(b.S2).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F1) - -\@mark\(S2F1, \"F1\"\) \ No newline at end of file definition.go:58: definition S2F1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1145"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 35, - "column": 2, - "offset": 760 - }, - "end": { - "line": 35, - "column": 4, - "offset": 762 - } - }, - "description": "```go\nfield F1 string\n```\n\n[`(b.S2).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2.F1)\n\n\\@mark\\(S2F1, \\\"F1\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_37_3 (0.00s) definition.go:58: definition AImport-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#827"} --- expect +++ got @@ -1,5 +1 @@ -godef/b/b.go:5:2-43: defined here as ```go -package a ("golang.org/x/tools/internal/lsp/godef/a") -``` - -[`a` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls) \ No newline at end of file definition.go:58: definition AImport-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#827"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 5, - "column": 2, - "offset": 112 - }, - "end": { - "line": 5, - "column": 43, - "offset": 153 - } - }, - "description": "```go\npackage a (\"golang.org/x/tools/internal/lsp/godef/a\")\n```\n\n[`a` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_30_4 (0.00s) definition.go:58: definition AString-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#667"} --- expect +++ got @@ -1,6 +1 @@ -godef/a/a.go:26:6-7: defined here as ```go -type A string //@mark(AString, "A") - -``` - -[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A) \ No newline at end of file definition.go:58: definition AString-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#667"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 26, - "column": 6, - "offset": 452 - }, - "end": { - "line": 26, - "column": 7, - "offset": 453 - } - }, - "description": "```go\ntype A string //@mark(AString, \"A\")\n\n```\n\n[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_57_7 (0.00s) definition.go:58: definition bX-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1228"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:57:7-8: defined here as ```go -const X untyped int = 0 -``` - -[`b.X` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#X) - -\@mark\(bX, \"X\"\),godef\(\"X\", bX\) \ No newline at end of file definition.go:58: definition bX-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1228"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 57, - "column": 7, - "offset": 1228 - }, - "end": { - "line": 57, - "column": 8, - "offset": 1229 - } - }, - "description": "```go\nconst X untyped int = 0\n```\n\n[`b.X` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#X)\n\n\\@mark\\(bX, \\\"X\\\"\\),godef\\(\\\"X\\\", bX\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/e_12_15 (0.00s) definition.go:58: definition Other-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#203"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:9:5-10: defined here as ```go -var a.Other a.Thing -``` - -[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other) - -\@Other \ No newline at end of file definition.go:58: definition Other-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#203"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 9, - "column": 5, - "offset": 118 - }, - "end": { - "line": 9, - "column": 10, - "offset": 123 - } - }, - "description": "```go\nvar a.Other a.Thing\n```\n\n[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other)\n\n\\@Other" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_29_2 (0.01s) definition.go:58: definition S2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#617"} --- expect +++ got @@ -1,9 +1 @@ -godef/b/b.go:34:6-8: defined here as ```go -type S2 struct { - F1 string //@mark(S2F1, "F1") - F2 int //@mark(S2F2, "F2") - *a.A //@godef("A", AString),godef("a",AImport) -} -``` - -[`b.S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2) \ No newline at end of file definition.go:58: definition S2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#617"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 34, - "column": 6, - "offset": 741 - }, - "end": { - "line": 34, - "column": 8, - "offset": 743 - } - }, - "description": "```go\ntype S2 struct {\n\tF1 string //@mark(S2F1, \"F1\")\n\tF2 int //@mark(S2F2, \"F2\")\n\t*a.A //@godef(\"A\", AString),godef(\"a\",AImport)\n}\n```\n\n[`b.S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S2)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_47_4 (0.00s) definition.go:58: definition AStuff-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#964"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/a.go:28:6-12: defined here as ```go -func a.AStuff() -``` - -[`a.AStuff` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#AStuff) \ No newline at end of file definition.go:58: definition AStuff-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#964"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 28, - "column": 6, - "offset": 489 - }, - "end": { - "line": 28, - "column": 12, - "offset": 495 - } - }, - "description": "```go\nfunc a.AStuff()\n```\n\n[`a.AStuff` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#AStuff)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_49_8 (0.00s) definition.go:58: definition S1S2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1040"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:29:2-4: defined here as ```go -field S2 S2 -``` - -[`(b.S1).S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.S2) - -\@godef\(\"S2\", S2\),mark\(S1S2, \"S2\"\) \ No newline at end of file definition.go:58: definition S1S2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1040"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 29, - "column": 2, - "offset": 617 - }, - "end": { - "line": 29, - "column": 4, - "offset": 619 - } - }, - "description": "```go\nfield S2 S2\n```\n\n[`(b.S1).S2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.S2)\n\n\\@godef\\(\\\"S2\\\", S2\\),mark\\(S1S2, \\\"S2\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/c_7_2 (0.00s) definition.go:58: definition S1F1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/c.go:#131"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:28:2-4: defined here as ```go -field F1 int -``` - -[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1) - -\@mark\(S1F1, \"F1\"\) \ No newline at end of file definition.go:58: definition S1F1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/c.go:#131"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 28, - "column": 2, - "offset": 585 - }, - "end": { - "line": 28, - "column": 4, - "offset": 587 - } - }, - "description": "```go\nfield F1 int\n```\n\n[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1)\n\n\\@mark\\(S1F1, \\\"F1\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/e_11_15 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#156"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/e.go:#156"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/d_21_4 (0.00s) definition.go:58: definition Member-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#332"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:6:2-8: defined here as ```go -field Member string -``` - -[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member) - -\@Member \ No newline at end of file definition.go:58: definition Member-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#332"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 6, - "column": 2, - "offset": 87 - }, - "end": { - "line": 6, - "column": 8, - "offset": 93 - } - }, - "description": "```go\nfield Member string\n```\n\n[`(a.Thing).Member` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Thing.Member)\n\n\\@Member" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/random_25_11 (0.00s) definition.go:58: definition PosX-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#458"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:13:2-3: defined here as ```go -field x int -``` - -\@mark\(PosX, \"x\"\),mark\(PosY, \"y\"\) \ No newline at end of file definition.go:58: definition PosX-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#458"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 13, - "column": 2, - "offset": 187 - }, - "end": { - "line": 13, - "column": 3, - "offset": 188 - } - }, - "description": "```go\nfield x int\n```\n\n\\@mark\\(PosX, \\\"x\\\"\\),mark\\(PosY, \\\"y\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/a_30_5 (0.00s) definition.go:58: definition Random2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a.go:#522"} --- expect +++ got @@ -1,5 +1 @@ -godef/a/random.go:8:6-13: defined here as ```go -func Random2(y int) int -``` - -[`a.Random2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random2) \ No newline at end of file definition.go:58: definition Random2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a.go:#522"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 8, - "column": 6, - "offset": 71 - }, - "end": { - "line": 8, - "column": 13, - "offset": 78 - } - }, - "description": "```go\nfunc Random2(y int) int\n```\n\n[`a.Random2` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Random2)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/d_24_13 (0.00s) definition.go:58: definition Other-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#437"} --- expect +++ got @@ -1,7 +1 @@ -godef/a/d.go:9:5-10: defined here as ```go -var Other Thing -``` - -[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other) - -\@Other \ No newline at end of file definition.go:58: definition Other-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/d.go:#437"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/d.go", - "start": { - "line": 9, - "column": 5, - "offset": 118 - }, - "end": { - "line": 9, - "column": 10, - "offset": 123 - } - }, - "description": "```go\nvar Other Thing\n```\n\n[`a.Other` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#Other)\n\n\\@Other" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/f_8_9 (0.00s) definition.go:58: definition switchY-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/f.go:#76"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/f.go:8:9-10: defined here as ```go -var y interface{} -``` \ No newline at end of file definition.go:58: definition switchY-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/f.go:#76"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/f.go", - "start": { - "line": 8, - "column": 9, - "offset": 76 - }, - "end": { - "line": 8, - "column": 10, - "offset": 77 - } - }, - "description": "```go\nvar y interface{}\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/a_x_test_7_6 (0.00s) definition.go:58: definition TestA2-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a_x_test.go:#44"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/a_x_test.go:7:6-12: defined here as ```go -func TestA2(t *testing.T) -``` \ No newline at end of file definition.go:58: definition TestA2-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/a_x_test.go:#44"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a_x_test.go", - "start": { - "line": 7, - "column": 6, - "offset": 44 - }, - "end": { - "line": 7, - "column": 12, - "offset": 50 - } - }, - "description": "```go\nfunc TestA2(t *testing.T)\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_37_5 (0.00s) definition.go:58: definition AString-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#829"} --- expect +++ got @@ -1,6 +1 @@ -godef/a/a.go:26:6-7: defined here as ```go -type A string //@mark(AString, "A") - -``` - -[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A) \ No newline at end of file definition.go:58: definition AString-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#829"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 26, - "column": 6, - "offset": 452 - }, - "end": { - "line": 26, - "column": 7, - "offset": 453 - } - }, - "description": "```go\ntype A string //@mark(AString, \"A\")\n\n```\n\n[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_50_8 (0.00s) definition.go:58: definition S1F1-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1074"} --- expect +++ got @@ -1,7 +1 @@ -godef/b/b.go:28:2-4: defined here as ```go -field F1 int -``` - -[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1) - -\@mark\(S1F1, \"F1\"\) \ No newline at end of file definition.go:58: definition S1F1-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1074"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 28, - "column": 2, - "offset": 585 - }, - "end": { - "line": 28, - "column": 4, - "offset": 587 - } - }, - "description": "```go\nfield F1 int\n```\n\n[`(b.S1).F1` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/b?utm_source=gopls#S1.F1)\n\n\\@mark\\(S1F1, \\\"F1\\\"\\)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_54_9 (0.00s) definition.go:58: definition myFoo-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1178"} --- expect +++ got @@ -1,5 +1 @@ -godef/b/b.go:4:2-7: defined here as ```go -package myFoo ("golang.org/x/tools/internal/lsp/foo") -``` - -[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls) \ No newline at end of file definition.go:58: definition myFoo-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#1178"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/b/b.go", - "start": { - "line": 4, - "column": 2, - "offset": 21 - }, - "end": { - "line": 4, - "column": 7, - "offset": 26 - } - }, - "description": "```go\npackage myFoo (\"golang.org/x/tools/internal/lsp/foo\")\n```\n\n[`myFoo` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/random_9_9 (0.00s) definition.go:58: definition RandomParamY-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#135"} --- expect +++ got @@ -1,3 +1 @@ -godef/a/random.go:8:14-15: defined here as ```go -var y int -``` \ No newline at end of file definition.go:58: definition RandomParamY-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/a/random.go:#135"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/random.go", - "start": { - "line": 8, - "column": 14, - "offset": 79 - }, - "end": { - "line": 8, - "column": 15, - "offset": 80 - } - }, - "description": "```go\nvar y int\n```" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Definition/b_42_5 (0.00s) definition.go:58: definition AString-definition failed with []string{"definition", "-markdown", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#917"} --- expect +++ got @@ -1,6 +1 @@ -godef/a/a.go:26:6-7: defined here as ```go -type A string //@mark(AString, "A") - -``` - -[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A) \ No newline at end of file definition.go:58: definition AString-definition-json failed with []string{"definition", "-markdown", "-json", "/tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/godef/b/b.go:#917"} --- expect +++ got @@ -1,16 +1 @@ -{ - "span": { - "uri": "file://godef/a/a.go", - "start": { - "line": 26, - "column": 6, - "offset": 452 - }, - "end": { - "line": 26, - "column": 7, - "offset": 453 - } - }, - "description": "```go\ntype A string //@mark(AString, \"A\")\n\n```\n\n[`a.A` on pkg.go.dev](https://pkg.go.dev/golang.org/x/tools/internal/lsp/godef/a?utm_source=gopls#A)" -} \ No newline at end of file --- FAIL: TestCommandLine/GOPATH/Implementation (0.01s) --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_16_2 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:16:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_19_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:19:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_31_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:31:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/other_20_12 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/other/other.go:20:12: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_5_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:5:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_7_14 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:7:14: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_15_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:15:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_24_2 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:24:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_29_14 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:29:14: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_27_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:27:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/other_17_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/other/other.go:17:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/other_26_2 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/other/other.go:26:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_10_6 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:10:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Implementation/implementation_12_13 (0.00s) implementation.go:33: implementation failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/implementation/implementation.go:12:13: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Highlight (0.06s) --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_37_19 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:37:19 expected: highlights/highlights.go:36:40-57 highlights/highlights.go:37:19-36 highlights/highlights.go:39:27-44 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_59_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:59:6 expected: highlights/highlights.go:52:4-7 highlights/highlights.go:59:6-14 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_85_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:85:5 expected: highlights/highlights.go:83:4-10 highlights/highlights.go:85:5-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_23_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:23:6 expected: highlights/highlights.go:23:6-11 highlights/highlights.go:31:6-11 highlights/highlights.go:32:6-11 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_150_9 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:150:9 expected: highlights/highlights.go:148:23-28 highlights/highlights.go:150:9-14 highlights/highlights.go:150:9-21 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_49_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:49:4 expected: highlights/highlights.go:47:2-5 highlights/highlights.go:49:4-9 highlights/highlights.go:62:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_33_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:33:2 expected: highlights/highlights.go:19:6-11 highlights/highlights.go:33:2-7 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_56_8 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:56:8 expected: highlights/highlights.go:54:6-9 highlights/highlights.go:56:8-16 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_69_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:69:4 expected: highlights/highlights.go:67:2-5 highlights/highlights.go:69:4-9 highlights/highlights.go:72:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_140_34 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:140:34 expected: highlights/highlights.go:140:34-41 highlights/highlights.go:143:10-14 highlights/highlights.go:145:9-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_4_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:4:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_78_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:78:3 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_83_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:83:4 expected: highlights/highlights.go:83:4-10 highlights/highlights.go:85:5-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_99_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:99:2 expected: highlights/highlights.go:99:2-5 highlights/highlights.go:107:5-13 highlights/highlights.go:111:5-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_101_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:101:3 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_126_31 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:126:31 expected: highlights/highlights.go:126:31-35 highlights/highlights.go:127:3-39 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_54_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:54:6 expected: highlights/highlights.go:54:6-9 highlights/highlights.go:56:8-16 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_20_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:20:6 expected: highlights/highlights.go:5:2-4 highlights/highlights.go:20:6-8 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_77_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:77:2 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_143_16 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:143:16 expected: highlights/highlights.go:140:43-49 highlights/highlights.go:141:2-3 highlights/highlights.go:143:16-17 highlights/highlights.go:145:14-20 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_17_13 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:17:13 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_32_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:32:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_36_40 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:36:40 expected: highlights/highlights.go:36:38-57 highlights/highlights.go:36:40-57 highlights/highlights.go:37:19-36 highlights/highlights.go:39:27-44 highlights/highlights.go:43:9-15 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_129_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:129:2 expected: highlights/highlights.go:121:1-5 highlights/highlights.go:123:3-15 highlights/highlights.go:129:2-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_143_10 (0.01s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:143:10 expected: highlights/highlights.go:140:34-41 highlights/highlights.go:143:10-14 highlights/highlights.go:145:9-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_19_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:19:6 expected: highlights/highlights.go:19:6-11 highlights/highlights.go:33:2-7 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_22_14 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:22:14 expected: highlights/highlights.go:17:5-8 highlights/highlights.go:22:14-17 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_107_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:107:5 expected: highlights/highlights.go:99:2-5 highlights/highlights.go:107:5-13 highlights/highlights.go:111:5-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_116_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:116:4 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_134_10 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:134:10 expected: highlights/highlights.go:132:25-32 highlights/highlights.go:134:10-14 highlights/highlights.go:137:9-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_140_43 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:140:43 expected: highlights/highlights.go:140:43-49 highlights/highlights.go:143:16-17 highlights/highlights.go:145:14-20 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_9_16 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:9:16 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_26_7 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:26:7 expected: highlights/highlights.go:26:7-8 highlights/highlights.go:27:2-3 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_26_8 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:26:8 expected: highlights/highlights.go:26:7-8 highlights/highlights.go:27:2-3 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_27_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:27:4 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_31_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:31:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_52_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:52:4 expected: highlights/highlights.go:52:4-7 highlights/highlights.go:59:6-14 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_79_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:79:3 expected: highlights/highlights.go:79:3-6 highlights/highlights.go:87:5-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_81_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:81:5 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_5_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:5:2 expected: highlights/highlights.go:5:2-4 highlights/highlights.go:20:6-8 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_127_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:127:3 expected: highlights/highlights.go:126:31-35 highlights/highlights.go:127:3-39 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_132_25 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:132:25 expected: highlights/highlights.go:132:25-32 highlights/highlights.go:134:10-14 highlights/highlights.go:137:9-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_145_14 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:145:14 expected: highlights/highlights.go:140:43-49 highlights/highlights.go:143:16-17 highlights/highlights.go:145:14-20 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_105_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:105:5 expected: highlights/highlights.go:103:4-10 highlights/highlights.go:105:5-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_27_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:27:2 expected: highlights/highlights.go:26:7-8 highlights/highlights.go:27:2-3 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_23_2 (0.01s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:23:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_109_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:109:5 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_31_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:31:6 expected: highlights/highlights.go:23:6-11 highlights/highlights.go:31:6-11 highlights/highlights.go:32:6-11 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_114_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:114:4 expected: highlights/highlights.go:101:3-9 highlights/highlights.go:109:5-13 highlights/highlights.go:114:4-9 highlights/highlights.go:116:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_67_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:67:2 expected: highlights/highlights.go:67:2-5 highlights/highlights.go:69:4-9 highlights/highlights.go:72:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_103_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:103:4 expected: highlights/highlights.go:103:4-10 highlights/highlights.go:105:5-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_121_1 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:121:1 expected: highlights/highlights.go:121:1-5 highlights/highlights.go:123:3-15 highlights/highlights.go:129:2-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_13_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:13:3 expected: highlights/highlights.go:9:16-19 highlights/highlights.go:13:3-6 highlights/highlights.go:17:13-16 highlights/highlights.go:27:4-7 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_89_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:89:5 expected: highlights/highlights.go:77:2-5 highlights/highlights.go:78:3-8 highlights/highlights.go:81:5-16 highlights/highlights.go:89:5-16 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_145_9 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:145:9 expected: highlights/highlights.go:140:34-41 highlights/highlights.go:143:10-14 highlights/highlights.go:145:9-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_149_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:149:2 expected: highlights/highlights.go:149:2-7 highlights/highlights.go:150:15-20 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_17_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:17:5 expected: highlights/highlights.go:17:5-8 highlights/highlights.go:22:14-17 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_47_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:47:2 expected: highlights/highlights.go:47:2-5 highlights/highlights.go:49:4-9 highlights/highlights.go:62:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_62_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:62:4 expected: highlights/highlights.go:47:2-5 highlights/highlights.go:49:4-9 highlights/highlights.go:62:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_111_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:111:5 expected: highlights/highlights.go:99:2-5 highlights/highlights.go:107:5-13 highlights/highlights.go:111:5-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_121_19 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:121:19 expected: highlights/highlights.go:121:19-23 highlights/highlights.go:123:10-15 highlights/highlights.go:126:46-50 highlights/highlights.go:129:9-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_150_15 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:150:15 expected: highlights/highlights.go:149:2-7 highlights/highlights.go:150:15-20 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_39_27 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:39:27 expected: highlights/highlights.go:36:40-57 highlights/highlights.go:37:19-36 highlights/highlights.go:39:27-44 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_32_6 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:32:6 expected: highlights/highlights.go:23:6-11 highlights/highlights.go:31:6-11 highlights/highlights.go:32:6-11 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_72_4 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:72:4 expected: highlights/highlights.go:67:2-5 highlights/highlights.go:69:4-9 highlights/highlights.go:72:4-12 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_22_2 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:22:2 expected: highlights/highlights.go:4:2-7 highlights/highlights.go:22:2-5 highlights/highlights.go:23:2-5 highlights/highlights.go:31:2-5 highlights/highlights.go:32:2-5 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_123_3 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:123:3 expected: highlights/highlights.go:121:1-5 highlights/highlights.go:123:3-15 highlights/highlights.go:129:2-13 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_137_9 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:137:9 expected: highlights/highlights.go:132:25-32 highlights/highlights.go:134:10-14 highlights/highlights.go:136:2-3 highlights/highlights.go:137:9-10 got: --- FAIL: TestCommandLine/GOPATH/Highlight/highlights_87_5 (0.00s) highlight.go:27: highlight failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/highlights/highlights.go:87:5 expected: highlights/highlights.go:79:3-6 highlights/highlights.go:87:5-13 got: --- FAIL: TestCommandLine/GOPATH/References (0.03s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_9_2 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_9_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:9:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_9_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:9:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_27_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_27_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:27:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_27_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:27:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_4_6 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/refs_4_6/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:4:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_4_6/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:4:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_37_8 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/refs_37_8/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:37:8: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_37_8/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:37:8: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_4_2 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_4_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:4:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_4_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:4:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_5_2 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_5_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:5:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_5_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:5:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/foo_25_3 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/foo_25_3/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/foo/foo.go:25:3: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/foo_25_3/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/foo/foo.go:25:3: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_29_2 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/refs_29_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:29:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_29_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:29:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/another_11_9 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/another_11_9/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/another/another.go:11:9: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/another_11_9/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/another/another.go:11:9: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/testy_3_6 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/testy_3_6/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/testy/testy.go:3:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/testy_3_6/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/testy/testy.go:3:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/foo_17_10 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/foo_17_10/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/foo/foo.go:17:10: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/foo_17_10/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/foo/foo.go:17:10: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_17_11 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_17_11/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:17:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_17_11/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:17:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_31_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_31_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:31:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_31_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:31:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_15_11 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_15_11/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:15:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_15_11/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:15:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_19_11 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_19_11/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:19:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_19_11/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:19:11: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_25_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_25_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:25:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_25_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:25:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_26_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_26_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:26:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_26_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:26:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_18_5 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/refs_18_5/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:18:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_18_5/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:18:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_20_5 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/refs_20_5/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:20:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/refs_20_5/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/refs.go:20:5: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/other_10_4 (0.01s) --- FAIL: TestCommandLine/GOPATH/References/other_10_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/other/other.go:10:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/other_10_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/other/other.go:10:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_10_2 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_10_2/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:10:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_10_2/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:10:2: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_28_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_28_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:28:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_28_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:28:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_32_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_32_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:32:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_32_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:32:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_33_4 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/interfaces_33_4/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:33:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/interfaces_33_4/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/references/interfaces/interfaces.go:33:4: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/testy_test_11_6 (0.00s) --- FAIL: TestCommandLine/GOPATH/References/testy_test_11_6/refs-declaration-true (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/testy/testy_test.go:11:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/References/testy_test_11_6/refs-declaration-false (0.00s) references.go:43: references failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/testy/testy_test.go:11:6: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory --- FAIL: TestCommandLine/GOPATH/Renames (0.70s) --- FAIL: TestCommandLine/GOPATH/Renames/random_format (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:36:3-6 format expected: package a import ( lg "log" format "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: format.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_y3 (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:40:19-20 y3 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y3 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y3) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y3) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y3) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/b_error (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/b/b.go:6:2-3 error expected: package b var c int //@rename("int", "uint") func _() { error := 1 //@rename("a", "error") error = 2 _ = error } var ( // Hello there. // Foo does the thing. Foo int //@rename("Foo", "Bob") ) /* Hello description */ func Hello() {} //@rename("Hello", "Goodbye") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/issue43616_quux (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/issue43616/issue43616.go:7:11-14 quux expected: can't rename embedded fields: rename the type directly or name the field got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/other_Flamingo (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/crosspkg/other/other.go:7:11-14 Flamingo expected: crosspkg.go: package crosspkg func Flamingo() { //@rename("Foo", "Dolphin") } var Bar int //@rename("Bar", "Tomato") other.go: package other import "golang.org/x/tools/internal/lsp/rename/crosspkg" func Other() { crosspkg.Bar crosspkg.Flamingo() //@rename("Foo", "Flamingo") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_myX (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:23:11-12 myX expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { myX, y int } func (p *Pos) Sum() int { return p.myX + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/crosspkg_Dolphin (0.08s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/crosspkg/crosspkg.go:3:6-9 Dolphin expected: crosspkg.go: package crosspkg func Dolphin() { //@rename("Foo", "Dolphin") } var Bar int //@rename("Bar", "Tomato") other.go: package other import "golang.org/x/tools/internal/lsp/rename/crosspkg" func Other() { crosspkg.Bar crosspkg.Dolphin() //@rename("Foo", "Flamingo") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/c_Goodbye (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/c/c.go:6:4-9 Goodbye expected: b.go: package b var c int //@rename("int", "uint") func _() { a := 1 //@rename("a", "error") a = 2 _ = a } var ( // Hello there. // Foo does the thing. Foo int //@rename("Foo", "Bob") ) /* Goodbye description */ func Goodbye() {} //@rename("Hello", "Goodbye") c.go: package c import "golang.org/x/tools/internal/lsp/rename/b" func _() { b.Goodbye() //@rename("Hello", "Goodbye") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/testy_test_testyX (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/testy/testy_test.go:6:6-7 testyX expected: package testy import "testing" func TestSomething(t *testing.T) { var testyX int //@rename("x", "testyX") a() //@rename("a", "b") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/testy_test_b (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/testy/testy_test.go:7:2-3 b expected: testy.go: package testy type tt int //@rename("tt", "testyType") func b() { foo := 42 //@rename("foo", "bar") } testy_test.go: package testy import "testing" func TestSomething(t *testing.T) { var x int //@rename("x", "testyX") b() //@rename("a", "b") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/testy_bar (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/testy/testy.go:6:2-5 bar expected: package testy type tt int //@rename("tt", "testyType") func a() { bar := 42 //@rename("foo", "bar") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_y2 (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:38:19-20 y2 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y2 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y2) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y2) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y2) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/b_Bob (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/b/b.go:14:2-5 Bob expected: package b var c int //@rename("int", "uint") func _() { a := 1 //@rename("a", "error") a = 2 _ = a } var ( // Hello there. // Bob does the thing. Bob int //@rename("Foo", "Bob") ) /* Hello description */ func Hello() {} //@rename("Hello", "Goodbye") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_z (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:14:14-15 z expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(z int) int { //@rename("y", "z") return z } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_log (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:38:3-5 log expected: package a import ( "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: log.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/issue43616_bar (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/issue43616/issue43616.go:3:6-9 bar expected: package issue43616 type bar int //@rename("foo","bar"),prepare("oo","foo","foo") var x struct{ bar } //@rename("foo","baz") var _ = x.bar //@rename("foo","quux") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/issue43616_baz (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/issue43616/issue43616.go:5:15-18 baz expected: can't rename embedded fields: rename the type directly or name the field got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/issue39614_bar (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/issue39614/issue39614.go:4:6-9 bar expected: package issue39614 func fn() { var bar bool //@rename("foo","bar") make(map[string]bool if true { } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_f2y (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:6:6-9 f2y expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2y "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2y.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_y1 (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:36:20-21 y1 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y1 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y1) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y1) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y1) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/c2_static (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/c/c2.go:4:5-11 static expected: package c //go:embed Static/* var static embed.FS //@rename("Static", "static") got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/bad_rFunc (0.04s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/bad/bad.go:6:20-25 rFunc expected: renaming "sFunc" to "rFunc" not possible because "golang.org/x/tools/internal/lsp/rename/bad" has errors got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_fmty (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:5:3-6 fmty expected: package a import ( lg "log" fmty "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmty.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_y0 (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:34:9-10 y0 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y0 := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y0) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y0) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y0) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_fmt2 (0.00s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:40:3-5 fmt2 expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") fmt2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: fmt2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/b_uint (0.02s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/b/b.go:3:7-10 uint expected: "int": builtin object got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_pos (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:27:6-7 pos expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var pos Pos //@rename("p", "pos") _ = pos.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/crosspkg_Tomato (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/crosspkg/crosspkg.go:7:5-8 Tomato expected: crosspkg.go: package crosspkg func Foo() { //@rename("Foo", "Dolphin") } var Tomato int //@rename("Bar", "Tomato") other.go: package other import "golang.org/x/tools/internal/lsp/rename/crosspkg" func Other() { crosspkg.Tomato crosspkg.Foo() //@rename("Foo", "Flamingo") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/b_Goodbye (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/b/b.go:20:6-11 Goodbye expected: b.go: package b var c int //@rename("int", "uint") func _() { a := 1 //@rename("a", "error") a = 2 _ = a } var ( // Hello there. // Foo does the thing. Foo int //@rename("Foo", "Bob") ) /* Goodbye description */ func Goodbye() {} //@rename("Hello", "Goodbye") c.go: package c import "golang.org/x/tools/internal/lsp/rename/b" func _() { b.Goodbye() //@rename("Hello", "Goodbye") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/another_G (0.05s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/crosspkg/another/another.go:12:4-5 G expected: package another type ( I interface{ G() } C struct{ I } ) func (C) g() func _() { var x I = C{} x.G() //@rename("F", "G") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/testy_testyType (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/testy/testy.go:3:6-8 testyType expected: package testy type testyType int //@rename("tt", "testyType") func a() { foo := 42 //@rename("foo", "bar") } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_GetSum (0.03s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:28:8-11 GetSum expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2 "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) GetSum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.GetSum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/Renames/random_f2name (0.01s) rename.go:24: rename failed with /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/a/random.go:6:2-4 f2name expected: package a import ( lg "log" "fmt" //@rename("fmt", "fmty") f2name "fmt" //@rename("f2", "f2name"),rename("fmt","f2y") ) func Random() int { y := 6 + 7 return y } func Random2(y int) int { //@rename("y", "z") return y } type Pos struct { x, y int } func (p *Pos) Sum() int { return p.x + p.y //@rename("x", "myX") } func _() { var p Pos //@rename("p", "pos") _ = p.Sum() //@rename("Sum", "GetSum") } func sw() { var x interface{} switch y := x.(type) { //@rename("y", "y0") case int: fmt.Printf("%d", y) //@rename("y", "y1"),rename("fmt", "format") case string: lg.Printf("%s", y) //@rename("y", "y2"),rename("lg","log") default: f2name.Printf("%v", y) //@rename("y", "y3"),rename("f2","fmt2") } } got: unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory format.go:54: skipping because patch tool not available: exit status 2 --- FAIL: TestCommandLine/GOPATH/PrepareRenames (0.00s) --- FAIL: TestCommandLine/GOPATH/PrepareRenames/good1_8_7 (0.00s) prepare_rename.go:32: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/good/good1.go:8:7-13, expected: `` got: `unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory` --- FAIL: TestCommandLine/GOPATH/PrepareRenames/good1_9_11 (0.00s) prepare_rename.go:32: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/good/good1.go:9:11-12, expected: `` got: `unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory` --- FAIL: TestCommandLine/GOPATH/PrepareRenames/good1_10_2 (0.00s) prepare_rename.go:32: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/good/good1.go:10:2-8, expected: `` got: `unable to resolve gopls path: readlink /proc/curproc/file: no such file or directory` --- FAIL: TestCommandLine/GOPATH/PrepareRenames/good1_15_9 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/good/good1.go:15:9-13 expected: `good/good1.go:15:8-13 ` got: `` --- FAIL: TestCommandLine/GOPATH/PrepareRenames/issue43616_3_7 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/rename/issue43616/issue43616.go:3:7-9 expected: `rename/issue43616/issue43616.go:3:6-9 ` got: `` --- FAIL: TestCommandLine/GOPATH/PrepareRenames/good0_3_6 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/good/good0.go:3:6-9 expected: `good/good0.go:3:6-11 ` got: `` --- FAIL: TestCommandLine/GOPATH/PrepareRenames/good0_5_5 (0.00s) prepare_rename.go:44: prepare_rename failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/good/good0.go:5:5-8 expected: `good/good0.go:5:2-9 ` got: `` --- FAIL: TestCommandLine/GOPATH/Symbols (0.00s) --- FAIL: TestCommandLine/GOPATH/Symbols/a_test (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/workspacesymbol/a/a_test.go expected: RandomGopherTestVariableA Variable 3:5-3:30 got: --- FAIL: TestCommandLine/GOPATH/Symbols/a_x_test (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/workspacesymbol/a/a_x_test.go expected: RandomGopherXTestVariableA Variable 3:5-3:31 got: --- FAIL: TestCommandLine/GOPATH/Symbols/a (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/workspacesymbol/a/a.go expected: RandomGopherVariableA Variable 3:5-3:26 RandomGopherConstantA Constant 5:7-5:28 randomgopherinvariable Constant 8:2-8:24 got: --- FAIL: TestCommandLine/GOPATH/Symbols/b (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/workspacesymbol/b/b.go expected: RandomGopherVariableB Variable 3:5-3:26 RandomGopherStructB Struct 5:6-5:25 Bar Field 6:2-6:5 got: --- FAIL: TestCommandLine/GOPATH/Symbols/main (0.00s) symbols.go:21: symbols failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/symbols/main.go expected: x Variable 9:5-9:6 y Constant 11:7-11:8 Number Number 13:6-13:12 Alias String 15:6-15:11 NumberAlias Number 17:6-17:17 Boolean Boolean 20:2-20:9 BoolAlias Boolean 21:2-21:11 Foo Struct 24:6-24:9 Bar Field 27:2-27:5 Quux Field 25:2-25:6 W Field 26:2-26:3 baz Field 28:2-28:5 Quux Struct 31:6-31:10 X Field 32:2-32:3 Y Field 32:5-32:6 (Foo).Baz Method 35:14-35:17 (*Quux).Do Method 41:16-41:18 main Function 43:6-43:10 Stringer Interface 47:6-47:14 String Method 48:2-48:8 ABer Interface 51:6-51:10 A Method 53:2-53:3 B Method 52:2-52:3 WithEmbeddeds Interface 56:6-56:19 ABer Interface 58:2-58:6 Do Method 57:2-57:4 io.Writer Interface 59:2-59:11 Dunk Function 62:6-62:10 dunk Function 64:6-64:10 got: --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols (0.01s) --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/randomgophervar (0.00s) workspace_symbol.go:29: workspace_symbol failed for randomgophervar: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.main (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.main: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:8:6-10 main.main Function + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/p.Message (0.00s) workspace_symbol.go:29: workspace_symbol failed for p.Message: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/p/p.go:3:7-14 p.Message Constant + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myvar (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myvar: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:12:5-10 main.myvar Variable + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myType (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myType: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/main.go:14:6-12 main.myType String -workspacesymbol/main.go:18:18-26 main.myType.Blahblah Method + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myType.Blahblah (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myType.Blahblah: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:18:18-26 main.myType.Blahblah Method + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myStruct (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myStruct: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/main.go:20:6-14 main.myStruct Struct -workspacesymbol/main.go:21:2-15 main.myStruct.myStructField Field + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myStruct.myStructField (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myStruct.myStructField: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:21:2-15 main.myStruct.myStructField Field + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myInterface (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myInterface: --- want +++ got @@ -1,3 +1,2 @@ -workspacesymbol/main.go:24:6-17 main.myInterface Interface -workspacesymbol/main.go:25:2-17 main.myInterface.DoSomeCoolStuff Method + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.myInterface.DoSomeCoolStuff (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.myInterface.DoSomeCoolStuff: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:25:2-17 main.myInterface.DoSomeCoolStuff Method + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.embed.myStruct (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.myStruct: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:29:2-10 main.embed.myStruct Field + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.embed.nestedStruct.nestedStruct2.int (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.nestedStruct.nestedStruct2.int: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:35:4-7 main.embed.nestedStruct.nestedStruct2.int Field + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.embed.nestedInterface.myInterface (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.nestedInterface.myInterface: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:40:3-14 main.embed.nestedInterface.myInterface Interface + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/main.embed.nestedInterface.nestedMethod (0.00s) workspace_symbol.go:29: workspace_symbol failed for main.embed.nestedInterface.nestedMethod: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:41:3-15 main.embed.nestedInterface.nestedMethod Method + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/dunk (0.00s) workspace_symbol.go:29: workspace_symbol failed for dunk: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:47:6-10 dunk Function + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/Dunk (0.00s) workspace_symbol.go:29: workspace_symbol failed for Dunk: --- want +++ got @@ -1,2 +1,2 @@ -workspacesymbol/main.go:45:6-10 Dunk Function + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/rgop (0.00s) workspace_symbol.go:29: workspace_symbol failed for rgop: --- want +++ got @@ -1,9 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/a/a.go:5:7-28 RandomGopherConstantA Constant -workspacesymbol/a/a.go:8:2-24 randomgopherinvariable Constant -workspacesymbol/a/a_test.go:3:5-30 RandomGopherTestVariableA Variable -workspacesymbol/a/a_x_test.go:3:5-31 RandomGopherXTestVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable -workspacesymbol/b/b.go:5:6-25 RandomGopherStructB Struct -workspacesymbol/b/b.go:6:2-5 RandomGopherStructB.Bar Field + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/randoma (0.00s) workspace_symbol.go:29: workspace_symbol failed for randoma: --- want +++ got @@ -1,8 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/a/a.go:5:7-28 RandomGopherConstantA Constant -workspacesymbol/a/a.go:8:2-24 randomgopherinvariable Constant -workspacesymbol/a/a_test.go:3:5-30 RandomGopherTestVariableA Variable -workspacesymbol/a/a_x_test.go:3:5-31 RandomGopherXTestVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable -workspacesymbol/b/b.go:6:2-5 RandomGopherStructB.Bar Field + --- FAIL: TestCommandLine/GOPATH/WorkspaceSymbols/randomb (0.00s) workspace_symbol.go:29: workspace_symbol failed for randomb: --- want +++ got @@ -1,8 +1,2 @@ -workspacesymbol/a/a.go:3:5-26 RandomGopherVariableA Variable -workspacesymbol/a/a.go:8:2-24 randomgopherinvariable Constant -workspacesymbol/a/a_test.go:3:5-30 RandomGopherTestVariableA Variable -workspacesymbol/a/a_x_test.go:3:5-31 RandomGopherXTestVariableA Variable -workspacesymbol/b/b.go:3:5-26 RandomGopherVariableB Variable -workspacesymbol/b/b.go:5:6-25 RandomGopherStructB Struct -workspacesymbol/b/b.go:6:2-5 RandomGopherStructB.Bar Field + --- FAIL: TestCommandLine/GOPATH/SignatureHelp (0.02s) --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_50_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "fn(hi string, there string) func(i int) rune\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_80_11 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "AliasMap(a map[*Alias]StringAlias) (b map[*Alias]StringAlias, c map[*Alias]StringAlias)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_test_10_17 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature_test.go expected: "AliasSlice(a []*sig.Alias) (b sig.Alias)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_37_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_43_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Bar(float64, ...byte)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_54_12 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "func(hi string, there string) func(i int) rune\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_57_40 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "func(string, int) bool\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature2_4_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature2.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature3_4_14 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature3.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_44_22 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Bar(float64, ...byte)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_79_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "AliasSlice(a []*Alias) (b Alias)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/literal_17_4 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/snippets/literal.go expected: "X(_ map[signature.Alias]t.CoolAlias) map[signature.Alias]t.CoolAlias\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_test_11_15 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature_test.go expected: "AliasMap(a map[*sig.Alias]sig.StringAlias) (b map[*sig.Alias]sig.StringAlias, c map[*sig.Alias]sig.StringAlias)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_39_12 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_59_25 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Next(n int) []byte\n\nNext returns a slice containing the next n bytes from the buffer, advancing the buffer as if the bytes had been returned by Read.\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_81_16 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "OtherAliasMap(a map[Alias]OtherAlias, b map[Alias]OtherAlias) map[Alias]OtherAlias\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_test_12_20 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature_test.go expected: "OtherAliasMap(a map[sig.Alias]sig.OtherAlias, b map[sig.Alias]sig.OtherAlias) map[sig.Alias]sig.OtherAlias\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/testy_test_16_17 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/testy/testy_test.go expected: "X(_ map[sig.Alias]types.CoolAlias) map[sig.Alias]types.CoolAlias\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_42_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Bar(float64, ...byte)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_51_20 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "func(i int) rune\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/snippets_24_5 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/snippets/snippets.go expected: "baz(at AliasType, b bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_73_20 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "println(args ...Type)\n\nThe println built-in function formats its arguments in an implementation-specific way and writes the result to standard error.\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_67_21 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "make(t Type, size ...int) Type\n\nThe make built-in function allocates and initializes an object of type slice, map, or chan (only).\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_72_9 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "panic(v interface{})\n\nThe panic built-in function stops normal execution of the current goroutine.\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_36_5 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_38_11 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_40_16 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_62_9 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "myFunc(foo int) string\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_65_9 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "foo(e *json.Decoder) (*big.Int, error)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_69_6 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "Foo(a string, b int) (c bool)\n" got: ""' --- FAIL: TestCommandLine/GOPATH/SignatureHelp/signature_70_13 (0.00s) signature.go:31: signature failed for /tmp/workdir-host-dragonfly-amd64-5_8/tmp/TestCommandLine_GOPATH614681256/lsp/src/golang.org/x/tools/internal/lsp/signature/signature.go expected: "myFunc(foo int) string\n" got: ""' --- FAIL: TestCommandLine/GOPATH/Link (0.00s) --- FAIL: TestCommandLine/GOPATH/Link/links (0.00s) links.go:25: unexpected end of JSON input FAIL FAIL golang.org/x/tools/internal/lsp/cmd 7.110s ? golang.org/x/tools/internal/lsp/cmd/test [no test files] ok golang.org/x/tools/internal/lsp/command 2.487s ? golang.org/x/tools/internal/lsp/command/commandmeta [no test files] ? golang.org/x/tools/internal/lsp/command/gen [no test files] ? golang.org/x/tools/internal/lsp/debug [no test files] ? 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.011s ok golang.org/x/tools/internal/lsp/diff/difftest 0.318s ok golang.org/x/tools/internal/lsp/diff/myers 0.013s ok golang.org/x/tools/internal/lsp/fake 0.041s ok golang.org/x/tools/internal/lsp/fuzzy 0.041s ? golang.org/x/tools/internal/lsp/helper [no test files] ok golang.org/x/tools/internal/lsp/lsprpc 1.469s ok golang.org/x/tools/internal/lsp/mod 0.047s ? golang.org/x/tools/internal/lsp/protocol [no test files] ok golang.org/x/tools/internal/lsp/snippet 0.006s ok golang.org/x/tools/internal/lsp/source 26.608s ok golang.org/x/tools/internal/lsp/source/completion 0.043s ? golang.org/x/tools/internal/lsp/tests [no test files] ok golang.org/x/tools/internal/memoize 0.048s ? golang.org/x/tools/internal/packagesinternal [no test files] ok golang.org/x/tools/internal/proxydir 0.061s ok golang.org/x/tools/internal/span 0.010s ok golang.org/x/tools/internal/stack 0.006s ? 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.007s ok golang.org/x/tools/present 0.019s ok golang.org/x/tools/refactor/eg 4.340s ok golang.org/x/tools/refactor/importgraph 2.356s ok golang.org/x/tools/refactor/rename 0.097s ? golang.org/x/tools/refactor/satisfy [no test files] ok golang.org/x/tools/txtar 0.009s FAIL :: Running /tmp/workdir-host-dragonfly-amd64-5_8/go/bin/go with args ["/tmp/workdir-host-dragonfly-amd64-5_8/go/bin/go" "test" "-short" "golang.org/x/tools/gopls/..."] and env ["LOGNAME=root" "PAGER=less" "MAIL=/var/mail/root" "PATH=/tmp/workdir-host-dragonfly-amd64-5_8/go/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/root/bin" "EDITOR=vi" "HOST=gobuilder.local" "PWD=/" "GROUP=wheel" "USER=root" "HOME=/root" "HOSTTYPE=DragonFly" "SHELL=/bin/csh" "BLOCKSIZE=K" "RC_PID=2" "WORKDIR=/tmp/workdir-host-dragonfly-amd64-5_8" "GOROOT_BOOTSTRAP=/tmp/workdir-host-dragonfly-amd64-5_8/go1.4" "GO_BUILDER_NAME=dragonfly-amd64-5_8" "GOROOT_BOOTSTRAP=/usr/local/go" "GOROOT=/tmp/workdir-host-dragonfly-amd64-5_8/go" "GOPATH=/tmp/workdir-host-dragonfly-amd64-5_8/gopath" "GOPROXY=http://10.240.0.31:30157" "GOPROXY=https://proxy.golang.org" "TMPDIR=/tmp/workdir-host-dragonfly-amd64-5_8/tmp" "GOCACHE=/tmp/workdir-host-dragonfly-amd64-5_8/gocache"] in dir /tmp/workdir-host-dragonfly-amd64-5_8/gopath/src/golang.org/x/tools/gopls go: downloading github.com/sergi/go-diff v1.1.0 go: downloading github.com/sanity-io/litter v1.3.0 go: downloading honnef.co/go/tools v0.1.1 go: downloading mvdan.cc/gofumpt v0.1.0 go: downloading mvdan.cc/xurls/v2 v2.2.0 go: downloading github.com/jba/templatecheck v0.5.0 go: downloading github.com/google/safehtml v0.0.2 go: downloading github.com/google/go-cmp v0.5.4 go: downloading golang.org/x/text v0.3.3 go: downloading github.com/BurntSushi/toml v0.3.1 ? golang.org/x/tools/gopls [no test files] ok golang.org/x/tools/gopls/doc 7.616s ? 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.046s ok golang.org/x/tools/gopls/internal/regtest 0.052s ok golang.org/x/tools/gopls/internal/regtest/bench 0.056s ok golang.org/x/tools/gopls/internal/regtest/codelens 17.280s ok golang.org/x/tools/gopls/internal/regtest/completion 17.837s ok golang.org/x/tools/gopls/internal/regtest/diagnostics 173.348s ok golang.org/x/tools/gopls/internal/regtest/misc 82.301s ok golang.org/x/tools/gopls/internal/regtest/modfile 56.339s ok golang.org/x/tools/gopls/internal/regtest/watch 26.883s ok golang.org/x/tools/gopls/internal/regtest/workspace 30.425s ? golang.org/x/tools/gopls/release [no test files] ok golang.org/x/tools/gopls/test 43.241s ok golang.org/x/tools/gopls/test/debug 5.043s