Repository: go
Issue: x/tools/go/analysis: golang-x-tools doesn't build with gccgo (testsuite failures)
Labels: NeedsInvestigation,Analysis

Trying to build golang-x-tools with gccgo from gcc-8 fails due to multiple testsuite failures:

<details>
  <summary>build log</summary>

```
cd build && go test -vet=off -v -p 64 -test.short golang.org/x/tools/benchmark/parse golang.org/x/tools/blog golang.org/x/tools/blog/atom golang.org/x/tools/cmd/benchcmp golang.org/x/tools/cmd/bundle golang.org/x/tools/cmd/callgraph golang.org/x/tools/cmd/compilebench golang.org/x/tools/cmd/digraph golang.org/x/tools/cmd/eg golang.org/x/tools/cmd/fiximports golang.org/x/tools/cmd/getgo golang.org/x/tools/cmd/getgo/server golang.org/x/tools/cmd/go-contrib-init golang.org/x/tools/cmd/godex golang.org/x/tools/cmd/godoc golang.org/x/tools/cmd/goimports golang.org/x/tools/cmd/golsp golang.org/x/tools/cmd/gomvpkg golang.org/x/tools/cmd/gopls golang.org/x/tools/cmd/gopls/forward golang.org/x/tools/cmd/gorename golang.org/x/tools/cmd/gotype golang.org/x/tools/cmd/goyacc golang.org/x/tools/cmd/guru golang.org/x/tools/cmd/guru/serial golang.org/x/tools/cmd/html2article golang.org/x/tools/cmd/present golang.org/x/tools/cmd/splitdwarf golang.org/x/tools/cmd/splitdwarf/internal/macho golang.org/x/tools/cmd/ssadump golang.org/x/tools/cmd/stress golang.org/x/tools/cmd/stringer golang.org/x/tools/cmd/tip golang.org/x/tools/cmd/toolstash golang.org/x/tools/container/intsets golang.org/x/tools/cover golang.org/x/tools/go/analysis golang.org/x/tools/go/analysis/analysistest golang.org/x/tools/go/analysis/cmd/vet golang.org/x/tools/go/analysis/internal/analysisflags golang.org/x/tools/go/analysis/internal/checker golang.org/x/tools/go/analysis/internal/facts golang.org/x/tools/go/analysis/multichecker golang.org/x/tools/go/analysis/passes/asmdecl golang.org/x/tools/go/analysis/passes/assign golang.org/x/tools/go/analysis/passes/atomic golang.org/x/tools/go/analysis/passes/atomicalign golang.org/x/tools/go/analysis/passes/bools golang.org/x/tools/go/analysis/passes/buildssa golang.org/x/tools/go/analysis/passes/buildtag golang.org/x/tools/go/analysis/passes/cgocall golang.org/x/tools/go/analysis/passes/composite golang.org/x/tools/go/analysis/passes/copylock golang.org/x/tools/go/analysis/passes/ctrlflow golang.org/x/tools/go/analysis/passes/findcall golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall golang.org/x/tools/go/analysis/passes/httpresponse golang.org/x/tools/go/analysis/passes/inspect golang.org/x/tools/go/analysis/passes/internal/analysisutil golang.org/x/tools/go/analysis/passes/loopclosure golang.org/x/tools/go/analysis/passes/lostcancel golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel golang.org/x/tools/go/analysis/passes/nilfunc golang.org/x/tools/go/analysis/passes/nilness golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness golang.org/x/tools/go/analysis/passes/pkgfact golang.org/x/tools/go/analysis/passes/printf golang.org/x/tools/go/analysis/passes/shadow golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow golang.org/x/tools/go/analysis/passes/shift golang.org/x/tools/go/analysis/passes/stdmethods golang.org/x/tools/go/analysis/passes/structtag golang.org/x/tools/go/analysis/passes/tests golang.org/x/tools/go/analysis/passes/unmarshal golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal golang.org/x/tools/go/analysis/passes/unreachable golang.org/x/tools/go/analysis/passes/unsafeptr golang.org/x/tools/go/analysis/passes/unusedresult golang.org/x/tools/go/analysis/singlechecker golang.org/x/tools/go/analysis/unitchecker golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/ast/inspector golang.org/x/tools/go/buildutil golang.org/x/tools/go/callgraph golang.org/x/tools/go/callgraph/cha golang.org/x/tools/go/callgraph/rta golang.org/x/tools/go/callgraph/static golang.org/x/tools/go/cfg golang.org/x/tools/go/expect golang.org/x/tools/go/gccgoexportdata golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/internal/cgo golang.org/x/tools/go/internal/gccgoimporter golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/go/loader golang.org/x/tools/go/packages golang.org/x/tools/go/packages/gopackages golang.org/x/tools/go/packages/packagestest golang.org/x/tools/go/pointer golang.org/x/tools/go/ssa golang.org/x/tools/go/ssa/interp golang.org/x/tools/go/ssa/ssautil golang.org/x/tools/go/types/objectpath golang.org/x/tools/go/types/typeutil golang.org/x/tools/go/vcs golang.org/x/tools/godoc golang.org/x/tools/godoc/analysis golang.org/x/tools/godoc/dl golang.org/x/tools/godoc/env golang.org/x/tools/godoc/proxy golang.org/x/tools/godoc/redirect golang.org/x/tools/godoc/short golang.org/x/tools/godoc/util golang.org/x/tools/godoc/vfs golang.org/x/tools/godoc/vfs/gatefs golang.org/x/tools/godoc/vfs/httpfs golang.org/x/tools/godoc/vfs/mapfs golang.org/x/tools/godoc/vfs/zipfs golang.org/x/tools/imports golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/jsonrpc2 golang.org/x/tools/internal/lsp golang.org/x/tools/internal/lsp/cache golang.org/x/tools/internal/lsp/cmd golang.org/x/tools/internal/lsp/protocol golang.org/x/tools/internal/lsp/source golang.org/x/tools/internal/module golang.org/x/tools/internal/semver golang.org/x/tools/internal/tool golang.org/x/tools/internal/txtar golang.org/x/tools/playground golang.org/x/tools/playground/socket golang.org/x/tools/present golang.org/x/tools/refactor/eg golang.org/x/tools/refactor/importgraph golang.org/x/tools/refactor/rename golang.org/x/tools/refactor/satisfy
=== RUN   TestParseLine
--- PASS: TestParseLine (0.00s)
=== RUN   TestParseSet
--- PASS: TestParseSet (0.00s)
PASS
ok      golang.org/x/tools/benchmark/parse      0.292s
=== RUN   TestLinkRewrite
--- PASS: TestLinkRewrite (0.00s)
PASS
ok      golang.org/x/tools/blog 0.338s
?       golang.org/x/tools/blog/atom    [no test files]
=== RUN   TestSelectBest
--- PASS: TestSelectBest (0.00s)
=== RUN   TestDelta
--- PASS: TestDelta (0.00s)
=== RUN   TestCorrelate
--- PASS: TestCorrelate (0.00s)
=== RUN   TestBenchCmpSorting
--- PASS: TestBenchCmpSorting (0.00s)
PASS
ok      golang.org/x/tools/cmd/benchcmp 0.285s
=== RUN   TestBundle
--- PASS: TestBundle (0.00s)
PASS
ok      golang.org/x/tools/cmd/bundle   0.408s
?       golang.org/x/tools/cmd/callgraph        [no test files]
?       golang.org/x/tools/cmd/compilebench     [no test files]
=== RUN   TestDigraph
--- PASS: TestDigraph (0.00s)
=== RUN   TestSplit
--- PASS: TestSplit (0.00s)
=== RUN   TestQuotedLength
--- PASS: TestQuotedLength (0.00s)
PASS
ok      golang.org/x/tools/cmd/digraph  0.309s
?       golang.org/x/tools/cmd/eg       [no test files]
=== RUN   TestFixImports
--- PASS: TestFixImports (2.27s)
=== RUN   TestDryRun
--- PASS: TestDryRun (0.47s)
PASS
ok      golang.org/x/tools/cmd/fiximports       3.053s
main_test: Skipping integration tests with GOGET_INTEGRATION unset
ok      golang.org/x/tools/cmd/getgo    0.087s
?       golang.org/x/tools/cmd/getgo/server     [no test files]
=== RUN   TestExpandUser
--- PASS: TestExpandUser (0.00s)
PASS
ok      golang.org/x/tools/cmd/go-contrib-init  0.291s
?       golang.org/x/tools/cmd/godex    [no test files]
=== RUN   TestLiveServer
--- SKIP: TestLiveServer (0.00s)
        regtest_test.go:30: regtest.host flag missing.
PASS
ok      golang.org/x/tools/cmd/godoc    0.265s
?       golang.org/x/tools/cmd/goimports        [no test files]
?       golang.org/x/tools/cmd/golsp    [no test files]
?       golang.org/x/tools/cmd/gomvpkg  [no test files]
?       golang.org/x/tools/cmd/gopls    [no test files]
?       golang.org/x/tools/cmd/gopls/forward    [no test files]
?       golang.org/x/tools/cmd/gorename [no test files]
?       golang.org/x/tools/cmd/gotype   [no test files]
?       golang.org/x/tools/cmd/goyacc   [no test files]
=== RUN   TestIssue17515
--- PASS: TestIssue17515 (0.00s)
=== RUN   TestGuru
--- SKIP: TestGuru (0.00s)
        guru_test.go:234: skipping in short mode
=== RUN   TestIssue14684
--- PASS: TestIssue14684 (0.00s)
PASS
ok      golang.org/x/tools/cmd/guru     0.253s
?       golang.org/x/tools/cmd/guru/serial      [no test files]
?       golang.org/x/tools/cmd/html2article     [no test files]
?       golang.org/x/tools/cmd/present  [no test files]
?       golang.org/x/tools/cmd/splitdwarf       [no test files]
=== RUN   TestOpen
--- PASS: TestOpen (0.00s)
=== RUN   TestOpenFailure
--- PASS: TestOpenFailure (0.00s)
=== RUN   TestOpenFat
--- PASS: TestOpenFat (0.00s)
=== RUN   TestOpenFatFailure
--- PASS: TestOpenFatFailure (0.00s)
=== RUN   TestRelocTypeString
--- PASS: TestRelocTypeString (0.00s)
=== RUN   TestTypeString
--- PASS: TestTypeString (0.00s)
PASS
ok      golang.org/x/tools/cmd/splitdwarf/internal/macho        0.520s
?       golang.org/x/tools/cmd/ssadump  [no test files]
?       golang.org/x/tools/cmd/stress   [no test files]
=== RUN   TestGolden
--- PASS: TestGolden (0.00s)
=== RUN   TestSplitIntoRuns
--- PASS: TestSplitIntoRuns (0.00s)
PASS
ok      golang.org/x/tools/cmd/stringer 0.312s
=== RUN   TestTipRedirects
--- PASS: TestTipRedirects (0.00s)
PASS
ok      golang.org/x/tools/cmd/tip      0.313s
?       golang.org/x/tools/cmd/toolstash        [no test files]
=== RUN   TestNLZ
--- PASS: TestNLZ (0.00s)
=== RUN   TestPopcount
--- PASS: TestPopcount (0.06s)
=== RUN   TestBasics
--- PASS: TestBasics (0.00s)
=== RUN   TestMoreBasics
--- PASS: TestMoreBasics (0.00s)
=== RUN   TestTakeMin
--- PASS: TestTakeMin (0.00s)
=== RUN   TestMinAndMax
--- PASS: TestMinAndMax (0.00s)
=== RUN   TestEquals
--- PASS: TestEquals (0.00s)
=== RUN   TestRandomMutations
--- PASS: TestRandomMutations (0.00s)
=== RUN   TestLowerBound
--- PASS: TestLowerBound (0.64s)
=== RUN   TestSetOperations
--- PASS: TestSetOperations (0.09s)
=== RUN   TestIntersectionWith
--- PASS: TestIntersectionWith (0.00s)
=== RUN   TestIntersects
--- PASS: TestIntersects (0.01s)
=== RUN   TestSubsetOf
--- PASS: TestSubsetOf (0.00s)
=== RUN   TestBitString
--- PASS: TestBitString (0.00s)
=== RUN   TestFailFastOnShallowCopy
--- SKIP: TestFailFastOnShallowCopy (0.00s)
        sparse_test.go:581: Test disabled on gccgo.
PASS
ok      golang.org/x/tools/container/intsets    1.153s
?       golang.org/x/tools/cover        [no test files]
?       golang.org/x/tools/go/analysis  [no test files]
=== RUN   TestTheTest
--- PASS: TestTheTest (0.15s)
PASS
ok      golang.org/x/tools/go/analysis/analysistest     0.492s
?       golang.org/x/tools/go/analysis/cmd/vet  [no test files]
=== RUN   TestExec
--- PASS: TestExec (1.61s)
PASS
ok      golang.org/x/tools/go/analysis/internal/analysisflags   2.006s
?       golang.org/x/tools/go/analysis/internal/checker [no test files]
=== RUN   TestEncodeDecode
--- PASS: TestEncodeDecode (1.53s)
        facts_test.go:101: decode a facts = {}
        facts_test.go:101: decode b facts = {type a.A int: myFact(a.A), type a.T int: myFact(a.T)}
        facts_test.go:101: decode c facts = {type b.B chan a2.A2: myFact(b.B), type b.F func() a.T: myFact(b.F)}
PASS
ok      golang.org/x/tools/go/analysis/internal/facts   1.946s
?       golang.org/x/tools/go/analysis/multichecker     [no test files]
2019/01/30 13:25:54 unknown architecture wasm
=== RUN   Test
--- PASS: Test (0.43s)
PASS
ok      golang.org/x/tools/go/analysis/passes/asmdecl   0.836s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/assign/testdata/src/a/a.go:9:8: could not import math/rand (invalid package name: "")
--- FAIL: Test (0.16s)
        analysistest.go:110: error analyzing assign@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/assign    0.495s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/atomic/testdata/src/a/a.go:10:2: could not import sync/atomic (invalid package name: "")
--- PASS: Test (0.42s)
PASS
ok      golang.org/x/tools/go/analysis/passes/atomic    0.780s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/atomicalign/testdata/src/b/b.go:10:2: could not import sync/atomic (invalid package name: "")
--- FAIL: Test (0.62s)
        analysistest.go:110: error analyzing atomicalign@b: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/atomicalign       1.060s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/bools/testdata/src/a/a.go:9:8: could not import io (invalid package name: "")
--- FAIL: Test (0.38s)
        analysistest.go:110: error analyzing bools@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/bools     0.750s
=== RUN   Test
--- PASS: Test (0.53s)
PASS
ok      golang.org/x/tools/go/analysis/passes/buildssa  0.959s
=== RUN   Test
--- PASS: Test (0.31s)
PASS
ok      golang.org/x/tools/go/analysis/passes/buildtag  0.657s
=== RUN   Test
/tmp/gopackages227435845/a/_cgo_gotypes.go:7:10: could not import runtime/cgo (missing package: "runtime/cgo")
/tmp/gopackages227435845/a/_cgo_gotypes.go:9:8: could not import syscall (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/cgocall/testdata/src/b/b.go:10:10: could not import fmt (invalid package name: "")
--- PASS: Test (0.93s)
PASS
ok      golang.org/x/tools/go/analysis/passes/cgocall   1.277s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:10:2: could not import flag (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:11:2: could not import go/scanner (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:12:2: could not import go/token (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:13:2: could not import image (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:14:2: could not import unicode (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:87:2: missing type in composite literal
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/composite/testdata/src/a/a.go:91:2: missing type in composite literal
--- FAIL: Test (0.67s)
        analysistest.go:311: a/a.go:100: no diagnostic was reported matching "unkeyed fields"
        analysistest.go:311: a/a.go:119: no diagnostic was reported matching "unkeyed fields"
        analysistest.go:311: a/a.go:120: no diagnostic was reported matching "unkeyed fields"
        analysistest.go:311: a/a.go:76: no diagnostic was reported matching "unkeyed fields"
        analysistest.go:311: a/a.go:91: no diagnostic was reported matching "unkeyed fields"
        analysistest.go:311: a/a.go:92: no diagnostic was reported matching "unkeyed fields"
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/composite 1.102s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:4:2: could not import sync (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:5:2: could not import sync/atomic (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:12:6: OkFunc redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:11:6:       other declaration of OkFunc
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:13:6: BadFunc redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:43:6:       other declaration of BadFunc
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:30:6: OkFunc redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:11:6:       other declaration of OkFunc
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:31:6: BadFunc redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:43:6:       other declaration of BadFunc
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:32:6: OkRet redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:15:6:  other declaration of OkRet
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:33:6: BadRet redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:16:6:  other declaration of BadRet
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:41:6: OkFunc redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:11:6:       other declaration of OkFunc
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:42:6: BadFunc redeclared in this block
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:43:6:       other declaration of BadFunc
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:13:2: p declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:17:6: z declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:18:2: w declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:21:2: q declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:25:2: yy declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:32:2: nl declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:33:2: mx declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:34:2: xx declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:56:4: no new variables on left side of :=
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:45:2: p declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:57:6: z declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:59:2: w declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:62:6: q declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:66:2: yy declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:79:2: muSlice declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:85:2: mmuSlice declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:91:2: fmuSlice declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:96:2: aLen declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:97:2: aCap declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:110:2: unsafe.Sizeof(mu) (invalid operand) is not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:111:2: unsafe1.Sizeof(mu) (invalid operand) is not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:112:2: Sizeof(mu) (invalid operand) is not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:123:6: rwmuXX declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:124:2: rwmuX1 declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:125:2: rwmuY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:127:6: rwmuYY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:128:2: rwmuP declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:129:2: rwmuZ declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:133:6: condXX declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:134:2: condX1 declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:135:2: condY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:137:6: condYY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:138:2: condP declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:139:2: condZ declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:146:6: wgXX declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:147:2: wgX1 declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:148:2: wgY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:150:6: wgYY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:151:2: wgP declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:152:2: wgZ declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:156:6: poolXX declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:157:2: poolX1 declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:158:2: poolY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:160:6: poolYY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:161:2: poolP declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:162:2: poolZ declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:166:6: onceXX declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:167:2: onceX1 declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:168:2: onceY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:170:6: onceYY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:171:2: onceP declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:172:2: onceZ declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:179:6: vXX declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:180:2: vX1 declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:183:2: vY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:185:6: vYY declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:186:2: vP declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock.go:187:2: vZ declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:15:27: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:16:27: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:32:35: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:33:35: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:66:41: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:93:19: t (variable of type struct{lock invalid type}) is not a type
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:117:7: undeclared name: EmbeddedRwMutex
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:119:7: undeclared name: OKRet
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_func.go:117:2: x declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:13:6: mu declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:14:6: i declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:21:6: i declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:25:6: i declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:29:9: m declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:33:6: i declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:33:9: m declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:37:9: m declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:41:6: k declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:45:6: k declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:49:9: v declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/copylock/testdata/src/a/copylock_range.go:57:6: v declared but not used
--- FAIL: Test (0.45s)
        analysistest.go:311: a/copylock.go:102: no diagnostic was reported matching "call of len copies lock value: sync.Mutex"
        analysistest.go:311: a/copylock.go:105: no diagnostic was reported matching "call of cap copies lock value: sync.Mutex"
        analysistest.go:311: a/copylock.go:114: no diagnostic was reported matching "call of unsafe.Sizeof copies lock value: sync.Mutex"
        analysistest.go:311: a/copylock.go:116: no diagnostic was reported matching "call of Sizeof copies lock value: sync.Mutex"
        analysistest.go:311: a/copylock.go:125: no diagnostic was reported matching "assignment copies lock value to rwmuY: sync.RWMutex"
        analysistest.go:311: a/copylock.go:126: no diagnostic was reported matching "assignment copies lock value to rwmuY: sync.RWMutex"
        analysistest.go:311: a/copylock.go:127: no diagnostic was reported matching "variable declaration copies lock value to rwmuYY: sync.RWMutex"
        analysistest.go:311: a/copylock.go:135: no diagnostic was reported matching "assignment copies lock value to condY: sync.Cond contains sync.noCopy"
        analysistest.go:311: a/copylock.go:136: no diagnostic was reported matching "assignment copies lock value to condY: sync.Cond contains sync.noCopy"
        analysistest.go:311: a/copylock.go:137: no diagnostic was reported matching "variable declaration copies lock value to condYY: sync.Cond contains sync.noCopy"
        analysistest.go:311: a/copylock.go:148: no diagnostic was reported matching "assignment copies lock value to wgY: sync.WaitGroup contains sync.noCopy"
        analysistest.go:311: a/copylock.go:149: no diagnostic was reported matching "assignment copies lock value to wgY: sync.WaitGroup contains sync.noCopy"
        analysistest.go:311: a/copylock.go:150: no diagnostic was reported matching "variable declaration copies lock value to wgYY: sync.WaitGroup contains sync.noCopy"
        analysistest.go:311: a/copylock.go:158: no diagnostic was reported matching "assignment copies lock value to poolY: sync.Pool contains sync.noCopy"
        analysistest.go:311: a/copylock.go:159: no diagnostic was reported matching "assignment copies lock value to poolY: sync.Pool contains sync.noCopy"
        analysistest.go:311: a/copylock.go:160: no diagnostic was reported matching "variable declaration copies lock value to poolYY: sync.Pool contains sync.noCopy"
        analysistest.go:311: a/copylock.go:168: no diagnostic was reported matching "assignment copies lock value to onceY: sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:169: no diagnostic was reported matching "assignment copies lock value to onceY: sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:170: no diagnostic was reported matching "variable declaration copies lock value to onceYY: sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:48: no diagnostic was reported matching "assignment copies lock value to \\*p: sync.Mutex"
        analysistest.go:311: a/copylock.go:53: no diagnostic was reported matching "assignment copies lock value to \\*tp: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:54: no diagnostic was reported matching "assignment copies lock value to t: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:56: no diagnostic was reported matching "assignment copies lock value to y: sync.Mutex"
        analysistest.go:311: a/copylock.go:57: no diagnostic was reported matching "variable declaration copies lock value to z: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:60: no diagnostic was reported matching "literal copies lock value from \\*x: sync.Mutex"
        analysistest.go:311: a/copylock.go:63: no diagnostic was reported matching "literal copies lock value from t: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:64: no diagnostic was reported matching "literal copies lock value from \\*tp: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:67: no diagnostic was reported matching "literal copies lock value from t: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:68: no diagnostic was reported matching "literal copies lock value from \\*tp: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:73: no diagnostic was reported matching "call of new copies lock value: a.Tlock contains sync.Once contains sync.Mutex"
        analysistest.go:311: a/copylock.go:77: no diagnostic was reported matching "assignment copies lock value to muB: sync.Mutex"
        analysistest.go:311: a/copylock.go:78: no diagnostic was reported matching "assignment copies lock value to muA: sync.Mutex"
        analysistest.go:311: a/copylock.go:83: no diagnostic was reported matching "assignment copies lock value to mmuB: sync.Mutex"
        analysistest.go:311: a/copylock.go:84: no diagnostic was reported matching "assignment copies lock value to mmuA: sync.Mutex"
        analysistest.go:311: a/copylock_func.go:108: no diagnostic was reported matching "return copies lock value: sync.Mutex"
        analysistest.go:311: a/copylock_func.go:110: no diagnostic was reported matching "return copies lock value: struct.lock sync.Mutex. contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:129: no diagnostic was reported matching "Bad passes lock by value: a.LocalOnce contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:13: no diagnostic was reported matching "BadFunc passes lock by value: sync.Mutex"
        analysistest.go:311: a/copylock_func.go:14: no diagnostic was reported matching "BadFunc2 passes lock by value: sync.Map contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:20: no diagnostic was reported matching "func passes lock by value: sync.Mutex"
        analysistest.go:311: a/copylock_func.go:21: no diagnostic was reported matching "func passes lock by value: sync.Map contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:29: no diagnostic was reported matching "BadMeth passes lock by value: a.EmbeddedRWMutex"
        analysistest.go:311: a/copylock_func.go:31: no diagnostic was reported matching "BadFunc passes lock by value: a.EmbeddedRWMutex"
        analysistest.go:311: a/copylock_func.go:40: no diagnostic was reported matching "BadMeth passes lock by value: a.FieldMutex contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:42: no diagnostic was reported matching "BadFunc passes lock by value: a.FieldMutex contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:57: no diagnostic was reported matching "Bad passes lock by value: a.L0 contains a.L1 contains a.L2"
        analysistest.go:311: a/copylock_func.go:91: no diagnostic was reported matching "call of f copies lock value: sync.Mutex"
        analysistest.go:311: a/copylock_func.go:92: no diagnostic was reported matching "call of f copies lock value: struct.lock sync.Mutex. contains sync.Mutex"
        analysistest.go:311: a/copylock_func.go:94: no diagnostic was reported matching "call of fntab.0. copies lock value: struct.lock sync.Mutex. contains sync.Mutex"
        analysistest.go:311: a/copylock_range.go:27: no diagnostic was reported matching "range var mu copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:29: no diagnostic was reported matching "range var m copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:31: no diagnostic was reported matching "range var mu copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:33: no diagnostic was reported matching "range var m copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:37: no diagnostic was reported matching "range var m copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:41: no diagnostic was reported matching "range var k copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:43: no diagnostic was reported matching "range var mu copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:45: no diagnostic was reported matching "range var k copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:47: no diagnostic was reported matching "range var mu copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:49: no diagnostic was reported matching "range var v copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:55: no diagnostic was reported matching "range var mu copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:57: no diagnostic was reported matching "range var v copies lock: sync.Mutex"
        analysistest.go:311: a/copylock_range.go:65: no diagnostic was reported matching "range var t.mu copies lock: sync.Mutex"
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/copylock  0.780s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/ctrlflow/testdata/src/a/a.go:6:2: could not import log (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/ctrlflow/testdata/src/a/a.go:7:2: could not import os (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/ctrlflow/testdata/src/a/a.go:8:2: could not import runtime (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/ctrlflow/testdata/src/a/a.go:9:2: could not import syscall (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/ctrlflow/testdata/src/a/a.go:10:2: could not import testing (invalid package name: "")
--- FAIL: Test (0.40s)
        analysistest.go:110: error analyzing ctrlflow@a: analysis skipped due to errors in package
panic: interface conversion: interface is nil, not *    golang_org_x_tools_go_analysis_passes_ctrlflow  ctrlflow.CFGs [recovered]
        panic: interface conversion: interface is nil, not *    golang_org_x_tools_go_analysis_passes_ctrlflow  ctrlflow.CFGs

goroutine 20 [running]:
panic
        ../../../src/libgo/go/runtime/panic.go:554
testing.tRunner..func1
        ../../../src/libgo/go/testing/testing.go:728
panic
        ../../../src/libgo/go/runtime/panic.go:495
golang_org_x_tools_go_analysis_passes_ctrlflow_test.Test
        /local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow_test.go:24
testing.tRunner
        ../../../src/libgo/go/testing/testing.go:777
created by testing.T.Run
        ../../../src/libgo/go/testing/testing.go:824 +989
FAIL    golang.org/x/tools/go/analysis/passes/ctrlflow  0.714s
=== RUN   TestFromStringLiterals
=== RUN   TestFromStringLiterals/SimpleTest
--- PASS: TestFromStringLiterals (0.72s)
    --- PASS: TestFromStringLiterals/SimpleTest (0.72s)
=== RUN   TestFromFileSystem
--- PASS: TestFromFileSystem (0.36s)
PASS
ok      golang.org/x/tools/go/analysis/passes/findcall  1.511s
?       golang.org/x/tools/go/analysis/passes/findcall/cmd/findcall     [no test files]
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/httpresponse/testdata/src/a/a.go:4:2: could not import log (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/httpresponse/testdata/src/a/a.go:5:2: could not import net/http (invalid package name: "")
--- FAIL: Test (0.73s)
        analysistest.go:110: error analyzing httpresponse@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/httpresponse      1.230s
?       golang.org/x/tools/go/analysis/passes/inspect   [no test files]
?       golang.org/x/tools/go/analysis/passes/internal/analysisutil     [no test files]
=== RUN   Test
--- PASS: Test (0.09s)
PASS
ok      golang.org/x/tools/go/analysis/passes/loopclosure       0.504s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/lostcancel/testdata/src/a/a.go:8:2: could not import context (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/lostcancel/testdata/src/a/a.go:9:2: could not import log (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/lostcancel/testdata/src/a/a.go:10:2: could not import os (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/lostcancel/testdata/src/a/a.go:11:2: could not import testing (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/lostcancel/testdata/src/a/a.go:12:2: could not import time (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/lostcancel/testdata/src/b/b.go:7:8: could not import context (invalid package name: "")
--- FAIL: Test (0.90s)
        analysistest.go:110: error analyzing <nil>: failed prerequisites: ctrlflow@a
        analysistest.go:110: error analyzing <nil>: failed prerequisites: ctrlflow@b
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/lostcancel        1.202s
?       golang.org/x/tools/go/analysis/passes/lostcancel/cmd/lostcancel [no test files]
=== RUN   Test
--- PASS: Test (0.36s)
PASS
ok      golang.org/x/tools/go/analysis/passes/nilfunc   0.786s
=== RUN   Test
--- PASS: Test (0.31s)
PASS
ok      golang.org/x/tools/go/analysis/passes/nilness   0.696s
?       golang.org/x/tools/go/analysis/passes/nilness/cmd/nilness       [no test files]
=== RUN   Test
--- PASS: Test (0.34s)
PASS
ok      golang.org/x/tools/go/analysis/passes/pkgfact   0.732s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/b/b.go:3:8: could not import fmt (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:10:2: could not import fmt (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:11:9: could not import log (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:12:2: could not import math (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:13:2: could not import os (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:14:2: could not import testing (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:217:2: invalid operation: et1 (variable of type *invalid type) has no field or method Error
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:218:2: invalid operation: et1 (variable of type *invalid type) has no field or method Error
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:219:2: invalid operation: et1 (variable of type *invalid type) has no field or method Error
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:220:2: invalid operation: et1 (variable of type *invalid type) has no field or method Errorf
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:246:2: invalid operation: t (variable of type *invalid type) has no field or method Log
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:247:2: invalid operation: t (variable of type *invalid type) has no field or method Logf
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:248:2: invalid operation: t (variable of type *invalid type) has no field or method Logf
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:312:2: invalid operation: l (variable of type *invalid type) has no field or method Fatal
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:313:2: invalid operation: l (variable of type *invalid type) has no field or method Fatalf
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:314:2: invalid operation: l (variable of type *invalid type) has no field or method Fatalln
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:315:2: invalid operation: l (variable of type *invalid type) has no field or method Panic
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:316:2: invalid operation: l (variable of type *invalid type) has no field or method Panicf
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:317:2: invalid operation: l (variable of type *invalid type) has no field or method Panicln
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:318:2: invalid operation: l (variable of type *invalid type) has no field or method Print
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:319:2: invalid operation: l (variable of type *invalid type) has no field or method Printf
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/printf/testdata/src/a/a.go:320:2: invalid operation: l (variable of type *invalid type) has no field or method Println
--- FAIL: Test (0.18s)
        analysistest.go:110: error analyzing <nil>: failed prerequisites: printf@b
        analysistest.go:110: error analyzing printf@b: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/printf    0.613s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/shadow/testdata/src/a/a.go:11:8: could not import os (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/shadow/testdata/src/a/a.go:20:13: invalid operation: f (variable of type *invalid type) has no field or method Read
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/shadow/testdata/src/a/a.go:29:16: invalid operation: f (variable of type *invalid type) has no field or method Read
--- FAIL: Test (0.43s)
        analysistest.go:110: error analyzing shadow@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/shadow    0.775s
?       golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow [no test files]
=== RUN   Test
--- PASS: Test (0.29s)
PASS
ok      golang.org/x/tools/go/analysis/passes/shift     0.658s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/stdmethods/testdata/src/a/a.go:8:2: could not import encoding/xml (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/stdmethods/testdata/src/a/a.go:9:2: could not import fmt (invalid package name: "")
--- FAIL: Test (0.42s)
        analysistest.go:110: error analyzing stdmethods@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/stdmethods        0.816s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/structtag/testdata/src/a/a.go:11:2: could not import encoding/xml (invalid package name: "")
--- PASS: Test (0.33s)
PASS
ok      golang.org/x/tools/go/analysis/passes/structtag 0.719s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/tests/testdata/src/a/a_test.go:4:2: could not import testing (invalid package name: "")
/tmp/gopackages655062445/a/testmain-go:6:2: could not import os (invalid package name: "")
/tmp/gopackages655062445/a/testmain-go:8:2: could not import testing (invalid package name: "")
/tmp/gopackages655062445/a/testmain-go:9:2: could not import testing/internal/testdeps (invalid package name: "")
/tmp/gopackages655062445/divergent/testmain-go:6:2: could not import os (invalid package name: "")
/tmp/gopackages655062445/divergent/testmain-go:8:2: could not import testing (invalid package name: "")
/tmp/gopackages655062445/divergent/testmain-go:9:2: could not import testing/internal/testdeps (invalid package name: "")
--- FAIL: Test (0.29s)
        analysistest.go:110: error analyzing tests@a: analysis skipped due to errors in package
        analysistest.go:110: error analyzing tests@a_test: analysis skipped due to errors in package
        analysistest.go:110: error analyzing tests@a.test: analysis skipped due to errors in package
        analysistest.go:110: error analyzing tests@divergent.test: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/tests     0.701s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unmarshal/testdata/src/a/a.go:10:2: could not import encoding/gob (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unmarshal/testdata/src/a/a.go:11:2: could not import encoding/json (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unmarshal/testdata/src/a/a.go:12:2: could not import encoding/xml (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unmarshal/testdata/src/a/a.go:13:2: could not import io (invalid package name: "")
--- FAIL: Test (0.65s)
        analysistest.go:110: error analyzing unmarshal@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/unmarshal 1.089s
?       golang.org/x/tools/go/analysis/passes/unmarshal/cmd/unmarshal   [no test files]
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1071:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1075:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1081:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1088:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1094:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1102:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1111:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1119:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1129:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1138:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1153:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1161:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1168:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1176:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1183:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1192:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1202:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1211:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1220:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1230:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1239:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1249:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1260:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1275:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1288:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1296:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1299:1: label L declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1309:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1316:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1325:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1353:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1361:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1370:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1380:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1387:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1396:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1406:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1413:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1422:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1432:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1438:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1448:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1458:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1469:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1480:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1495:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1509:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1522:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1534:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1543:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1557:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1569:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1578:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1589:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1602:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1616:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1629:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1642:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1654:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1667:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1679:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1691:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1703:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1710:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1722:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1734:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1746:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1756:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1770:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1783:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1798:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1811:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1823:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1836:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1848:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1855:3: fallthrough statement out of place
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1860:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1867:3: fallthrough statement out of place
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1872:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1879:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1891:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1903:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1910:3: fallthrough statement out of place
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1915:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1925:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1939:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1952:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1967:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1974:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1979:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1985:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1990:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1997:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2004:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2011:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2019:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2027:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2034:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2041:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2048:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2056:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2063:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2072:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2082:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2091:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2100:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2110:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2119:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2123:2: invalid AST: branch statement: goto
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:18:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:22:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:28:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:35:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:41:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:49:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:58:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:66:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:76:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:85:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:100:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:108:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:115:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:123:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:130:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:139:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:149:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:158:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:167:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:177:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:186:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:196:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:207:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:222:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:235:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:243:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:246:1: label L declared but not used
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:256:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:263:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:272:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:300:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:308:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:317:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:327:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:334:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:343:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:353:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:360:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:369:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:379:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:385:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:395:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:405:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:416:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:427:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:442:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:456:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:469:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:481:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:490:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:504:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:516:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:525:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:536:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:549:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:563:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:576:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:589:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:601:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:614:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:626:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:638:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:650:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:657:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:669:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:681:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:693:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:703:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:717:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:730:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:745:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:758:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:770:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:783:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:795:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:802:3: fallthrough statement out of place
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:807:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:814:3: fallthrough statement out of place
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:819:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:826:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:838:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:850:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:857:3: fallthrough statement out of place
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:862:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:872:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:886:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:899:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:914:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:921:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:926:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:932:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:937:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:944:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:951:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:958:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:966:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:974:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:981:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:988:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:995:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1003:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1010:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1019:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1029:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1038:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1047:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1057:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:1066:1: missing return
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2129:7: cannot convert 1 (untyped int constant) to bool
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unreachable/testdata/src/a/a.go:2133:1: missing return
--- PASS: Test (0.43s)
PASS
ok      golang.org/x/tools/go/analysis/passes/unreachable       0.867s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unsafeptr/testdata/src/a/a.go:8:2: could not import reflect (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unsafeptr/testdata/src/a/a.go:33:21: invalid operation: s1 (variable of type *invalid type) has no field or method Data
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unsafeptr/testdata/src/a/a.go:35:21: invalid operation: s2 (variable of type *invalid type) has no field or method Data
--- FAIL: Test (0.36s)
        analysistest.go:110: error analyzing unsafeptr@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/unsafeptr 0.951s
=== RUN   Test
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unusedresult/testdata/src/a/a.go:8:2: could not import bytes (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unusedresult/testdata/src/a/a.go:9:2: could not import errors (invalid package name: "")
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/analysis/passes/unusedresult/testdata/src/a/a.go:10:2: could not import fmt (invalid package name: "")
--- FAIL: Test (0.14s)
        analysistest.go:110: error analyzing unusedresult@a: analysis skipped due to errors in package
FAIL
FAIL    golang.org/x/tools/go/analysis/passes/unusedresult      0.582s
?       golang.org/x/tools/go/analysis/singlechecker    [no test files]
?       golang.org/x/tools/go/analysis/unitchecker      [no test files]
=== RUN   TestAddImport
--- PASS: TestAddImport (0.02s)
=== RUN   TestDoubleAddImport
--- PASS: TestDoubleAddImport (0.00s)
=== RUN   TestDoubleAddNamedImport
--- PASS: TestDoubleAddNamedImport (0.00s)
=== RUN   TestDoubleAddImportWithDeclComment
--- PASS: TestDoubleAddImportWithDeclComment (0.00s)
=== RUN   TestDeleteImport
--- PASS: TestDeleteImport (0.02s)
=== RUN   TestRewriteImport
--- PASS: TestRewriteImport (0.00s)
=== RUN   TestImports
--- PASS: TestImports (0.00s)
=== RUN   TestUsesImport
--- PASS: TestUsesImport (0.00s)
=== RUN   TestPathEnclosingInterval_Exact
--- PASS: TestPathEnclosingInterval_Exact (0.00s)
=== RUN   TestPathEnclosingInterval_Paths
--- PASS: TestPathEnclosingInterval_Paths (0.00s)
=== RUN   TestRewrite
=== RUN   TestRewrite/*
=== RUN   TestRewrite/*/nop
=== PAUSE TestRewrite/*/nop
=== RUN   TestRewrite/*/replace
=== PAUSE TestRewrite/*/replace
=== RUN   TestRewrite/*/set_doc_strings
=== PAUSE TestRewrite/*/set_doc_strings
=== RUN   TestRewrite/*/insert_names
=== PAUSE TestRewrite/*/insert_names
=== RUN   TestRewrite/*/insert
=== PAUSE TestRewrite/*/insert
=== RUN   TestRewrite/*/delete
=== PAUSE TestRewrite/*/delete
=== RUN   TestRewrite/*/insertafter-delete
=== PAUSE TestRewrite/*/insertafter-delete
=== RUN   TestRewrite/*/delete-insertafter
=== PAUSE TestRewrite/*/delete-insertafter
=== CONT  TestRewrite/*/nop
=== CONT  TestRewrite/*/insert
=== CONT  TestRewrite/*/replace
=== CONT  TestRewrite/*/set_doc_strings
=== CONT  TestRewrite/*/insert_names
=== CONT  TestRewrite/*/insertafter-delete
=== CONT  TestRewrite/*/delete-insertafter
=== CONT  TestRewrite/*/delete
--- PASS: TestRewrite (0.00s)
    --- PASS: TestRewrite/* (0.00s)
        --- PASS: TestRewrite/*/nop (0.00s)
        --- PASS: TestRewrite/*/replace (0.00s)
        --- PASS: TestRewrite/*/insert (0.00s)
        --- PASS: TestRewrite/*/set_doc_strings (0.00s)
        --- PASS: TestRewrite/*/insert_names (0.00s)
        --- PASS: TestRewrite/*/insertafter-delete (0.00s)
        --- PASS: TestRewrite/*/delete-insertafter (0.00s)
        --- PASS: TestRewrite/*/delete (0.00s)
PASS
ok      golang.org/x/tools/go/ast/astutil       0.490s
=== RUN   TestInspectAllNodes
--- PASS: TestInspectAllNodes (0.00s)
=== RUN   TestInspectPruning
--- PASS: TestInspectPruning (0.00s)
=== RUN   TestTypeFiltering
--- PASS: TestTypeFiltering (0.00s)
PASS
ok      golang.org/x/tools/go/ast/inspector     0.263s
=== RUN   TestAllPackages
--- SKIP: TestAllPackages (0.00s)
        allpackages_test.go:23: gccgo has no standard packages
=== RUN   TestExpandPatterns
--- PASS: TestExpandPatterns (0.00s)
=== RUN   TestParseOverlayArchive
--- PASS: TestParseOverlayArchive (0.00s)
=== RUN   TestOverlay
--- PASS: TestOverlay (0.00s)
=== RUN   TestTags
--- PASS: TestTags (0.00s)
PASS
ok      golang.org/x/tools/go/buildutil 0.396s
?       golang.org/x/tools/go/callgraph [no test files]
=== RUN   TestCHA
--- PASS: TestCHA (0.00s)
PASS
ok      golang.org/x/tools/go/callgraph/cha     0.413s
=== RUN   TestRTA
--- PASS: TestRTA (0.00s)
PASS
ok      golang.org/x/tools/go/callgraph/rta     0.398s
=== RUN   TestStatic
--- PASS: TestStatic (0.00s)
PASS
ok      golang.org/x/tools/go/callgraph/static  0.404s
=== RUN   TestDeadCode
--- PASS: TestDeadCode (0.00s)
PASS
ok      golang.org/x/tools/go/cfg       0.361s
=== RUN   TestMarker
--- PASS: TestMarker (0.00s)
PASS
ok      golang.org/x/tools/go/expect    0.281s
=== RUN   Test
--- PASS: Test (0.00s)
        gccgoexportdata_test.go:36: filename = testdata/errors.gox
        gccgoexportdata_test.go:36: filename = testdata/short.a
        gccgoexportdata_test.go:36: filename = testdata/long.a
PASS
ok      golang.org/x/tools/go/gccgoexportdata   0.446s
=== RUN   TestAppEngine16
--- PASS: TestAppEngine16 (0.00s)
PASS
ok      golang.org/x/tools/go/gcexportdata      0.436s
?       golang.org/x/tools/go/internal/cgo      [no test files]
=== RUN   TestInstallationImporter
--- SKIP: TestInstallationImporter (0.00s)
        gccgoinstallation_test.go:157: This test needs gccgo
=== RUN   TestGoxImporter
--- PASS: TestGoxImporter (0.01s)
=== RUN   TestObjImporter
--- SKIP: TestObjImporter (0.00s)
        importer_test.go:130: This test needs gccgo
=== RUN   TestTypeParser
--- PASS: TestTypeParser (0.00s)
PASS
ok      golang.org/x/tools/go/internal/gccgoimporter    0.453s
=== RUN   TestImportTestdata
--- SKIP: TestImportTestdata (0.00s)
        gcimporter_test.go:155: gc-built packages not available (compiler = gccgo)
=== RUN   TestVersionHandling
--- SKIP: TestVersionHandling (0.00s)
        gcimporter_test.go:189: gc-built packages not available (compiler = gccgo)
=== RUN   TestImportStdLib
--- SKIP: TestImportStdLib (0.00s)
        gcimporter_test.go:270: gc-built packages not available (compiler = gccgo)
=== RUN   TestIssue5815
--- SKIP: TestIssue5815 (0.00s)
        gcimporter_test.go:286: gc-built packages not available (compiler = gccgo)
=== RUN   TestCorrectMethodPackage
--- SKIP: TestCorrectMethodPackage (0.00s)
        gcimporter_test.go:315: gc-built packages not available (compiler = gccgo)
=== RUN   TestIssue13566
--- SKIP: TestIssue13566 (0.00s)
        gcimporter_test.go:338: gc-built packages not available (compiler = gccgo)
=== RUN   TestIssue13898
--- SKIP: TestIssue13898 (0.00s)
        gcimporter_test.go:377: gc-built packages not available (compiler = gccgo)
=== RUN   TestIssue15517
--- SKIP: TestIssue15517 (0.00s)
        gcimporter_test.go:423: gc-built packages not available (compiler = gccgo)
=== RUN   TestIssue15920
--- SKIP: TestIssue15920 (0.00s)
        gcimporter_test.go:462: gc-built packages not available (compiler = gccgo)
=== RUN   TestIssue20046
--- SKIP: TestIssue20046 (0.00s)
        gcimporter_test.go:479: gc-built packages not available (compiler = gccgo)
=== RUN   TestBExportData_stdlib
--- SKIP: TestBExportData_stdlib (0.00s)
        bexport_test.go:27: gccgo standard library is inaccessible
=== RUN   TestVeryLongFile
--- PASS: TestVeryLongFile (0.05s)
=== RUN   TestTypeAliases
--- PASS: TestTypeAliases (0.01s)
PASS
ok      golang.org/x/tools/go/internal/gcimporter       0.327s
?       golang.org/x/tools/go/internal/packagesdriver   [no test files]
=== RUN   TestFromArgs
--- PASS: TestFromArgs (0.00s)
=== RUN   TestLoad_NoInitialPackages
--- PASS: TestLoad_NoInitialPackages (0.00s)
=== RUN   TestLoad_MissingInitialPackage
--- SKIP: TestLoad_MissingInitialPackage (0.00s)
        loader_test.go:114: Test disabled on gccgo.
=== RUN   TestLoad_MissingInitialPackage_AllowErrors
--- SKIP: TestLoad_MissingInitialPackage_AllowErrors (0.00s)
        loader_test.go:136: gccgo has no standard library test files
=== RUN   TestCreateUnnamedPackage
--- PASS: TestCreateUnnamedPackage (0.00s)
=== RUN   TestLoad_MissingFileInCreatedPackage
open /local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/loader/missing.go: no such file or directory
--- PASS: TestLoad_MissingFileInCreatedPackage (0.00s)
=== RUN   TestLoad_MissingFileInCreatedPackage_AllowErrors
open /local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/loader/missing.go: no such file or directory
--- PASS: TestLoad_MissingFileInCreatedPackage_AllowErrors (0.00s)
=== RUN   TestLoad_ParseError
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/loader/testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'
--- PASS: TestLoad_ParseError (0.00s)
=== RUN   TestLoad_ParseError_AllowErrors
/local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/loader/testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'
--- PASS: TestLoad_ParseError_AllowErrors (0.00s)
=== RUN   TestLoad_FromSource_Success
--- PASS: TestLoad_FromSource_Success (0.00s)
=== RUN   TestLoad_FromImports_Success
--- SKIP: TestLoad_FromImports_Success (0.00s)
        loader_test.go:264: gccgo has no standard library test files
=== RUN   TestLoad_MissingIndirectImport
/go/src/b/x.go:1:21: could not import c (cannot find package "c" in any of:
        /go/src/c (from $GOROOT)
        ($GOPATH not set. For more details see: 'go help gopath'))
--- PASS: TestLoad_MissingIndirectImport (0.00s)
=== RUN   TestLoad_BadDependency_AllowErrors
/go/src/b/x.go:1:21: could not import c (cannot find package "c" in any of:
        /go/src/c (from $GOROOT)
        ($GOPATH not set. For more details see: 'go help gopath'))
/go/src/b/x.go:1:21: could not import c (/go/src/c/x.go:1:8: expected 'IDENT', found 'EOF')
/go/src/c/x.go:1:20: expected operand, found 'EOF'
--- PASS: TestLoad_BadDependency_AllowErrors (0.00s)
=== RUN   TestCwd
cannot find package "two/three" in any of:
        /go/src/two/three (from $GOROOT)
        ($GOPATH not set. For more details see: 'go help gopath')
--- PASS: TestCwd (0.02s)
=== RUN   TestLoad_vendor
--- PASS: TestLoad_vendor (0.00s)
=== RUN   TestVendorCwd
cannot find package "http" in any of:
        /go/src/vendor/http (vendor tree)
        /go/src/http (from $GOROOT)
        ($GOPATH not set. For more details see: 'go help gopath')
--- PASS: TestVendorCwd (0.00s)
=== RUN   TestVendorCwdIssue16580
--- PASS: TestVendorCwdIssue16580 (0.00s)
=== RUN   TestTransitivelyErrorFreeFlag
/go/src/c/x.go:1:31: cannot convert false (untyped bool constant) to int
--- PASS: TestTransitivelyErrorFreeFlag (0.00s)
=== RUN   TestErrorReporting
--- PASS: TestErrorReporting (0.00s)
=== RUN   TestCycles
--- PASS: TestCycles (0.00s)
=== RUN   TestLoad1
--- SKIP: TestLoad1 (0.00s)
        loader_test.go:822: Test disabled on gccgo.
=== RUN   TestLoad2
--- SKIP: TestLoad2 (0.00s)
        loader_test.go:828: Test disabled on gccgo.
=== RUN   TestStdlib
--- SKIP: TestStdlib (0.00s)
        stdlib_test.go:34: Test disabled on gccgo.
=== RUN   TestCgoOption
--- SKIP: TestCgoOption (0.00s)
        stdlib_test.go:126: skipping in short mode; uses tons of memory (https://golang.org/issue/14113)
PASS
ok      golang.org/x/tools/go/loader    0.437s
=== RUN   TestLoadZeroConfig
--- FAIL: TestLoadZeroConfig (0.35s)
        packages_test.go:65: got name= srcs=[] imports=map[], want name=hash srcs=[hash.go] imports=map[]
=== RUN   TestLoadImportsGraph
=== RUN   TestLoadImportsGraph/GOPATH
--- FAIL: TestLoadImportsGraph (3.15s)
    --- FAIL: TestLoadImportsGraph/GOPATH (3.15s)
        packages_test.go:176: errors.Name = "", want "errors"
        packages_test.go:191: errors.Srcs = [], want [errors.go]
        packages_test.go:176: unsafe.Name = "", want "unsafe"
=== RUN   TestLoadImportsTestVariants
=== RUN   TestLoadImportsTestVariants/GOPATH
--- PASS: TestLoadImportsTestVariants (1.01s)
    --- PASS: TestLoadImportsTestVariants/GOPATH (1.01s)
=== RUN   TestLoadAbsolutePath
--- PASS: TestLoadAbsolutePath (0.33s)
=== RUN   TestVendorImports
--- PASS: TestVendorImports (0.56s)
=== RUN   TestConfigDir
=== RUN   TestConfigDir/GOPATH
--- PASS: TestConfigDir (3.05s)
    --- PASS: TestConfigDir/GOPATH (3.05s)
=== RUN   TestConfigFlags
=== RUN   TestConfigFlags/GOPATH
--- PASS: TestConfigFlags (2.23s)
    --- PASS: TestConfigFlags/GOPATH (2.23s)
=== RUN   TestLoadTypes
=== RUN   TestLoadTypes/GOPATH
--- PASS: TestLoadTypes (0.77s)
    --- PASS: TestLoadTypes/GOPATH (0.77s)
=== RUN   TestLoadSyntaxOK
=== RUN   TestLoadSyntaxOK/GOPATH
--- PASS: TestLoadSyntaxOK (0.61s)
    --- PASS: TestLoadSyntaxOK/GOPATH (0.61s)
=== RUN   TestLoadDiamondTypes
=== RUN   TestLoadDiamondTypes/GOPATH
--- PASS: TestLoadDiamondTypes (0.37s)
    --- PASS: TestLoadDiamondTypes/GOPATH (0.37s)
=== RUN   TestLoadSyntaxError
=== RUN   TestLoadSyntaxError/GOPATH
--- PASS: TestLoadSyntaxError (0.83s)
    --- PASS: TestLoadSyntaxError/GOPATH (0.83s)
=== RUN   TestParseFileModifyAST
=== RUN   TestParseFileModifyAST/GOPATH
--- PASS: TestParseFileModifyAST (0.09s)
    --- PASS: TestParseFileModifyAST/GOPATH (0.09s)
=== RUN   TestOverlay
=== RUN   TestOverlay/GOPATH
--- PASS: TestOverlay (3.90s)
    --- PASS: TestOverlay/GOPATH (3.90s)
=== RUN   TestLoadAllSyntaxImportErrors
=== RUN   TestLoadAllSyntaxImportErrors/GOPATH
--- PASS: TestLoadAllSyntaxImportErrors (0.00s)
    --- SKIP: TestLoadAllSyntaxImportErrors/GOPATH (0.00s)
        packages_test.go:877: go list -compiled -e fails with non-zero exit status for empty packages
=== RUN   TestAbsoluteFilenames
=== RUN   TestAbsoluteFilenames/GOPATH
--- PASS: TestAbsoluteFilenames (5.08s)
    --- PASS: TestAbsoluteFilenames/GOPATH (5.08s)
=== RUN   TestContains
=== RUN   TestContains/GOPATH
--- PASS: TestContains (0.40s)
    --- PASS: TestContains/GOPATH (0.40s)
=== RUN   TestContainsOverlay
=== RUN   TestContainsOverlay/GOPATH
--- PASS: TestContainsOverlay (0.59s)
    --- PASS: TestContainsOverlay/GOPATH (0.59s)
=== RUN   TestSizes
=== RUN   TestSizes/GOPATH
--- PASS: TestSizes (0.67s)
    --- PASS: TestSizes/GOPATH (0.67s)
=== RUN   TestContains_FallbackSticks
=== RUN   TestContains_FallbackSticks/GOPATH
--- PASS: TestContains_FallbackSticks (0.69s)
    --- PASS: TestContains_FallbackSticks/GOPATH (0.69s)
=== RUN   TestName
=== RUN   TestName/GOPATH
--- PASS: TestName (1.48s)
    --- PASS: TestName/GOPATH (1.48s)
=== RUN   TestName_Modules
--- SKIP: TestName_Modules (0.00s)
        packages_test.go:1186: pre-modules version of Go
=== RUN   TestName_ModulesDedup
--- SKIP: TestName_ModulesDedup (0.00s)
        packages_test.go:1226: pre-modules version of Go
=== RUN   TestRedundantQueries
=== RUN   TestRedundantQueries/GOPATH
--- FAIL: TestRedundantQueries (1.31s)
    --- FAIL: TestRedundantQueries/GOPATH (1.31s)
        packages_test.go:1276: Load("errors", "name=errors") = [errors], wanted just the errors package
=== RUN   TestNoPatterns
=== RUN   TestNoPatterns/GOPATH
--- PASS: TestNoPatterns (0.31s)
    --- PASS: TestNoPatterns/GOPATH (0.31s)
=== RUN   TestJSON
=== RUN   TestJSON/GOPATH
--- PASS: TestJSON (0.57s)
    --- PASS: TestJSON/GOPATH (0.57s)
=== RUN   TestRejectInvalidQueries
--- PASS: TestRejectInvalidQueries (0.00s)
=== RUN   TestPatternPassthrough
=== RUN   TestPatternPassthrough/GOPATH
--- PASS: TestPatternPassthrough (0.30s)
    --- PASS: TestPatternPassthrough/GOPATH (0.30s)
=== RUN   TestConfigDefaultEnv
=== RUN   TestConfigDefaultEnv/GOPATH
=== RUN   TestConfigDefaultEnv/GOPATH/driver_off
=== RUN   TestConfigDefaultEnv/GOPATH/driver_unset
=== RUN   TestConfigDefaultEnv/GOPATH/driver_set
--- PASS: TestConfigDefaultEnv (0.34s)
    --- PASS: TestConfigDefaultEnv/GOPATH (0.34s)
        --- PASS: TestConfigDefaultEnv/GOPATH/driver_off (0.31s)
        --- PASS: TestConfigDefaultEnv/GOPATH/driver_unset (0.01s)
        --- PASS: TestConfigDefaultEnv/GOPATH/driver_set (0.02s)
=== RUN   TestBasicXTest
=== RUN   TestBasicXTest/GOPATH
--- PASS: TestBasicXTest (0.30s)
    --- PASS: TestBasicXTest/GOPATH (0.30s)
=== RUN   TestErrorMissingFile
=== RUN   TestErrorMissingFile/GOPATH
--- PASS: TestErrorMissingFile (0.30s)
    --- PASS: TestErrorMissingFile/GOPATH (0.30s)
        packages_test.go:1630: []
=== RUN   TestLoadImportsC
--- FAIL: TestLoadImportsC (0.09s)
        packagescgo_test.go:58: package "net": got 
                , 
                want to have syscall:syscall
        packagescgo_test.go:54: package "net [syscall.test]" not loaded
        packagescgo_test.go:54: package "syscall_test [syscall.test]" not loaded
=== RUN   TestStdlibMetadata
--- FAIL: TestStdlibMetadata (0.11s)
        stdlib_test.go:47: Loaded 0 packages
        stdlib_test.go:52: Loaded only 0 packages, want at least 150
        stdlib_test.go:55: GOMAXPROCS:  64
        stdlib_test.go:56: Metadata:    92.853236ms
        stdlib_test.go:57: #MB:         0
=== RUN   TestCgoOption
--- SKIP: TestCgoOption (0.00s)
        stdlib_test.go:62: skipping in short mode; uses tons of memory (https://golang.org/issue/14113)
FAIL
FAIL    golang.org/x/tools/go/packages  30.202s
?       golang.org/x/tools/go/packages/gopackages       [no test files]
=== RUN   TestExpect
--- PASS: TestExpect (0.14s)
=== RUN   TestGOPATHExport
--- PASS: TestGOPATHExport (0.00s)
PASS
ok      golang.org/x/tools/go/packages/packagestest     0.534s
=== RUN   TestParseExtendedQuery
file.go:4:8: could not import reflect (invalid package name: "")
--- FAIL: TestParseExtendedQuery (0.00s)
        query_test.go:58: couldn't load packages due to errors: main
=== RUN   TestStdlib
--- SKIP: TestStdlib (0.00s)
        stdlib_test.go:36: skipping (slow) stdlib test (use --stdlib)
FAIL
FAIL    golang.org/x/tools/go/pointer   0.252s
=== RUN   TestBuildPackage
--- SKIP: TestBuildPackage (0.00s)
        builder_test.go:32: Test disabled on gccgo.
=== RUN   TestRuntimeTypes
--- SKIP: TestRuntimeTypes (0.00s)
        builder_test.go:167: Test disabled on gccgo.
=== RUN   TestInit
--- SKIP: TestInit (0.00s)
        builder_test.go:268: Test disabled on gccgo.
=== RUN   TestSyntheticFuncs
--- PASS: TestSyntheticFuncs (0.00s)
=== RUN   TestPhiElimination
--- PASS: TestPhiElimination (0.01s)
=== RUN   TestValueForExprStructConv
--- PASS: TestValueForExprStructConv (0.00s)
=== RUN   TestObjValueLookup
--- SKIP: TestObjValueLookup (0.00s)
        source_test.go:34: Test disabled on gccgo.
=== RUN   TestValueForExpr
--- PASS: TestValueForExpr (0.01s)
=== RUN   TestEnclosingFunction
--- PASS: TestEnclosingFunction (0.00s)
=== RUN   TestFindTests
--- SKIP: TestFindTests (0.00s)
        testmain_test.go:41: Test disabled on gccgo.
=== RUN   TestFindTestsTesting
--- PASS: TestFindTestsTesting (0.00s)
PASS
ok      golang.org/x/tools/go/ssa       0.426s
?       golang.org/x/tools/go/ssa/interp        [no test files]
=== RUN   TestBuildPackage
--- SKIP: TestBuildPackage (0.00s)
        load_test.go:37: Test disabled on gccgo.
=== RUN   TestPackages
--- FAIL: TestPackages (0.29s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=1 addr=96 pc=94668996224122]

goroutine 21 [running]:
panic
        ../../../src/libgo/go/runtime/panic.go:554
testing.tRunner..func1
        ../../../src/libgo/go/testing/testing.go:728
panic
        ../../../src/libgo/go/runtime/panic.go:495
golang_org_x_tools_go_ssa_ssautil_test.TestPackages
        /local_scratch/glaubitz/gotests/golang-go.tools/build/src/golang.org/x/tools/go/ssa/ssautil/load_test.go:72
testing.tRunner
        ../../../src/libgo/go/testing/testing.go:777
created by testing.T.Run
        ../../../src/libgo/go/testing/testing.go:824 +989
FAIL    golang.org/x/tools/go/ssa/ssautil       0.617s
=== RUN   TestPaths
--- PASS: TestPaths (0.00s)
=== RUN   TestSourceAndExportData
--- PASS: TestSourceAndExportData (0.00s)
PASS
ok      golang.org/x/tools/go/types/objectpath  0.452s
=== RUN   TestStaticCallee
--- FAIL: TestStaticCallee (0.01s)
        callee_test.go:68: p.go:3:8: could not import fmt (invalid package name: "")
=== RUN   TestDependencies
--- PASS: TestDependencies (0.00s)
=== RUN   TestAxioms
--- PASS: TestAxioms (0.00s)
=== RUN   TestMap
--- PASS: TestMap (0.00s)
=== RUN   TestIntuitiveMethodSet
--- PASS: TestIntuitiveMethodSet (0.00s)
=== RUN   ExampleMap
--- PASS: ExampleMap (0.00s)
FAIL
FAIL    golang.org/x/tools/go/types/typeutil    0.390s
=== RUN   TestRepoRootForImportPath
--- SKIP: TestRepoRootForImportPath (0.00s)
        vcs_test.go:49: Skipping test in offline build environment
=== RUN   TestFromDir
--- PASS: TestFromDir (0.00s)
=== RUN   TestParseMetaGoImports
--- PASS: TestParseMetaGoImports (0.00s)
=== RUN   TestValidateRepoRoot
--- PASS: TestValidateRepoRoot (0.00s)
=== RUN   TestMatchGoImport
--- PASS: TestMatchGoImport (0.00s)
PASS
ok      golang.org/x/tools/go/vcs       0.397s
=== RUN   TestNewDirTree
--- PASS: TestNewDirTree (0.43s)
=== RUN   TestStructField
=== RUN   TestStructField/10
=== RUN   TestStructField/100
=== RUN   TestStructField/1000
=== RUN   TestStructField/10000
--- PASS: TestStructField (0.37s)
    --- PASS: TestStructField/10 (0.00s)
    --- PASS: TestStructField/100 (0.00s)
    --- PASS: TestStructField/1000 (0.03s)
    --- PASS: TestStructField/10000 (0.33s)
=== RUN   TestPkgLinkFunc
--- PASS: TestPkgLinkFunc (0.00s)
=== RUN   TestSrcPosLinkFunc
--- PASS: TestSrcPosLinkFunc (0.00s)
=== RUN   TestSrcLinkFunc
--- PASS: TestSrcLinkFunc (0.00s)
=== RUN   TestQueryLinkFunc
--- PASS: TestQueryLinkFunc (0.00s)
=== RUN   TestDocLinkFunc
--- PASS: TestDocLinkFunc (0.00s)
=== RUN   TestSanitizeFunc
--- PASS: TestSanitizeFunc (0.00s)
=== RUN   TestStructFieldsIDAttributes
--- PASS: TestStructFieldsIDAttributes (0.00s)
=== RUN   TestValueSpecIDAttributes
--- PASS: TestValueSpecIDAttributes (0.00s)
=== RUN   TestCompositeLitLinkFields
--- PASS: TestCompositeLitLinkFields (0.00s)
=== RUN   TestFuncDeclNotLink
--- PASS: TestFuncDeclNotLink (0.00s)
=== RUN   TestScanIdentifier
--- PASS: TestScanIdentifier (0.00s)
=== RUN   TestReplaceLeadingIndentation
--- PASS: TestReplaceLeadingIndentation (0.00s)
=== RUN   TestSrcBreadcrumbFunc
--- PASS: TestSrcBreadcrumbFunc (0.00s)
=== RUN   TestSrcToPkgLinkFunc
--- PASS: TestSrcToPkgLinkFunc (0.00s)
=== RUN   TestFilterOutBuildAnnotations
--- PASS: TestFilterOutBuildAnnotations (0.00s)
=== RUN   TestIndex
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
--- PASS: TestIndex (0.09s)
        index_test.go:75: docs, goCode, fullText = true,true,true
        index_test.go:75: docs, goCode, fullText = true,true,false
        index_test.go:75: docs, goCode, fullText = true,false,true
        index_test.go:75: docs, goCode, fullText = true,false,false
        index_test.go:75: docs, goCode, fullText = false,true,true
        index_test.go:75: docs, goCode, fullText = false,true,false
        index_test.go:75: docs, goCode, fullText = false,false,true
        index_test.go:75: docs, goCode, fullText = false,false,false
=== RUN   TestIndexWriteRead
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
2019/01/30 13:25:58 updateMetadata: file does not exist
--- PASS: TestIndexWriteRead (0.11s)
=== RUN   TestIdentResultSort
--- PASS: TestIdentResultSort (0.00s)
=== RUN   TestIdentFilter
--- PASS: TestIdentFilter (0.00s)
=== RUN   TestIgnoredGoFiles
--- PASS: TestIgnoredGoFiles (0.00s)
=== RUN   TestParseEBNFString
--- PASS: TestParseEBNFString (0.00s)
=== RUN   TestParseVersionRow
--- PASS: TestParseVersionRow (0.00s)
=== RUN   TestAPIVersion
--- PASS: TestAPIVersion (0.05s)
PASS
ok      golang.org/x/tools/godoc        1.330s
?       golang.org/x/tools/godoc/analysis       [no test files]
=== RUN   TestParseVersion
--- PASS: TestParseVersion (0.00s)
=== RUN   TestFileOrder
--- PASS: TestFileOrder (0.00s)
=== RUN   TestFilesToReleases
--- PASS: TestFilesToReleases (0.00s)
=== RUN   TestOldUnstableNotShown
--- PASS: TestOldUnstableNotShown (0.00s)
=== RUN   TestNewUnstableShownOnce
--- PASS: TestNewUnstableShownOnce (0.00s)
=== RUN   TestUnstableShown
--- PASS: TestUnstableShown (0.00s)
PASS
ok      golang.org/x/tools/godoc/dl     0.435s
?       golang.org/x/tools/godoc/env    [no test files]
?       golang.org/x/tools/godoc/proxy  [no test files]
=== RUN   TestRedirects
--- PASS: TestRedirects (0.50s)
PASS
ok      golang.org/x/tools/godoc/redirect       0.902s
?       golang.org/x/tools/godoc/short  [no test files]
?       golang.org/x/tools/godoc/util   [no test files]
=== RUN   TestNewNameSpace
--- PASS: TestNewNameSpace (0.00s)
=== RUN   TestRootType
--- PASS: TestRootType (0.00s)
PASS
ok      golang.org/x/tools/godoc/vfs    0.410s
=== RUN   TestRootType
--- PASS: TestRootType (0.00s)
PASS
ok      golang.org/x/tools/godoc/vfs/gatefs     0.354s
?       golang.org/x/tools/godoc/vfs/httpfs     [no test files]
=== RUN   TestOpenRoot
--- PASS: TestOpenRoot (0.00s)
=== RUN   TestReaddir
--- PASS: TestReaddir (0.00s)
PASS
ok      golang.org/x/tools/godoc/vfs/mapfs      0.397s
=== RUN   TestZipFSReadDir
--- PASS: TestZipFSReadDir (0.00s)
=== RUN   TestZipFSStatFuncs
--- PASS: TestZipFSStatFuncs (0.00s)
=== RUN   TestZipFSNotExist
--- PASS: TestZipFSNotExist (0.00s)
=== RUN   TestZipFSOpenSeek
--- PASS: TestZipFSOpenSeek (0.00s)
=== RUN   TestRootType
--- FAIL: TestRootType (0.00s)
        zipfs_test.go:203: unexpected fsType. Expected- GOROOT, Got- 
FAIL
FAIL    golang.org/x/tools/godoc/vfs/zipfs      0.384s
=== RUN   TestSimpleCases
=== RUN   TestSimpleCases/factored_imports_add
=== RUN   TestSimpleCases/factored_imports_add/GOPATH
=== RUN   TestSimpleCases/factored_imports_add/GOPATH_GoPackages
=== RUN   TestSimpleCases/factored_imports_add_first_sec
=== RUN   TestSimpleCases/factored_imports_add_first_sec/GOPATH
=== RUN   TestSimpleCases/factored_imports_add_first_sec/GOPATH_GoPackages
=== RUN   TestSimpleCases/factored_imports_add_first_sec_2
=== RUN   TestSimpleCases/factored_imports_add_first_sec_2/GOPATH
=== RUN   TestSimpleCases/factored_imports_add_first_sec_2/GOPATH_GoPackages
=== RUN   TestSimpleCases/add_import_section
=== RUN   TestSimpleCases/add_import_section/GOPATH
=== RUN   TestSimpleCases/add_import_section/GOPATH_GoPackages
=== RUN   TestSimpleCases/add_import_paren_section
=== RUN   TestSimpleCases/add_import_paren_section/GOPATH
=== RUN   TestSimpleCases/add_import_paren_section/GOPATH_GoPackages
=== RUN   TestSimpleCases/no_double_add
=== RUN   TestSimpleCases/no_double_add/GOPATH
=== RUN   TestSimpleCases/no_double_add/GOPATH_GoPackages
=== RUN   TestSimpleCases/no_mismatched_add
=== RUN   TestSimpleCases/no_mismatched_add/GOPATH
=== RUN   TestSimpleCases/no_mismatched_add/GOPATH_GoPackages
=== RUN   TestSimpleCases/remove_unused_1_of_2
=== RUN   TestSimpleCases/remove_unused_1_of_2/GOPATH
=== RUN   TestSimpleCases/remove_unused_1_of_2/GOPATH_GoPackages
=== RUN   TestSimpleCases/remove_unused_2_of_2
=== RUN   TestSimpleCases/remove_unused_2_of_2/GOPATH
=== RUN   TestSimpleCases/remove_unused_2_of_2/GOPATH_GoPackages
=== RUN   TestSimpleCases/remove_unused_1_of_1
=== RUN   TestSimpleCases/remove_unused_1_of_1/GOPATH
=== RUN   TestSimpleCases/remove_unused_1_of_1/GOPATH_GoPackages
=== RUN   TestSimpleCases/dont_remove_empty_imports
=== RUN   TestSimpleCases/dont_remove_empty_imports/GOPATH
=== RUN   TestSimpleCases/dont_remove_empty_imports/GOPATH_GoPackages
=== RUN   TestSimpleCases/dont_remove_dot_imports
=== RUN   TestSimpleCases/dont_remove_dot_imports/GOPATH
=== RUN   TestSimpleCases/dont_remove_dot_imports/GOPATH_GoPackages
=== RUN   TestSimpleCases/skip_resolved_refs
=== RUN   TestSimpleCases/skip_resolved_refs/GOPATH
=== RUN   TestSimpleCases/skip_resolved_refs/GOPATH_GoPackages
=== RUN   TestSimpleCases/skip_template
=== RUN   TestSimpleCases/skip_template/GOPATH
=== RUN   TestSimpleCases/skip_template/GOPATH_GoPackages
=== RUN   TestSimpleCases/cgo
=== RUN   TestSimpleCases/cgo/GOPATH
=== RUN   TestSimpleCases/cgo/GOPATH_GoPackages
=== RUN   TestSimpleCases/make_sections
=== RUN   TestSimpleCases/make_sections/GOPATH
=== RUN   TestSimpleCases/make_sections/GOPATH_GoPackages
=== RUN   TestSimpleCases/delete_empty_import_block
=== RUN   TestSimpleCases/delete_empty_import_block/GOPATH
=== RUN   TestSimpleCases/delete_empty_import_block/GOPATH_GoPackages
=== RUN   TestSimpleCases/use_empty_import_block
=== RUN   TestSimpleCases/use_empty_import_block/GOPATH
=== RUN   TestSimpleCases/use_empty_import_block/GOPATH_GoPackages
=== RUN   TestSimpleCases/blank_line_before_new_group
=== RUN   TestSimpleCases/blank_line_before_new_group/GOPATH
=== RUN   TestSimpleCases/blank_line_before_new_group/GOPATH_GoPackages
=== RUN   TestSimpleCases/blank_line_separating_std_and_third_party
=== RUN   TestSimpleCases/blank_line_separating_std_and_third_party/GOPATH
=== RUN   TestSimpleCases/blank_line_separating_std_and_third_party/GOPATH_GoPackages
=== RUN   TestSimpleCases/new_imports_before_comment
=== RUN   TestSimpleCases/new_imports_before_comment/GOPATH
=== RUN   TestSimpleCases/new_imports_before_comment/GOPATH_GoPackages
=== RUN   TestSimpleCases/new_section_for_dotless_import
=== RUN   TestSimpleCases/new_section_for_dotless_import/GOPATH
=== RUN   TestSimpleCases/new_section_for_dotless_import/GOPATH_GoPackages
=== RUN   TestSimpleCases/fragment_with_main
=== RUN   TestSimpleCases/fragment_with_main/GOPATH
=== RUN   TestSimpleCases/fragment_with_main/GOPATH_GoPackages
=== RUN   TestSimpleCases/fragment_without_main
=== RUN   TestSimpleCases/fragment_without_main/GOPATH
=== RUN   TestSimpleCases/fragment_without_main/GOPATH_GoPackages
=== RUN   TestSimpleCases/remove_first_import_in_section
=== RUN   TestSimpleCases/remove_first_import_in_section/GOPATH
=== RUN   TestSimpleCases/remove_first_import_in_section/GOPATH_GoPackages
=== RUN   TestSimpleCases/new_section_for_all_kinds_of_imports
=== RUN   TestSimpleCases/new_section_for_all_kinds_of_imports/GOPATH
=== RUN   TestSimpleCases/new_section_for_all_kinds_of_imports/GOPATH_GoPackages
=== RUN   TestSimpleCases/comments_formatted
=== RUN   TestSimpleCases/comments_formatted/GOPATH
=== RUN   TestSimpleCases/comments_formatted/GOPATH_GoPackages
=== RUN   TestSimpleCases/remove_duplicates
=== RUN   TestSimpleCases/remove_duplicates/GOPATH
=== RUN   TestSimpleCases/remove_duplicates/GOPATH_GoPackages
=== RUN   TestSimpleCases/no_extra_groups
=== RUN   TestSimpleCases/no_extra_groups/GOPATH
=== RUN   TestSimpleCases/no_extra_groups/GOPATH_GoPackages
=== RUN   TestSimpleCases/named_import_doesnt_provide_package_name
=== RUN   TestSimpleCases/named_import_doesnt_provide_package_name/GOPATH
=== RUN   TestSimpleCases/named_import_doesnt_provide_package_name/GOPATH_GoPackages
=== RUN   TestSimpleCases/unused_named_import_removed
=== RUN   TestSimpleCases/unused_named_import_removed/GOPATH
=== RUN   TestSimpleCases/unused_named_import_removed/GOPATH_GoPackages
=== RUN   TestSimpleCases/ignore_unexported_identifier
=== RUN   TestSimpleCases/ignore_unexported_identifier/GOPATH
=== RUN   TestSimpleCases/ignore_unexported_identifier/GOPATH_GoPackages
=== RUN   TestSimpleCases/formatonly_works
=== RUN   TestSimpleCases/formatonly_works/GOPATH
=== RUN   TestSimpleCases/formatonly_works/GOPATH_GoPackages
=== RUN   TestSimpleCases/preserve_import_group
=== RUN   TestSimpleCases/preserve_import_group/GOPATH
=== RUN   TestSimpleCases/preserve_import_group/GOPATH_GoPackages
=== RUN   TestSimpleCases/import_grouping_not_path_dependent_no_groups
=== RUN   TestSimpleCases/import_grouping_not_path_dependent_no_groups/GOPATH
=== RUN   TestSimpleCases/import_grouping_not_path_dependent_no_groups/GOPATH_GoPackages
=== RUN   TestSimpleCases/import_grouping_not_path_dependent_existing_group
=== RUN   TestSimpleCases/import_grouping_not_path_dependent_existing_group/GOPATH
=== RUN   TestSimpleCases/import_grouping_not_path_dependent_existing_group/GOPATH_GoPackages
=== RUN   TestSimpleCases/package_statement_insertion_preserves_comments
=== RUN   TestSimpleCases/package_statement_insertion_preserves_comments/GOPATH
=== RUN   TestSimpleCases/package_statement_insertion_preserves_comments/GOPATH_GoPackages
=== RUN   TestSimpleCases/import_comment_stays_on_import
=== RUN   TestSimpleCases/import_comment_stays_on_import/GOPATH
=== RUN   TestSimpleCases/import_comment_stays_on_import/GOPATH_GoPackages
=== RUN   TestSimpleCases/no_blank_after_comment
=== RUN   TestSimpleCases/no_blank_after_comment/GOPATH
=== RUN   TestSimpleCases/no_blank_after_comment/GOPATH_GoPackages
=== RUN   TestSimpleCases/no_blank_after_comment_reordered
=== RUN   TestSimpleCases/no_blank_after_comment_reordered/GOPATH
=== RUN   TestSimpleCases/no_blank_after_comment_reordered/GOPATH_GoPackages
=== RUN   TestSimpleCases/no_blank_after_comment_unnamed
=== RUN   TestSimpleCases/no_blank_after_comment_unnamed/GOPATH
=== RUN   TestSimpleCases/no_blank_after_comment_unnamed/GOPATH_GoPackages
=== RUN   TestSimpleCases/blank_after_package_statement_with_comment
=== RUN   TestSimpleCases/blank_after_package_statement_with_comment/GOPATH
=== RUN   TestSimpleCases/blank_after_package_statement_with_comment/GOPATH_GoPackages
=== RUN   TestSimpleCases/blank_after_package_statement_no_comment
=== RUN   TestSimpleCases/blank_after_package_statement_no_comment/GOPATH
=== RUN   TestSimpleCases/blank_after_package_statement_no_comment/GOPATH_GoPackages
=== RUN   TestSimpleCases/cryptorand_preferred_easy_possible
=== RUN   TestSimpleCases/cryptorand_preferred_easy_possible/GOPATH
=== RUN   TestSimpleCases/cryptorand_preferred_easy_possible/GOPATH_GoPackages
=== RUN   TestSimpleCases/cryptorand_preferred_easy_impossible
=== RUN   TestSimpleCases/cryptorand_preferred_easy_impossible/GOPATH
=== RUN   TestSimpleCases/cryptorand_preferred_easy_impossible/GOPATH_GoPackages
=== RUN   TestSimpleCases/cryptorand_preferred_complex_possible
=== RUN   TestSimpleCases/cryptorand_preferred_complex_possible/GOPATH
=== RUN   TestSimpleCases/cryptorand_preferred_complex_possible/GOPATH_GoPackages
=== RUN   TestSimpleCases/cryptorand_preferred_complex_impossible
=== RUN   TestSimpleCases/cryptorand_preferred_complex_impossible/GOPATH
=== RUN   TestSimpleCases/cryptorand_preferred_complex_impossible/GOPATH_GoPackages
--- PASS: TestSimpleCases (7.45s)
    --- PASS: TestSimpleCases/factored_imports_add (0.01s)
        --- PASS: TestSimpleCases/factored_imports_add/GOPATH (0.00s)
        --- PASS: TestSimpleCases/factored_imports_add/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/factored_imports_add_first_sec (0.01s)
        --- PASS: TestSimpleCases/factored_imports_add_first_sec/GOPATH (0.00s)
        --- PASS: TestSimpleCases/factored_imports_add_first_sec/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/factored_imports_add_first_sec_2 (0.01s)
        --- PASS: TestSimpleCases/factored_imports_add_first_sec_2/GOPATH (0.00s)
        --- PASS: TestSimpleCases/factored_imports_add_first_sec_2/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/add_import_section (0.01s)
        --- PASS: TestSimpleCases/add_import_section/GOPATH (0.00s)
        --- PASS: TestSimpleCases/add_import_section/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/add_import_paren_section (0.01s)
        --- PASS: TestSimpleCases/add_import_paren_section/GOPATH (0.00s)
        --- PASS: TestSimpleCases/add_import_paren_section/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/no_double_add (0.01s)
        --- PASS: TestSimpleCases/no_double_add/GOPATH (0.00s)
        --- PASS: TestSimpleCases/no_double_add/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/no_mismatched_add (1.68s)
        --- PASS: TestSimpleCases/no_mismatched_add/GOPATH (0.10s)
        --- PASS: TestSimpleCases/no_mismatched_add/GOPATH_GoPackages (1.59s)
    --- PASS: TestSimpleCases/remove_unused_1_of_2 (0.01s)
        --- PASS: TestSimpleCases/remove_unused_1_of_2/GOPATH (0.01s)
        --- PASS: TestSimpleCases/remove_unused_1_of_2/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/remove_unused_2_of_2 (0.01s)
        --- PASS: TestSimpleCases/remove_unused_2_of_2/GOPATH (0.00s)
        --- PASS: TestSimpleCases/remove_unused_2_of_2/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/remove_unused_1_of_1 (0.01s)
        --- PASS: TestSimpleCases/remove_unused_1_of_1/GOPATH (0.00s)
        --- PASS: TestSimpleCases/remove_unused_1_of_1/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/dont_remove_empty_imports (0.01s)
        --- PASS: TestSimpleCases/dont_remove_empty_imports/GOPATH (0.01s)
        --- PASS: TestSimpleCases/dont_remove_empty_imports/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/dont_remove_dot_imports (0.01s)
        --- PASS: TestSimpleCases/dont_remove_dot_imports/GOPATH (0.00s)
        --- PASS: TestSimpleCases/dont_remove_dot_imports/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/skip_resolved_refs (0.01s)
        --- PASS: TestSimpleCases/skip_resolved_refs/GOPATH (0.00s)
        --- PASS: TestSimpleCases/skip_resolved_refs/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/skip_template (0.01s)
        --- PASS: TestSimpleCases/skip_template/GOPATH (0.00s)
        --- PASS: TestSimpleCases/skip_template/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/cgo (0.01s)
        --- PASS: TestSimpleCases/cgo/GOPATH (0.01s)
        --- PASS: TestSimpleCases/cgo/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/make_sections (1.93s)
        --- PASS: TestSimpleCases/make_sections/GOPATH (0.33s)
        --- PASS: TestSimpleCases/make_sections/GOPATH_GoPackages (1.60s)
    --- PASS: TestSimpleCases/delete_empty_import_block (0.02s)
        --- PASS: TestSimpleCases/delete_empty_import_block/GOPATH (0.01s)
        --- PASS: TestSimpleCases/delete_empty_import_block/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/use_empty_import_block (0.01s)
        --- PASS: TestSimpleCases/use_empty_import_block/GOPATH (0.00s)
        --- PASS: TestSimpleCases/use_empty_import_block/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/blank_line_before_new_group (1.35s)
        --- PASS: TestSimpleCases/blank_line_before_new_group/GOPATH (0.31s)
        --- PASS: TestSimpleCases/blank_line_before_new_group/GOPATH_GoPackages (1.04s)
    --- PASS: TestSimpleCases/blank_line_separating_std_and_third_party (0.01s)
        --- PASS: TestSimpleCases/blank_line_separating_std_and_third_party/GOPATH (0.01s)
        --- PASS: TestSimpleCases/blank_line_separating_std_and_third_party/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/new_imports_before_comment (0.01s)
        --- PASS: TestSimpleCases/new_imports_before_comment/GOPATH (0.00s)
        --- PASS: TestSimpleCases/new_imports_before_comment/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/new_section_for_dotless_import (0.01s)
        --- PASS: TestSimpleCases/new_section_for_dotless_import/GOPATH (0.00s)
        --- PASS: TestSimpleCases/new_section_for_dotless_import/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/fragment_with_main (0.01s)
        --- PASS: TestSimpleCases/fragment_with_main/GOPATH (0.00s)
        --- PASS: TestSimpleCases/fragment_with_main/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/fragment_without_main (0.01s)
        --- PASS: TestSimpleCases/fragment_without_main/GOPATH (0.00s)
        --- PASS: TestSimpleCases/fragment_without_main/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/remove_first_import_in_section (0.01s)
        --- PASS: TestSimpleCases/remove_first_import_in_section/GOPATH (0.00s)
        --- PASS: TestSimpleCases/remove_first_import_in_section/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/new_section_for_all_kinds_of_imports (0.02s)
        --- PASS: TestSimpleCases/new_section_for_all_kinds_of_imports/GOPATH (0.01s)
        --- PASS: TestSimpleCases/new_section_for_all_kinds_of_imports/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/comments_formatted (0.01s)
        --- PASS: TestSimpleCases/comments_formatted/GOPATH (0.00s)
        --- PASS: TestSimpleCases/comments_formatted/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/remove_duplicates (0.01s)
        --- PASS: TestSimpleCases/remove_duplicates/GOPATH (0.00s)
        --- PASS: TestSimpleCases/remove_duplicates/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/no_extra_groups (0.01s)
        --- PASS: TestSimpleCases/no_extra_groups/GOPATH (0.00s)
        --- PASS: TestSimpleCases/no_extra_groups/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/named_import_doesnt_provide_package_name (0.01s)
        --- PASS: TestSimpleCases/named_import_doesnt_provide_package_name/GOPATH (0.00s)
        --- PASS: TestSimpleCases/named_import_doesnt_provide_package_name/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/unused_named_import_removed (0.01s)
        --- PASS: TestSimpleCases/unused_named_import_removed/GOPATH (0.00s)
        --- PASS: TestSimpleCases/unused_named_import_removed/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/ignore_unexported_identifier (0.01s)
        --- PASS: TestSimpleCases/ignore_unexported_identifier/GOPATH (0.01s)
        --- PASS: TestSimpleCases/ignore_unexported_identifier/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/formatonly_works (0.01s)
        --- PASS: TestSimpleCases/formatonly_works/GOPATH (0.00s)
        --- PASS: TestSimpleCases/formatonly_works/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/preserve_import_group (0.01s)
        --- PASS: TestSimpleCases/preserve_import_group/GOPATH (0.00s)
        --- PASS: TestSimpleCases/preserve_import_group/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/import_grouping_not_path_dependent_no_groups (0.96s)
        --- PASS: TestSimpleCases/import_grouping_not_path_dependent_no_groups/GOPATH (0.10s)
        --- PASS: TestSimpleCases/import_grouping_not_path_dependent_no_groups/GOPATH_GoPackages (0.85s)
    --- PASS: TestSimpleCases/import_grouping_not_path_dependent_existing_group (1.17s)
        --- PASS: TestSimpleCases/import_grouping_not_path_dependent_existing_group/GOPATH (0.33s)
        --- PASS: TestSimpleCases/import_grouping_not_path_dependent_existing_group/GOPATH_GoPackages (0.84s)
    --- PASS: TestSimpleCases/package_statement_insertion_preserves_comments (0.02s)
        --- PASS: TestSimpleCases/package_statement_insertion_preserves_comments/GOPATH (0.01s)
        --- PASS: TestSimpleCases/package_statement_insertion_preserves_comments/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/import_comment_stays_on_import (0.01s)
        --- PASS: TestSimpleCases/import_comment_stays_on_import/GOPATH (0.00s)
        --- PASS: TestSimpleCases/import_comment_stays_on_import/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/no_blank_after_comment (0.01s)
        --- PASS: TestSimpleCases/no_blank_after_comment/GOPATH (0.00s)
        --- PASS: TestSimpleCases/no_blank_after_comment/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/no_blank_after_comment_reordered (0.01s)
        --- PASS: TestSimpleCases/no_blank_after_comment_reordered/GOPATH (0.00s)
        --- PASS: TestSimpleCases/no_blank_after_comment_reordered/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/no_blank_after_comment_unnamed (0.01s)
        --- PASS: TestSimpleCases/no_blank_after_comment_unnamed/GOPATH (0.00s)
        --- PASS: TestSimpleCases/no_blank_after_comment_unnamed/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/blank_after_package_statement_with_comment (0.01s)
        --- PASS: TestSimpleCases/blank_after_package_statement_with_comment/GOPATH (0.00s)
        --- PASS: TestSimpleCases/blank_after_package_statement_with_comment/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/blank_after_package_statement_no_comment (0.01s)
        --- PASS: TestSimpleCases/blank_after_package_statement_no_comment/GOPATH (0.00s)
        --- PASS: TestSimpleCases/blank_after_package_statement_no_comment/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/cryptorand_preferred_easy_possible (0.01s)
        --- PASS: TestSimpleCases/cryptorand_preferred_easy_possible/GOPATH (0.00s)
        --- PASS: TestSimpleCases/cryptorand_preferred_easy_possible/GOPATH_GoPackages (0.01s)
    --- PASS: TestSimpleCases/cryptorand_preferred_easy_impossible (0.01s)
        --- PASS: TestSimpleCases/cryptorand_preferred_easy_impossible/GOPATH (0.00s)
        --- PASS: TestSimpleCases/cryptorand_preferred_easy_impossible/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/cryptorand_preferred_complex_possible (0.01s)
        --- PASS: TestSimpleCases/cryptorand_preferred_complex_possible/GOPATH (0.00s)
        --- PASS: TestSimpleCases/cryptorand_preferred_complex_possible/GOPATH_GoPackages (0.00s)
    --- PASS: TestSimpleCases/cryptorand_preferred_complex_impossible (0.01s)
        --- PASS: TestSimpleCases/cryptorand_preferred_complex_impossible/GOPATH (0.00s)
        --- PASS: TestSimpleCases/cryptorand_preferred_complex_impossible/GOPATH_GoPackages (0.00s)
=== RUN   TestAppengine
=== RUN   TestAppengine/GOPATH
=== RUN   TestAppengine/GOPATH_GoPackages
--- PASS: TestAppengine (2.05s)
    --- PASS: TestAppengine/GOPATH (0.31s)
    --- PASS: TestAppengine/GOPATH_GoPackages (1.74s)
=== RUN   TestReadFromFilesystem
=== RUN   TestReadFromFilesystem/works
=== RUN   TestReadFromFilesystem/works/GOPATH
=== RUN   TestReadFromFilesystem/works/GOPATH_GoPackages
=== RUN   TestReadFromFilesystem/missing_package
=== RUN   TestReadFromFilesystem/missing_package/GOPATH
=== RUN   TestReadFromFilesystem/missing_package/GOPATH_GoPackages
--- PASS: TestReadFromFilesystem (0.00s)
    --- PASS: TestReadFromFilesystem/works (0.00s)
        --- PASS: TestReadFromFilesystem/works/GOPATH (0.00s)
        --- PASS: TestReadFromFilesystem/works/GOPATH_GoPackages (0.00s)
    --- PASS: TestReadFromFilesystem/missing_package (0.00s)
        --- PASS: TestReadFromFilesystem/missing_package/GOPATH (0.00s)
        --- PASS: TestReadFromFilesystem/missing_package/GOPATH_GoPackages (0.00s)
=== RUN   TestImportSymlinks
=== RUN   TestImportSymlinks/GOPATH
=== RUN   TestImportSymlinks/GOPATH_GoPackages
--- PASS: TestImportSymlinks (1.86s)
    --- PASS: TestImportSymlinks/GOPATH (0.31s)
    --- PASS: TestImportSymlinks/GOPATH_GoPackages (1.55s)
=== RUN   TestImportSymlinksWithIgnore
=== RUN   TestImportSymlinksWithIgnore/GOPATH
=== RUN   TestImportSymlinksWithIgnore/GOPATH_GoPackages
--- PASS: TestImportSymlinksWithIgnore (0.77s)
    --- PASS: TestImportSymlinksWithIgnore/GOPATH (0.11s)
    --- PASS: TestImportSymlinksWithIgnore/GOPATH_GoPackages (0.66s)
=== RUN   TestModuleVersion
=== RUN   TestModuleVersion/GOPATH
=== RUN   TestModuleVersion/GOPATH_GoPackages
--- PASS: TestModuleVersion (0.01s)
    --- PASS: TestModuleVersion/GOPATH (0.00s)
    --- PASS: TestModuleVersion/GOPATH_GoPackages (0.00s)
=== RUN   TestVendorPackage
=== RUN   TestVendorPackage/GOPATH
=== RUN   TestVendorPackage/GOPATH_GoPackages
--- PASS: TestVendorPackage (0.82s)
    --- PASS: TestVendorPackage/GOPATH (0.06s)
    --- PASS: TestVendorPackage/GOPATH_GoPackages (0.76s)
=== RUN   TestInternal
=== RUN   TestInternal/GOPATH
=== RUN   TestInternal/GOPATH_GoPackages
=== RUN   TestInternal/GOPATH#01
=== RUN   TestInternal/GOPATH_GoPackages#01
--- PASS: TestInternal (2.30s)
    --- PASS: TestInternal/GOPATH (0.32s)
    --- PASS: TestInternal/GOPATH_GoPackages (1.11s)
    --- PASS: TestInternal/GOPATH#01 (0.32s)
    --- PASS: TestInternal/GOPATH_GoPackages#01 (0.55s)
=== RUN   TestProcessVendor
=== RUN   TestProcessVendor/GOPATH
=== RUN   TestProcessVendor/GOPATH_GoPackages
--- PASS: TestProcessVendor (1.47s)
    --- PASS: TestProcessVendor/GOPATH (0.31s)
    --- PASS: TestProcessVendor/GOPATH_GoPackages (1.17s)
=== RUN   TestFindStdlib
--- PASS: TestFindStdlib (0.88s)
=== RUN   TestRenameWhenPackageNameMismatch
=== RUN   TestRenameWhenPackageNameMismatch/GOPATH
=== RUN   TestRenameWhenPackageNameMismatch/GOPATH_GoPackages
--- PASS: TestRenameWhenPackageNameMismatch (0.70s)
    --- PASS: TestRenameWhenPackageNameMismatch/GOPATH (0.10s)
    --- PASS: TestRenameWhenPackageNameMismatch/GOPATH_GoPackages (0.61s)
=== RUN   TestAddNameToMismatchedImport
=== RUN   TestAddNameToMismatchedImport/GOPATH
=== RUN   TestAddNameToMismatchedImport/GOPATH_GoPackages
--- PASS: TestAddNameToMismatchedImport (0.58s)
    --- PASS: TestAddNameToMismatchedImport/GOPATH (0.05s)
    --- PASS: TestAddNameToMismatchedImport/GOPATH_GoPackages (0.53s)
=== RUN   TestLocalPrefix
=== RUN   TestLocalPrefix/one_local
=== RUN   TestLocalPrefix/one_local/GOPATH
=== RUN   TestLocalPrefix/one_local/GOPATH_GoPackages
=== RUN   TestLocalPrefix/two_local
=== RUN   TestLocalPrefix/two_local/GOPATH
=== RUN   TestLocalPrefix/two_local/GOPATH_GoPackages
=== RUN   TestLocalPrefix/three_prefixes
=== RUN   TestLocalPrefix/three_prefixes/GOPATH
=== RUN   TestLocalPrefix/three_prefixes/GOPATH_GoPackages
--- PASS: TestLocalPrefix (5.73s)
    --- PASS: TestLocalPrefix/one_local (1.55s)
        --- PASS: TestLocalPrefix/one_local/GOPATH (0.32s)
        --- PASS: TestLocalPrefix/one_local/GOPATH_GoPackages (1.23s)
    --- PASS: TestLocalPrefix/two_local (2.62s)
        --- PASS: TestLocalPrefix/two_local/GOPATH (0.33s)
        --- PASS: TestLocalPrefix/two_local/GOPATH_GoPackages (2.29s)
    --- PASS: TestLocalPrefix/three_prefixes (1.56s)
        --- PASS: TestLocalPrefix/three_prefixes/GOPATH (0.33s)
        --- PASS: TestLocalPrefix/three_prefixes/GOPATH_GoPackages (1.23s)
=== RUN   TestIgnoreDocumentationPackage
=== RUN   TestIgnoreDocumentationPackage/GOPATH
=== RUN   TestIgnoreDocumentationPackage/GOPATH_GoPackages
--- PASS: TestIgnoreDocumentationPackage (0.84s)
    --- PASS: TestIgnoreDocumentationPackage/GOPATH (0.11s)
    --- PASS: TestIgnoreDocumentationPackage/GOPATH_GoPackages (0.74s)
=== RUN   TestImportPathToNameGoPathParse
=== RUN   TestImportPathToNameGoPathParse/GOPATH
=== RUN   TestImportPathToNameGoPathParse/GOPATH_GoPackages
--- PASS: TestImportPathToNameGoPathParse (0.27s)
    --- PASS: TestImportPathToNameGoPathParse/GOPATH (0.26s)
    --- SKIP: TestImportPathToNameGoPathParse/GOPATH_GoPackages (0.00s)
        fix_test.go:1813: go/packages does not ignore package main
=== RUN   TestIgnoreConfiguration
=== RUN   TestIgnoreConfiguration/GOPATH
=== RUN   TestIgnoreConfiguration/GOPATH_GoPackages
--- PASS: TestIgnoreConfiguration (1.25s)
    --- PASS: TestIgnoreConfiguration/GOPATH (0.31s)
    --- PASS: TestIgnoreConfiguration/GOPATH_GoPackages (0.94s)
=== RUN   TestSkipNodeModules
=== RUN   TestSkipNodeModules/GOPATH
=== RUN   TestSkipNodeModules/GOPATH_GoPackages
--- PASS: TestSkipNodeModules (0.97s)
    --- PASS: TestSkipNodeModules/GOPATH (0.11s)
    --- PASS: TestSkipNodeModules/GOPATH_GoPackages (0.85s)
=== RUN   TestGlobalImports
=== RUN   TestGlobalImports/GOPATH
=== RUN   TestGlobalImports/GOPATH_GoPackages
--- PASS: TestGlobalImports (0.00s)
    --- PASS: TestGlobalImports/GOPATH (0.00s)
    --- PASS: TestGlobalImports/GOPATH_GoPackages (0.00s)
=== RUN   TestGlobalImports_DifferentPackage
=== RUN   TestGlobalImports_DifferentPackage/GOPATH
=== RUN   TestGlobalImports_DifferentPackage/GOPATH_GoPackages
--- PASS: TestGlobalImports_DifferentPackage (0.00s)
    --- PASS: TestGlobalImports_DifferentPackage/GOPATH (0.00s)
    --- PASS: TestGlobalImports_DifferentPackage/GOPATH_GoPackages (0.00s)
=== RUN   TestGlobalImports_MultipleMains
=== RUN   TestGlobalImports_MultipleMains/GOPATH
=== RUN   TestGlobalImports_MultipleMains/GOPATH_GoPackages
--- PASS: TestGlobalImports_MultipleMains (0.00s)
    --- PASS: TestGlobalImports_MultipleMains/GOPATH (0.00s)
    --- PASS: TestGlobalImports_MultipleMains/GOPATH_GoPackages (0.00s)
=== RUN   TestSiblingImports
=== RUN   TestSiblingImports/GOPATH
=== RUN   TestSiblingImports/GOPATH_GoPackages
--- PASS: TestSiblingImports (0.00s)
    --- PASS: TestSiblingImports/GOPATH (0.00s)
    --- PASS: TestSiblingImports/GOPATH_GoPackages (0.00s)
=== RUN   TestSiblingImport_Misnamed
=== RUN   TestSiblingImport_Misnamed/GOPATH
=== RUN   TestSiblingImport_Misnamed/GOPATH_GoPackages
--- PASS: TestSiblingImport_Misnamed (0.00s)
    --- PASS: TestSiblingImport_Misnamed/GOPATH (0.00s)
    --- PASS: TestSiblingImport_Misnamed/GOPATH_GoPackages (0.00s)
=== RUN   TestPkgIsCandidate
=== RUN   TestPkgIsCandidate/normal_match
=== RUN   TestPkgIsCandidate/no_match
=== RUN   TestPkgIsCandidate/match_too_early
=== RUN   TestPkgIsCandidate/substring_match
=== RUN   TestPkgIsCandidate/hidden_internal
=== RUN   TestPkgIsCandidate/visible_internal
=== RUN   TestPkgIsCandidate/invisible_vendor
=== RUN   TestPkgIsCandidate/visible_vendor
=== RUN   TestPkgIsCandidate/match_with_hyphens
=== RUN   TestPkgIsCandidate/match_with_mixed_case
=== RUN   TestPkgIsCandidate/matches_with_hyphen_and_caps
--- PASS: TestPkgIsCandidate (0.00s)
    --- PASS: TestPkgIsCandidate/normal_match (0.00s)
    --- PASS: TestPkgIsCandidate/no_match (0.00s)
    --- PASS: TestPkgIsCandidate/match_too_early (0.00s)
    --- PASS: TestPkgIsCandidate/substring_match (0.00s)
    --- PASS: TestPkgIsCandidate/hidden_internal (0.00s)
    --- PASS: TestPkgIsCandidate/visible_internal (0.00s)
    --- PASS: TestPkgIsCandidate/invisible_vendor (0.00s)
    --- PASS: TestPkgIsCandidate/visible_vendor (0.00s)
    --- PASS: TestPkgIsCandidate/match_with_hyphens (0.00s)
    --- PASS: TestPkgIsCandidate/match_with_mixed_case (0.00s)
    --- PASS: TestPkgIsCandidate/matches_with_hyphen_and_caps (0.00s)
=== RUN   TestProcessStdin
--- PASS: TestProcessStdin (0.07s)
=== RUN   TestLocalPackagePromotion
=== RUN   TestLocalPackagePromotion/GOPATH
=== RUN   TestLocalPackagePromotion/GOPATH_GoPackages
--- PASS: TestLocalPackagePromotion (1.09s)
    --- PASS: TestLocalPackagePromotion/GOPATH (0.11s)
    --- PASS: TestLocalPackagePromotion/GOPATH_GoPackages (0.98s)
=== RUN   TestFindImportInLocalGoFiles
=== RUN   TestFindImportInLocalGoFiles/GOPATH
=== RUN   TestFindImportInLocalGoFiles/GOPATH_GoPackages
--- PASS: TestFindImportInLocalGoFiles (0.00s)
    --- PASS: TestFindImportInLocalGoFiles/GOPATH (0.00s)
    --- PASS: TestFindImportInLocalGoFiles/GOPATH_GoPackages (0.00s)
=== RUN   TestInMemoryFile
=== RUN   TestInMemoryFile/GOPATH
=== RUN   TestInMemoryFile/GOPATH_GoPackages
--- PASS: TestInMemoryFile (0.00s)
    --- PASS: TestInMemoryFile/GOPATH (0.00s)
    --- PASS: TestInMemoryFile/GOPATH_GoPackages (0.00s)
=== RUN   TestImportNoGoFiles
--- PASS: TestImportNoGoFiles (0.00s)
=== RUN   TestProcessLargeToken
=== RUN   TestProcessLargeToken/GOPATH
=== RUN   TestProcessLargeToken/GOPATH_GoPackages
--- PASS: TestProcessLargeToken (0.05s)
    --- PASS: TestProcessLargeToken/GOPATH (0.03s)
    --- PASS: TestProcessLargeToken/GOPATH_GoPackages (0.02s)
PASS
ok      golang.org/x/tools/imports      29.486s
=== RUN   TestFastWalk_Basic
--- PASS: TestFastWalk_Basic (0.00s)
=== RUN   TestFastWalk_LongFileName
--- PASS: TestFastWalk_LongFileName (0.00s)
=== RUN   TestFastWalk_Symlink
--- PASS: TestFastWalk_Symlink (0.00s)
=== RUN   TestFastWalk_SkipDir
--- PASS: TestFastWalk_SkipDir (0.00s)
=== RUN   TestFastWalk_SkipFiles
--- PASS: TestFastWalk_SkipFiles (0.00s)
=== RUN   TestFastWalk_TraverseSymlink
--- PASS: TestFastWalk_TraverseSymlink (0.00s)
PASS
ok      golang.org/x/tools/internal/fastwalk    0.416s
=== RUN   TestShouldTraverse
--- PASS: TestShouldTraverse (0.00s)
=== RUN   TestSkip
2019/01/30 13:25:55 scanning /tmp/goimports-501566396/src
2019/01/30 13:25:55 Read /tmp/goimports-501566396/src/.goimportsignore
2019/01/30 13:25:55 Directory added to ignore list: /tmp/goimports-501566396/src/ignoreme
2019/01/30 13:25:55 Directory added to ignore list: /tmp/goimports-501566396/src/v
2019/01/30 13:25:55 Directory added to ignore list: /tmp/goimports-501566396/src/mod
2019/01/30 13:25:55 scanned /tmp/goimports-501566396/src
--- PASS: TestSkip (0.01s)
PASS
ok      golang.org/x/tools/internal/gopathwalk  0.372s
=== RUN   TestPlainCall
--- PASS: TestPlainCall (0.00s)
=== RUN   TestHeaderCall
--- PASS: TestHeaderCall (0.00s)
PASS
ok      golang.org/x/tools/internal/jsonrpc2    0.268s
=== RUN   TestLSP
=== RUN   TestLSP/GOPATH
=== RUN   TestLSP/GOPATH/Completion
=== RUN   TestLSP/GOPATH/Diagnostics
=== RUN   TestLSP/GOPATH/Format
=== RUN   TestLSP/GOPATH/Definitions
=== RUN   TestLSP/GOPATH/TypeDefinitions
--- FAIL: TestLSP (8.19s)
    --- FAIL: TestLSP/GOPATH (8.19s)
        --- PASS: TestLSP/GOPATH/Completion (4.44s)
        --- FAIL: TestLSP/GOPATH/Diagnostics (1.63s)
                lsp_test.go:163: diagnostics failed for /tmp/TestLSP_GOPATH887962622/lsp/src/golang.org/x/tools/internal/lsp/format/bad_format.go:
                        expected:
                          Error: from LSP at 12:6¦7: x declared but not used
                        got:
                          Error: from LSP at 4:2¦1: could not import fmt (invalid package name: "")
                          Error: from LSP at 5:2¦1: could not import runtime (invalid package name: "")
                          Error: from LSP at 7:2¦1: could not import log (invalid package name: "")
                          Error: from LSP at 12:6¦7: x declared but not used
        
        --- PASS: TestLSP/GOPATH/Format (0.00s)
        --- PASS: TestLSP/GOPATH/Definitions (1.60s)
        --- PASS: TestLSP/GOPATH/TypeDefinitions (0.00s)
FAIL
FAIL    golang.org/x/tools/internal/lsp 8.436s
?       golang.org/x/tools/internal/lsp/cache   [no test files]
?       golang.org/x/tools/internal/lsp/cmd     [no test files]
?       golang.org/x/tools/internal/lsp/protocol        [no test files]
=== RUN   TestURI
--- PASS: TestURI (0.00s)
PASS
ok      golang.org/x/tools/internal/lsp/source  0.306s
=== RUN   TestCheck
--- PASS: TestCheck (0.00s)
=== RUN   TestCheckPath
--- PASS: TestCheckPath (0.00s)
=== RUN   TestSplitPathVersion
--- PASS: TestSplitPathVersion (0.00s)
=== RUN   TestEncodePath
--- PASS: TestEncodePath (0.00s)
=== RUN   TestDecodePath
--- PASS: TestDecodePath (0.00s)
PASS
ok      golang.org/x/tools/internal/module      0.445s
=== RUN   TestIsValid
--- PASS: TestIsValid (0.00s)
=== RUN   TestCanonical
--- PASS: TestCanonical (0.00s)
=== RUN   TestMajor
--- PASS: TestMajor (0.00s)
=== RUN   TestMajorMinor
--- PASS: TestMajorMinor (0.00s)
=== RUN   TestPrerelease
--- PASS: TestPrerelease (0.00s)
=== RUN   TestBuild
--- PASS: TestBuild (0.00s)
=== RUN   TestCompare
--- PASS: TestCompare (0.00s)
=== RUN   TestMax
--- PASS: TestMax (0.00s)
PASS
ok      golang.org/x/tools/internal/semver      0.364s
?       golang.org/x/tools/internal/tool        [no test files]
=== RUN   Test
=== RUN   Test/basic
--- PASS: Test (0.00s)
    --- PASS: Test/basic (0.00s)
PASS
ok      golang.org/x/tools/internal/txtar       0.302s
?       golang.org/x/tools/playground   [no test files]
=== RUN   TestBuffer
--- PASS: TestBuffer (0.00s)
=== RUN   TestLimiter
--- PASS: TestLimiter (0.01s)
PASS
ok      golang.org/x/tools/playground/socket    0.274s
=== RUN   TestParseCode
--- PASS: TestParseCode (0.00s)
=== RUN   TestInlineParsing
--- PASS: TestInlineParsing (0.00s)
=== RUN   TestSplit
--- PASS: TestSplit (0.00s)
=== RUN   TestFont
--- PASS: TestFont (0.00s)
=== RUN   TestStyle
--- PASS: TestStyle (0.00s)
=== RUN   ExampleStyle
--- PASS: ExampleStyle (0.00s)
PASS
ok      golang.org/x/tools/present      0.249s
?       golang.org/x/tools/refactor/eg  [no test files]
?       golang.org/x/tools/refactor/importgraph [no test files]
=== RUN   TestErrors
While scanning Go workspace:
Package "foo": /go/src/foo/0.go:1:1: expected 'package', found 'EOF'.
/go/src/foo/0.go:1:1: expected 'package', found 'EOF'
--- PASS: TestErrors (0.01s)
=== RUN   TestMoves
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
--- PASS: TestMoves (0.04s)
=== RUN   TestConflicts
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 3 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
--- PASS: TestConflicts (0.05s)
=== RUN   TestInvalidIdentifiers
--- PASS: TestInvalidIdentifiers (0.00s)
=== RUN   TestRewrites
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 2 files in 2 packages.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 4 occurrences in 1 file in 1 package.
Renamed 4 occurrences in 1 file in 1 package.
Renamed 4 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 3 occurrences in 2 files in 2 packages.
Renamed 3 occurrences in 2 files in 2 packages.
Renamed 3 occurrences in 2 files in 2 packages.
Renamed 5 occurrences in 1 file in 1 package.
Renamed 5 occurrences in 1 file in 1 package.
Renamed 3 occurrences in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
Renamed 1 occurrence in 1 file in 1 package.
Renamed 2 occurrences in 1 file in 1 package.
/go/src/main/0.go:4:6: unused declared but not used
Renamed 2 occurrences in 1 file in 1 package.
--- PASS: TestRewrites (0.05s)
=== RUN   TestDiff
--- SKIP: TestDiff (0.00s)
        rename_test.go:1287: Test disabled on gccgo.
PASS
ok      golang.org/x/tools/refactor/rename      0.417s
?       golang.org/x/tools/refactor/satisfy     [no test files]
```

To reproduce on Debian unstable:

```
$ git clone https://salsa.debian.org/go-team/packages/golang-go.tools.git
$ sudo apt-get build-dep golang-golang-x-tools
$ sudo apt-get install gccgo-go
$ cd golang-golang-x-tools
$ dpkg-buildpackage -B
```
<\details>

Installing ```golang-go``` instead of ```gccgo-go``` fixes the testsuite, so it's an issue related to gccgo.

CC @jrtc27 @ianlancetaylor