Skip to content

Add exptostd linter #8788

Add exptostd linter

Add exptostd linter #8788

Triggered via pull request December 27, 2024 16:24
Status Failure
Total duration 12m 47s
Artifacts

pr.yml

on: pull_request
golangci-lint
1m 2s
golangci-lint
go-mod
14s
go-mod
check_generated
51s
check_generated
Matrix: Installation script (local)
Matrix: tests-on-unix
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 6 warnings
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-macos
diagnostic "golang.org/x/exp/maps.Values() can be replaced by slices.Collect(maps.Values())" does not match pattern `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-macos
diagnostic "golang.org/x/exp/maps.Values() can be replaced by slices.Collect(maps.Values())" does not match pattern `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-macos
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.22)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.22)
no such file or directory"
tests-on-unix (1.22)
no such file or directory"
tests-on-unix (1.23)
The job was canceled because "_1_22" failed.
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.23)
diagnostic "golang.org/x/exp/maps.Values() can be replaced by slices.Collect(maps.Values())" does not match pattern `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-unix (1.23)
diagnostic "golang.org/x/exp/maps.Values() can be replaced by slices.Collect(maps.Values())" does not match pattern `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-unix (1.23)
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-windows
diagnostic "golang.org/x/exp/maps.Values() can be replaced by slices.Collect(maps.Values())" does not match pattern `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
tests-on-windows
diagnostic "golang.org/x/exp/maps.Values() can be replaced by slices.Collect(maps.Values())" does not match pattern `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/maps' can be replaced by 'maps'
tests-on-windows
unexpected diagnostic: Import statement 'golang.org/x/exp/slices' can be replaced by 'slices'
Installation script (local) (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go-mod
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check_generated
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
commands
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests-on-unix (1.22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636