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

affected/package: go get panic when download my project #56763

Closed
godcong opened this issue Nov 16, 2022 · 2 comments
Closed

affected/package: go get panic when download my project #56763

godcong opened this issue Nov 16, 2022 · 2 comments

Comments

@godcong
Copy link

godcong commented Nov 16, 2022

What version of Go are you using (go version)?

$ go version
go version go1.19.3 linux/amd64

Does this issue reproduce with the latest release?

YES

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

I added "golang.org/x/exp/slog" in my project.
When I use go get to download this project at other project.
It returns this panic infomation:

panic: internal error: can't find reason for requirement on golang.org/x/[email protected]

goroutine 1 [running]:
cmd/go/internal/modget.(*resolver).updateBuildList.func1({{0xc00054ac60?, 0xc000894378?}, {0xc0001c13e0?, 0xc000417e10?}})
        /usr/local/go/src/cmd/go/internal/modget/get.go:1760 +0x114
cmd/go/internal/modget.(*resolver).updateBuildList(0xc000564500, {0xb2e690, 0xc0001a0000}, {0x0, 0x0, 0x0})
        /usr/local/go/src/cmd/go/internal/modget/get.go:1765 +0x597
cmd/go/internal/modget.(*resolver).resolveQueries(0xc000564500, {0xb2e690, 0xc0001a0000}, {0xc0001b2048, 0x1, 0x472465?})
        /usr/local/go/src/cmd/go/internal/modget/get.go:1243 +0x1e5
cmd/go/internal/modget.runGet({0xb2e690, 0xc0001a0000}, 0xc0001cc480?, {0xc00019c170, 0x1, 0x1})
        /usr/local/go/src/cmd/go/internal/modget/get.go:314 +0x40b
main.invoke(0xe28fa0, {0xc00019c160, 0x2, 0x2})
        /usr/local/go/src/cmd/go/main.go:225 +0x34e
main.main()
        /usr/local/go/src/cmd/go/main.go:179 +0x7d1

What did you expect to see?

Fix and complete the update of my project

What did you see instead?

Panic at go get last version

@seankhliao
Copy link
Member

can you provide a reproducer?

@bcmills
Copy link
Contributor

bcmills commented Nov 16, 2022

Duplicate of #56494

@bcmills bcmills marked this as a duplicate of #56494 Nov 16, 2022
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2022
@golang golang locked and limited conversation to collaborators Nov 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants