Skip to content

Update opentelemetry-rust monorepo to 0.27.0 #1585

Update opentelemetry-rust monorepo to 0.27.0

Update opentelemetry-rust monorepo to 0.27.0 #1585

Triggered via pull request November 12, 2024 02:00
Status Failure
Total duration 1m 56s
Artifacts

CI.yaml

on: pull_request
`cargo deny`
29s
`cargo deny`
Report Missing Dependencies
19s
Report Missing Dependencies
Nix Build
0s
Nix Build
Clippy
1m 40s
Clippy
Matrix: Rust CI
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
`cargo deny`
Process completed with exit code 1.
Rust CI (stable)
Process completed with exit code 101.
cannot find function `new_exporter` in crate `opentelemetry_otlp`: src/lib.rs#L82
error[E0425]: cannot find function `new_exporter` in crate `opentelemetry_otlp` --> src/cli/cmds/server.rs:82:71 | 82 | provider.with_simple_exporter(opentelemetry_otlp::new_exporter().tonic().build_span_exporter()?) | ^^^^^^^^^^^^ not found in `opentelemetry_otlp`
cannot find function `new_exporter` in crate `opentelemetry_otlp`: src/lib.rs#L87
error[E0425]: cannot find function `new_exporter` in crate `opentelemetry_otlp` --> src/cli/cmds/server.rs:87:71 | 87 | provider.with_simple_exporter(opentelemetry_otlp::new_exporter().http().build_span_exporter()?) | ^^^^^^^^^^^^ not found in `opentelemetry_otlp`
no method named `versioned_tracer` found for struct `opentelemetry_sdk::trace::TracerProvider` in the current scope: src/lib.rs#L101
error[E0599]: no method named `versioned_tracer` found for struct `opentelemetry_sdk::trace::TracerProvider` in the current scope --> src/cli/cmds/server.rs:101:23 | 101 | Some(provider.versioned_tracer( | ---------^^^^^^^^^^^^^^^^ | help: there is a method `boxed_tracer` with a similar name, but with different arguments --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.0/src/global/trace.rs:308:5 | 308 | fn boxed_tracer(&self, scope: InstrumentationScope) -> Box<dyn ObjectSafeTracer + Send + Sync>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
aborting due to 3 previous errors; 2 warnings emitted
error: aborting due to 3 previous errors; 2 warnings emitted
Clippy
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
Clippy
{ "rendered": "Some errors have detailed explanations: E0425, E0599.\n", "$message_type": "diagnostic", "children": [], "code": null, "level": "failure-note", "message": "Some errors have detailed explanations: E0425, E0599.", "spans": [] }
Rust CI (nightly)
The job was canceled because "stable" failed.
Rust CI (nightly)
The operation was canceled.
unused import: `trace::TracerProvider as _`: src/lib.rs#L18
warning: unused import: `trace::TracerProvider as _` --> src/cli/cmds/server.rs:18:21 | 18 | use opentelemetry::{trace::TracerProvider as _, KeyValue}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `util::SubscriberInitExt`: src/lib.rs#L29
warning: unused import: `util::SubscriberInitExt` --> src/cli/cmds/server.rs:29:48 | 29 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt, Layer}; | ^^^^^^^^^^^^^^^^^^^^^^^