Error lines from build-log.txt
... skipping 1831 lines ...
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/prometheus/common v0.32.1
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading google.golang.org/protobuf v1.28.0
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{}
^
pkg/api/server/v1alpha2/log/s3.go:120:100: SA1019: config.WithEndpointResolverWithOptions is deprecated: The global endpoint resolution interface is deprecated. See deprecation docs on [WithEndpointResolver]. (staticcheck)
awsConfig, err = config.LoadDefaultConfig(ctx, config.WithRegion(cfg.S3_REGION), credentialsOpt, config.WithEndpointResolverWithOptions(customResolver))
^
make: *** [Makefile:88: golangci-lint-check] Error 1
==============================
==== GO LINT TESTS FAILED ====
==============================
+ EXIT_VALUE=1
+ set +o xtrace