cool-easter-32542
08/20/2025, 8:39 PMgenerate-lockfiles goal
ProcessExecutionFailure: Process 'Parse re/dac/ted/go.mod' failed with exit code 2.
stdout:
stderr:
go: unknown GOEXPERIMENT coverageredesign
Use --keep-sandboxes=on_failure to preserve the process chroot for inspection.
My shell environment does not set GOEXPERIMENT; this appears to come from Pants’ Go backend. This worked with Go 1.24, but breaks with Go 1.25 because the coverageredesign experiment was removed from the toolchain:
• Tracking issue to remove the experiment: golang/go#55953
• Tracking issue to remove `GOEXPERIMENT=coverageredesign`: golang/go#57943
Expected behavior: Pants should not inject unsupported GOEXPERIMENT values. For Go ≥ 1.23 (and definitely in 1.25), coverageredesign is no longer a valid experiment and causes go to error out.
Pants version
2.25.1
OS
MacOS
Additional info
Workaround: roll back to go v1.24
pantsbuild/pants