[INFO] fetching crate opentelemetry-spanprocessor-any 0.17.0... [INFO] checking opentelemetry-spanprocessor-any-0.17.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate opentelemetry-spanprocessor-any 0.17.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate opentelemetry-spanprocessor-any 0.17.0 [INFO] finished tweaking crates.io crate opentelemetry-spanprocessor-any 0.17.0 [INFO] tweaked toml for crates.io crate opentelemetry-spanprocessor-any 0.17.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate opentelemetry-spanprocessor-any 0.17.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 156 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding dashmap v4.0.2 (available: v6.1.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a5bb193aa98a18d963efd2e15f6cadf620faf187710cc47d5e42499727a11fc [INFO] running `Command { std: "docker" "start" "-a" "4a5bb193aa98a18d963efd2e15f6cadf620faf187710cc47d5e42499727a11fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a5bb193aa98a18d963efd2e15f6cadf620faf187710cc47d5e42499727a11fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a5bb193aa98a18d963efd2e15f6cadf620faf187710cc47d5e42499727a11fc", kill_on_drop: false }` [INFO] [stdout] 4a5bb193aa98a18d963efd2e15f6cadf620faf187710cc47d5e42499727a11fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 991047b833f38c12922c106d4154b152e7e180e79be8c0d2bea9730e21c55509 [INFO] running `Command { std: "docker" "start" "-a" "991047b833f38c12922c106d4154b152e7e180e79be8c0d2bea9730e21c55509", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking opentelemetry-spanprocessor-any v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/trace/span_context.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | let allowed_special = |b: u8| (b == b'_' || b == b'-' || b == b'*' || b == b'/'); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | unused [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_parens)]` implied by `#[warn(unused)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - let allowed_special = |b: u8| (b == b'_' || b == b'-' || b == b'*' || b == b'/'); [INFO] [stdout] 242 + let allowed_special = |b: u8| b == b'_' || b == b'-' || b == b'*' || b == b'/'; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opentelemetry` [INFO] [stdout] --> benches/trace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use opentelemetry::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `opentelemetry` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opentelemetry`, use `cargo add opentelemetry` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opentelemetry` [INFO] [stdout] --> benches/trace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use opentelemetry::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `opentelemetry` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opentelemetry`, use `cargo add opentelemetry` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry-spanprocessor-any` (bench "trace") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/trace/span_context.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | let allowed_special = |b: u8| (b == b'_' || b == b'-' || b == b'*' || b == b'/'); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - let allowed_special = |b: u8| (b == b'_' || b == b'-' || b == b'*' || b == b'/'); [INFO] [stdout] 242 + let allowed_special = |b: u8| b == b'_' || b == b'-' || b == b'*' || b == b'/'; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `as_any` [INFO] [stdout] --> src/sdk/trace/provider.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | impl SpanProcessor for TestSpanProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `as_any` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/sdk/trace/span_processor.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ----------------------------- `as_any` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u64` found for struct `span_context::SpanId` in the current scope [INFO] [stdout] --> src/sdk/trace/span.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | parent_span_id: SpanId::from_u64(0), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `span_context::SpanId` [INFO] [stdout] | [INFO] [stdout] ::: src/trace/span_context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct SpanId(pub(crate) u64); [INFO] [stdout] | ----------------- function or associated item `from_u64` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `span_context::SpanId` consider using one of the following associated functions: [INFO] [stdout] span_context::SpanId::from_bytes [INFO] [stdout] span_context::SpanId::from_hex [INFO] [stdout] --> src/trace/span_context.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub const fn from_bytes(bytes: [u8; 8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn from_hex(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 264 - parent_span_id: SpanId::from_u64(0), [INFO] [stdout] 264 + parent_span_id: SpanId::from(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u128` found for struct `span_context::TraceId` in the current scope [INFO] [stdout] --> src/sdk/trace/span.rs:578:26 [INFO] [stdout] | [INFO] [stdout] 578 | TraceId::from_u128(12), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `span_context::TraceId` [INFO] [stdout] | [INFO] [stdout] ::: src/trace/span_context.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct TraceId(pub(crate) u128); [INFO] [stdout] | ------------------ function or associated item `from_u128` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `span_context::TraceId` consider using one of the following associated functions: [INFO] [stdout] span_context::TraceId::from_bytes [INFO] [stdout] span_context::TraceId::from_hex [INFO] [stdout] --> src/trace/span_context.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn from_bytes(bytes: [u8; 16]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn from_hex(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u64` found for struct `span_context::SpanId` in the current scope [INFO] [stdout] --> src/sdk/trace/span.rs:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | SpanId::from_u64(12), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `span_context::SpanId` [INFO] [stdout] | [INFO] [stdout] ::: src/trace/span_context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct SpanId(pub(crate) u64); [INFO] [stdout] | ----------------- function or associated item `from_u64` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `span_context::SpanId` consider using one of the following associated functions: [INFO] [stdout] span_context::SpanId::from_bytes [INFO] [stdout] span_context::SpanId::from_hex [INFO] [stdout] --> src/trace/span_context.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub const fn from_bytes(bytes: [u8; 8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn from_hex(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 579 - SpanId::from_u64(12), [INFO] [stdout] 579 + SpanId::from(12), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry-spanprocessor-any` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "991047b833f38c12922c106d4154b152e7e180e79be8c0d2bea9730e21c55509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991047b833f38c12922c106d4154b152e7e180e79be8c0d2bea9730e21c55509", kill_on_drop: false }` [INFO] [stdout] 991047b833f38c12922c106d4154b152e7e180e79be8c0d2bea9730e21c55509