You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the Go version specified in go.mod (1.14) was way too old.
butler> building '/nix/store/57yxrfrrwah67axnrwfza2wmhmgb7xil-butler-15.24.0.drv'butler> Running phase: unpackPhasebutler> unpacking source archive /nix/store/smw8fr3kh7mcwvcmdmqkcs2s9dhn970k-sourcebutler> source root is sourcebutler> Running phase: patchPhasebutler> Running phase: updateAutotoolsGnuConfigScriptsPhasebutler> Running phase: configurePhasebutler> Running phase: buildPhasebutler> Building subPackage .butler> # golang.org/x/sys/unixbutler> vendor/golang.org/x/sys/unix/mremap.go:41:10: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/sys/unix/syscall.go:82:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/sys/unix/syscall_linux.go:1018:20: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/sys/unix/syscall_linux.go:2459:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/sys/unix/syscall_unix.go:117:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/sys/unix/sysvshm_unix.go:32:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)butler> # golang.org/x/net/http2butler> vendor/golang.org/x/net/http2/config.go:90:17: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:90:19: embedding interface element ~int | ~int32 | ~uint32 | ~int64 requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:91:5: invalid operation: *v < minval (type parameter T is not comparable with <)butler> vendor/golang.org/x/net/http2/config.go:91:20: invalid operation: *v > maxval (type parameter T is not comparable with >)butler> vendor/golang.org/x/net/http2/config.go:97:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:98:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:99:2: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:101:3: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:103:3: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:106:3: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)butler> vendor/golang.org/x/net/http2/config.go:106:3: too many errors
The text was updated successfully, but these errors were encountered:
CI is building with 1.23. Are you sure you didn't update the dependencies in go.sum?
I don't believe this is the case as I get the error by cloning and immediately running go build. The go.sum remains unchanged. Perhaps instead the CI is automatically updating dependencies?
Take what I say with a grain of salt as I have virtually no go experience, maybe I have some configuration somewhere that just ignores the dependency versions, I would be shocked if that's a global config option somewhere though.
Looks like the Go version specified in
go.mod
(1.14) was way too old.The text was updated successfully, but these errors were encountered: