Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls/test: flakes due to analyzer panics #56035

Closed
gopherbot opened this issue Oct 4, 2022 · 23 comments
Closed

x/tools/gopls/test: flakes due to analyzer panics #56035

gopherbot opened this issue Oct 4, 2022 · 23 comments
Assignees
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""

Issue created automatically to collect these failures.

Example (log):

2022/09/29 22:49:00 unable to find a Client to add the protocol.Server to
2022/09/29 22:49:13 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xb0375d]

goroutine 21892 [running]:
golang.org/x/tools/internal/bug.Report({0xc008cb7200, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf109f4?, 0x23?}, {0xc003e0f6c0?, 0xc0042580c0?, 0x0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1129940?, 0xc002c07000?}, {0xec3320?, 0xc007baa000?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x1129940?, 0xc002c07000?}, {0xc004215c20, 0x21}, 0xc0005f5f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 4, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-09-29 22:28 dragonfly-amd64-622 tools@d49f960b go@a14ac863 x/tools/gopls/test (log)
2022/09/29 22:49:00 unable to find a Client to add the protocol.Server to
2022/09/29 22:49:13 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xb0375d]

goroutine 21892 [running]:
golang.org/x/tools/internal/bug.Report({0xc008cb7200, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf109f4?, 0x23?}, {0xc003e0f6c0?, 0xc0042580c0?, 0x0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1129940?, 0xc002c07000?}, {0xec3320?, 0xc007baa000?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x1129940?, 0xc002c07000?}, {0xc004215c20, 0x21}, 0xc0005f5f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
2022-09-29 22:28 freebsd-amd64-race tools@d49f960b go@66165739 x/tools/gopls/test (log)
2022/09/30 11:37:02 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x17d07f4]

goroutine 18021 [running]:
golang.org/x/tools/internal/bug.Report({0xc007be02d0, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x42533d, 0x27}, {0xc007fc3240, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x711050, 0xc0050f3a40}, {0x3d7920?, 0xc007088a00})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x711050, 0xc0050f3a40}, {0xc007bc6ae0, 0x21}, 0xc005507f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-29 22:28 freebsd-amd64-race tools@d49f960b go@9faf6b79 x/tools/gopls/test (log)
2022/09/30 03:30:02 unable to find a Client to add the protocol.Server to
2022/09/30 03:30:19 unable to find a Client to add the protocol.Server to
2022/09/30 03:30:22 unable to find a Client to add the protocol.Server to
2022/09/30 03:30:25 unable to find a Client to add the protocol.Server to
2022/09/30 03:30:32 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x17c391b]

goroutine 95754 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x711050, 0xc002b17180}, {0x3d7920?, 0xc0032c7cc0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x711050, 0xc002b17180}, {0xc007a336e0, 0x21}, 0xc000408f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-29 22:28 freebsd-amd64-race tools@d49f960b go@2cbcf36e x/tools/gopls/test (log)
2022/09/30 02:11:14 unable to find a Client to add the protocol.Server to
2022/09/30 02:11:32 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 19150 [running]:
golang.org/x/tools/internal/bug.Report({0xc00026a360, 0x86}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x42533d, 0x27}, {0xc000427208, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x711050, 0xc003668cc0}, {0x3d7920?, 0xc00743d400})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x711050, 0xc003668cc0}, {0xc0090526f0, 0x21}, 0xc000a41f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-29 22:28 freebsd-amd64-race tools@d49f960b go@9d2c73a9 x/tools/gopls/test (log)
2022/09/29 22:45:18 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/generics panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18904 [running]:
golang.org/x/tools/internal/bug.Report({0xc007398f30, 0x84}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x14632f6, 0x27}, {0xc008823200, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1788390, 0xc00489a900}, {0x14166c0?, 0xc007d4c3c0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1788390, 0xc00489a900}, {0xc005b68270, 0x21}, 0xc008819f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-09-29 22:28 freebsd-amd64-race tools@d49f960b go@a14ac863 x/tools/gopls/test (log)
2022/09/29 22:35:39 unable to find a Client to add the protocol.Server to
2022/09/29 22:35:56 unable to find a Client to add the protocol.Server to
2022/09/29 22:35:59 unable to find a Client to add the protocol.Server to
2022/09/29 22:36:01 unable to find a Client to add the protocol.Server to
2022/09/29 22:36:10 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 94187 [running]:
golang.org/x/tools/internal/bug.Report({0xc00ab0c360, 0x86}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x711010, 0xc003020f40}, {0x3d7920?, 0xc009ff6c80})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x711010, 0xc003020f40}, {0xc0065eeb40, 0x21}, 0xc00c6c7790)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-29 22:28 freebsd-arm64-dmgk tools@d49f960b go@f6d84451 x/tools/gopls/test (log)
2022/10/01 22:55:57 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x6673b0]

goroutine 22408 [running]:
golang.org/x/tools/internal/bug.Report({0x4005b754d0, 0x8c}, 0x0)
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x400
golang.org/x/tools/internal/bug.Errorf({0xa41596?, 0x25?}, {0x4003ff75d8?, 0x0?, 0x0?})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x40
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0xc959b8?, 0x40087ba5c0?}, {0x9f4620?, 0x4008396c80?})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x58
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x90
runtime/trace.WithRegion({0xc959b8?, 0x40087ba5c0?}, {0x4005616570, 0x21}, 0x4003ff7f88)
	/tmp/workdir-host-freebsd-arm64-dmgk/go/src/runtime/trace/annotation.go:141 +0xc8
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x104
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1e0
2022-09-29 22:28 openbsd-amd64-70 tools@d49f960b go@157e018f x/tools/gopls/test (log)
2022/09/29 18:48:04 unable to find a Client to add the protocol.Server to
2022/09/29 18:48:16 unable to find a Client to add the protocol.Server to
2022/09/29 18:48:19 unable to find a Client to add the protocol.Server to
2022/09/29 18:48:23 unable to find a Client to add the protocol.Server to
2022/09/29 18:48:37 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 95062 [running]:
golang.org/x/tools/internal/bug.Report({0xc00b3be5a0, 0x86}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1129c80?, 0xc007823fc0?}, {0xec2240?, 0xc00381c8c0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x1129c80?, 0xc007823fc0?}, {0xc008f44a50, 0x21}, 0xc007581f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
2022-09-29 22:28 windows-amd64-race tools@d49f960b go@bf0a1ffb x/tools/gopls/test (log)
2022/09/29 22:59:10 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 16962 [running]:
golang.org/x/tools/internal/bug.Report({0xc00930c510, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153afc1, 0x27}, {0xc00835d208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x18327d0, 0xc00349cf80}, {0x14ec5e0?, 0xc007918b40})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x18327d0, 0xc00349cf80}, {0xc009837740, 0x21}, 0xc001a0ff90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 13:58 freebsd-amd64-race tools@b180effd go@9e0149da x/tools/gopls/test (log)
2022/09/30 17:27:27 unable to find a Client to add the protocol.Server to
2022/09/30 17:27:42 unable to find a Client to add the protocol.Server to
2022/09/30 17:27:45 unable to find a Client to add the protocol.Server to
2022/09/30 17:27:48 unable to find a Client to add the protocol.Server to
2022/09/30 17:27:54 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4016 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 94962 [running]:
golang.org/x/tools/internal/bug.Report({0xc00623d260, 0x52}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710970, 0xc004be81c0}, {0x3d7360?, 0xc0084d1a40})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710970, 0xc004be81c0}, {0xc00738cba0, 0x21}, 0xc001a08f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 13:58 freebsd-amd64-race tools@b180effd go@13159fef x/tools/gopls/test (log)
2022/09/30 14:23:48 unable to find a Client to add the protocol.Server to
2022/09/30 14:24:02 unable to find a Client to add the protocol.Server to
2022/09/30 14:24:04 unable to find a Client to add the protocol.Server to
2022/09/30 14:24:07 unable to find a Client to add the protocol.Server to
2022/09/30 14:24:13 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x17cf514]

goroutine 94374 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710970, 0xc00b3a4080}, {0x3d7360?, 0xc00b9063c0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710970, 0xc00b3a4080}, {0xc00b8cc3c0, 0x21}, 0xc0094fff90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 13:58 freebsd-amd64-race tools@b180effd go@9910f8a4 x/tools/gopls/test (log)
2022/09/30 14:06:26 unable to find a Client to add the protocol.Server to
2022/09/30 14:06:44 unable to find a Client to add the protocol.Server to
2022/09/30 14:06:46 unable to find a Client to add the protocol.Server to
2022/09/30 14:06:49 unable to find a Client to add the protocol.Server to
2022/09/30 14:06:55 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x17cf4f4]

goroutine 92145 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710950, 0xc003138380}, {0x3d7360?, 0xc0076a2a00})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710950, 0xc003138380}, {0xc0007ba810, 0x21}, 0xc00c0def90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 13:58 windows-amd64-race tools@b180effd go@4e6f9634 x/tools/gopls/test (log)
2022/09/30 17:49:46 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xf68934]

goroutine 18544 [running]:
golang.org/x/tools/internal/bug.Report({0xc001458ea0, 0x8c}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a9b0, 0x27}, {0xc004f87250, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832110, 0xc002c8f600}, {0x14ec020?, 0xc00950bb80})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832110, 0xc002c8f600}, {0xc008162b40, 0x21}, 0xc0006d1f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 13:58 windows-amd64-race tools@b180effd go@9e0149da x/tools/gopls/test (log)
2022/09/30 17:28:38 unable to find a Client to add the protocol.Server to
2022/09/30 17:29:16 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18351 [running]:
golang.org/x/tools/internal/bug.Report({0xc007ee0000, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a9b0, 0x27}, {0xc007c3f208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832110, 0xc001a5fd80}, {0x14ec020?, 0xc00761e780})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832110, 0xc001a5fd80}, {0xc009f19170, 0x21}, 0xc001fa7f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 13:58 windows-amd64-race tools@b180effd go@f6d84451 x/tools/gopls/test (log)
2022/09/30 14:09:29 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 19106 [running]:
golang.org/x/tools/internal/bug.Report({0xc00737a7e0, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x14d6147, 0x27}, {0xc00936d200, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x18108f8, 0xc005db6100}, {0x1488060?, 0xc0054f0dc0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x18108f8, 0xc005db6100}, {0xc0074cfd70, 0x21}, 0xc0022d3f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 17:40 freebsd-amd64-race tools@ed98f10c go@4a49af57 x/tools/gopls/test (log)
2022/09/30 19:23:51 unable to find a Client to add the protocol.Server to
2022/09/30 19:24:08 unable to find a Client to add the protocol.Server to
2022/09/30 19:24:10 unable to find a Client to add the protocol.Server to
2022/09/30 19:24:13 unable to find a Client to add the protocol.Server to
2022/09/30 19:24:23 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4016 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 97540 [running]:
golang.org/x/tools/internal/bug.Report({0xc004b3fb00, 0x52}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x7109f0, 0xc005129dc0}, {0x3d7360?, 0xc005d47040})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x7109f0, 0xc005129dc0}, {0xc0087327b0, 0x21}, 0xc00b8c6f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 17:40 windows-amd64-race tools@ed98f10c go@4a49af57 x/tools/gopls/test (log)
2022/09/30 19:20:41 unable to find a Client to add the protocol.Server to
2022/09/30 19:21:18 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xf68934]

goroutine 20498 [running]:
golang.org/x/tools/internal/bug.Report({0xc00818a990, 0x8c}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a9d0, 0x27}, {0xc008995250, 0x3, 0x3})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832190, 0xc008f846c0}, {0x14ec020?, 0xc00599edc0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832190, 0xc008f846c0}, {0xc008aa9b30, 0x21}, 0xc00258df90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 dragonfly-amd64-622 tools@3e0355b8 go@cc90e45f x/tools/gopls/test (log)
2022/10/01 00:07:33 unable to find a Client to add the protocol.Server to
panic: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis fact_purity for package golang.org/lsptests/rename/issue42134 panicked: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package

goroutine 18953 [running]:
golang.org/x/tools/internal/bug.Report({0xc00025c500, 0x13b}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf10107?, 0x25?}, {0xc005213580?, 0xd7b13d?, 0xea67a0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1129080?, 0xc006ee3200?}, {0xec2a40?, 0xc00478f900?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x1129080?, 0xc006ee3200?}, {0xc003e9f440, 0x21}, 0xc00879cf90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
2022-09-30 19:58 freebsd-amd64-race tools@3e0355b8 go@17622b89 x/tools/gopls/test (log)
2022/10/03 15:32:35 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 20661 [running]:
golang.org/x/tools/internal/bug.Report({0xc000355050, 0x86}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x424dff, 0x27}, {0xc0097d3208, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710b30, 0xc008550300}, {0x3d73e0?, 0xc0077e4dc0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710b30, 0xc008550300}, {0xc0075356e0, 0x21}, 0xc005af8f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 freebsd-amd64-race tools@3e0355b8 go@e7e554e5 x/tools/gopls/test (log)
2022/10/03 09:09:50 unable to find a Client to add the protocol.Server to
2022/10/03 09:10:08 unable to find a Client to add the protocol.Server to
2022/10/03 09:10:11 unable to find a Client to add the protocol.Server to
2022/10/03 09:10:15 unable to find a Client to add the protocol.Server to
2022/10/03 09:10:22 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/generics panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 94511 [running]:
golang.org/x/tools/internal/bug.Report({0xc00ac321b0, 0x84}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710b30, 0xc0064daa80}, {0x3d73e0?, 0xc002977040})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710b30, 0xc0064daa80}, {0xc00a7fdb30, 0x21}, 0xc00882cf90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 freebsd-amd64-race tools@3e0355b8 go@18888751 x/tools/gopls/test (log)
2022/10/02 02:44:25 unable to find a Client to add the protocol.Server to
2022/10/02 02:44:43 unable to find a Client to add the protocol.Server to
2022/10/02 02:44:45 unable to find a Client to add the protocol.Server to
2022/10/02 02:44:48 unable to find a Client to add the protocol.Server to
2022/10/02 02:44:56 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x17d0314]

