[INFO] fetching crate bmart 0.2.9... [INFO] checking bmart-0.2.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bmart 0.2.9 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate bmart 0.2.9 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate bmart 0.2.9 [INFO] finished tweaking crates.io crate bmart 0.2.9 [INFO] tweaked toml for crates.io crate bmart 0.2.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding nix v0.22.3 (latest: v0.29.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sysinfo v0.29.11 (latest: v0.31.4) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2a704e229a0a3009fb29caa69eec3287d03eb9d53f4dc7674278a56a7563d64 [INFO] running `Command { std: "docker" "start" "-a" "c2a704e229a0a3009fb29caa69eec3287d03eb9d53f4dc7674278a56a7563d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2a704e229a0a3009fb29caa69eec3287d03eb9d53f4dc7674278a56a7563d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a704e229a0a3009fb29caa69eec3287d03eb9d53f4dc7674278a56a7563d64", kill_on_drop: false }` [INFO] [stdout] c2a704e229a0a3009fb29caa69eec3287d03eb9d53f4dc7674278a56a7563d64 [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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c2a25da6905a03454afe33ca9e99d70afd8d19804211729be0ad1c4559bf8b [INFO] running `Command { std: "docker" "start" "-a" "49c2a25da6905a03454afe33ca9e99d70afd8d19804211729be0ad1c4559bf8b", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking triggered v0.1.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling bmart-derive v0.1.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Checking bmart v0.2.9 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/process.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 268 | let tx_guard = tx_runner.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | task::spawn(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 286 | | sleep(timeout).await; [INFO] [stdout] 287 | | #[allow(clippy::cast_possible_wrap)] [INFO] [stdout] 288 | | #[cfg(not(target_os = "windows"))] [INFO] [stdout] ... | [INFO] [stdout] 292 | | let _r = tx_guard.send(CommandFrame::Terminated).await; [INFO] [stdout] 293 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/process.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 268 | let tx_guard = tx_runner.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | task::spawn(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 286 | | sleep(timeout).await; [INFO] [stdout] 287 | | #[allow(clippy::cast_possible_wrap)] [INFO] [stdout] 288 | | #[cfg(not(target_os = "windows"))] [INFO] [stdout] ... | [INFO] [stdout] 292 | | let _r = tx_guard.send(CommandFrame::Terminated).await; [INFO] [stdout] 293 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/process.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 295 | let fut_stdin = stdin_writer.map(|mut writer| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let input_data = opts.input_data.unwrap().into_owned(); [INFO] [stdout] 297 | task::spawn(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | if let Err(e) = writer.write_all(&input_data).await { [INFO] [stdout] 299 | | error!("Unable to write to stdin: {}", e); [INFO] [stdout] 300 | | } else if let Err(e) = writer.flush().await { [INFO] [stdout] 301 | | error!("Unable to flush stdin: {}", e); [INFO] [stdout] 302 | | } [INFO] [stdout] 303 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/process.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 295 | let fut_stdin = stdin_writer.map(|mut writer| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let input_data = opts.input_data.unwrap().into_owned(); [INFO] [stdout] 297 | task::spawn(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 298 | | if let Err(e) = writer.write_all(&input_data).await { [INFO] [stdout] 299 | | error!("Unable to write to stdin: {}", e); [INFO] [stdout] 300 | | } else if let Err(e) = writer.flush().await { [INFO] [stdout] 301 | | error!("Unable to flush stdin: {}", e); [INFO] [stdout] 302 | | } [INFO] [stdout] 303 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/process.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 436 | let fut_stdin = stdin_writer.map(|mut writer| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 437 | let input_data = opts.input_data.unwrap().into_owned(); [INFO] [stdout] 438 | task::spawn(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 439 | | if let Err(e) = writer.write_all(&input_data).await { [INFO] [stdout] 440 | | error!("Unable to write to stdin: {}", e); [INFO] [stdout] 441 | | } else if let Err(e) = writer.flush().await { [INFO] [stdout] 442 | | error!("Unable to flush stdin: {}", e); [INFO] [stdout] 443 | | } [INFO] [stdout] 444 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/process.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 436 | let fut_stdin = stdin_writer.map(|mut writer| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 437 | let input_data = opts.input_data.unwrap().into_owned(); [INFO] [stdout] 438 | task::spawn(async move { [INFO] [stdout] | _____________________^ [INFO] [stdout] 439 | | if let Err(e) = writer.write_all(&input_data).await { [INFO] [stdout] 440 | | error!("Unable to write to stdin: {}", e); [INFO] [stdout] 441 | | } else if let Err(e) = writer.flush().await { [INFO] [stdout] 442 | | error!("Unable to flush stdin: {}", e); [INFO] [stdout] 443 | | } [INFO] [stdout] 444 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/workers.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(func: F, buf: usize) -> (Self, mpsc::Sender) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | let (tx, rx) = mpsc::channel(buf); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | (Self { func, rx }, tx) [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/workers.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new(func: F, buf: usize) -> (Self, mpsc::Sender) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | let (tx, rx) = mpsc::channel(buf); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | (Self { func, rx }, tx) [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 `bmart` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bmart` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "49c2a25da6905a03454afe33ca9e99d70afd8d19804211729be0ad1c4559bf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c2a25da6905a03454afe33ca9e99d70afd8d19804211729be0ad1c4559bf8b", kill_on_drop: false }` [INFO] [stdout] 49c2a25da6905a03454afe33ca9e99d70afd8d19804211729be0ad1c4559bf8b