Skip to content

Switch from pkg/errors to Go 1.13+ error wrapping #5483

Switch from pkg/errors to Go 1.13+ error wrapping

Switch from pkg/errors to Go 1.13+ error wrapping #5483

Re-run triggered November 6, 2024 05:15
Status Failure
Total duration 4m 11s
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
lint (windows): internal/guest/gcserr/errors.go#L111
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): cmd/containerd-shim-runhcs-v1/service_internal.go#L275
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): cmd/ncproxy/hcn.go#L168
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): internal/uvm/vpmem.go#L137
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): internal/uvm/vpmem.go#L171
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): internal/uvm/vpmem_mapped.go#L258
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): internal/uvm/vpmem_mapped.go#L306
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows): internal/guest/commonutils/utilities.go#L14
SA1019: gcserr.WrapHresult is deprecated: use [fmt.Errorf] with %w and [NewHresultError] instead. (staticcheck)
lint (windows): internal/guest/commonutils/utilities.go#L23
SA1019: gcserr.WrapHresult is deprecated: use [fmt.Errorf] with %w and [NewHresultError] instead. (staticcheck)
lint (windows): internal/vm/hcs/boot.go#L25
ST1005: error strings should not be capitalized (stylecheck)
lint (linux): internal/guest/gcserr/errors.go#L111
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L64
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L91
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L104
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L115
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L128
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L139
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L161
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L396
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (linux): internal/guest/runtime/runc/container.go#L444
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint (windows, test): test/cri-containerd/helpers/log.go#L39
ST1005: error strings should not be capitalized (stylecheck)
lint (windows, test)
issues found