[INFO] fetching crate buildlog-consultant 0.0.43... [INFO] checking buildlog-consultant-0.0.43 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate buildlog-consultant 0.0.43 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate buildlog-consultant 0.0.43 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate buildlog-consultant 0.0.43 [INFO] finished tweaking crates.io crate buildlog-consultant 0.0.43 [INFO] tweaked toml for crates.io crate buildlog-consultant 0.0.43 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate buildlog-consultant 0.0.43 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc2dc7234daad3e738e46a227b4070e4a02eea568b106e1750c06302b0e483ac [INFO] running `Command { std: "docker" "start" "-a" "dc2dc7234daad3e738e46a227b4070e4a02eea568b106e1750c06302b0e483ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc2dc7234daad3e738e46a227b4070e4a02eea568b106e1750c06302b0e483ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2dc7234daad3e738e46a227b4070e4a02eea568b106e1750c06302b0e483ac", kill_on_drop: false }` [INFO] [stdout] dc2dc7234daad3e738e46a227b4070e4a02eea568b106e1750c06302b0e483ac [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 -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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa0d4b8c04ace5ab7dc0b9dff043207e2dd74f1c3202ecce2366a51a0e420d4b [INFO] running `Command { std: "docker" "start" "-a" "aa0d4b8c04ace5ab7dc0b9dff043207e2dd74f1c3202ecce2366a51a0e420d4b", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking unscanny v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking pep440_rs v0.6.6 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rowan v0.15.16 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling deb822-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking pep508_rs v0.6.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Checking lazy-regex v3.3.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking debversion v0.4.3 [INFO] [stderr] Checking deb822-lossless v0.1.25 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking debian-control v0.1.29 [INFO] [stderr] Checking buildlog-consultant v0.0.43 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/sbuild.rs:685:40 [INFO] [stdout] | [INFO] [stdout] 682 | pub fn strip_build_tail<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 685 | ) -> (&'a [&'a str], HashMap<&'a str, &'_ [&'a str]>) { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [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/sbuild.rs:685:40 [INFO] [stdout] | [INFO] [stdout] 682 | pub fn strip_build_tail<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 685 | ) -> (&'a [&'a str], HashMap<&'a str, &'_ [&'a str]>) { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/apt.rs:325:33 [INFO] [stdout] | [INFO] [stdout] 317 | fn assert_match(lines: Vec<&str>, lineno: usize, mut expected: Option) { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | let (r#match, actual_err) = super::find_apt_get_failure(lines.clone()); [INFO] [stdout] | ------- ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | if let Some(expected) = expected.take() { [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/common.rs:3469:33 [INFO] [stdout] | [INFO] [stdout] 3461 | fn assert_match(lines: Vec<&str>, lineno: usize, mut expected: Option) { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3462 | let (r#match, actual_err) = super::find_build_failure_description(lines.clone()); [INFO] [stdout] | ------- ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3469 | if let Some(expected) = expected.take() { [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: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `buildlog-consultant` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "aa0d4b8c04ace5ab7dc0b9dff043207e2dd74f1c3202ecce2366a51a0e420d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0d4b8c04ace5ab7dc0b9dff043207e2dd74f1c3202ecce2366a51a0e420d4b", kill_on_drop: false }` [INFO] [stdout] aa0d4b8c04ace5ab7dc0b9dff043207e2dd74f1c3202ecce2366a51a0e420d4b