goroutine 93948 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710b30, 0xc006a85600}, {0x3d73e0?, 0xc006a91900})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710b30, 0xc006a85600}, {0xc0069e0900, 0x21}, 0xc00c821f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 freebsd-amd64-race tools@3e0355b8 go@738a2caf x/tools/gopls/test (log)
2022/10/01 06:59:00 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/generics panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18669 [running]:
golang.org/x/tools/internal/bug.Report({0xc007892750, 0x84}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x424c9f, 0x27}, {0xc008f33208, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x7109b0, 0xc00276fa00}, {0x3d7280?, 0xc008a5e140})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x7109b0, 0xc00276fa00}, {0xc003162c60, 0x21}, 0xc0005e4f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 freebsd-amd64-race tools@3e0355b8 go@f6d84451 x/tools/gopls/test (log)
2022/10/02 02:49:34 unable to find a Client to add the protocol.Server to
2022/10/02 02:49:52 unable to find a Client to add the protocol.Server to
2022/10/02 02:49:54 unable to find a Client to add the protocol.Server to
2022/10/02 02:49:57 unable to find a Client to add the protocol.Server to
2022/10/02 02:50:06 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xfab6d6]

goroutine 96188 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1807ab8, 0xc00abede40}, {0x148bec0?, 0xc00a6e7e00})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1807ab8, 0xc00abede40}, {0xc009df18c0, 0x21}, 0xc00b131f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 freebsd-amd64-race tools@3e0355b8 go@c9a62b7e x/tools/gopls/test (log)
2022/10/01 00:25:20 unable to find a Client to add the protocol.Server to
2022/10/01 00:25:37 unable to find a Client to add the protocol.Server to
2022/10/01 00:25:39 unable to find a Client to add the protocol.Server to
2022/10/01 00:25:42 unable to find a Client to add the protocol.Server to
2022/10/01 00:25:50 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 97253 [running]:
golang.org/x/tools/internal/bug.Report({0xc004432b40, 0x86}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x710950, 0xc0034a1c00}, {0x3d7280?, 0xc00b83ec80})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x710950, 0xc0034a1c00}, {0xc005018e10, 0x21}, 0xc00551ff90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 openbsd-amd64-70 tools@3e0355b8 go@738a2caf x/tools/gopls/test (log)
2022/10/01 00:03:55 unable to find a Client to add the protocol.Server to
2022/10/01 00:04:11 unable to find a Client to add the protocol.Server to
2022/10/01 00:04:15 unable to find a Client to add the protocol.Server to
2022/10/01 00:04:19 unable to find a Client to add the protocol.Server to
2022/10/01 00:04:36 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xb0b99b]

goroutine 94868 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1129620?, 0xc00adb1940?}, {0xec1be0?, 0xc009980780?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x1129620?, 0xc00adb1940?}, {0xc00abcae10, 0x21}, 0xc0082e9790)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
2022-09-30 19:58 windows-amd64-race tools@3e0355b8 go@17622b89 x/tools/gopls/test (log)
2022/10/03 15:30:53 unable to find a Client to add the protocol.Server to
2022/10/03 15:31:29 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xf68cf4]

goroutine 21660 [running]:
golang.org/x/tools/internal/bug.Report({0xc0022193b0, 0x8a}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a943, 0x27}, {0xc005f79250, 0x3, 0x3})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832170, 0xc005047800}, {0x14ebf60?, 0xc007f07040})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832170, 0xc005047800}, {0xc0055d7500, 0x21}, 0xc000561f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 windows-amd64-race tools@3e0355b8 go@51297dd6 x/tools/gopls/test (log)
2022/10/02 02:41:13 unable to find a Client to add the protocol.Server to
2022/10/02 02:41:49 unable to find a Client to add the protocol.Server to
2022/10/02 02:41:55 unable to find a Client to add the protocol.Server to
2022/10/02 02:42:03 unable to find a Client to add the protocol.Server to
2022/10/02 02:42:17 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 88085 [running]:
golang.org/x/tools/internal/bug.Report({0xc002b28090, 0x86}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832170, 0xc004c16500}, {0x14ebf60?, 0xc00b19d040})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832170, 0xc004c16500}, {0xc00c4d5740, 0x21}, 0xc00a74df90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 windows-amd64-race tools@3e0355b8 go@5f566d35 x/tools/gopls/test (log)
2022/10/01 08:49:17 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xf68cf4]

goroutine 18354 [running]:
golang.org/x/tools/internal/bug.Report({0xc006fa23f0, 0x8a}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a943, 0x27}, {0xc008faf250, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832170, 0xc006a8df80}, {0x14ebf60?, 0xc008032b40})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832170, 0xc006a8df80}, {0xc006cd47e0, 0x21}, 0xc000711f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 windows-amd64-race tools@3e0355b8 go@738a2caf x/tools/gopls/test (log)
2022/10/01 06:56:35 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4000 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 20650 [running]:
golang.org/x/tools/internal/bug.Report({0xc0076f2ae0, 0x52}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a943, 0x27}, {0xc0090dae88, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832170, 0xc00661a400}, {0x14ebf60?, 0xc009a29040})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832170, 0xc00661a400}, {0xc0076ed830, 0x21}, 0xc003c63f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-09-30 19:58 windows-amd64-race tools@3e0355b8 go@f6d84451 x/tools/gopls/test (log)
2022/10/02 02:58:06 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xfac5f6]

goroutine 20033 [running]:
golang.org/x/tools/internal/bug.Report({0xc007895320, 0x8c}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x14d61cb, 0x27}, {0xc0090cd230, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1810a98, 0xc0034a6140}, {0x14880a0?, 0xc006f02000})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1810a98, 0xc0034a6140}, {0xc007c5aea0, 0x21}, 0xc001aeff90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-03 15:32 openbsd-386-68 tools@55e5cff6 go@9d2c73a9 x/tools/gopls/test (log)
2022/10/03 08:52:14 unable to find a Client to add the protocol.Server to
panic: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis fact_purity for package golang.org/lsptests/rename/issue42134 panicked: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package

goroutine 20898 [running]:
golang.org/x/tools/internal/bug.Report({0x64590640, 0x13b}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x416
golang.org/x/tools/internal/bug.Errorf({0x8a570d3, 0x27}, {0x6145ba6c, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x8c92ef0, 0x65f92ed0}, {0x8a092a0, 0x6682a210})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x64
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x96
runtime/trace.WithRegion({0x8c92ef0, 0x65f92ed0}, {0x63e27350, 0x21}, 0x63209fcc)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe0
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x121
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1d6
2022-10-03 15:32 openbsd-amd64-70 tools@55e5cff6 go@f6d84451 x/tools/gopls/test (log)
2022/10/03 08:48:34 unable to find a Client to add the protocol.Server to
panic: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis fact_purity for package golang.org/lsptests/rename/issue42134 panicked: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package

goroutine 20269 [running]:
golang.org/x/tools/internal/bug.Report({0xc0002bf180, 0x13b}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x445
golang.org/x/tools/internal/bug.Errorf({0xf1e911?, 0x25?}, {0xc000019578?, 0xe420e0?, 0xeb3c60?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x11761b8?, 0xc008551200?}, {0xed0900?, 0xc0076a8a00?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x11761b8?, 0xc008551200?}, {0xc0028f5740, 0x21}, 0xc004306f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
2022-10-03 15:32 windows-amd64-race tools@55e5cff6 go@6d8ec893 x/tools/gopls/test (log)
2022/10/03 20:32:31 unable to find a Client to add the protocol.Server to
2022/10/03 20:33:07 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/generics panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 21539 [running]:
golang.org/x/tools/internal/bug.Report({0xc00775acf0, 0x84}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x153a948, 0x27}, {0xc00993d208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1832170, 0xc003f6c740}, {0x14ebf60?, 0xc008444780})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1832170, 0xc003f6c740}, {0xc008785590, 0x21}, 0xc003063f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:03 freebsd-amd64-race tools@40dabfa8 go@f6d84451 x/tools/gopls/test (log)
2022/10/04 16:13:32 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18779 [running]:
golang.org/x/tools/internal/bug.Report({0xc004c08000, 0x86}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x14dafd6, 0x27}, {0xc004c41200, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x180a0b8, 0xc000804d40}, {0x148de40?, 0xc007e68140})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x180a0b8, 0xc000804d40}, {0xc007e2c6f0, 0x21}, 0xc0016e9f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:03 freebsd-amd64-race tools@40dabfa8 go@9d2c73a9 x/tools/gopls/test (log)
2022/10/04 16:19:34 unable to find a Client to add the protocol.Server to
2022/10/04 16:20:13 unable to find a Client to add the protocol.Server to
2022/10/04 16:20:19 unable to find a Client to add the protocol.Server to
2022/10/04 16:20:28 unable to find a Client to add the protocol.Server to
2022/10/04 16:20:42 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4000 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 95583 [running]:
golang.org/x/tools/internal/bug.Report({0xc007127320, 0x52}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x178bad0, 0xc001369340}, {0x1419640?, 0xc00424c000})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x178bad0, 0xc001369340}, {0xc00037ab70, 0x21}, 0xc009874f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 16:03 windows-amd64-race tools@40dabfa8 go@fa463cc9 x/tools/gopls/test (log)
2022/10/04 16:19:44 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 16076 [running]:
golang.org/x/tools/internal/bug.Report({0xc007dbe870, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c58a3, 0x27}, {0xc006515208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd770, 0xc0035bf1c0}, {0x1476ea0?, 0xc006e2edc0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd770, 0xc0035bf1c0}, {0xc007dd6480, 0x21}, 0xc00250bf90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:03 windows-amd64-race tools@40dabfa8 go@f6d84451 x/tools/gopls/test (log)
2022/10/04 16:23:33 unable to find a Client to add the protocol.Server to
2022/10/04 16:24:10 unable to find a Client to add the protocol.Server to
2022/10/04 16:24:16 unable to find a Client to add the protocol.Server to
2022/10/04 16:24:25 unable to find a Client to add the protocol.Server to
2022/10/04 16:24:39 unable to find a Client to add the protocol.Server to
2022/10/04 16:25:08 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xfaf0d6]

...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1814078, 0xc0006bf040}, {0x148b020?, 0xc00bade3c0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1814078, 0xc0006bf040}, {0xc006731f50, 0x21}, 0xc00406ff90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:03 windows-amd64-race tools@40dabfa8 go@9d2c73a9 x/tools/gopls/test (log)
2022/10/04 16:20:55 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 20283 [running]:
golang.org/x/tools/internal/bug.Report({0xc006832d80, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x1858a84, 0x27}, {0xc003af1200, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1b87c90, 0xc001b58e40}, {0x180b0c0?, 0xc0093488c0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1b87c90, 0xc001b58e40}, {0xc005d3d3e0, 0x21}, 0xc0038d9f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@89566448 x/tools/gopls/test (log)
2022/10/04 18:09:00 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xfa106f]

goroutine 20821 [running]:
golang.org/x/tools/internal/bug.Report({0xc006854630, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x14dc213, 0x27}, {0xc005709358, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x180b318, 0xc0014efb00}, {0x148f060?, 0xc003ce23c0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x180b318, 0xc0014efb00}, {0xc004a424b0, 0x21}, 0xc000079f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@dfd8aa46 x/tools/gopls/test (log)
2022/10/04 18:13:23 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4000 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 15631 [running]:
golang.org/x/tools/internal/bug.Report({0xc0090387e0, 0x52}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c683f, 0x27}, {0xc0006f4e88, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2bf0, 0xc002251180}, {0x1478e00?, 0xc009892c80})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2bf0, 0xc002251180}, {0xc003394bd0, 0x21}, 0xc00110ef90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@e9017c24 x/tools/gopls/test (log)
2022/10/04 17:44:38 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xf4b057]

goroutine 22513 [running]:
golang.org/x/tools/internal/bug.Report({0xc0084f45a0, 0x8c}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x14674da, 0x27}, {0xc007283228, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x178cd10, 0xc003f87080}, {0x141a840?, 0xc008e69540})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x178cd10, 0xc003f87080}, {0xc002a9f7d0, 0x21}, 0xc008a9df90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@fa463cc9 x/tools/gopls/test (log)
2022/10/04 16:38:55 unable to find a Client to add the protocol.Server to
2022/10/04 16:39:12 unable to find a Client to add the protocol.Server to
2022/10/04 16:39:14 unable to find a Client to add the protocol.Server to
2022/10/04 16:39:17 unable to find a Client to add the protocol.Server to
2022/10/04 16:39:23 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4016 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 90701 [running]:
golang.org/x/tools/internal/bug.Report({0xc00b820d80, 0x52}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2bf0, 0xc00b8236c0}, {0x1478e00?, 0xc00a0523c0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2bf0, 0xc00b8236c0}, {0xc00b805a40, 0x21}, 0xc00ab20f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@9d2c73a9 x/tools/gopls/test (log)
2022/10/04 16:34:59 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xf4a6d7]

goroutine 21227 [running]:
golang.org/x/tools/internal/bug.Report({0xc006c201b0, 0x8c}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x14662da, 0x27}, {0xc00874d228, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x178bad0, 0xc003fc4640}, {0x1419640?, 0xc003e30640})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x178bad0, 0xc003fc4640}, {0xc00494edb0, 0x21}, 0xc003a08f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@f6d84451 x/tools/gopls/test (log)
2022/10/04 16:33:37 unable to find a Client to add the protocol.Server to
2022/10/04 16:33:54 unable to find a Client to add the protocol.Server to
2022/10/04 16:33:57 unable to find a Client to add the protocol.Server to
2022/10/04 16:33:59 unable to find a Client to add the protocol.Server to
2022/10/04 16:34:07 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xfae1b6]

goroutine 97137 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x180a098, 0xc0048b3f40}, {0x148de40?, 0xc001e85b80})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x180a098, 0xc0048b3f40}, {0xc009356180, 0x21}, 0xc0026f1f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:29 windows-amd64-race tools@7f79a022 go@e9017c24 x/tools/gopls/test (log)
2022/10/04 17:42:30 unable to find a Client to add the protocol.Server to
2022/10/04 17:43:08 unable to find a Client to add the protocol.Server to
2022/10/04 17:43:12 unable to find a Client to add the protocol.Server to
2022/10/04 17:43:20 unable to find a Client to add the protocol.Server to
2022/10/04 17:43:34 unable to find a Client to add the protocol.Server to
2022/10/04 17:43:59 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0x15e3557]

...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1e27ed0, 0xc002d01b00}, {0x1aab2c0?, 0xc0091ff180})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1e27ed0, 0xc002d01b00}, {0xc005c83920, 0x21}, 0xc0000fdf90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 16:29 windows-amd64-race tools@7f79a022 go@0a723816 x/tools/gopls/test (log)
2022/10/04 17:47:32 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18323 [running]:
golang.org/x/tools/internal/bug.Report({0xc005639560, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x1c58a84, 0x27}, {0xc009231200, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1f87c90, 0xc003789b80}, {0x1c0b0c0?, 0xc0001d7400})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1f87c90, 0xc003789b80}, {0xc0062aac60, 0x21}, 0xc000b05f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 16:29 windows-amd64-race tools@7f79a022 go@9d2c73a9 x/tools/gopls/test (log)
2022/10/04 16:45:43 unable to find a Client to add the protocol.Server to
2022/10/04 16:46:20 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0x1bc2bd7]

goroutine 21856 [running]:
golang.org/x/tools/internal/bug.Report({0xc0039a86c0, 0x8a}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x20d8a84, 0x27}, {0xc005157230, 0x3, 0x3})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x2407c90, 0xc0019db580}, {0x208b0c0?, 0xc005b4bb80})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x2407c90, 0xc0019db580}, {0xc004cd4270, 0x21}, 0xc00102df90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359

watchflakes

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Oct 4, 2022
@gopherbot gopherbot added this to the Unreleased milestone Oct 4, 2022
@findleyr findleyr changed the title x/tools/gopls/test: unrecognized failures x/tools/gopls/test: flakes due to analyzer panics Oct 5, 2022
@findleyr
Copy link
Contributor

findleyr commented Oct 5, 2022

The cause of this is a recent change to report analysis panics during testing (https://go.dev/cl/426018).

In light of the frequency of these flakes, we may need to roll that back following investigation.

CC @adonovan

@gopherbot
Copy link
Author

Change https://go.dev/cl/439116 mentions this issue: gopls/internal/lsp/cache: in tests, show all stacks during analyzer crash

gopherbot pushed a commit to golang/tools that referenced this issue Oct 5, 2022
…rash

We recently started using bug.Errorf to report analyzer crashes,
causing tests to fail sporadically. Unfortunately the log included
only the "panicked" message but not the relevant stack of the panic
or of the other goroutines, giving limited evidence on which to
investigate the underlying cause, suspected to be in package loading,
not the analyzer itself.

This change causes such crashes to display all stacks so that we
can gather more evidence over the next few days before we suppress
the crashes again.

Updates golang/go#54762
Updates golang/go#56035

Change-Id: I2d29e05b5910540918816e695b458463a05f94d9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/439116
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
@suzmue suzmue modified the milestones: Unreleased, gopls/v0.10.0 Oct 5, 2022
@gopherbot
Copy link
Author

Change https://go.dev/cl/440178 mentions this issue: gopls/internal/lsp/cache: suppress crashes in fact_purity analyzer

gopherbot pushed a commit to golang/tools that referenced this issue Oct 7, 2022
It has a known bug, and the purpose of the PanicOnBugs is to
find unknown bugs.

Updates golang/go#54762
Updates golang/go#56035

Change-Id: Id9fdfff478ef52b1d864acee366991808baeb574
Reviewed-on: https://go-review.googlesource.com/c/tools/+/440178
Run-TryBot: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
@gopherbot
Copy link
Author

Change https://go.dev/cl/440179 mentions this issue: gopls/internal/lsp/cache: suppress panics during analysis

gopherbot pushed a commit to golang/tools that referenced this issue Oct 7, 2022
We now have a plausible model for the cause of the analysis
crashes and are disabling this check until we have submitted
a plausible fix.

(Specifically: actionHandle.promise may be a stale promise
for an older package with the same ID, since snapshot.actions
uses the package ID as a key. This causes us to re-use
stale inspectors, whose syntax nodes won't be found in TypesInfo.)

Updates golang/go#54762
Updates golang/go#56035

Change-Id: I1a7cc1b02b8c322692b1a6bee03f6cd858c08ea0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/440179
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
@gopherbot
Copy link
Author

Change https://go.dev/cl/420538 mentions this issue: internal/lsp/cache: invalidate analysis results on packages.Load

gopherbot pushed a commit to golang/tools that referenced this issue Oct 11, 2022
Most invalidation happens in snapshot.clone, but to be safe we were also
invalidating package data when new metadata is set via packages.Load. At
the time, I wasn't sure why this was necessary.

Now I understand: with experimentalUseInvalidMetadata it is possible
that we re-compute invalidated data using stale metadata in between the
initial clone and the subsequent reload. I noticed that it was also
possible to have stale analysis results after the Load results arrive.

Fix this by invalidating analysis results on Load, in addition to
packages. Factor out invalidation into a new helper method.

Since we believe this may fix analyzer panics, re-enable strict handling
of analysis panics during tests.

For golang/go#56035
For golang/go#54762
For golang/go#42857

Change-Id: I8c28e0700f8c16c58df4ecf60f6127b1c05d6dc5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/420538
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-04 16:29 freebsd-amd64-race tools@7f79a022 go@8bd803fd x/tools/gopls/test (log)
2022/10/04 18:29:20 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xfa4cb4]

goroutine 17380 [running]:
golang.org/x/tools/internal/bug.Report({0xc000143290, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c683f, 0x27}, {0xc000019240, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2bf0, 0xc00903b240}, {0x1478e00?, 0xc006c54640})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2bf0, 0xc00903b240}, {0xc00901f590, 0x21}, 0xc0006f1f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:29 windows-amd64-race tools@7f79a022 go@89566448 x/tools/gopls/test (log)
2022/10/04 18:16:17 unable to find a Client to add the protocol.Server to
panic: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis fact_purity for package golang.org/lsptests/rename/issue42134 panicked: internal error: in analysis fact_purity of package golang.org/lsptests/rename/issue42134: Fact.Set(func golang.org/lsptests/rename/issue42134.min(a int, b int) int, *purity.IsPure): can't set facts on objects belonging another package

goroutine 17970 [running]:
golang.org/x/tools/internal/bug.Report({0xc0071f6f00, 0x13b}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x14da3a8, 0x27}, {0xc00112d188, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x18152f8, 0xc0059819c0}, {0x148c240?, 0xc007af83c0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x18152f8, 0xc0059819c0}, {0xc008a1d410, 0x21}, 0xc003cedf90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 16:29 windows-amd64-race tools@7f79a022 go@947091d3 x/tools/gopls/test (log)
2022/10/04 18:12:42 unable to find a Client to add the protocol.Server to
2022/10/04 18:13:18 unable to find a Client to add the protocol.Server to
2022/10/04 18:13:23 unable to find a Client to add the protocol.Server to
2022/10/04 18:13:30 unable to find a Client to add the protocol.Server to
2022/10/04 18:13:43 unable to find a Client to add the protocol.Server to
2022/10/04 18:14:09 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x1615b2c]

...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x1e67ed0, 0xc003041740}, {0x1aeb2c0?, 0xc009abbb80})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x1e67ed0, 0xc003041740}, {0xc00622bce0, 0x21}, 0xc002991f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 18:24 dragonfly-amd64-622 tools@dc88e7b4 go@ddc7d2a8 x/tools/gopls/test (log)
2022/10/05 02:58:16 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4000 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 21336 [running]:
golang.org/x/tools/internal/bug.Report({0xc007f445a0, 0x52}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf12991?, 0x23?}, {0xc0058633e8?, 0xde09c0?, 0xde4300?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x112bde0?, 0xc007f42a40?}, {0xec52a0?, 0xc0052a7a40?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0x5a
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
runtime/trace.WithRegion({0x112bde0?, 0xc007f42a40?}, {0xc007e5dd10, 0x21}, 0xc000ca8f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
2022-10-04 18:24 freebsd-amd64-race tools@dc88e7b4 go@7d3a5a50 x/tools/gopls/test (log)
2022/10/05 14:58:48 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xf9809b]

goroutine 20404 [running]:
golang.org/x/tools/internal/bug.Report({0xc008cc4900, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c689a, 0x27}, {0xc004b6b358, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2d10, 0xc001957280}, {0x1478e60?, 0xc006292dc0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2d10, 0xc001957280}, {0xc0088d3500, 0x21}, 0xc0011f8f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 freebsd-amd64-race tools@dc88e7b4 go@c591d82e x/tools/gopls/test (log)
2022/10/05 01:19:38 unable to find a Client to add the protocol.Server to
2022/10/05 01:19:55 unable to find a Client to add the protocol.Server to
2022/10/05 01:19:58 unable to find a Client to add the protocol.Server to
2022/10/05 01:20:02 unable to find a Client to add the protocol.Server to
2022/10/05 01:20:09 unable to find a Client to add the protocol.Server to
2022/10/05 01:20:24 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0xfa4f74]

...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2d10, 0xc0032e1300}, {0x1478e60?, 0xc00ccff180})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2d10, 0xc0032e1300}, {0xc0017d8720, 0x21}, 0xc00a8c7f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 freebsd-amd64-race tools@dc88e7b4 go@d1187438 x/tools/gopls/test (log)
2022/10/05 00:58:06 unable to find a Client to add the protocol.Server to
2022/10/05 00:58:23 unable to find a Client to add the protocol.Server to
2022/10/05 00:58:25 unable to find a Client to add the protocol.Server to
2022/10/05 00:58:28 unable to find a Client to add the protocol.Server to
2022/10/05 00:58:33 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 94250 [running]:
golang.org/x/tools/internal/bug.Report({0xc002b28b40, 0x86}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2d10, 0xc006d21f00}, {0x1478e60?, 0xc002abdb80})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2d10, 0xc006d21f00}, {0xc007e963f0, 0x21}, 0xc00a2c2f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 freebsd-amd64-race tools@dc88e7b4 go@e7d203f4 x/tools/gopls/test (log)
2022/10/04 23:23:34 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 22077 [running]:
golang.org/x/tools/internal/bug.Report({0xc003e92120, 0x86}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c683f, 0x27}, {0xc00066d208, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17b2bf0, 0xc001cb8240}, {0x1478e00?, 0xc0086368c0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17b2bf0, 0xc001cb8240}, {0xc008cc8600, 0x21}, 0xc001a91f90)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 freebsd-amd64-race tools@dc88e7b4 go@947091d3 x/tools/gopls/test (log)
2022/10/05 15:39:06 unable to find a Client to add the protocol.Server to
panic: nil type [recovered]
	panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4000 for package golang.org/lsptests/rename/generics panicked: nil type

goroutine 19989 [running]:
golang.org/x/tools/internal/bug.Report({0xc00597b380, 0x52}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x14674da, 0x27}, {0xc008094e70, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x178cd10, 0xc005180380}, {0x141a840?, 0xc008c7cdc0})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x178cd10, 0xc005180380}, {0xc00326bda0, 0x21}, 0xc007e94790)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x359
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@47a53884 x/tools/gopls/test (log)
2022/10/05 15:22:57 unable to find a Client to add the protocol.Server to
2022/10/05 15:23:34 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/generics panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 21706 [running]:
golang.org/x/tools/internal/bug.Report({0xc005286090, 0x84}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c58fe, 0x27}, {0xc0046d1208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd8b0, 0xc0029c28c0}, {0x1476f00?, 0xc0081103c0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd8b0, 0xc0029c28c0}, {0xc0052fc840, 0x21}, 0xc0038adf90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@9f78c3cb x/tools/gopls/test (log)
2022/10/05 15:15:19 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18133 [running]:
golang.org/x/tools/internal/bug.Report({0xc0073d2630, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c58fe, 0x27}, {0xc0055bf208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd8b0, 0xc002610c80}, {0x1476f00?, 0xc008213040})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd8b0, 0xc002610c80}, {0xc0073b53e0, 0x21}, 0xc0041b9f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@7d3a5a50 x/tools/gopls/test (log)
2022/10/05 15:04:06 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 18465 [running]:
golang.org/x/tools/internal/bug.Report({0xc007dc6f30, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c58fe, 0x27}, {0xc0087c1208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd8b0, 0xc003648d00}, {0x1476f00?, 0xc009c4ca00})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd8b0, 0xc003648d00}, {0xc00933fa40, 0x21}, 0xc0020c5f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@89566448 x/tools/gopls/test (log)
2022/10/05 15:38:29 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xfafc16]

goroutine 18562 [running]:
golang.org/x/tools/internal/bug.Report({0xc00719e900, 0x8c}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x14da3a8, 0x27}, {0xc00195b230, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x18152f8, 0xc0018f4780}, {0x148c240?, 0xc0082e6f00})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x18152f8, 0xc0018f4780}, {0xc004ff8510, 0x21}, 0xc001ab9f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@c591d82e x/tools/gopls/test (log)
2022/10/05 01:29:14 unable to find a Client to add the protocol.Server to
2022/10/05 01:29:51 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA1019 for package golang.org/lsptests/rename/issue42134 panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xfa8114]

goroutine 20939 [running]:
golang.org/x/tools/internal/bug.Report({0xc00689c870, 0x8c}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c58fe, 0x27}, {0xc006d13250, 0x3, 0x3})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd8b0, 0xc0045b8700}, {0x1476f00?, 0xc00880a780})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd8b0, 0xc0045b8700}, {0xc006980bd0, 0x21}, 0xc001a23f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@3380ee25 x/tools/gopls/test (log)
2022/10/04 21:41:55 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 19433 [running]:
golang.org/x/tools/internal/bug.Report({0xc006f3ab40, 0x86}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x14c58a3, 0x27}, {0xc006e17208, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func9.1()
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd750, 0xc004886d00}, {0x1476ea0?, 0xc009a257c0})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd750, 0xc004886d00}, {0xc0076cd770, 0x21}, 0xc00420ff90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@058f019e x/tools/gopls/test (log)
2022/10/04 19:50:35 unable to find a Client to add the protocol.Server to
2022/10/04 19:51:09 unable to find a Client to add the protocol.Server to
2022/10/04 19:51:14 unable to find a Client to add the protocol.Server to
2022/10/04 19:51:22 unable to find a Client to add the protocol.Server to
2022/10/04 19:51:36 unable to find a Client to add the protocol.Server to
panic: interface conversion: types.Type is nil, not *types.Struct [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA5008 for package golang.org/lsptests/rename/issue42134 panicked: interface conversion: types.Type is nil, not *types.Struct

goroutine 87763 [running]:
golang.org/x/tools/internal/bug.Report({0xc008fc4bd0, 0x86}, 0x0)
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd770, 0xc003139280}, {0x1476ea0?, 0xc0096fb680})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd770, 0xc003139280}, {0xc008f69830, 0x21}, 0xc00a643f90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a
2022-10-04 18:24 windows-amd64-race tools@dc88e7b4 go@841873f2 x/tools/gopls/test (log)
2022/10/04 19:08:16 unable to find a Client to add the protocol.Server to
2022/10/04 19:08:54 unable to find a Client to add the protocol.Server to
2022/10/04 19:09:01 unable to find a Client to add the protocol.Server to
2022/10/04 19:09:09 unable to find a Client to add the protocol.Server to
2022/10/04 19:09:28 unable to find a Client to add the protocol.Server to
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: analysis SA4003 for package golang.org/lsptests/rename/generics panicked: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0xf9af7b]

