Skip to content

Update golang version to 1.19 #293

Update golang version to 1.19

Update golang version to 1.19 #293

Triggered via push September 25, 2024 21:08
Status Failure
Total duration 2m 6s
Artifacts

ci.yml

on: push
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\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)
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)
lint (test): test\functional\utilities\tempdir.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 (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)
Go Generate
Error running go generate.
Go Generate
Process completed with exit code 1.
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\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\vm\remotevm\builder.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: internal\vm\remotevm\vmsocket.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: 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\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: 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\copyfile\copyfile.go#L42
SA1019: syscall.Syscall has been deprecated since Go 1.18: Use SyscallN instead. (staticcheck)
lint: cmd\containerd-shim-runhcs-v1\serve.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 (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/
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/
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/
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/