[INFO] fetching crate cquill 0.0.9... [INFO] checking cquill-0.0.9 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate cquill 0.0.9 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cquill 0.0.9 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 cquill 0.0.9 [INFO] finished tweaking crates.io crate cquill 0.0.9 [INFO] tweaked toml for crates.io crate cquill 0.0.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cquill 0.0.9 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 15627f727931d0118d7ef9feea9162878ba31a15e079edba0df5954835676e3a [INFO] running `Command { std: "docker" "start" "-a" "15627f727931d0118d7ef9feea9162878ba31a15e079edba0df5954835676e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15627f727931d0118d7ef9feea9162878ba31a15e079edba0df5954835676e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15627f727931d0118d7ef9feea9162878ba31a15e079edba0df5954835676e3a", kill_on_drop: false }` [INFO] [stdout] 15627f727931d0118d7ef9feea9162878ba31a15e079edba0df5954835676e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9f8c2cddddce6beb1ebd4b8931ebccaf2ee0ca2fd1bdcb5b511a70bddee0a6ab [INFO] running `Command { std: "docker" "start" "-a" "9f8c2cddddce6beb1ebd4b8931ebccaf2ee0ca2fd1bdcb5b511a70bddee0a6ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking lz4_flex v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Checking arc-swap v1.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking temp-dir v0.1.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling scylla-macros v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking scylla-cql v0.1.0 [INFO] [stderr] Checking scylla v0.12.0 [INFO] [stderr] Checking cquill v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql_file.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 249 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | match CqlFile::from_path(cql_file_path) { [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::result::Result, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql_file.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 465 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | match files_from_dir(&temp_dir_path) { [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: this value of type `std::result::Result, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql_file.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 485 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 491 | match files_from_dir(&temp_dir_path) { [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: this value of type `std::result::Result, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql_file.rs:507:15 [INFO] [stdout] | [INFO] [stdout] 501 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | match files_from_dir(&temp_dir_path) { [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: this value of type `std::result::Result, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql_file.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 521 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | match files_from_dir(&temp_dir_path) { [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: this value of type `std::result::Result, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cql_file.rs:546:15 [INFO] [stdout] | [INFO] [stdout] 540 | let temp_dir = TempDir::new().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | match files_from_dir(&temp_dir_path) { [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: this value of type `anyhow::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/keyspace.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 192 | let result = input.parse::(); [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] ... [INFO] [stdout] 195 | Err(err) => assert_eq!(err.to_string(), err_msg), [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cquill` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "9f8c2cddddce6beb1ebd4b8931ebccaf2ee0ca2fd1bdcb5b511a70bddee0a6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8c2cddddce6beb1ebd4b8931ebccaf2ee0ca2fd1bdcb5b511a70bddee0a6ab", kill_on_drop: false }` [INFO] [stdout] 9f8c2cddddce6beb1ebd4b8931ebccaf2ee0ca2fd1bdcb5b511a70bddee0a6ab