cmd/go: go list -u -m all fails loading module retractions: module requires go >= 1.N+1 (running go 1.N) #66403
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.21.4 linux/amd64
Output of
go env
in your module/workspace:go env output:
What did you do?
When a module with retractions is a dependency, and that module has a newer version, which requires a newer version of Go than it's currently running, the command:
go list -u -m all
fails.Other similar issues: #45305, #41350 (although with different reasons)
Reproducer:
go list -u -m all
What did you see happen?
The command
go list -u -m all
fails with:What did you expect to see?
I expected to see the list of modules.
The text was updated successfully, but these errors were encountered: