-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
go tool
: receiving an exit status 1
for certain dependencies
#71448
Comments
go tool
: receiving an exit status 1
go tool
: receiving an exit status 1
for certain dependencies
I think whatever problem you're having is unrelated to Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only. For questions please refer to https://github.com/golang/go/wiki/Questions |
Thanks Sean - the reason I'd raised this here is that this appears to be directly related to the changes in Go 1.24's |
|
Oh interesting, thank you - so bumping that should resolve this? I assume it's due to new directives that the old |
Go version
go version go1.24rc2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
As noted in 99designs/gqlgen#3505 I'm trying out Go 1.24's
go tool
functionality withgqlgen
.This appears to only impact
gqlgen
, so may be an issue with them directly (99designs/gqlgen#3505) but it's unclear if that's the expectation of moving togo tool
, and so I've raised it here to also see if there's anything the Go team are able to help with.However, this also seems to be reproducible in Go 1.24rc2 (I have not tested previous RCs), so seems to be most likely due to changes in the Go toolchain.
I have created a branch on one of my projects here to indicate the changes and help test.
Using
go tool
Using
go run
What did you see happen?
The
go generate
command fails withexit code 1
and no additional informationWhat did you expect to see?
The
go generate
command succeeds, or errors with more information.The text was updated successfully, but these errors were encountered: