Use of LUCI is subject to the Google [Terms of Service](https://policies.google.com/terms) and [Privacy Policy](https://policies.google.com/privacy) [I2025-11-05T01:53:49.655209Z 3198980 0 sink.go:354] SinkServer: warm-up started [I2025-11-05T01:53:49.655367Z 3198980 0 sink.go:427] SinkServer: starting HTTP server... [I2025-11-05T01:53:49.656391Z 3198980 0 sink.go:359] SinkServer: warm-up ended [I2025-11-05T01:53:49.656708Z 3198980 0 cmd_stream.go:577] rdb-stream: starting the test command - ["/home/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/home/swarming/.swarming/w/ir/x/w/go.testjson" "--" "unshare" "--net" "--map-root-user" "--" "sh" "-c" "ip link set dev lo up && /home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -json -short ./..."] ok golang.org/x/tools/gopls/internal/analysis/deprecated 3.390s --- FAIL: Test (2.59s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 8 [running]: testing.tRunner.func1.2({0x737d20, 0x82d3d0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x737d20?, 0x82d3d0?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x31f2db062f48, {0x8306a0?, 0x31f2db105770}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x82f7e0?, 0x31f2db062f48?}, {0x8306a0, 0x31f2db105770}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x8306a0, 0x31f2db105770}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x31f2db105680, 0x31f2db4f8ae0, 0x31f2d633b7c0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x31f2db4f8ae0, {0x31f2db14a300, 0x164, 0x180}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x31f2db4f8ae0, {0x31f2d2c3e100, 0x7e}, {0x31f2db12ea00, 0x159, 0x200}, {0x31f2db12ec00, 0x164, 0x200}, {0x31f2db067380, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x82e760, 0x31f2d28e6fc8}, {0x31f2d2832540?, 0x66?}, 0xa41d60?, {0x31f2d2834a60?, 0x1?, 0x1?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/embeddirective.Test(0x31f2d28e6fc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/embeddirective/embeddirective_test.go:15 +0x7f testing.tRunner(0x31f2d28e6fc8, 0x7c3698) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/embeddirective 2.678s --- FAIL: Test (4.20s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 17 [running]: testing.tRunner.func1.2({0x7427c0, 0x83a780}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x7427c0?, 0x83a780?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x1da51f81878, {0x83cfe0?, 0x1da515c2720}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x83ccc0?, 0x1da51f81878?}, {0x83cfe0, 0x1da515c2720}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x83cfe0, 0x1da515c2720}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x1da515c2360, 0x1da5366ec60, 0x1da51e07360) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x1da5366ec60, {0x1da53d7a880, 0xca9, 0xd80}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x1da5366ec60, {0x1da46a6cbd0, 0x6e}, {0x1da55bd9800, 0xba6, 0xba7}, {0x1da53d78000, 0xca9, 0xcaa}, {0x1da4edb8908, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x83bb60, 0x1da46b96248}, {0x1da46b92150?, 0x1da46a36760?}, 0x0?, {0x1da46b9e020?, 0x1da46a36750?, 0x1da46a36760?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/fillreturns_test.Test(0x1da46b96248) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/fillreturns/fillreturns_test.go:16 +0x98 testing.tRunner(0x1da46b96248, 0x7cfd10) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/fillreturns 4.301s ok golang.org/x/tools/gopls/internal/analysis/fillstruct 2.805s ok golang.org/x/tools/gopls/internal/analysis/fillswitch 0.533s --- FAIL: Test (0.45s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 8 [running]: testing.tRunner.func1.2({0x73bf40, 0x831590}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x73bf40?, 0x831590?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x39d6290874a0, {0x8347a8?, 0x39d629228ea0}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x8339a0?, 0x39d6290874a0?}, {0x8347a8, 0x39d629228ea0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x8347a8, 0x39d629228ea0}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x39d629228de0, 0x39d629092540, 0x39d629099400) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x39d629092540, {0x39d629083200, 0x1fd, 0x200}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x39d629092540, {0x39d6290b4300, 0x74}, {0x39d6290d2240, 0x20f, 0x210}, {0x39d629082c00, 0x1fa, 0x200}, {0x39d6290cea00, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x832920, 0x39d628fb4fc8}, {0x39d628f824d0?, 0x65?}, 0xa48500?, {0x39d628f00a00?, 0x1?, 0x1?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/infertypeargs_test.Test(0x39d628fb4fc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/infertypeargs/infertypeargs_test.go:16 +0x7f testing.tRunner(0x39d628fb4fc8, 0x7c7910) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/infertypeargs 0.479s --- FAIL: TestBasic (1.90s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 8 [running]: testing.tRunner.func1.2({0x746860, 0x83f550}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x746860?, 0x83f550?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x2238be4f8840, {0x842810?, 0x2238bd1a2180}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x841b00?, 0x2238be4f8840?}, {0x842810, 0x2238bd1a2180}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x842810, 0x2238bd1a2180}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x2238bd14bd10, 0x2238bd1268a0, 0x2238bb912780) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x2238bd1268a0, {0x2238bd1a0a80, 0x363, 0x380}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x2238bd1268a0, {0x2238b977cd20, 0x41}, {0x2238bbaf2c00, 0x3ab, 0x3ac}, {0x2238bd1a0000, 0x344, 0x345}, {0x2238bb9f7c00, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x840940, 0x2238b93e4fc8}, {0x2238b931a580?, 0x74d?}, 0x5248a0?, {0x2238b94a4000?, 0xa400e0?, 0x2238b9373760?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/maprange_test.TestBasic(0x2238b93e4fc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/maprange/maprange_test.go:17 +0xe5 testing.tRunner(0x2238b93e4fc8, 0x7d4938) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/maprange 1.935s --- FAIL: Test (3.00s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 8 [running]: testing.tRunner.func1.2({0x73c060, 0x831e40}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x73c060?, 0x831e40?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x2fd1672799b0, {0x835198?, 0x2fd1675779b0}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x834380?, 0x2fd1672799b0?}, {0x835198, 0x2fd1675779b0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x835198, 0x2fd1675779b0}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x2fd1675778f0, 0x2fd16754b500, 0x2fd160f33c20) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x2fd16754b500, {0x2fd15ee9cb00, 0x15a, 0x160}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x2fd16754b500, {0x2fd15f040d20, 0x6c}, {0x2fd15f105800, 0x15c, 0x200}, {0x2fd15f105a00, 0x15a, 0x200}, {0x2fd1675748c0, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x833300, 0x2fd15eebefc8}, {0x2fd15ee8c4d0?, 0x61?}, 0xa484e0?, {0x2fd15ee7e8e0?, 0x2?, 0x2?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/nonewvars_test.Test(0x2fd15eebefc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/nonewvars/nonewvars_test.go:16 +0x98 testing.tRunner(0x2fd15eebefc8, 0x7c8200) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/nonewvars 3.054s --- FAIL: Test (0.72s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 17 [running]: testing.tRunner.func1.2({0x73c060, 0x831f00}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x73c060?, 0x831f00?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0xc42a7624738, {0x835258?, 0xc42a7670300}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x834440?, 0xc42a7624738?}, {0x835258, 0xc42a7670300}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x835258, 0xc42a7670300}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0xc42a7670270, 0xc42a762e540, 0xc42a7634d20) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0xc42a762e540, {0xc42a77102c0, 0x157, 0x160}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0xc42a762e540, {0xc42a7652080, 0x71}, {0xc42a7620a00, 0x168, 0x200}, {0xc42a7620c00, 0x157, 0x200}, {0xc42a764a880, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x8333c0, 0xc42a7516248}, {0xc42a7512150?, 0xc42a73e8760?}, 0x0?, {0xc42a751e020?, 0xc42a73e8750?, 0xc42a73e8760?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/noresultvalues_test.Test(0xc42a7516248) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/noresultvalues/noresultvalues_test.go:16 +0x98 testing.tRunner(0xc42a7516248, 0x7c8270) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/noresultvalues 0.729s ok golang.org/x/tools/gopls/internal/analysis/recursiveiter 1.879s ok golang.org/x/tools/gopls/internal/analysis/simplifycompositelit 0.508s --- FAIL: Test (2.92s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 20 [running]: testing.tRunner.func1.2({0x73c020, 0x831bd0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x73c020?, 0x831bd0?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x9ad5305e948, {0x834f58?, 0x9ad52f66360}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x834100?, 0x9ad5305e948?}, {0x834f58, 0x9ad52f66360}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x834f58, 0x9ad52f66360}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x9ad52f53e00, 0x9ad53096360, 0x9ad569aabe0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x9ad53096360, {0x9ad5181a000, 0x1fe, 0x200}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x9ad53096360, {0x9ad4e5c4700, 0x70}, {0x9ad4e6fc480, 0x20c, 0x20d}, {0x9ad51703800, 0x1fe, 0x200}, {0x9ad522b8380, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x8330c0, 0x9ad4e6cafc8}, {0x9ad4e6864d0?, 0x9ad4e56b760?}, 0x0?, {0x9ad4e6e2c60?, 0x9ad4e56b750?, 0x9ad4e56b760?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/simplifyrange_test.Test(0x9ad4e6cafc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/simplifyrange/simplifyrange_test.go:15 +0xab testing.tRunner(0x9ad4e6cafc8, 0x7c7ec0) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/simplifyrange 2.979s --- FAIL: Test (0.57s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 20 [running]: testing.tRunner.func1.2({0x73c020, 0x831b80}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x73c020?, 0x831b80?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x2ab2b771c600, {0x834ed8?, 0x2ab2b77b7260}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x8341a0?, 0x2ab2b771c600?}, {0x834ed8, 0x2ab2b77b7260}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x834ed8, 0x2ab2b77b7260}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x2ab2b77b6fc0, 0x2ab2b78205a0, 0x2ab2b77f0d20) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x2ab2b78205a0, {0x2ab2b7b14f00, 0x4e9, 0x500}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x2ab2b78205a0, {0x2ab2b79b8230, 0x70}, {0x2ab2b7b10000, 0x516, 0x517}, {0x2ab2b7b14000, 0x4e7, 0x4e8}, {0x2ab2b770a300, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x833060, 0x2ab2b78cafc8}, {0x2ab2b78864d0?, 0x2ab2b7781760?}, 0x0?, {0x2ab2b78e0c60?, 0x2ab2b7781750?, 0x2ab2b7781760?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/simplifyslice_test.Test(0x2ab2b78cafc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/simplifyslice/simplifyslice_test.go:16 +0xab testing.tRunner(0x2ab2b78cafc8, 0x7c7e28) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/simplifyslice 0.638s --- FAIL: Test (0.52s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 8 [running]: testing.tRunner.func1.2({0x749b60, 0x844080}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x749b60?, 0x844080?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x17409b9bb9e0, {0x846980?, 0x17409bcc0ab0}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x846660?, 0x17409b9bb9e0?}, {0x846980, 0x17409bcc0ab0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x846980, 0x17409bcc0ab0}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x17409bcc0a20, 0x17409b9bf500, 0x17409bcc2d20) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x17409b9bf500, {0x17409bcdca80, 0x337, 0x380}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x17409b9bf500, {0x17409b9cb5c0, 0x3b}, {0x17409bb45000, 0x72d, 0x72e}, {0x17409bcdc000, 0x31d, 0x31e}, {0x17409bcb4488, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x8454a0, 0x17409bb04fc8}, {0x17409b9ca7c0?, 0x74d?}, 0x5248a0?, {0x17409b9d0ac0?, 0xa480e0?, 0x17409ba23760?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/unusedfunc_test.Test(0x17409bb04fc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/unusedfunc/unusedfunc_test.go:18 +0xe5 testing.tRunner(0x17409bb04fc8, 0x7d8c28) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/unusedfunc 0.541s --- FAIL: Test (4.75s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 8 [running]: testing.tRunner.func1.2({0x73e340, 0x8353c0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x73e340?, 0x8353c0?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x61d305ea708, {0x837c20?, 0x61d306ba7e0}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x837900?, 0x61d305ea708?}, {0x837c20, 0x61d306ba7e0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x837c20, 0x61d306ba7e0}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x61d306ba5a0, 0x61d303efb60, 0x61d26fa8320) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x61d303efb60, {0x61d306be300, 0x69e, 0x700}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x61d303efb60, {0x61d198ff3b0, 0x6f}, {0x61d306bc000, 0x69f, 0x6a0}, {0x61d306bc700, 0x69e, 0x69f}, {0x61d26f43800, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x836760, 0x61d19930fc8}, {0x61d198fe4d0?, 0x64?}, 0xa4d4e0?, {0x61d19940c60?, 0x3?, 0x3?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/unusedparams_test.Test(0x61d19930fc8) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/unusedparams/unusedparams_test.go:16 +0xab testing.tRunner(0x61d19930fc8, 0x7cb150) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 1 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd FAIL golang.org/x/tools/gopls/internal/analysis/unusedparams 4.845s --- FAIL: Test (0.73s) panic: encountered top-level function declaration in free analysis [recovered, repanicked] goroutine 9 [running]: testing.tRunner.func1.2({0x7401a0, 0x8367d0}) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1967 +0x232 testing.tRunner.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1970 +0x349 panic({0x7401a0?, 0x8367d0?}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:858 +0x13a golang.org/x/tools/internal/astutil/free.(*freeVisitor).Visit(0x161d0d844708, {0x839b38?, 0x161d0d922150}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:263 +0xaa5 go/ast.Walk({0x838d20?, 0x161d0d844708?}, {0x839b38, 0x161d0d922150}) /home/swarming/.swarming/w/ir/x/w/goroot/src/go/ast/walk.go:34 +0x4c golang.org/x/tools/internal/astutil/free.Names({0x839b38, 0x161d0d922150}, 0x0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/internal/astutil/free/free.go:50 +0x105 golang.org/x/tools/go/analysis/internal/analysisflags.removeUnneededImports(0x161d0d922060, 0x161d0d80a360, 0x161d0d866dc0) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:370 +0x253 golang.org/x/tools/go/analysis/internal/analysisflags.FormatSourceRemoveImports(0x161d0d80a360, {0x161d0d9242c0, 0x15c, 0x160}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/internal/analysisflags/fix.go:324 +0xc5 golang.org/x/tools/go/analysis/analysistest.applyDiffsAndCompare(0x161d0d80a360, {0x161d0d838100, 0x74}, {0x161d0d87c240, 0x20a, 0x20b}, {0x161d0d83c400, 0x159, 0x200}, {0x161d0d836400, ...}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:300 +0x2d2 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes.func2(...) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:230 golang.org/x/tools/go/analysis/analysistest.RunWithSuggestedFixes({0x837ca0, 0x161d0d64d208}, {0x161d0d598540?, 0x66?}, 0xa50620?, {0x161d0d59aa70?, 0x1?, 0x1?}) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/go/analysis/analysistest/analysistest.go:275 +0xe92 golang.org/x/tools/gopls/internal/analysis/unusedvariable_test.Test.func1(0x161d0d64d208) /home/swarming/.swarming/w/ir/x/w/targetrepo1570828089/gopls/internal/analysis/unusedvariable/unusedvariable_test.go:18 +0x7b testing.tRunner(0x161d0d64d208, 0x161d0d5823a8) /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2029 +0xea created by testing.(*T).Run in goroutine 8 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2094 +0x4dd --- FAIL: Test/decl (0.73s) FAIL golang.org/x/tools/gopls/internal/analysis/unusedvariable 0.761s ok golang.org/x/tools/gopls/internal/analysis/yield 2.742s ok golang.org/x/tools/gopls/internal/bloom 0.017s ok golang.org/x/tools/gopls/internal/cache 2.630s ok golang.org/x/tools/gopls/internal/cache/metadata 0.011s ok golang.org/x/tools/gopls/internal/cache/parsego 6.888s ok golang.org/x/tools/gopls/internal/cache/typerefs 0.041s ok golang.org/x/tools/gopls/internal/clonetest 0.029s ok golang.org/x/tools/gopls/internal/cmd 19.059s ok golang.org/x/tools/gopls/internal/debug 2.067s ok golang.org/x/tools/gopls/internal/doc/generate 5.181s ok golang.org/x/tools/gopls/internal/filecache 0.222s ok golang.org/x/tools/gopls/internal/filewatcher 0.712s ok golang.org/x/tools/gopls/internal/fuzzy 0.054s ok golang.org/x/tools/gopls/internal/golang 2.303s ok golang.org/x/tools/gopls/internal/golang/completion 0.215s ok golang.org/x/tools/gopls/internal/golang/completion/snippet 0.100s ok golang.org/x/tools/gopls/internal/licenses 1.637s ok golang.org/x/tools/gopls/internal/lsprpc 1.847s ok golang.org/x/tools/gopls/internal/mcp 1.208s ok golang.org/x/tools/gopls/internal/progress 0.047s ok golang.org/x/tools/gopls/internal/protocol 1.225s ok golang.org/x/tools/gopls/internal/protocol/command 2.726s ok golang.org/x/tools/gopls/internal/protocol/generate 0.032s ok golang.org/x/tools/gopls/internal/server 0.116s ok golang.org/x/tools/gopls/internal/settings 0.694s ok golang.org/x/tools/gopls/internal/telemetry 1.875s ok golang.org/x/tools/gopls/internal/template 0.173s ok golang.org/x/tools/gopls/internal/test/compare 0.070s ok golang.org/x/tools/gopls/internal/test/integration 0.127s ok golang.org/x/tools/gopls/internal/test/integration/bench 0.086s ok golang.org/x/tools/gopls/internal/test/integration/codelens 12.821s ok golang.org/x/tools/gopls/internal/test/integration/completion 31.443s ok golang.org/x/tools/gopls/internal/test/integration/debug 1.048s ok golang.org/x/tools/gopls/internal/test/integration/diagnostics 46.906s ok golang.org/x/tools/gopls/internal/test/integration/fake 0.035s ok golang.org/x/tools/gopls/internal/test/integration/fake/glob 0.005s ok golang.org/x/tools/gopls/internal/test/integration/inlayhints 1.784s ok golang.org/x/tools/gopls/internal/test/integration/misc 63.416s ok golang.org/x/tools/gopls/internal/test/integration/modfile 27.158s ok golang.org/x/tools/gopls/internal/test/integration/template 2.188s ok golang.org/x/tools/gopls/internal/test/integration/watch 18.467s ok golang.org/x/tools/gopls/internal/test/integration/web 17.867s ok golang.org/x/tools/gopls/internal/test/integration/workspace 36.219s ok golang.org/x/tools/gopls/internal/test/marker 20.512s ok golang.org/x/tools/gopls/internal/util/asm 0.071s ok golang.org/x/tools/gopls/internal/util/bug 0.066s ok golang.org/x/tools/gopls/internal/util/fingerprint 1.227s ok golang.org/x/tools/gopls/internal/util/frob 0.025s ok golang.org/x/tools/gopls/internal/util/goversion 0.044s ok golang.org/x/tools/gopls/internal/util/lru 0.093s ok golang.org/x/tools/gopls/internal/util/memoize 0.051s ok golang.org/x/tools/gopls/internal/util/persistent 0.632s ok golang.org/x/tools/gopls/internal/util/safetoken 8.886s ok golang.org/x/tools/gopls/internal/vulncheck/semver 0.081s ok golang.org/x/tools/gopls/internal/vulncheck/vulntest 0.036s Warning: no '=' in invocation-link-artifacts pair: "", ignoring [W2025-11-05T01:55:22.813328Z 3198980 0 cmd_stream.go:589] rdb-stream: test process exited with error: exit status 1 [I2025-11-05T01:55:22.813406Z 3198980 0 cmd_stream.go:573] rdb-stream: the test process terminated [I2025-11-05T01:55:22.813552Z 3198980 0 sink.go:452] SinkServer: shutdown started [I2025-11-05T01:55:22.813635Z 3198980 0 sink.go:430] SinkServer: HTTP server stopped with "http: Server closed" [I2025-11-05T01:55:22.813660Z 3198980 0 sink_server.go:96] SinkServer: draining TestResult channel started [I2025-11-05T01:55:23.145659Z 3198980 0 sink_server.go:98] SinkServer: draining TestResult channel ended [I2025-11-05T01:55:23.145720Z 3198980 0 sink_server.go:100] SinkServer: draining Artifact channel started [I2025-11-05T01:55:23.251169Z 3198980 0 sink_server.go:102] SinkServer: draining Artifact channel ended [I2025-11-05T01:55:23.251234Z 3198980 0 sink.go:455] SinkServer: shutdown completed successfully [I2025-11-05T01:55:23.251279Z 3198980 0 cmd_stream.go:498] rdb-stream: exiting with 1