Error lines from build-log.txt
... skipping 338 lines ...
vendor/github.com/aws/aws-sdk-go-v2/service/sts/types/errors.go
vendor/github.com/aws/aws-sdk-go-v2/service/sts/types/types.go
vendor/github.com/aws/aws-sdk-go/LICENSE.txt
vendor/github.com/aws/aws-sdk-go/NOTICE.txt
vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go
vendor/github.com/aws/aws-sdk-go/aws/auth/bearer/token.go
vendor/github.com/aws/aws-sdk-go/aws/awserr/error.go
vendor/github.com/aws/aws-sdk-go/aws/awserr/types.go
vendor/github.com/aws/aws-sdk-go/aws/awsutil/copy.go
vendor/github.com/aws/aws-sdk-go/aws/awsutil/equal.go
vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go
vendor/github.com/aws/aws-sdk-go/aws/awsutil/prettify.go
vendor/github.com/aws/aws-sdk-go/aws/awsutil/string_value.go
... skipping 118 lines ...
vendor/github.com/aws/aws-sdk-go/internal/s3shared/arn/accesspoint_arn.go
vendor/github.com/aws/aws-sdk-go/internal/s3shared/arn/arn.go
vendor/github.com/aws/aws-sdk-go/internal/s3shared/arn/outpost_arn.go
vendor/github.com/aws/aws-sdk-go/internal/s3shared/arn/s3_object_lambda_arn.go
vendor/github.com/aws/aws-sdk-go/internal/s3shared/endpoint_errors.go
vendor/github.com/aws/aws-sdk-go/internal/s3shared/resource_request.go
vendor/github.com/aws/aws-sdk-go/internal/s3shared/s3err/error.go
vendor/github.com/aws/aws-sdk-go/internal/sdkio/byte.go
vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go
vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go
vendor/github.com/aws/aws-sdk-go/internal/sdkmath/floor.go
vendor/github.com/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go
vendor/github.com/aws/aws-sdk-go/internal/sdkrand/locked_source.go
... skipping 8 lines ...
vendor/github.com/aws/aws-sdk-go/internal/sync/singleflight/LICENSE
vendor/github.com/aws/aws-sdk-go/internal/sync/singleflight/singleflight.go
vendor/github.com/aws/aws-sdk-go/private/checksum/content_md5.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/debug.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/decode.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/encode.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/error.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/error.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/reader.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/shared.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/signer.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/stream_writer.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/transport.go
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/transport_go1.17.go
... skipping 2076 lines ...
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/prometheus/common v0.32.1
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/handlers.go:1: : # github.com/tektoncd/results/pkg/api/server/v1alpha2 [github.com/tektoncd/results/pkg/api/server/v1alpha2.test]
pkg/api/server/v1alpha2/logs_test.go:99:11: undefined: mockGetLogServer
pkg/api/server/v1alpha2/logs_test.go:177:11: undefined: mockGetLogServer (typecheck)
package server
pkg/apis/v1alpha3/types.go:59:2: exported: comment on exported const BlobLogType should be of the form "BlobLogType ..." (revive)
// LokiLogType defines the log type for logs stored in the Loki.
^
pkg/api/server/v1alpha2/plugin_logs/server.go:49:1: exported: exported function New should have comment or be unexported (revive)
func New(config *config.Config, logger *zap.SugaredLogger, auth auth.Checker, db *gorm.DB) (*LogPluginServer, error) {
^
pkg/api/server/v1alpha2/plugin_logs/server.go:1:9: var-naming: don't use an underscore in package name (revive)
package plugin_logs
^
pkg/api/server/v1alpha2/plugin_logs/plugin_logs.go:1:9: var-naming: don't use an underscore in package name (revive)
package plugin_logs
^
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