/ go Public
cmd/go,x/tools/go/packages: doesn't propagate permission errors (missing from go list -e) #50869
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
This label describes issues relating to any tools in the x/tools repository.
Preface: this is another instance of
go list -efailing and reporting the error on stderr, and go/packages trying to process stderr intelligently.
Under certain conditions, go/packages will swallow permission errors and return no packages + no error. The bug boils down to the error processing in
Simple reproducer: https://go.dev/play/p/L53GCKnfxg3
The text was updated successfully, but these errors were encountered: