[INFO] fetching crate encrypted-sled 0.2.0... [INFO] checking encrypted-sled-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate encrypted-sled 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate encrypted-sled 0.2.0 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 encrypted-sled 0.2.0 [INFO] finished tweaking crates.io crate encrypted-sled 0.2.0 [INFO] tweaked toml for crates.io crate encrypted-sled 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding aead v0.4.3 (available: v0.5.2) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding chacha20 v0.8.2 (available: v0.9.1) [INFO] [stderr] Adding chacha20poly1305 v0.9.1 (available: v0.10.1) [INFO] [stderr] Adding cipher v0.3.0 (available: v0.4.4) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding poly1305 v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding universal-hash v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] 761e1bfbfe1c8a5170dbac50946e7b0376199463489600989bd55d570ef8a289 [INFO] running `Command { std: "docker" "start" "-a" "761e1bfbfe1c8a5170dbac50946e7b0376199463489600989bd55d570ef8a289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "761e1bfbfe1c8a5170dbac50946e7b0376199463489600989bd55d570ef8a289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761e1bfbfe1c8a5170dbac50946e7b0376199463489600989bd55d570ef8a289", kill_on_drop: false }` [INFO] [stdout] 761e1bfbfe1c8a5170dbac50946e7b0376199463489600989bd55d570ef8a289 [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] fad964f7ce8d1d54c3d7149b6d3994db20f6e713f857f6ba1913fbc37f6c694a [INFO] running `Command { std: "docker" "start" "-a" "fad964f7ce8d1d54c3d7149b6d3994db20f6e713f857f6ba1913fbc37f6c694a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking chacha20 v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking chacha20poly1305 v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking encrypted-sled v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result, TransactionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:843:15 [INFO] [stdout] | [INFO] [stdout] 837 | pub fn insert(&self, key: K, value: V) -> Result> [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 842 | let value = value.into(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 843 | match self.transaction::<_, _, core::convert::Infallible>(|db| { [INFO] [stdout] | _______________^ [INFO] [stdout] 844 | | Ok(db.insert(&key, value.clone())?) [INFO] [stdout] 845 | | }) { [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, TransactionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:856:15 [INFO] [stdout] | [INFO] [stdout] 855 | pub fn remove>(&self, key: K) -> Result> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 856 | match self.transaction::<_, _, core::convert::Infallible>(|db| Ok(db.remove(&key)?)) { [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<(), TransactionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:867:15 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn apply_batch(&self, batch: Batch) -> Result<()> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | match self.transaction::<_, _, core::convert::Infallible>(|db| Ok(db.apply_batch(&batch)?)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `encrypted-sled` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result, TransactionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:843:15 [INFO] [stdout] | [INFO] [stdout] 837 | pub fn insert(&self, key: K, value: V) -> Result> [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 842 | let value = value.into(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 843 | match self.transaction::<_, _, core::convert::Infallible>(|db| { [INFO] [stdout] | _______________^ [INFO] [stdout] 844 | | Ok(db.insert(&key, value.clone())?) [INFO] [stdout] 845 | | }) { [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, TransactionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:856:15 [INFO] [stdout] | [INFO] [stdout] 855 | pub fn remove>(&self, key: K) -> Result> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 856 | match self.transaction::<_, _, core::convert::Infallible>(|db| Ok(db.remove(&key)?)) { [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<(), TransactionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:867:15 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn apply_batch(&self, batch: Batch) -> Result<()> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 867 | match self.transaction::<_, _, core::convert::Infallible>(|db| Ok(db.apply_batch(&batch)?)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `encrypted-sled` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fad964f7ce8d1d54c3d7149b6d3994db20f6e713f857f6ba1913fbc37f6c694a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad964f7ce8d1d54c3d7149b6d3994db20f6e713f857f6ba1913fbc37f6c694a", kill_on_drop: false }` [INFO] [stdout] fad964f7ce8d1d54c3d7149b6d3994db20f6e713f857f6ba1913fbc37f6c694a