Skip to content

upgrade to new split up errors package #236

upgrade to new split up errors package

upgrade to new split up errors package #236

Triggered via pull request January 22, 2025 18:25
Status Failure
Total duration 3m 4s
Artifacts

build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 2 warnings
govulncheck
cannot range over seq (variable of type iter.Seq[E])
govulncheck
package requires newer Go version go1.23
govulncheck
package requires newer Go version go1.23
govulncheck
package requires newer Go version go1.23
govulncheck
package requires newer Go version go1.23
govulncheck
cannot range over seq (variable of type iter.Seq2[K, V])
govulncheck: codes.go#L5
package requires newer Go version go1.23
govulncheck
Process completed with exit code 1.
lint: codes.go#L108
cannot use (*CodedError)(nil) (value of type *CodedError) as ErrorCode value in variable declaration: *CodedError does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L109
cannot use (*CodedError)(nil) (value of type *CodedError) as unwrapError value in variable declaration: *CodedError does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L127
cannot use (*invalidInputErr)(nil) (value of type *invalidInputErr) as ErrorCode value in variable declaration: *invalidInputErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L128
cannot use (*invalidInputErr)(nil) (value of type *invalidInputErr) as unwrapError value in variable declaration: *invalidInputErr does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L213
cannot use (*NotFoundErr)(nil) (value of type *NotFoundErr) as ErrorCode value in variable declaration: *NotFoundErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L214
cannot use (*NotFoundErr)(nil) (value of type *NotFoundErr) as unwrapError value in variable declaration: *NotFoundErr does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L226
cannot use (*NotAuthenticatedErr)(nil) (value of type *NotAuthenticatedErr) as ErrorCode value in variable declaration: *NotAuthenticatedErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L227
cannot use (*NotAuthenticatedErr)(nil) (value of type *NotAuthenticatedErr) as unwrapError value in variable declaration: *NotAuthenticatedErr does not implement unwrapError (missing method Unwrap) (typecheck)
lint: codes.go#L239
cannot use (*ForbiddenErr)(nil) (value of type *ForbiddenErr) as ErrorCode value in variable declaration: *ForbiddenErr does not implement ErrorCode (missing method Error) (typecheck)
lint: codes.go#L240
cannot use (*ForbiddenErr)(nil) (value of type *ForbiddenErr) as unwrapError value in variable declaration: *ForbiddenErr does not implement unwrapError (missing method Unwrap) (typecheck)
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636