[INFO] fetching crate opentelemetry-spanprocessor-any 0.17.0... [INFO] testing opentelemetry-spanprocessor-any-0.17.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 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.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9ca20b56ea7364f5249caf676a883181a2ba581faa452a3d78a82f1e7f456cc [INFO] running `Command { std: "docker" "start" "-a" "b9ca20b56ea7364f5249caf676a883181a2ba581faa452a3d78a82f1e7f456cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9ca20b56ea7364f5249caf676a883181a2ba581faa452a3d78a82f1e7f456cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ca20b56ea7364f5249caf676a883181a2ba581faa452a3d78a82f1e7f456cc", kill_on_drop: false }` [INFO] [stdout] b9ca20b56ea7364f5249caf676a883181a2ba581faa452a3d78a82f1e7f456cc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0c5aafce3f7e2b9b58a53c64c2e3afb99e9c20d5ce7076badb3b0a84b96013b [INFO] running `Command { std: "docker" "start" "-a" "a0c5aafce3f7e2b9b58a53c64c2e3afb99e9c20d5ce7076badb3b0a84b96013b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [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 pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.97s [INFO] running `Command { std: "docker" "inspect" "a0c5aafce3f7e2b9b58a53c64c2e3afb99e9c20d5ce7076badb3b0a84b96013b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0c5aafce3f7e2b9b58a53c64c2e3afb99e9c20d5ce7076badb3b0a84b96013b", kill_on_drop: false }` [INFO] [stdout] a0c5aafce3f7e2b9b58a53c64c2e3afb99e9c20d5ce7076badb3b0a84b96013b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01253c1a44b5fde04b4e8f8625005c77a7b234e8365935d834e62ce73e3bb59 [INFO] running `Command { std: "docker" "start" "-a" "c01253c1a44b5fde04b4e8f8625005c77a7b234e8365935d834e62ce73e3bb59", kill_on_drop: false }` [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rand_distr v0.4.3 [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] Compiling csv v1.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling opentelemetry-spanprocessor-any v0.17.0 (/opt/rustwide/workdir) [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" "c01253c1a44b5fde04b4e8f8625005c77a7b234e8365935d834e62ce73e3bb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01253c1a44b5fde04b4e8f8625005c77a7b234e8365935d834e62ce73e3bb59", kill_on_drop: false }` [INFO] [stdout] c01253c1a44b5fde04b4e8f8625005c77a7b234e8365935d834e62ce73e3bb59