Skip to content

updating span interface to have a remove event function #612

updating span interface to have a remove event function

updating span interface to have a remove event function #612

Triggered via pull request June 23, 2024 11:34
Status Failure
Total duration 1m 17s
Artifacts

pr-test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
test (1.22): instrumentation/opentelemetry/span.go#L46
cannot use (*Span)(nil) (value of type *Span) as "github.com/hypertrace/goagent/sdk".Span value in variable declaration: *Span does not implement "github.com/hypertrace/goagent/sdk".Span (missing method RemoveEvent)
test (1.22): instrumentation/opentelemetry/span.go#L116
cannot use &Span{…} (value of type *Span) as "github.com/hypertrace/goagent/sdk".Span value in return statement: *Span does not implement "github.com/hypertrace/goagent/sdk".Span (missing method RemoveEvent)
test (1.22): instrumentation/opentelemetry/span.go#L139
cannot use &Span{…} (value of type *Span) as "github.com/hypertrace/goagent/sdk".Span value in return statement: *Span does not implement "github.com/hypertrace/goagent/sdk".Span (missing method RemoveEvent)
test (1.22): instrumentation/opencensus/span.go#L12
cannot use &Span{…} (value of type *Span) as sdk.Span value in variable declaration: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22): instrumentation/opencensus/span.go#L67
cannot use &Span{…} (value of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22): instrumentation/opencensus/span.go#L78
cannot use &Span{…} (value of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22): sdk/internal/mock/span.go#L44
cannot use &Span{} (value of type *Span) as sdk.Span value in variable declaration: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22): sdk/internal/mock/span.go#L119
cannot use ctx.Value(spanKey("span")).(*Span) (comma, ok expression of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22): sdk/internal/mock/span.go#L124
cannot use s (variable of type *Span) as sdk.Span value in argument to ContextWithSpan: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22): sdk/internal/mock/span.go#L124
cannot use s (variable of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21)
The job was canceled because "_1_22" failed.
test (1.21): instrumentation/opentelemetry/span.go#L46
cannot use (*Span)(nil) (value of type *Span) as "github.com/hypertrace/goagent/sdk".Span value in variable declaration: *Span does not implement "github.com/hypertrace/goagent/sdk".Span (missing method RemoveEvent)
test (1.21): instrumentation/opentelemetry/span.go#L116
cannot use &Span{…} (value of type *Span) as "github.com/hypertrace/goagent/sdk".Span value in return statement: *Span does not implement "github.com/hypertrace/goagent/sdk".Span (missing method RemoveEvent)
test (1.21): instrumentation/opentelemetry/span.go#L139
cannot use &Span{…} (value of type *Span) as "github.com/hypertrace/goagent/sdk".Span value in return statement: *Span does not implement "github.com/hypertrace/goagent/sdk".Span (missing method RemoveEvent)
test (1.21): instrumentation/opencensus/span.go#L12
cannot use &Span{…} (value of type *Span) as sdk.Span value in variable declaration: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21): instrumentation/opencensus/span.go#L67
cannot use &Span{…} (value of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21): instrumentation/opencensus/span.go#L78
cannot use &Span{…} (value of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21): sdk/internal/mock/span.go#L44
cannot use &Span{} (value of type *Span) as sdk.Span value in variable declaration: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21): sdk/internal/mock/span.go#L119
cannot use ctx.Value(spanKey("span")).(*Span) (comma, ok expression of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21): sdk/internal/mock/span.go#L124
cannot use s (variable of type *Span) as sdk.Span value in argument to ContextWithSpan: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.21): sdk/internal/mock/span.go#L124
cannot use s (variable of type *Span) as sdk.Span value in return statement: *Span does not implement sdk.Span (missing method RemoveEvent)
test (1.22)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: evantorrie/mott-the-tidier@v1-beta. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1.22)
The following actions uses node12 which is deprecated and will be forced to run on node16: evantorrie/mott-the-tidier@v1-beta. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.22)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (1.21)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/