[INFO] fetching crate xrc_cli 1.2.2... [INFO] checking xrc_cli-1.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate xrc_cli 1.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate xrc_cli 1.2.2 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] started tweaking crates.io crate xrc_cli 1.2.2 [INFO] finished tweaking crates.io crate xrc_cli 1.2.2 [INFO] tweaked toml for crates.io crate xrc_cli 1.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate xrc_cli 1.2.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a3883adb2a960685e0b8ce91a321311fe166b0c7ed2d7a719643c9175e6dc426 [INFO] running `Command { std: "docker" "start" "-a" "a3883adb2a960685e0b8ce91a321311fe166b0c7ed2d7a719643c9175e6dc426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3883adb2a960685e0b8ce91a321311fe166b0c7ed2d7a719643c9175e6dc426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3883adb2a960685e0b8ce91a321311fe166b0c7ed2d7a719643c9175e6dc426", kill_on_drop: false }` [INFO] [stdout] a3883adb2a960685e0b8ce91a321311fe166b0c7ed2d7a719643c9175e6dc426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 045e0de5f90cae7afb9cb77181c1e33e22255fce71d200effb4b6c34a62647c9 [INFO] running `Command { std: "docker" "start" "-a" "045e0de5f90cae7afb9cb77181c1e33e22255fce71d200effb4b6c34a62647c9", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking xor_cryptor v1.2.2 [INFO] [stderr] Checking xrc_cli v1.2.2 (/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/file_handler.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 36 | let src_file = fs::File::open(src_path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok(FileHandler { [INFO] [stdout] | ____________^ [INFO] [stdout] 50 | | src_file, [INFO] [stdout] 51 | | total_chunks, [INFO] [stdout] 52 | | last_chunk_len, [INFO] [stdout] 53 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/logger.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 16 | let file = fs::File::create(log_path.absolutize().unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Logger { [INFO] [stdout] 18 | logger_file: if file.is_err() { [INFO] [stdout] | __________________________^ [INFO] [stdout] 19 | | None [INFO] [stdout] 20 | | } else { [INFO] [stdout] 21 | | Some(file.unwrap()) [INFO] [stdout] 22 | | }, [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 [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/file_handler.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 36 | let src_file = fs::File::open(src_path)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok(FileHandler { [INFO] [stdout] | ____________^ [INFO] [stdout] 50 | | src_file, [INFO] [stdout] 51 | | total_chunks, [INFO] [stdout] 52 | | last_chunk_len, [INFO] [stdout] 53 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/logger.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 16 | let file = fs::File::create(log_path.absolutize().unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Logger { [INFO] [stdout] 18 | logger_file: if file.is_err() { [INFO] [stdout] | __________________________^ [INFO] [stdout] 19 | | None [INFO] [stdout] 20 | | } else { [INFO] [stdout] 21 | | Some(file.unwrap()) [INFO] [stdout] 22 | | }, [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xrc_cli` (bin "xrc_cli" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xrc_cli` (bin "xrc_cli") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "045e0de5f90cae7afb9cb77181c1e33e22255fce71d200effb4b6c34a62647c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045e0de5f90cae7afb9cb77181c1e33e22255fce71d200effb4b6c34a62647c9", kill_on_drop: false }` [INFO] [stdout] 045e0de5f90cae7afb9cb77181c1e33e22255fce71d200effb4b6c34a62647c9