Skip to content

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

[release/0.9] Update golang version to 1.19

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

Triggered via pull request September 25, 2024 20:06
Status Failure
Total duration 4m 10s
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
Go Generate
Error running go generate.
Go Generate
Process completed with exit code 1.
lint: internal\safefile\safeopen_test.go#L4
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\runhcs\container.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\exec\exec_test.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\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\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: 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: internal\gcs\guestconnection_test.go#L10
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\gcs\iochannel_test.go#L4
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: ext4\tar2ext4\tar2ext4.go#L10
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\uvm\scsi.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): 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\cri-containerd\test-images\jobcontainer_hns\main.go#L21
SA4006: this value of `network` is never used (staticcheck)
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)
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/
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/
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/
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/
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/