Skip to content

test: finder - fix the fsutil finder test error #537

test: finder - fix the fsutil finder test error

test: finder - fix the fsutil finder test error #537

Triggered via push June 4, 2023 14:04
Status Failure
Total duration 1m 38s
Artifacts

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 20 warnings
Test on go 1.18 and windows-latest
Process completed with exit code 1.
Test on go 1.19 and windows-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.19 and windows-latest
Process completed with exit code 1.
Test on go 1.18 and ubuntu-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.18 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and windows-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.20 and windows-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.20 and ubuntu-latest
The operation was canceled.
Test on go 1.19 and ubuntu-latest
The job was canceled because "windows-latest_1_18" failed.
Test on go 1.19 and ubuntu-latest
The operation was canceled.
Test on go 1.20 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
Test on go 1.20 and ubuntu-latest: netutil/httpheader/header.go#L4
exported const UserAgent should have comment (or a comment on this block) or be unexported
Test on go 1.20 and ubuntu-latest: dump/dump_test.go#L238
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L156
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: netutil/httpctype/content_type.go#L4
exported const Key should have comment or be unexported
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L193
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.20 and ubuntu-latest: dump/dump_test.go#L254
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L214
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: dump/dump_test.go#L293
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: errorx/panics/assert.go#L1
should have a package comment
Test on go 1.19 and ubuntu-latest: netutil/httpheader/header.go#L4
exported const UserAgent should have comment (or a comment on this block) or be unexported
Test on go 1.19 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
Test on go 1.19 and ubuntu-latest: strutil/textscan/tokens.go#L137
parameter 'ts' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: strutil/check.go#L288
if block ends with a return statement, so drop this else and outdent its block
Test on go 1.19 and ubuntu-latest: maputil/format.go#L95
don't use leading k in Go names; var kStr should be str
Test on go 1.19 and ubuntu-latest: dump/dump_test.go#L238
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: dump/dumper_test.go#L156
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.19 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.19 and ubuntu-latest: sysutil/sysutil.go#L31
func parameter fileOrUrl should be fileOrURL