[INFO] fetching crate revoke-trace 0.3.0...
[INFO] testing revoke-trace-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1
[INFO] extracting crate revoke-trace 0.3.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate revoke-trace 0.3.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate revoke-trace 0.3.0
[INFO] tweaked toml for crates.io crate revoke-trace 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate revoke-trace 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate revoke-trace 0.3.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 69176da86baa77ce36463c18912e20a9724443f098571c3c60a4fe3f2761cf68
[INFO] running `Command { std: "docker" "start" "-a" "69176da86baa77ce36463c18912e20a9724443f098571c3c60a4fe3f2761cf68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69176da86baa77ce36463c18912e20a9724443f098571c3c60a4fe3f2761cf68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69176da86baa77ce36463c18912e20a9724443f098571c3c60a4fe3f2761cf68", kill_on_drop: false }`
[INFO] [stdout] 69176da86baa77ce36463c18912e20a9724443f098571c3c60a4fe3f2761cf68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3f0aae5763617717538eea3369e73a53761eab3199ffeb286266a8630aa3a2d
[INFO] running `Command { std: "docker" "start" "-a" "e3f0aae5763617717538eea3369e73a53761eab3199ffeb286266a8630aa3a2d", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.174
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling zerocopy v0.8.26
[INFO] [stderr] Compiling getrandom v0.3.3
[INFO] [stderr] Compiling async-trait v0.1.88
[INFO] [stderr] Compiling either v1.15.0
[INFO] [stderr] Compiling itertools v0.13.0
[INFO] [stderr] Compiling thiserror v2.0.12
[INFO] [stderr] Compiling regex-syntax v0.8.5
[INFO] [stderr] Compiling opentelemetry v0.30.0
[INFO] [stderr] Compiling tracing-log v0.2.0
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling signal-hook-registry v1.4.5
[INFO] [stderr] Compiling socket2 v0.5.10
[INFO] [stderr] Compiling ppv-lite86 v0.2.21
[INFO] [stderr] Compiling rand_core v0.9.3
[INFO] [stderr] Compiling prost-derive v0.13.5
[INFO] [stderr] Compiling getrandom v0.2.16
[INFO] [stderr] Compiling tokio v1.46.1
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling rand_chacha v0.9.0
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling rand v0.9.1
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling futures-executor v0.3.31
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling tracing-serde v0.2.0
[INFO] [stderr] Compiling prost v0.13.5
[INFO] [stderr] Compiling axum-core v0.4.5
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling matchit v0.7.3
[INFO] [stderr] Compiling chrono v0.4.41
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling futures v0.3.31
[INFO] [stderr] Compiling uuid v1.17.0
[INFO] [stderr] Compiling tracing-subscriber v0.3.19
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling tokio-util v0.7.15
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling revoke-core v0.3.0
[INFO] [stderr] Compiling opentelemetry_sdk v0.30.0
[INFO] [stderr] Compiling h2 v0.4.11
[INFO] [stderr] Compiling tower v0.5.2
[INFO] [stderr] Compiling tower v0.4.13
[INFO] [stderr] Compiling tower-http v0.6.6
[INFO] [stderr] Compiling axum v0.7.9
[INFO] [stderr] Compiling tracing-opentelemetry v0.31.0
[INFO] [stderr] Compiling hyper v1.6.0
[INFO] [stderr] Compiling hyper-util v0.1.15
[INFO] [stderr] Compiling hyper-timeout v0.5.2
[INFO] [stderr] Compiling reqwest v0.12.22
[INFO] [stderr] Compiling tonic v0.13.1
[INFO] [stderr] Compiling tonic v0.12.3
[INFO] [stderr] Compiling opentelemetry-http v0.30.0
[INFO] [stderr] Compiling opentelemetry-proto v0.30.0
[INFO] [stderr] Compiling opentelemetry-otlp v0.30.0
[INFO] [stderr] Compiling revoke-trace v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "e3f0aae5763617717538eea3369e73a53761eab3199ffeb286266a8630aa3a2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3f0aae5763617717538eea3369e73a53761eab3199ffeb286266a8630aa3a2d", kill_on_drop: false }`
[INFO] [stdout] e3f0aae5763617717538eea3369e73a53761eab3199ffeb286266a8630aa3a2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29ae6de06c7d56ac65f396b1e07da8fec34eb596a2fa446519777f0b6cbcc636
[INFO] running `Command { std: "docker" "start" "-a" "29ae6de06c7d56ac65f396b1e07da8fec34eb596a2fa446519777f0b6cbcc636", kill_on_drop: false }`
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling cc v1.2.29
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling serde_path_to_error v0.1.17
[INFO] [stderr] Compiling h2 v0.4.11
[INFO] [stderr] Compiling tower v0.5.2
[INFO] [stderr] Compiling opentelemetry v0.30.0
[INFO] [stderr] Compiling axum-core v0.4.5
[INFO] [stderr] Compiling tower v0.4.13
[INFO] [stderr] Compiling tower-http v0.5.2
[INFO] [stderr] Compiling opentelemetry_sdk v0.30.0
[INFO] [stderr] Compiling tower-http v0.6.6
[INFO] [stderr] Compiling openssl-sys v0.9.109
[INFO] [stderr] Compiling tracing-subscriber v0.3.19
[INFO] [stderr] Compiling revoke-core v0.3.0
[INFO] [stderr] Compiling openssl v0.10.73
[INFO] [stderr] Compiling native-tls v0.2.14
[INFO] [stderr] Compiling tracing-opentelemetry v0.31.0
[INFO] [stderr] Compiling hyper v1.6.0
[INFO] [stderr] Compiling hyper-util v0.1.15
[INFO] [stderr] Compiling tokio-native-tls v0.3.1
[INFO] [stderr] Compiling hyper-timeout v0.5.2
[INFO] [stderr] Compiling hyper-tls v0.6.0
[INFO] [stderr] Compiling axum v0.7.9
[INFO] [stderr] Compiling reqwest v0.12.22
[INFO] [stderr] Compiling tonic v0.13.1
[INFO] [stderr] Compiling opentelemetry-http v0.30.0
[INFO] [stderr] Compiling opentelemetry-proto v0.30.0
[INFO] [stderr] Compiling opentelemetry-otlp v0.30.0
[INFO] [stderr] Compiling tonic v0.12.3
[INFO] [stderr] Compiling revoke-trace v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `DefaultAggregationSelector` in `reader`
[INFO] [stdout] --> examples/metrics_and_traces.rs:112:58
[INFO] [stdout] |
[INFO] [stdout] 112 | Box::new(opentelemetry_sdk::metrics::reader::DefaultAggregationSelector::new()),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `DefaultAggregationSelector` in `reader`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: could not find `DefaultTemporalitySelector` in `reader`
[INFO] [stdout] --> examples/metrics_and_traces.rs:113:58
[INFO] [stdout] |
[INFO] [stdout] 113 | Box::new(opentelemetry_sdk::metrics::reader::DefaultTemporalitySelector::new()),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `DefaultTemporalitySelector` in `reader`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `new_exporter` in crate `opentelemetry_otlp`
[INFO] [stdout] --> examples/metrics_and_traces.rs:108:40
[INFO] [stdout] |
[INFO] [stdout] 108 | let exporter = opentelemetry_otlp::new_exporter()
[INFO] [stdout] | ^^^^^^^^^^^^ not found in `opentelemetry_otlp`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `shutdown_meter_provider` in module `global`
[INFO] [stdout] --> examples/metrics_and_traces.rs:140:29
[INFO] [stdout] |
[INFO] [stdout] 140 | if let Err(e) = global::shutdown_meter_provider() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `set_meter_provider`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry-0.30.0/src/global/metrics.rs:21:1
[INFO] [stdout] |
[INFO] [stdout] 21 | / pub fn set_meter_provider
(new_provider: P)
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | | P: metrics::MeterProvider + Send + Sync + 'static,
[INFO] [stdout] | |______________________________________________________- similarly named function `set_meter_provider` defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0603]: module `reader` is private
[INFO] [stdout] --> examples/metrics_and_traces.rs:112:50
[INFO] [stdout] |
[INFO] [stdout] 112 | Box::new(opentelemetry_sdk::metrics::reader::DefaultAggregationSelector::new()),
[INFO] [stdout] | ^^^^^^ private module
[INFO] [stdout] |
[INFO] [stdout] note: the module `reader` is defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.30.0/src/metrics/mod.rs:63:1
[INFO] [stdout] |
[INFO] [stdout] 63 | pub(crate) mod reader;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0603]: module `reader` is private
[INFO] [stdout] --> examples/metrics_and_traces.rs:113:50
[INFO] [stdout] |
[INFO] [stdout] 113 | Box::new(opentelemetry_sdk::metrics::reader::DefaultTemporalitySelector::new()),
[INFO] [stdout] | ^^^^^^ private module
[INFO] [stdout] |
[INFO] [stdout] note: the module `reader` is defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.30.0/src/metrics/mod.rs:63:1
[INFO] [stdout] |
[INFO] [stdout] 63 | pub(crate) mod reader;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `init` found for struct `InstrumentBuilder<'a, T>` in the current scope
[INFO] [stdout] --> examples/metrics_and_traces.rs:35:18
[INFO] [stdout] |
[INFO] [stdout] 32 | request_counter: meter
[INFO] [stdout] | ______________________________-
[INFO] [stdout] 33 | | .u64_counter("http_requests_total")
[INFO] [stdout] 34 | | .with_description("Total number of HTTP requests")
[INFO] [stdout] 35 | | .init(),
[INFO] [stdout] | | -^^^^ method not found in `InstrumentBuilder<'_, opentelemetry::metrics::Counter>`
[INFO] [stdout] | |_________________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no function or associated item named `w3c` found for struct `TracePropagator` in the current scope
[INFO] [stdout] --> examples/distributed_tracing.rs:38:47
[INFO] [stdout] |
[INFO] [stdout] 38 | propagator: Arc::new(TracePropagator::w3c()),
[INFO] [stdout] | ^^^ function or associated item not found in `TracePropagator`
[INFO] [stdout] |
[INFO] [stdout] note: if you're trying to build a new `TracePropagator`, consider using `TracePropagator::new` which returns `TracePropagator`
[INFO] [stdout] --> /opt/rustwide/workdir/src/propagator.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub fn new() -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `init` found for struct `HistogramBuilder<'a, T>` in the current scope
[INFO] [stdout] --> examples/metrics_and_traces.rs:39:18
[INFO] [stdout] |
[INFO] [stdout] 36 | request_duration: meter
[INFO] [stdout] | _______________________________-
[INFO] [stdout] 37 | | .f64_histogram("http_request_duration_seconds")
[INFO] [stdout] 38 | | .with_description("HTTP request duration in seconds")
[INFO] [stdout] 39 | | .init(),
[INFO] [stdout] | | -^^^^ method not found in `HistogramBuilder<'_, opentelemetry::metrics::Histogram>`
[INFO] [stdout] | |_________________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `IntoResponse` and `State`
[INFO] [stdout] --> examples/axum_middleware.rs:3:24
[INFO] [stdout] |
[INFO] [stdout] 3 | extract::{Request, State},
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 6 | response::{IntoResponse, Response},
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0601]: `main` function not found in crate `axum_middleware`
[INFO] [stdout] --> examples/axum_middleware.rs:229:2
[INFO] [stdout] |
[INFO] [stdout] 229 | }
[INFO] [stdout] | ^ consider adding a `main` function to `examples/axum_middleware.rs`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: struct takes 3 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> examples/axum_middleware.rs:58:24
[INFO] [stdout] |
[INFO] [stdout] 58 | ) -> axum::middleware::FromFnLayer<
[INFO] [stdout] | ^^^^^^^^^^^ expected 3 generic arguments
[INFO] [stdout] 59 | / impl Fn(
[INFO] [stdout] 60 | | Request,
[INFO] [stdout] 61 | | Next,
[INFO] [stdout] ... |
[INFO] [stdout] 64 | | + Clone,
[INFO] [stdout] | |___________- supplied 1 generic argument
[INFO] [stdout] |
[INFO] [stdout] note: struct defined here, with 3 generic parameters: `F`, `S`, `T`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/middleware/from_fn.rs:172:12
[INFO] [stdout] |
[INFO] [stdout] 172 | pub struct FromFnLayer {
[INFO] [stdout] | ^^^^^^^^^^^ - - -
[INFO] [stdout] help: add missing generic arguments
[INFO] [stdout] |
[INFO] [stdout] 64 | + Clone, S, T,
[INFO] [stdout] | ++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `context` found for struct `Span` in the current scope
[INFO] [stdout] --> examples/distributed_tracing.rs:163:38
[INFO] [stdout] |
[INFO] [stdout] 163 | .inject(¤t_context.context(), &mut http_headers);
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `with_context` with a similar name, but with different arguments
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry-0.30.0/src/context/future_ext.rs:90:5
[INFO] [stdout] |
[INFO] [stdout] 90 | fn with_context(self, otel_cx: Context) -> WithContext {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: trait `OpenTelemetrySpanExt` which provides `context` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout] |
[INFO] [stdout] 1 + use tracing_opentelemetry::span_ext::OpenTelemetrySpanExt;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Instrument`
[INFO] [stdout] --> examples/axum_integration.rs:20:15
[INFO] [stdout] |
[INFO] [stdout] 20 | use tracing::{Instrument, error, info, warn};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `init` found for struct `InstrumentBuilder<'a, T>` in the current scope
[INFO] [stdout] --> examples/metrics_and_traces.rs:43:18
[INFO] [stdout] |
[INFO] [stdout] 40 | active_requests: meter
[INFO] [stdout] | ______________________________-
[INFO] [stdout] 41 | | .i64_up_down_counter("http_requests_active")
[INFO] [stdout] 42 | | .with_description("Number of active HTTP requests")
[INFO] [stdout] 43 | | .init(),
[INFO] [stdout] | | -^^^^ method not found in `InstrumentBuilder<'_, opentelemetry::metrics::UpDownCounter>`
[INFO] [stdout] | |_________________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `CreateOrderRequest` doesn't implement `std::fmt::Debug`
[INFO] [stdout] --> examples/distributed_tracing.rs:113:1
[INFO] [stdout] |
[INFO] [stdout] 113 | #[instrument(skip(state))]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `CreateOrderRequest`
[INFO] [stdout] |
[INFO] [stdout] = note: add `#[derive(Debug)]` to `CreateOrderRequest` or manually `impl std::fmt::Debug for CreateOrderRequest`
[INFO] [stdout] = note: required for `&CreateOrderRequest` to implement `std::fmt::Debug`
[INFO] [stdout] note: required by a bound in `debug`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.34/src/field.rs:370:8
[INFO] [stdout] |
[INFO] [stdout] 368 | pub fn debug(t: T) -> DebugValue
[INFO] [stdout] | ----- required by a bound in this function
[INFO] [stdout] 369 | where
[INFO] [stdout] 370 | T: fmt::Debug,
[INFO] [stdout] | ^^^^^^^^^^ required by this bound in `debug`
[INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `CreateOrderRequest` doesn't implement `std::fmt::Debug`
[INFO] [stdout] --> examples/distributed_tracing.rs:113:1
[INFO] [stdout] |
[INFO] [stdout] 113 | #[instrument(skip(state))]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `CreateOrderRequest`
[INFO] [stdout] |
[INFO] [stdout] = note: add `#[derive(Debug)]` to `CreateOrderRequest` or manually `impl std::fmt::Debug for CreateOrderRequest`
[INFO] [stdout] = help: the trait `Value` is implemented for `DebugValue`
[INFO] [stdout] = note: required for `&CreateOrderRequest` to implement `std::fmt::Debug`
[INFO] [stdout] = note: required for `DebugValue<&CreateOrderRequest>` to implement `Value`
[INFO] [stdout] = note: required for the cast from `&DebugValue<&CreateOrderRequest>` to `&dyn Value`
[INFO] [stdout] = note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `AppMetrics` in the current scope
[INFO] [stdout] --> examples/metrics_and_traces.rs:83:21
[INFO] [stdout] |
[INFO] [stdout] 23 | struct AppMetrics {
[INFO] [stdout] | ----------------- method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 83 | metrics.clone(),
[INFO] [stdout] | ^^^^^ method not found in `AppMetrics`
[INFO] [stdout] |
[INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout] candidate #1: `Clone`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no function or associated item named `w3c` found for struct `TracePropagator` in the current scope
[INFO] [stdout] --> examples/axum_middleware.rs:50:51
[INFO] [stdout] |
[INFO] [stdout] 50 | propagator: Arc::new(TracePropagator::w3c()),
[INFO] [stdout] | ^^^ function or associated item not found in `TracePropagator`
[INFO] [stdout] |
[INFO] [stdout] note: if you're trying to build a new `TracePropagator`, consider using `TracePropagator::new` which returns `TracePropagator`
[INFO] [stdout] --> /opt/rustwide/workdir/src/propagator.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub fn new() -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout] --> examples/metrics_and_traces.rs:119:13
[INFO] [stdout] |
[INFO] [stdout] 119 | opentelemetry_sdk::metrics::PeriodicReader::builder(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 120 | exporter,
[INFO] [stdout] | -------- unexpected argument #1
[INFO] [stdout] |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.30.0/src/metrics/periodic_reader.rs:142:12
[INFO] [stdout] |
[INFO] [stdout] 142 | pub fn builder(exporter: E) -> PeriodicReaderBuilder {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout] |
[INFO] [stdout] 120 - exporter,
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout] --> examples/metrics_and_traces.rs:126:34
[INFO] [stdout] |
[INFO] [stdout] 126 | .with_resource(Resource::new(vec![
[INFO] [stdout] | ^^^ private associated function
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.30.0/src/resource/mod.rs:95:5
[INFO] [stdout] |
[INFO] [stdout] 95 | pub(crate) fn new>(kvs: T) -> Self {
[INFO] [stdout] | ------------------------------------------------------------------- private associated function defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `current_context`
[INFO] [stdout] --> examples/axum_middleware.rs:201:9
[INFO] [stdout] |
[INFO] [stdout] 201 | let current_context = tracing::Span::current();
[INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_context`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> examples/axum_middleware.rs:199:29
[INFO] [stdout] |
[INFO] [stdout] 199 | pub fn inject_trace_headers(mut response: Response) -> Response {
[INFO] [stdout] | ----^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no function or associated item named `w3c` found for struct `TracePropagator` in the current scope
[INFO] [stdout] --> examples/axum_integration.rs:64:39
[INFO] [stdout] |
[INFO] [stdout] 64 | let propagator = TracePropagator::w3c();
[INFO] [stdout] | ^^^ function or associated item not found in `TracePropagator`
[INFO] [stdout] |
[INFO] [stdout] note: if you're trying to build a new `TracePropagator`, consider using `TracePropagator::new` which returns `TracePropagator`
[INFO] [stdout] --> /opt/rustwide/workdir/src/propagator.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | pub fn new() -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0107, E0599, E0601.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0603, E0624.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `revoke-trace` (example "axum_middleware") due to 3 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `revoke-trace` (example "metrics_and_traces") due to 12 previous errors
[INFO] [stdout] warning: unused import: `context::TraceContextExt`
[INFO] [stdout] --> examples/axum_integration.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | context::TraceContextExt,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `(dyn StdError + 'static)` cannot be sent between threads safely
[INFO] [stdout] --> examples/distributed_tracing.rs:332:32
[INFO] [stdout] |
[INFO] [stdout] 332 | let gateway = tokio::spawn(run_gateway());
[INFO] [stdout] | ------------ ^^^^^^^^^^^^^ `(dyn StdError + 'static)` cannot be sent between threads safely
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn StdError + 'static)`
[INFO] [stdout] = note: required for `Unique<(dyn StdError + 'static)>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn StdError + 'static)>`
[INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12
[INFO] [stdout] note: required because it appears within the type `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:549:10
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/spawn.rs:169:20
[INFO] [stdout] |
[INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle
[INFO] [stdout] | ----- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 169 | F::Output: Send + 'static,
[INFO] [stdout] | ^^^^ required by this bound in `spawn`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `revoke-trace` (example "axum_integration") due to 1 previous error; 2 warnings emitted
[INFO] [stdout] error[E0277]: `(dyn StdError + 'static)` cannot be sent between threads safely
[INFO] [stdout] --> examples/distributed_tracing.rs:333:32
[INFO] [stdout] |
[INFO] [stdout] 333 | let product = tokio::spawn(run_product_service());
[INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ `(dyn StdError + 'static)` cannot be sent between threads safely
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn StdError + 'static)`
[INFO] [stdout] = note: required for `Unique<(dyn StdError + 'static)>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn StdError + 'static)>`
[INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12
[INFO] [stdout] note: required because it appears within the type `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:549:10
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/spawn.rs:169:20
[INFO] [stdout] |
[INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle
[INFO] [stdout] | ----- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 169 | F::Output: Send + 'static,
[INFO] [stdout] | ^^^^ required by this bound in `spawn`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `(dyn StdError + 'static)` cannot be sent between threads safely
[INFO] [stdout] --> examples/distributed_tracing.rs:334:34
[INFO] [stdout] |
[INFO] [stdout] 334 | let inventory = tokio::spawn(run_inventory_service());
[INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^ `(dyn StdError + 'static)` cannot be sent between threads safely
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn StdError + 'static)`
[INFO] [stdout] = note: required for `Unique<(dyn StdError + 'static)>` to implement `Send`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn StdError + 'static)>`
[INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12
[INFO] [stdout] note: required because it appears within the type `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:549:10
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/spawn.rs:169:20
[INFO] [stdout] |
[INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle
[INFO] [stdout] | ----- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 169 | F::Output: Send + 'static,
[INFO] [stdout] | ^^^^ required by this bound in `spawn`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `revoke-trace` (example "distributed_tracing") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "29ae6de06c7d56ac65f396b1e07da8fec34eb596a2fa446519777f0b6cbcc636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29ae6de06c7d56ac65f396b1e07da8fec34eb596a2fa446519777f0b6cbcc636", kill_on_drop: false }`
[INFO] [stdout] 29ae6de06c7d56ac65f396b1e07da8fec34eb596a2fa446519777f0b6cbcc636