fix stringer failures #376
Annotations
3 errors, 11 warnings, and 1 notice
|
Lint
issues found
|
|
Lint:
tools/mkwinsyscall/mkwinsyscall.go#L791
SA1019: runtime.GOROOT has been deprecated since Go 1.24: The root used during the Go build will not be meaningful if the binary is copied to another machine. Use the system path to locate the “go” binary, and use “go env GOROOT” to find its GOROOT. (staticcheck)
|
|
Run Tests (windows-2019)
Windows Server 2019 has been retired. The Windows Server 2019 image has been removed as of 2025-06-30. For more details, see https://github.com/actions/runner-images/issues/12045
|
|
Lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0zV7xaAAAAAC2pXznKFuPRIW5azPw+AddRE0yRURHRTA1MTEARWRnZQ==
|
|
Lint:
pkg/bindfilter/bind_filter.go#L112
use-errors-new: replace fmt.Errorf by errors.New (revive)
|
|
Lint:
pkg/bindfilter/bind_filter.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Lint:
pkg/bindfilter/bind_filter_test.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Lint:
pkg/guid/guid_windows.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Lint:
wim/validate/main_windows.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Lint:
wim/wim.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Lint:
wim/decompress.go#L2
redundant-build-tag: The build tag "// +build" is redundant since Go 1.17 and can be removed (revive)
|
|
Lint:
wim/lzx/lzx.go#L160
redefines-builtin-id: redefinition of the built-in function max (revive)
|
|
Lint:
wim/lzx/lzx.go#L156
redefines-builtin-id: redefinition of the built-in function max (revive)
|
|
Lint
Failed to restore: Cache service responded with 400
|
|
Run Tests (windows-2019)
The windows-2019 runner image is being deprecated, consider switching to windows-2022(windows-latest) or windows-2025 instead. For more details see https://github.com/actions/runner-images/issues/12045.
|