[INFO] fetching crate c_a_l 0.1.4... [INFO] checking c_a_l-0.1.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate c_a_l 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate c_a_l 0.1.4 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 c_a_l 0.1.4 [INFO] finished tweaking crates.io crate c_a_l 0.1.4 [INFO] tweaked toml for crates.io crate c_a_l 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate c_a_l 0.1.4 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] 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] 6e7a3756e2ccd5377f65597816ce5b048f1db3ecb17e196373e393526150851d [INFO] running `Command { std: "docker" "start" "-a" "6e7a3756e2ccd5377f65597816ce5b048f1db3ecb17e196373e393526150851d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e7a3756e2ccd5377f65597816ce5b048f1db3ecb17e196373e393526150851d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7a3756e2ccd5377f65597816ce5b048f1db3ecb17e196373e393526150851d", kill_on_drop: false }` [INFO] [stdout] 6e7a3756e2ccd5377f65597816ce5b048f1db3ecb17e196373e393526150851d [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] 91e7f68c5c957807a621bdf8320da5a6c8f3e428eb6ae90f2c596ddc8434c2ac [INFO] running `Command { std: "docker" "start" "-a" "91e7f68c5c957807a621bdf8320da5a6c8f3e428eb6ae90f2c596ddc8434c2ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking c_a_l v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Cow<'_, State>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/x.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn eval<'a>(x: &Node, s: Cow<'a, State>) -> EvalResult<'a, Node> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let (x, s) = eval(&*x, s)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match std::io::stdout().flush() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | match stderr().flush() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 `std::array::IntoIter<(&str, Node), 3>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/p.rs:966:23 [INFO] [stdout] | [INFO] [stdout] 964 | let n = Box::new(Node::I(1)); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 965 | [INFO] [stdout] 966 | for (x, y) in [ [INFO] [stdout] | _______________________^ [INFO] [stdout] 967 | | ( [INFO] [stdout] 968 | | "!1", [INFO] [stdout] 969 | | Node::M { [INFO] [stdout] ... | [INFO] [stdout] 991 | | ] [INFO] [stdout] 992 | | .into_iter() [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 `std::array::IntoIter<(&str, Node), 4>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/p.rs:1002:23 [INFO] [stdout] | [INFO] [stdout] 1000 | let n = Box::new(Node::I(1)); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1001 | [INFO] [stdout] 1002 | for (x, y) in [ [INFO] [stdout] | _______________________^ [INFO] [stdout] 1003 | | ( [INFO] [stdout] 1004 | | "1+1", [INFO] [stdout] 1005 | | Node::D { [INFO] [stdout] ... | [INFO] [stdout] 1042 | | ] [INFO] [stdout] 1043 | | .into_iter() [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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Cow<'_, State>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/x.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn eval<'a>(x: &Node, s: Cow<'a, State>) -> EvalResult<'a, Node> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let (x, s) = eval(&*x, s)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | match std::io::stdout().flush() { [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | match stderr().flush() { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] [stderr] error: could not compile `c_a_l` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::array::IntoIter<(&str, Node), 26>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/x.rs:652:23 [INFO] [stdout] | [INFO] [stdout] 650 | let abc = Node::A("abc".chars().map(|x| Node::C(x)).collect()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 651 | [INFO] [stdout] 652 | for (x, y) in [ [INFO] [stdout] | _______________________^ [INFO] [stdout] 653 | | ("1+1", Node::I(2)), [INFO] [stdout] 654 | | ( [INFO] [stdout] 655 | | "1+ !3", [INFO] [stdout] ... | [INFO] [stdout] 733 | | ] [INFO] [stdout] 734 | | .into_iter() [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `c_a_l` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "91e7f68c5c957807a621bdf8320da5a6c8f3e428eb6ae90f2c596ddc8434c2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e7f68c5c957807a621bdf8320da5a6c8f3e428eb6ae90f2c596ddc8434c2ac", kill_on_drop: false }` [INFO] [stdout] 91e7f68c5c957807a621bdf8320da5a6c8f3e428eb6ae90f2c596ddc8434c2ac