goroutine 85716 [running]:
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).actionHandle.func1({0x17bd770, 0xc007f38e40}, {0x1476ea0?, 0xc00bde2280})
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:166 +0xd0
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xf0
runtime/trace.WithRegion({0x17bd770, 0xc007f38e40}, {0xc009cc9560, 0x21}, 0xc0091edf90)
	C:/workdir/go/src/runtime/trace/annotation.go:141 +0x136
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x165
created by golang.org/x/tools/internal/memoize.(*Promise).run
	C:/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x36a

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 freebsd-amd64-race tools@9ffaf69c go@89566448 x/tools/gopls/test (log)
2022/10/13 20:59:56 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency deepequalerrors@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 17851 [running]:
golang.org/x/tools/internal/bug.Report({0xc0004ea0a0, 0x95}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x15827e9, 0x3a}, {0xc007baf8f0, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x4c3
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x87
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x12f
2022-10-13 20:55 openbsd-amd64-68 tools@9ffaf69c go@89566448 x/tools/gopls/test (log)
2022/10/13 14:01:29 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency composites@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 16775 [running]:
golang.org/x/tools/internal/bug.Report({0xc007c593b0, 0x90}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x445
golang.org/x/tools/internal/bug.Errorf({0xf8ced0?, 0x25?}, {0xc0021d8b40?, 0x16?, 0xc008c12140?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x32d
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa5

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 openbsd-386-68 tools@9ffaf69c go@005c78d8 x/tools/gopls/test (log)
2022/10/13 14:15:36 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency QF1012@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 20892 [running]:
golang.org/x/tools/internal/bug.Report({0x6c930090, 0x8c}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x42a
golang.org/x/tools/internal/bug.Errorf({0x8ae9f92, 0x3a}, {0x6d0677d0, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x2bf
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x5c
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x9d

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 windows-amd64-race tools@9ffaf69c go@947091d3 x/tools/gopls/test (log)
2022/10/13 21:09:53 unable to find a Client to add the protocol.Server to
panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency sortslice@golang.org/lsptests/good -> inspect@golang.org/lsptests/good

goroutine 7972 [running]:
golang.org/x/tools/internal/bug.Report({0xc004c4aa80, 0x75}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x208bb5d, 0x3a}, {0xc005f108a0, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x4bb
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x87
created by golang.org/x/sync/errgroup.(*Group).Go
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x12f
2022-10-13 20:55 windows-amd64-race tools@9ffaf69c go@005c78d8 x/tools/gopls/test (log)
2022/10/13 21:03:25 unable to find a Client to add the protocol.Server to
panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency printf@golang.org/lsptests/good -> inspect@golang.org/lsptests/good

goroutine 7897 [running]:
golang.org/x/tools/internal/bug.Report({0xc006d54580, 0x72}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x1572648, 0x3a}, {0xc005371650, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x4c3
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x83
created by golang.org/x/sync/errgroup.(*Group).Go
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x12f
2022-10-13 20:55 windows-amd64-race tools@9ffaf69c go@89566448 x/tools/gopls/test (log)
2022/10/13 21:13:58 unable to find a Client to add the protocol.Server to
panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency unmarshal@golang.org/lsptests/good -> inspect@golang.org/lsptests/good

goroutine 7480 [running]:
golang.org/x/tools/internal/bug.Report({0xc00657e200, 0x75}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x514
golang.org/x/tools/internal/bug.Errorf({0x1580de7, 0x3a}, {0xc004054960, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x4c3
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x87
created by golang.org/x/sync/errgroup.(*Group).Go
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x12f

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 openbsd-amd64-70 tools@9ffaf69c go@c79b2009 x/tools/gopls/test (log)
2022/10/13 14:31:12 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency shift@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 20702 [running]:
golang.org/x/tools/internal/bug.Report({0xc0001bc6c0, 0x8b}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf80c3a?, 0x25?}, {0xc004f8d620?, 0x16?, 0xc0089e03c0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x32d
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa5

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 windows-amd64-race tools@9ffaf69c go@7feb6872 x/tools/gopls/test (log)
2022/10/13 21:49:16 unable to find a Client to add the protocol.Server to
panic: C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency ctrlflow@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 18655 [running]:
golang.org/x/tools/internal/bug.Report({0xc002e50630, 0x8e}, 0x0)
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x594
golang.org/x/tools/internal/bug.Errorf({0x1572648, 0x3a}, {0xc0043d65a0, 0x3, 0x3})
	C:/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x4c3
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x83
created by golang.org/x/sync/errgroup.(*Group).Go
	C:/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x12f

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 dragonfly-amd64-622 tools@9ffaf69c go@a4b4717f x/tools/gopls/test (log)
2022/10/14 13:06:39 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency SA1016@golang.org/lsptests/rename/generics -> inspect@golang.org/lsptests/rename/generics

goroutine 18828 [running]:
golang.org/x/tools/internal/bug.Report({0xc0088b4510, 0x88}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf802ef?, 0x23?}, {0xc001a8ef00?, 0x16?, 0xc0035be3c0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x32d
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa5

watchflakes

@gopherbot
Copy link
Author

Change https://go.dev/cl/442794 mentions this issue: gopls/internal/lsp/cache: disable strict analysis while we fix panics

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 openbsd-amd64-70 tools@9ffaf69c go@201759f9 x/tools/gopls/test (log)
2022/10/14 09:51:42 unable to find a Client to add the protocol.Server to
2022/10/14 09:51:58 unable to find a Client to add the protocol.Server to
2022/10/14 09:52:02 unable to find a Client to add the protocol.Server to
2022/10/14 09:52:06 unable to find a Client to add the protocol.Server to
2022/10/14 09:52:21 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency S1029@golang.org/lsptests/rename/issue42134 -> buildir@golang.org/lsptests/rename/issue42134

goroutine 94333 [running]:
golang.org/x/tools/internal/bug.Report({0xc0001d6480, 0x8b}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf80c9a?, 0x25?}, {0xc004a7e150?, 0x16?, 0xc00846ac80?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x32d
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa5

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 freebsd-amd64-13_0 tools@9ffaf69c go@e9cdca9a x/tools/gopls/test (log)
2022/10/14 16:57:06 unable to find a Client to add the protocol.Server to
2022/10/14 16:57:11 unable to find a Client to add the protocol.Server to
2022/10/14 16:57:11 unable to find a Client to add the protocol.Server to
2022/10/14 16:57:12 unable to find a Client to add the protocol.Server to
2022/10/14 16:57:14 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency lostcancel@golang.org/lsptests/rename/generics -> inspect@golang.org/lsptests/rename/generics

goroutine 93899 [running]:
golang.org/x/tools/internal/bug.Report({0xc00c87c000, 0x8c}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x468
golang.org/x/tools/internal/bug.Errorf({0xf88cbf?, 0x23?}, {0xc00a88ccf0?, 0x16?, 0xc00529f900?})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x3f
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x32d
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa5

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 freebsd-amd64-race tools@9ffaf69c go@947091d3 x/tools/gopls/test (log)
2022/10/13 21:09:03 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency errorsas@golang.org/lsptests/rename/generics -> inspect@golang.org/lsptests/rename/generics

goroutine 19647 [running]:
golang.org/x/tools/internal/bug.Report({0xc001343320, 0x8a}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x51d
golang.org/x/tools/internal/bug.Errorf({0x1508fa3, 0x3a}, {0xc0036d08a0, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x4bb
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x87
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0x12f

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 aix-ppc64 tools@9ffaf69c go@e612d212 x/tools/gopls/test (log)
2022/10/14 17:38:34 unable to find a Client to add the protocol.Server to
panic: /ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency httpresponse@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 19403 [running]:
golang.org/x/tools/internal/bug.Report({0xa00010005c08320, 0x92}, 0x0)
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x4ac
golang.org/x/tools/internal/bug.Errorf({0x10098babe?, 0x25?}, {0xa0001000229e600?, 0x16?, 0xa0001000780f040?})
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x80
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x324
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x78
created by golang.org/x/sync/errgroup.(*Group).Go
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xcc

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 openbsd-386-70 tools@9ffaf69c go@947091d3 x/tools/gopls/test (log)
2022/10/14 16:30:27 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency SA9002@golang.org/lsptests/rename/generics -> inspect@golang.org/lsptests/rename/generics

goroutine 18820 [running]:
golang.org/x/tools/internal/bug.Report({0x6fdc6750, 0x88}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x416
golang.org/x/tools/internal/bug.Errorf({0x8ac2a37, 0x3a}, {0x72477740, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x2bf
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x5c
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa0

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-10-13 20:55 openbsd-386-70 tools@9ffaf69c go@947091d3 x/tools/gopls/test (log)
2022/10/14 16:48:18 unable to find a Client to add the protocol.Server to
2022/10/14 16:48:47 unable to find a Client to add the protocol.Server to
2022/10/14 16:48:58 unable to find a Client to add the protocol.Server to
2022/10/14 16:49:08 unable to find a Client to add the protocol.Server to
2022/10/14 16:49:43 unable to find a Client to add the protocol.Server to
panic: /tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56: internal error: unexpected analysis dependency QF1003@golang.org/lsptests/rename/issue42134 -> inspect@golang.org/lsptests/rename/issue42134

goroutine 94081 [running]:
golang.org/x/tools/internal/bug.Report({0x6e07c240, 0x8c}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:71 +0x416
golang.org/x/tools/internal/bug.Errorf({0x8ac2a37, 0x3a}, {0x6b7fa3a8, 0x3, 0x3})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/bug/bug.go:56 +0x73
golang.org/x/tools/gopls/internal/lsp/cache.actionImpl.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:265 +0x2bf
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:75 +0x5c
created by golang.org/x/sync/errgroup.(*Group).Go
	/tmp/workdir/gopath/pkg/mod/golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/errgroup/errgroup.go:72 +0xa0

watchflakes

gopherbot pushed a commit to golang/tools that referenced this issue Oct 15, 2022
We now understand the longstanding race causing panics in gopls analysis
(the cache key for analysis handles is not correct, and can lead to
cache hits for analysis of stale packages).

It will take a little while to redesign our analysis caching, the
simplest solution being to hang analysis results off of the actual
package they are analyzing. In the meantime, suppress the panic as
before, to eliminate flakes.

For golang/go#55201
For golang/go#56035

Change-Id: I96600f186f9f31b67dae10c0a95a14fa73630571
Reviewed-on: https://go-review.googlesource.com/c/tools/+/442794
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
@adonovan adonovan self-assigned this Oct 20, 2022
@findleyr
Copy link
Contributor

Closing optimistically, as we think this is fixed now. (thankfully, watchflakes will reopen if not!)

@gopherbot gopherbot reopened this Nov 17, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/test" && test == ""
2022-11-10 18:37 linux-ppc64le-buildlet tools@d56532ab go@1e11eaa9 x/tools/gopls/test (log)
2022/11/10 19:32:57 unable to find a Client to add the protocol.Server to

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Nov 17, 2022

That most recent one seems to be a symptom of #56793.

@bcmills bcmills closed this as completed Nov 17, 2022
@golang golang locked and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: Done
Development

No branches or pull requests

5 participants