Skip to content
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

building from source on the latest release fails #447

Open
isabelroses opened this issue Oct 31, 2024 · 1 comment
Open

building from source on the latest release fails #447

isabelroses opened this issue Oct 31, 2024 · 1 comment
Labels
question Further information is requested

Comments

@isabelroses
Copy link

Using go 1.13 fails to build on the latest release. I am mainly asking for new patch release containing the changes to the go.mod file.

gotestsum> 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)
gotestsum> vendor/golang.org/x/sys/unix/syscall_bsd.go:247:20: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
gotestsum> vendor/golang.org/x/sys/unix/syscall_darwin.go:94:8: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
gotestsum> 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)
gotestsum> 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)
gotestsum> # golang.org/x/tools/internal/event/keys
gotestsum> vendor/golang.org/x/tools/internal/event/keys/util.go:14:11: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
gotestsum> vendor/golang.org/x/tools/internal/event/keys/util.go:14:13: embedding interface element ~[]T requires go1.18 or later (-lang was set to go1.16; check go.mod)
gotestsum> vendor/golang.org/x/tools/internal/event/keys/util.go:14:21: embedding interface element ~string requires go1.18 or later (-lang was set to go1.16; check go.mod)
gotestsum> vendor/golang.org/x/tools/internal/event/keys/util.go:15:32: invalid argument: s (variable of type S constrained by ~[]T) for built-in len
gotestsum> vendor/golang.org/x/tools/internal/event/keys/util.go:16:20: cannot range over s (variable of type S constrained by ~[]T): no core type
gotestsum> # golang.org/x/tools/internal/versions
gotestsum> vendor/golang.org/x/tools/internal/versions/types.go:15:16: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
@dnephin
Copy link
Member

dnephin commented Oct 31, 2024

Hello! Unfortunately go 1.13 is well past end of life now. It was end of line on 2020-08-11 when go1.15 was released.

Very soon we're going to be increasing the minimum required version go 1.18+ to make use of new features.

If you need to use an old Go version for some reason I suggest using a pre-compiled binary release of gotestsum. You can find those here.

@dnephin dnephin added the question Further information is requested label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants