Skip to content

x/crypto/ssh: ssh/server_test.go uses "slices", introduced in go 1.21, but go 1.20 supported #68469

@imirkin

Description

@imirkin

Go version

go version go1.20.13 linux/amd64

Output of go env in your module/workspace:

GOVERSION="go1.20.13"
GOROOT="/usr/lib/go"

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions