Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

x/tools/gopls: go list error prevented initial workspace load #37064

Open
stamblerre opened this issue Feb 5, 2020 · 1 comment
Open

x/tools/gopls: go list error prevented initial workspace load #37064

stamblerre opened this issue Feb 5, 2020 · 1 comment

Comments

@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Feb 5, 2020

@katiehockman reported a separate issue, but in her logs I noticed the following, specifically these go list errors (which would come to gopls by way of go/packages):

internal error: go list gives conflicting information for package crypto/internal/subtle
internal error: go list gives conflicting information for package crypto/internal/randutil

@jayconrod or @bcmills: What does this go list error mean?

Log snippet:

2020/02/05 14:33:43 initial workspace load failed: internal error: go list gives conflicting information for package crypto/internal/subtle
[Info  - 2:33:43 PM] 2020/02/05 14:33:43 go/packages.Load
	snapshot = 0
	query = [./... builtin]
	packages = 0
[Error - 2:33:43 PM] 2020/02/05 14:33:43 initial workspace load failed: internal error: go list gives conflicting information for package crypto/internal/subtle
[Info  - 2:33:43 PM] 2020/02/05 14:33:43 go/packages.Load
	snapshot = 1
	query = [file=/<redacted>/go/src/crypto/ecdsa/ecdsa.go]
	packages = 0
2020/02/05 14:33:43 DocumentSymbols failed: getting file for DocumentSymbols: internal error: go list gives conflicting information for package crypto/internal/randutil
	URI = file:///<redacted>/go/src/crypto/ecdsa/ecdsa.go
[Info  - 2:33:43 PM] 2020/02/05 14:33:43 go/packages.Load
	snapshot = 1
	query = [file=/<redacted>/go/src/crypto/ecdsa/ecdsa.go]
	packages = 0
@gopherbot gopherbot added this to the Unreleased milestone Feb 5, 2020
@jayconrod

This comment has been minimized.

Copy link
Contributor

@jayconrod jayconrod commented Feb 5, 2020

cc @matloob

This sounds like #36188, which was worked around in golang.org/x/tools/go/packages. What version of gopls was this, and what version of go/packages was it built against?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.