Skip to content

[release/0.9] Update golang version to 1.19 #5431

[release/0.9] Update golang version to 1.19

[release/0.9] Update golang version to 1.19 #5431

Triggered via pull request September 25, 2024 20:25
Status Failure
Total duration 4m 2s
Artifacts

ci.yml

on: pull_request
Matrix: lint
test-linux
0s
test-linux
Matrix: test-windows
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 5 warnings
lint (test): test\cri-containerd\test-images\jobcontainer_createvhd\main.go#L29
Error return value of `syscall.CloseHandle` is not checked (errcheck)
lint (test): test\cri-containerd\test-images\nanoserver-gracefultermination-repro\latest\delayed-shutdown.go#L17
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\nanoserver-gracefultermination-repro\latest\delayed-shutdown.go#L18
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\nanoserver-gracefultermination-repro\latest\delayed-shutdown.go#L19
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\servercore-gracefultermination-repro\latest\delayed-shutdown.go#L17
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\servercore-gracefultermination-repro\latest\delayed-shutdown.go#L18
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\servercore-gracefultermination-repro\latest\delayed-shutdown.go#L19
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\functional\utilities\defaultlinuxspec.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\functional\utilities\defaultwindowsspec.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\functional\utilities\layerfolders.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Go Generate
Error running go generate.
Go Generate
Process completed with exit code 1.
lint: internal\wclayer\exportlayer.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\wclayer\importlayer.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\wclayer\legacy.go#L9
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\copyfile\copyfile.go#L42
SA1019: syscall.Syscall has been deprecated since Go 1.18: Use SyscallN instead. (staticcheck)
lint: internal\devices\assigned_devices.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\hcsoci\devices.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd\dmverity-vhd\main.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd\gcstools\generichook.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd\tar2ext4\tar2ext4.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\tools\securitypolicy\main.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
protos
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
verify-vendor
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Go Generate
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/