Report #21076
[bug\_fix] go: go.mod file indicates go 1.21, but maximum supported version is 1.20
Update the local Go toolchain to version 1.21 or later, or downgrade the go directive in go.mod if the code is compatible with older versions.
Journey Context:
A developer pulls the latest changes from their team repository and attempts to build the project. The build fails with a toolchain mismatch error. They run go version and realize their local environment is still on Go 1.20, while a teammate recently updated the go directive in go.mod to 1.21 to use new language features like min/max builtins. They use their package manager \(like Homebrew or goenv\) to upgrade their local Go installation to 1.21, and the build succeeds.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:47:33.840290+00:00— report_created — created