Skip to content

update to go1.21

update to go1.21 #1012

Triggered via pull request November 6, 2023 14:30
Status Failure
Total duration 56s
Artifacts

main.yml

on: pull_request
Matrix: Checks code and generated code
Matrix: Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Linting: stdlib/go1_21_cmp.go#L16
cannot infer T ($GOROOT/src/cmp/cmp.go:40:14)
Linting: stdlib/go1_21_cmp.go#L17
cannot infer T ($GOROOT/src/cmp/cmp.go:28:11)
Linting: stdlib/go1_21_cmp.go#L20
cannot use type cmp.Ordered outside a type constraint: interface contains type constraints
Linting: stdlib/go1_21_maps.go#L16
cannot infer M ($GOROOT/src/maps/maps.go:41:12)
Linting: stdlib/go1_21_maps.go#L17
cannot infer M1 ($GOROOT/src/maps/maps.go:53:11)
Linting: stdlib/go1_21_maps.go#L18
cannot infer M ($GOROOT/src/maps/maps.go:60:17)
Linting: stdlib/go1_21_maps.go#L19
cannot infer M1 ($GOROOT/src/maps/maps.go:10:12)
Linting: stdlib/go1_21_maps.go#L20
cannot infer M1 ($GOROOT/src/maps/maps.go:24:16)
Linting: stdlib/go1_21_slices.go#L16
cannot infer S ($GOROOT/src/slices/sort.go:122:19)
Linting: stdlib/go1_21_slices.go#L17
cannot infer S ($GOROOT/src/slices/sort.go:148:23)
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/