[INFO] fetching crate raftcli 1.2.4... [INFO] checking raftcli-1.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate raftcli 1.2.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate raftcli 1.2.4 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 raftcli 1.2.4 [INFO] finished tweaking crates.io crate raftcli 1.2.4 [INFO] tweaked toml for crates.io crate raftcli 1.2.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate raftcli 1.2.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4bdebc1b218d8309ae81c60073437f151109d74b5e56de11b3b217b13e926645 [INFO] running `Command { std: "docker" "start" "-a" "4bdebc1b218d8309ae81c60073437f151109d74b5e56de11b3b217b13e926645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bdebc1b218d8309ae81c60073437f151109d74b5e56de11b3b217b13e926645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdebc1b218d8309ae81c60073437f151109d74b5e56de11b3b217b13e926645", kill_on_drop: false }` [INFO] [stdout] 4bdebc1b218d8309ae81c60073437f151109d74b5e56de11b3b217b13e926645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8b980c46f8b8aa850f428135ebf6ea6044662b2165ae8297f198a9f780503998 [INFO] running `Command { std: "docker" "start" "-a" "8b980c46f8b8aa850f428135ebf6ea6044662b2165ae8297f198a9f780503998", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking cvt v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking normpath v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking which v6.0.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking fs_at v0.2.1 [INFO] [stderr] Checking remove_dir_all v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking unescaper v0.1.5 [INFO] [stderr] Checking serialport-fix-stop-bits v4.3.0 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking raftcli v1.2.4 (/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/app_build.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 115 | let docker_compatible_project_dir = convert_path_for_docker(absolute_project_dir); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | match execute_and_capture_output(docker_command.clone(), &docker_run_args, project_dir.clone()) { [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] | [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/raft_cli_utils.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 284 | let project_description = fs::read_to_string(format!("{}/project_description.json", build_folder)); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let device_type_regex = Regex::new(r#""target":\s*"([^"]+)""#).unwrap(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let device_type = device_type_regex.captures(&project_description); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 304 | device_type.unwrap()[1].to_string() [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/app_build.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 115 | let docker_compatible_project_dir = convert_path_for_docker(absolute_project_dir); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | match execute_and_capture_output(docker_command.clone(), &docker_run_args, project_dir.clone()) { [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] | [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/raft_cli_utils.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 284 | let project_description = fs::read_to_string(format!("{}/project_description.json", build_folder)); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let device_type_regex = Regex::new(r#""target":\s*"([^"]+)""#).unwrap(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let device_type = device_type_regex.captures(&project_description); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 304 | device_type.unwrap()[1].to_string() [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 `raftcli` (bin "raft") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raftcli` (bin "raft" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8b980c46f8b8aa850f428135ebf6ea6044662b2165ae8297f198a9f780503998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b980c46f8b8aa850f428135ebf6ea6044662b2165ae8297f198a9f780503998", kill_on_drop: false }` [INFO] [stdout] 8b980c46f8b8aa850f428135ebf6ea6044662b2165ae8297f198a9f780503998