Error lines from build-log.txt
... skipping 1880 lines ...
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading github.com/beorn7/perks v1.0.1
go: downloading google.golang.org/protobuf v1.28.0
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
[34;1m🐱[0m Testing if golint has been done…
level=warning msg="[linters_context] running gomodguard failed: unable to parse module file go.mod: go.mod:3: invalid go version '1.22.0': must match format 1.23: if you are not using go modules it is suggested to disable this linter"
pkg/api/server/v1alpha2/log/s3.go:110:21: SA1019: aws.EndpointResolverWithOptionsFunc is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [EndpointResolver]. (staticcheck)
customResolver := aws.EndpointResolverWithOptionsFunc(func(_, region string, _ ...any) (aws.Endpoint, error) {
^
pkg/api/server/v1alpha2/log/s3.go:112:12: SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
return aws.Endpoint{
^
pkg/api/server/v1alpha2/log/s3.go:118:11: SA1019: aws.Endpoint is deprecated: This structure was used with the global [EndpointResolver] interface, which has been deprecated in favor of service-specific endpoint resolution. See the deprecation docs on that interface for more information. (staticcheck)
return aws.Endpoint{}, &aws.EndpointNotFoundError{}
^
make: *** [Makefile:88: golangci-lint-check] Error 1
==============================
==== GO LINT TESTS FAILED ====
==============================
+ EXIT_VALUE=1
+ set +o xtrace