[INFO] fetching crate nut 0.1.3... [INFO] checking nut-0.1.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nut 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate nut 0.1.3 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nut 0.1.3 [INFO] finished tweaking crates.io crate nut 0.1.3 [INFO] tweaked toml for crates.io crate nut 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate nut 0.1.3 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3710fa7f637476f0e371c8b24748694eca9dacdeeb5bb244435f86bdac191993 [INFO] running `Command { std: "docker" "start" "-a" "3710fa7f637476f0e371c8b24748694eca9dacdeeb5bb244435f86bdac191993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3710fa7f637476f0e371c8b24748694eca9dacdeeb5bb244435f86bdac191993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3710fa7f637476f0e371c8b24748694eca9dacdeeb5bb244435f86bdac191993", kill_on_drop: false }` [INFO] [stdout] 3710fa7f637476f0e371c8b24748694eca9dacdeeb5bb244435f86bdac191993 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d62de24f8a0963e68b14ba120274b6ec47556d648f1f8fa247cff717a0be90 [INFO] running `Command { std: "docker" "start" "-a" "54d62de24f8a0963e68b14ba120274b6ec47556d648f1f8fa247cff717a0be90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking poolcache v0.1.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking nut v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `lock_api::MappedRwLockWriteGuard<'_, parking_lot::RawRwLock, Bucket>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bucket/cursor_tests.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut db = db_mock().build().unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let mut tx = db.begin_rw_tx().unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | { [INFO] [stdout] 30 | let mut bucket = tx.create_bucket(b"bucket").unwrap(); [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 `cursor::Cursor<'_, lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, Bucket>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bucket/cursor_tests.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut db = db_mock().build().unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let mut tx = db.begin_rw_tx().unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let cursor = tx.cursor(); [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 `TxGuard<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/tests.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 30 | let db = DBBuilder::new("./test_data/remark.db") [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | let tx = db.begin_tx().unwrap(); [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 `TxGuard<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/tests.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 48 | let db = DBBuilder::new("./test_data/freelist.db") [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let tx = db.begin_tx().unwrap(); [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 `nut` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "54d62de24f8a0963e68b14ba120274b6ec47556d648f1f8fa247cff717a0be90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d62de24f8a0963e68b14ba120274b6ec47556d648f1f8fa247cff717a0be90", kill_on_drop: false }` [INFO] [stdout] 54d62de24f8a0963e68b14ba120274b6ec47556d648f1f8fa247cff717a0be90