[INFO] fetching crate drcov2lcov 0.2.1... [INFO] checking drcov2lcov-0.2.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate drcov2lcov 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate drcov2lcov 0.2.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate drcov2lcov 0.2.1 [INFO] finished tweaking crates.io crate drcov2lcov 0.2.1 [INFO] tweaked toml for crates.io crate drcov2lcov 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate drcov2lcov 0.2.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f58c11854422407e1633b264de4bda07cd98cd20f11d5661ce1dda91e5c3f436 [INFO] running `Command { std: "docker" "start" "-a" "f58c11854422407e1633b264de4bda07cd98cd20f11d5661ce1dda91e5c3f436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f58c11854422407e1633b264de4bda07cd98cd20f11d5661ce1dda91e5c3f436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f58c11854422407e1633b264de4bda07cd98cd20f11d5661ce1dda91e5c3f436", kill_on_drop: false }` [INFO] [stdout] f58c11854422407e1633b264de4bda07cd98cd20f11d5661ce1dda91e5c3f436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 645dfeec6ae3ad04d95c0ca888badfed916aa87211fd6975beec0698c40e0cd7 [INFO] running `Command { std: "docker" "start" "-a" "645dfeec6ae3ad04d95c0ca888badfed916aa87211fd6975beec0698c40e0cd7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking ruzstd v0.7.0 [INFO] [stderr] Checking retain_mut v0.1.7 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking roaring v0.10.2 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking memmap2 v0.9.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling ouroboros_macro v0.18.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking ouroboros v0.18.0 [INFO] [stderr] Checking clap v4.4.3 [INFO] [stderr] Checking drcov2lcov v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/drcov.rs:254:84 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn maybe_replace_with_path_map_filter<'d>(&'d self, input: &'d [u8]) -> Cow<[u8]> { [INFO] [stdout] | -- lifetime `'d` declared here ^ this elided lifetime gets resolved as `'d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/drcov.rs:254:84 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn maybe_replace_with_path_map_filter<'d>(&'d self, input: &'d [u8]) -> Cow<[u8]> { [INFO] [stdout] | -- lifetime `'d` declared here ^ this elided lifetime gets resolved as `'d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 47 | let cap = constants::DRCOV_MODULE_V1_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 65 | let cap = constants::DRCOV_MODULE_V2_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 89 | let cap = constants::DRCOV_MODULE_V3_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 118 | let cap = constants::DRCOV_MODULE_V4_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 152 | let cap = constants::DRCOV_MODULE_V5_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 47 | let cap = constants::DRCOV_MODULE_V1_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 65 | let cap = constants::DRCOV_MODULE_V2_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 89 | let cap = constants::DRCOV_MODULE_V3_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 118 | let cap = constants::DRCOV_MODULE_V4_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Module` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/drcov.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 152 | let cap = constants::DRCOV_MODULE_V5_REGEX [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/drcov.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Modules { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 188 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `flavor` are never read [INFO] [stdout] --> src/drcov.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct Drcov { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 269 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 270 | pub flavor: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Drcov` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drcov2lcov` (bin "drcov2lcov") due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/drcov.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 187 | pub struct Modules { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 188 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `flavor` are never read [INFO] [stdout] --> src/drcov.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct Drcov { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 269 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 270 | pub flavor: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Drcov` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drcov2lcov` (bin "drcov2lcov" test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "645dfeec6ae3ad04d95c0ca888badfed916aa87211fd6975beec0698c40e0cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645dfeec6ae3ad04d95c0ca888badfed916aa87211fd6975beec0698c40e0cd7", kill_on_drop: false }` [INFO] [stdout] 645dfeec6ae3ad04d95c0ca888badfed916aa87211fd6975beec0698c40e0cd7