Skip to content

Bump go.opentelemetry.io/otel from 1.19.0 to 1.20.0 #105

Bump go.opentelemetry.io/otel from 1.19.0 to 1.20.0

Bump go.opentelemetry.io/otel from 1.19.0 to 1.20.0 #105

Triggered via pull request November 12, 2023 11:17
Status Failure
Total duration 31s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: attribute.go#L21
could not import go.opentelemetry.io/otel/sdk/trace (-: # go.opentelemetry.io/otel/sdk/trace
lint
cannot use &TracerProvider{} (value of type *TracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in variable declaration:
lint
cannot use t (variable of type *tracer) as type "go.opentelemetry.io/otel/trace".Tracer in return statement:
lint
cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as type ReadWriteSpan in variable declaration:
lint
cannot use s.tracer.provider (variable of type *TracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in return statement:
lint
cannot use nonRecordingSpan{} (value of type nonRecordingSpan) as type "go.opentelemetry.io/otel/trace".Span in variable declaration:
lint
cannot use s.tracer.provider (variable of type *TracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in return statement:
lint
cannot use &tracer{} (value of type *tracer) as type "go.opentelemetry.io/otel/trace".Tracer in variable declaration:
lint
impossible type assertion: p.(*recordingSpan)
lint
cannot use tr.newNonRecordingSpan(sc) (value of type nonRecordingSpan) as type "go.opentelemetry.io/otel/trace".Span in return statement:
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/redact/redact. Supported file pattern: go.sum