[INFO] fetching crate tc-tracing 2.0.0... [INFO] testing tc-tracing-2.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tc-tracing 2.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tc-tracing 2.0.0 [INFO] finished tweaking crates.io crate tc-tracing 2.0.0 [INFO] tweaked toml for crates.io crate tc-tracing 2.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tc-tracing 2.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 312 packages to latest compatible versions [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.8) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tracing-log v0.1.4 (available: v0.2.0) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.20) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19eb5a116e4a25ea766f500d051f7c0e9aba9518f967aba3b5eed1f52bae4ab2 [INFO] running `Command { std: "docker" "start" "-a" "19eb5a116e4a25ea766f500d051f7c0e9aba9518f967aba3b5eed1f52bae4ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19eb5a116e4a25ea766f500d051f7c0e9aba9518f967aba3b5eed1f52bae4ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19eb5a116e4a25ea766f500d051f7c0e9aba9518f967aba3b5eed1f52bae4ab2", kill_on_drop: false }` [INFO] [stdout] 19eb5a116e4a25ea766f500d051f7c0e9aba9518f967aba3b5eed1f52bae4ab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4575ac495e787cfee3e01f259cff31b6fa9a12006e447ae455597fe6723513c2 [INFO] running `Command { std: "docker" "start" "-a" "4575ac495e787cfee3e01f259cff31b6fa9a12006e447ae455597fe6723513c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling unsigned-varint v0.6.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling prometheus v0.10.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling tetsy-send-wrapper v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling tetcore-std v2.1.2 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling if-watch v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling tetsy-libp2p-core-derive v0.21.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling futures-rustls v0.21.1 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling tetsy-libp2p-core v0.27.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling tetsy-multistream-select v0.10.2 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling tetcore-utils v2.1.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tetsy-scale-codec-derive v2.0.1 [INFO] [stderr] Compiling tc-tracing-proc-macro v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tetsy-scale-codec v2.0.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tetsy-multiaddr v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling tetcore-tracing v2.1.2 [INFO] [stderr] Compiling tetsy-libp2p-swarm v0.27.1 [INFO] [stderr] Compiling tetsy-libp2p-tcp v0.27.2 [INFO] [stderr] Compiling tetsy-libp2p-websocket v0.28.2 [INFO] [stderr] Compiling tetsy-libp2p-dns v0.27.2 [INFO] [stderr] Compiling tetsy-libp2p-wasm-ext v0.27.1 [INFO] [stderr] Compiling tetsy-libp2p v0.34.3 [INFO] [stderr] Compiling tc-telemetry v2.0.0 [INFO] [stderr] Compiling tc-tracing v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stdout] --> src/lib.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | CurrentSpan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stdout] --> src/lib.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | current_span: CurrentSpan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tracing_subscriber::registry::SpanRef::<'a, R>::parents`: equivalent to `self.parent().into_iter().flat_map(SpanRef::scope)`, but consider whether excluding `self` is actually intended [INFO] [stdout] --> src/logging/event_format.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let parents = span.parents(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | if let Some(mut s) = span_data.get_mut(&span) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "4575ac495e787cfee3e01f259cff31b6fa9a12006e447ae455597fe6723513c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4575ac495e787cfee3e01f259cff31b6fa9a12006e447ae455597fe6723513c2", kill_on_drop: false }` [INFO] [stdout] 4575ac495e787cfee3e01f259cff31b6fa9a12006e447ae455597fe6723513c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 883fa3b7e7148811661dd3fcd37540b85167757bbdb657b68e5ac1c54a95150e [INFO] running `Command { std: "docker" "start" "-a" "883fa3b7e7148811661dd3fcd37540b85167757bbdb657b68e5ac1c54a95150e", kill_on_drop: false }` [INFO] [stderr] Compiling tc-tracing v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stdout] --> src/lib.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | CurrentSpan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stdout] --> src/lib.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | current_span: CurrentSpan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tracing_subscriber::registry::SpanRef::<'a, R>::parents`: equivalent to `self.parent().into_iter().flat_map(SpanRef::scope)`, but consider whether excluding `self` is actually intended [INFO] [stdout] --> src/logging/event_format.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let parents = span.parents(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | if let Some(mut s) = span_data.get_mut(&span) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stdout] --> src/lib.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | CurrentSpan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stdout] --> src/lib.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | current_span: CurrentSpan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tracing_subscriber::registry::SpanRef::<'a, R>::parents`: equivalent to `self.parent().into_iter().flat_map(SpanRef::scope)`, but consider whether excluding `self` is actually intended [INFO] [stdout] --> src/logging/event_format.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let parents = span.parents(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | if let Some(mut s) = span_data.get_mut(&span) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/logging/mod.rs:431:4 [INFO] [stdout] | [INFO] [stdout] 431 | format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 431 - format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stdout] 431 + "Expected:\n{}\nGot:\n{}", re, output, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/logging/mod.rs:479:4 [INFO] [stdout] | [INFO] [stdout] 479 | format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 479 - format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stdout] 479 + "Expected:\n{}\nGot:\n{}", re, output, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/lib.rs:577:15 [INFO] [stdout] | [INFO] [stdout] 577 | for msg in rx.recv() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 577 - for msg in rx.recv() { [INFO] [stdout] 577 + while let Ok(msg) = rx.recv() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 577 - for msg in rx.recv() { [INFO] [stdout] 577 + if let Ok(msg) = rx.recv() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "883fa3b7e7148811661dd3fcd37540b85167757bbdb657b68e5ac1c54a95150e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883fa3b7e7148811661dd3fcd37540b85167757bbdb657b68e5ac1c54a95150e", kill_on_drop: false }` [INFO] [stdout] 883fa3b7e7148811661dd3fcd37540b85167757bbdb657b68e5ac1c54a95150e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ef1c05a3c98e9a5349a8c96ce2e8046a54e079554ebf28d7013a0823f108b82 [INFO] running `Command { std: "docker" "start" "-a" "4ef1c05a3c98e9a5349a8c96ce2e8046a54e079554ebf28d7013a0823f108b82", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stderr] --> src/lib.rs:46:2 [INFO] [stderr] | [INFO] [stderr] 46 | CurrentSpan, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tracing_subscriber::CurrentSpan`: Will be removed in v0.3 [INFO] [stderr] --> src/lib.rs:62:16 [INFO] [stderr] | [INFO] [stderr] 62 | current_span: CurrentSpan, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `tracing_subscriber::registry::SpanRef::<'a, R>::parents`: equivalent to `self.parent().into_iter().flat_map(SpanRef::scope)`, but consider whether excluding `self` is actually intended [INFO] [stderr] --> src/logging/event_format.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | let parents = span.parents(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:308:15 [INFO] [stderr] | [INFO] [stderr] 308 | if let Some(mut s) = span_data.get_mut(&span) { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/logging/mod.rs:431:4 [INFO] [stderr] | [INFO] [stderr] 431 | format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 431 - format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stderr] 431 + "Expected:\n{}\nGot:\n{}", re, output, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/logging/mod.rs:479:4 [INFO] [stderr] | [INFO] [stderr] 479 | format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 479 - format!("Expected:\n{}\nGot:\n{}", re, output), [INFO] [stderr] 479 + "Expected:\n{}\nGot:\n{}", re, output, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/lib.rs:577:15 [INFO] [stderr] | [INFO] [stderr] 577 | for msg in rx.recv() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 577 - for msg in rx.recv() { [INFO] [stderr] 577 + while let Ok(msg) = rx.recv() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 577 - for msg in rx.recv() { [INFO] [stderr] 577 + if let Ok(msg) = rx.recv() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tc-tracing` (lib) generated 4 warnings (run `cargo fix --lib -p tc-tracing` to apply 1 suggestion) [INFO] [stderr] warning: `tc-tracing` (lib test) generated 7 warnings (4 duplicates) (run `cargo fix --lib -p tc-tracing --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tc_tracing-d6bcd9a8e03d3df8) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test logging::tests::do_not_write_with_colors_on_tty_entrypoint ... ok [INFO] [stdout] test logging::tests::prefix_in_log_lines_entrypoint ... ok [INFO] [stdout] test tests::test_span_parent_id ... ok [INFO] [stdout] test tests::test_span_values ... ok [INFO] [stdout] test logging::tests::log_something_with_dash_target_name ... ok [INFO] [stdout] Oct 01 19:35:33.965  INFO test_span2: test_target: test_event1 [INFO] [stdout] test tests::test_span ... ok [INFO] [stdout] Oct 01 19:35:33.965  INFO test_span1: test_target: test_event [INFO] [stdout] test tests::test_event_parent_id ... ok [INFO] [stdout] Oct 01 19:35:33.964  INFO test_target: test_event [INFO] [stdout] test tests::test_event ... ok [INFO] [stdout] Oct 01 19:35:33.970  INFO test_span1: test_target: test_event2 [INFO] [stdout] Oct 01 19:35:33.970  INFO test_target: test_event3 [INFO] [stdout] test tests::test_parent_id_with_threads ... ok [INFO] [stdout] test logging::tests::dash_in_target_name_works ... ok [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test logging::tests::test_logger_filters ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests tc_tracing [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ef1c05a3c98e9a5349a8c96ce2e8046a54e079554ebf28d7013a0823f108b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef1c05a3c98e9a5349a8c96ce2e8046a54e079554ebf28d7013a0823f108b82", kill_on_drop: false }` [INFO] [stdout] 4ef1c05a3c98e9a5349a8c96ce2e8046a54e079554ebf28d7013a0823f108b82