[INFO] fetching crate revoke-trace 0.3.0... [INFO] checking revoke-trace-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate revoke-trace 0.3.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate revoke-trace 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e71fd9c549f5e5a4e39498e174926bf04c717cc757c627ebee6f9c2b05fa664 [INFO] running `Command { std: "docker" "start" "-a" "9e71fd9c549f5e5a4e39498e174926bf04c717cc757c627ebee6f9c2b05fa664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e71fd9c549f5e5a4e39498e174926bf04c717cc757c627ebee6f9c2b05fa664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e71fd9c549f5e5a4e39498e174926bf04c717cc757c627ebee6f9c2b05fa664", kill_on_drop: false }` [INFO] [stdout] 9e71fd9c549f5e5a4e39498e174926bf04c717cc757c627ebee6f9c2b05fa664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6283e58b4e86abb1bc6e284ebc47662d3ac3092f2b8a6402a81e0a48d64402f1 [INFO] running `Command { std: "docker" "start" "-a" "6283e58b4e86abb1bc6e284ebc47662d3ac3092f2b8a6402a81e0a48d64402f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking opentelemetry v0.30.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking opentelemetry_sdk v0.30.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking revoke-core v0.3.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tracing-opentelemetry v0.31.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking tonic v0.13.1 [INFO] [stderr] Checking opentelemetry-http v0.30.0 [INFO] [stderr] Checking opentelemetry-proto v0.30.0 [INFO] [stderr] Checking opentelemetry-otlp v0.30.0 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking revoke-trace v0.3.0 (/opt/rustwide/workdir) [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] 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[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 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] 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[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 `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 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] 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] 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] 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] [stderr] error: could not compile `revoke-trace` (example "axum_middleware") due to 3 previous errors; 3 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[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[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] 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] 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 "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] [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: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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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: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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/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" "6283e58b4e86abb1bc6e284ebc47662d3ac3092f2b8a6402a81e0a48d64402f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6283e58b4e86abb1bc6e284ebc47662d3ac3092f2b8a6402a81e0a48d64402f1", kill_on_drop: false }` [INFO] [stdout] 6283e58b4e86abb1bc6e284ebc47662d3ac3092f2b8a6402a81e0a48d64402f1