lint: enable staticcheck and fix problems #11
Annotations
70 errors and 4 warnings
lint:
internal/s3assumer/context.go#L48
SA1019: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made. (staticcheck)
|
lint:
init_test.go#L282
SA1019: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made. (staticcheck)
|
lint
issues found
|
go1.21
Process completed with exit code 1.
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.21
Cannot open: File exists
|
go1.20
Process completed with exit code 1.
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
go1.20
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Cannot open: File exists
|
linux_386
Process completed with exit code 1.
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Cannot open: File exists
|
linux
Process completed with exit code 1.
|
mac_arm64
Process completed with exit code 1.
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_arm64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Cannot open: File exists
|
mac_amd64
Process completed with exit code 1.
|
windows
Process completed with exit code 1.
|
go1.21
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
go1.20
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
linux_386
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
linux
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|