x/crypto/ssh: ssh/server_test.go uses "slices", introduced in go 1.21, but go 1.20 supported #68469
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
go version go1.20.13 linux/amd64
Output of
go env
in your module/workspace:What did you do?
git clone https://go.googlesource.com/crypto
go test ./...
What did you see happen?
ssh/server_test.go:12:2: package slices is not in GOROOT (/usr/lib/go/src/slices)
FAIL golang.org/x/crypto/ssh [setup failed]
What did you expect to see?
Success.
The go.mod file lists "go 1.20" as a minimum requirement. However it's not possible to run the tests.
The text was updated successfully, but these errors were encountered: