chore(deps): bump go.opentelemetry.io/otel from 1.19.0 to 1.23.0 #65
reviewdog.yml
on: pull_request
runner / staticcheck
27s
Annotations
3 errors and 1 warning
runner / staticcheck
too many errors\nnote: module requires Go 1.20","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
runner / staticcheck
[staticcheck] reported by reviewdog 🐶
# go.opentelemetry.io/otel/sdk/trace
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/provider.go:90:30: cannot use &TracerProvider{} (value of type *TracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in variable declaration:
*TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing tracerProvider method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/provider.go:170:10: cannot use t (variable of type *tracer) as type "go.opentelemetry.io/otel/trace".Tracer in return statement:
*tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing tracer method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/span.go:161:23: cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as type ReadWriteSpan in variable declaration:
*recordingSpan does not implement ReadWriteSpan (missing span method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/span.go:692:9: cannot use s.tracer.provider (variable of type *TracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in return statement:
*TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing tracerProvider method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/span.go:780:20: cannot use nonRecordingSpan{} (value of type nonRecordingSpan) as type "go.opentelemetry.io/otel/trace".Span in variable declaration:
nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing span method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/span.go:811:74: cannot use s.tracer.provider (variable of type *TracerProvider) as type "go.opentelemetry.io/otel/trace".TracerProvider in return statement:
*TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing tracerProvider method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/tracer.go:30:22: cannot use &tracer{} (value of type *tracer) as type "go.opentelemetry.io/otel/trace".Tracer in variable declaration:
*tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing tracer method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/tracer.go:47:21: impossible type assertion: p.(*recordingSpan)
*recordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing span method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/tracer.go:117:10: cannot use tr.newNonRecordingSpan(sc) (value of type nonRecordingSpan) as type "go.opentelemetry.io/otel/trace".Span in return statement:
nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing span method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/tracer.go:119:9: cannot use tr.newRecordingSpan(psc, sc, name, samplingResult, config) (value of type *recordingSpan) as type "go.opentelemetry.io/otel/trace".Span in return statement:
*recordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing span method)
../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/tracer.go:119:9: too many errors
note: module requires Go 1.20
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# go.opentelemetry.io/otel/sdk/trace\n../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/provider.go:90:30: cannot use &TracerProvider{} (value of type *TracerProvider) as type \"go.opentelemetry.io/otel/trace\".TracerProvider in variable declaration:\n\t*TracerProvider does not implement \"go.opentelemetry.io/otel/trace\".TracerProvider (missing tracerProvider method)\n../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/provider.go:170:10: cannot use t (variable of type *tracer) as type \"go.opentelemetry.io/otel/trace\".Tracer in return statement:\n\t*tracer does not implement \"go.opentelemetry.io/otel/trace\".Tracer (missing tracer method)\n../../../go/pkg/mod/go.opentelemetry.io/otel/[email protected]/trace/span.go:161:23: cannot use (*re
|
runner / staticcheck
Process completed with exit code 1.
|
runner / staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|