! go list all ! stderr 'panic' [!GOOS:windows] [!GOOS:solaris] [!GOOS:freebsd] [!GOOS:openbsd] [!GOOS:netbsd] stderr 'invalid import path' # #73976: Allow 'no errors' on Windows, Solaris, and BSD until issue # is resolved to prevent flakes. 'no errors' is printed by # empty scanner.ErrorList errors so that's probably where the # message is coming from, though we don't know how. [GOOS:windows] stderr 'invalid import path|no errors' [GOOS:solaris] stderr 'invalid import path|no errors' [GOOS:freebsd] stderr 'invalid import path|no errors' [GOOS:openbsd] stderr 'invalid import path|no errors' [GOOS:netbsd] stderr 'invalid import path|no errors' # go list produces a package for 'p' but not for '' go list -e all cmp stdout wantlist.txt -- wantlist.txt -- example.com/e -- go.mod -- module example.com/e go 1.25 -- p.go -- package p import ""