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
cmd/go: panics on error during downgrade #31942
Comments
I've got bitten by this also.
Also reproducible on tip:
Steps to reproduce:After doing:
Any of these (among others), fails with the same error:
Error
|
Oh this is fun. When we downgrade a module, we consider the full module version graph, excluding newer versions of the downgraded module and anything else that requires newer versions. Then we do MVS on whatever's left. When we require Even if we stopped returning these versions for the v2 module, One possible fix: if |
Change https://golang.org/cl/177337 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What did you do?
Note: this used to reproduce both with and without
GOPROXY=https://proxy.golang.org
but now only reproduces with the mirror. Presumably something changed upstream that hasn't made it to the mirror yet.What did you expect to see?
No panic.
What did you see instead?
Panic.
https://github.com/golang/go/blob/go1.12.5/src/cmd/go/internal/mvs/mvs.go#L317
The text was updated successfully, but these errors were encountered: