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: failed to install due to compiler error #40596

Closed
katiehockman opened this issue Aug 5, 2020 · 2 comments
Closed

x/tools/gopls: failed to install due to compiler error #40596

katiehockman opened this issue Aug 5, 2020 · 2 comments

Comments

@katiehockman
Copy link
Member

@katiehockman katiehockman commented Aug 5, 2020

What did you do?

I updated gopls in VSCode, in the src directory of my clone of the std lib. It tried to upgrade to golang.org/x/tools/gopls@v0.4.4

What did you expect to see?

A successful upgrade

What did you see instead?

Tools environment: GOPATH=/Users/katiehockman/.vscode/godev
Installing 1 tool at /Users/katiehockman/.vscode/godev/bin in module mode.
  gopls@0.4.4

Installing golang.org/x/tools/gopls@v0.4.4 FAILED

1 tools failed to install.

gopls: failed to install [object Object]: Error: Command failed: /Users/katiehockman/godev/bin/go get -v golang.org/x/tools/gopls@v0.4.4
go: finding golang.org/x/tools v0.4.4
go: finding golang.org/x v0.4.4
go: finding golang.org v0.4.4
runtime
# runtime
/Users/katiehockman/godev/src/runtime/string.go:245:9: internal compiler error: 'intstring': not lowered: v32, SlicePtr PTR PTR

Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new
 undefined  

Build info

golang.org/x/tools/gopls 0.4.4
    golang.org/x/tools/gopls@v0.4.4 h1:8djGYsaZ0ByP0vaXg4T+mnyfDcHpWKSZ+tpQSGv9ahk=
    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
    github.com/google/go-cmp@v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
    golang.org/x/tools@v0.0.0-20200729181040-64cdafbe085c h1:jLQLIAedRoS9I2Py7l/ZAGGzUxLFsdg42JXEpS/a+ow=
    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=
    mvdan.cc/gofumpt@v0.0.0-20200709182408-4fd085cb6d5f h1:gi7cb8HTDZ6q8VqsUpkdoFi3vxwHMneQ6+Q5Ap5hjPE=
    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=

Go info

go version go1.14.3 darwin/amd64

/cc @stamblerre

@gopherbot gopherbot added the Tools label Aug 5, 2020
@gopherbot gopherbot added this to the Unreleased milestone Aug 5, 2020
@hyangah
Copy link
Contributor

@hyangah hyangah commented Aug 5, 2020

/Users/katiehockman/godev/bin/go is probably too new? What is /Users/katiehockman/godev/bin/go version?

@katiehockman
Copy link
Member Author

@katiehockman katiehockman commented Aug 5, 2020

Oh shoot. I had my repo pointed to an older version. I think I know how to resolve this, no worries. Thanks!

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.