[INFO] fetching crate stronghold_engine 2.0.1... [INFO] checking stronghold_engine-2.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate stronghold_engine 2.0.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate stronghold_engine 2.0.1 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 stronghold_engine 2.0.1 [INFO] finished tweaking crates.io crate stronghold_engine 2.0.1 [INFO] tweaked toml for crates.io crate stronghold_engine 2.0.1 written to /workspace/builds/worker-1-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 216 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.18) [INFO] [stderr] Adding clap_lex v0.2.4 (available: v0.7.2) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding dirs v4.0.0 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding nix v0.24.3 (available: v0.29.0) [INFO] [stderr] Adding os_str_bytes v6.6.1 (available: v7.0.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.36.1 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows_aarch64_msvc v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.36.1 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.36.1 (available: v0.52.6) [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 200b3de5b7e878474755c72b70d7f18ea0ba5d55dde3db858bdbdc8a264585c7 [INFO] running `Command { std: "docker" "start" "-a" "200b3de5b7e878474755c72b70d7f18ea0ba5d55dde3db858bdbdc8a264585c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "200b3de5b7e878474755c72b70d7f18ea0ba5d55dde3db858bdbdc8a264585c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200b3de5b7e878474755c72b70d7f18ea0ba5d55dde3db858bdbdc8a264585c7", kill_on_drop: false }` [INFO] [stdout] 200b3de5b7e878474755c72b70d7f18ea0ba5d55dde3db858bdbdc8a264585c7 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7256f94816747a0b1814e7e4d2ac3a8962db0ae4a899b91faa445a0c4264ef1c [INFO] running `Command { std: "docker" "start" "-a" "7256f94816747a0b1814e7e4d2ac3a8962db0ae4a899b91faa445a0c4264ef1c", kill_on_drop: false }` [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling minisign-verify v0.2.2 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling tar v0.4.42 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling iota-crypto v0.23.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling libsodium-sys-stable v1.21.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling stronghold-derive v1.0.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking stronghold-utils v1.0.0 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking stronghold-runtime v2.0.1 [INFO] [stderr] Checking stronghold_engine v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DataTransaction`, `SealedBlob`, and `SealedTransaction` [INFO] [stdout] --> src/vault/types.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use transactions::{DataTransaction, SealedBlob, SealedTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataTransaction`, `SealedBlob`, and `SealedTransaction` [INFO] [stdout] --> src/vault/types.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use transactions::{DataTransaction, SealedBlob, SealedTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, K, Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store/storage/cache.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_or_insert(&mut self, key: K, func: F, lifetime: Option) -> &V [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | match self.table.entry(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `runtime::memories::buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vault/crypto_box.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn encrypt_key>(&self, data: &Key, ad: AD) -> Result, T::Error> { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let key = Key { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | T::box_seal(&key, ad.as_ref(), &data.key.borrow()) [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::collections::hash_map::Entry<'_, K, Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store/storage/cache.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_or_insert(&mut self, key: K, func: F, lifetime: Option) -> &V [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | match self.table.entry(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `runtime::memories::buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vault/crypto_box.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn encrypt_key>(&self, data: &Key, ad: AD) -> Result, T::Error> { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let key = Key { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | T::box_seal(&key, ad.as_ref(), &data.key.borrow()) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stronghold_engine` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stronghold_engine` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7256f94816747a0b1814e7e4d2ac3a8962db0ae4a899b91faa445a0c4264ef1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7256f94816747a0b1814e7e4d2ac3a8962db0ae4a899b91faa445a0c4264ef1c", kill_on_drop: false }` [INFO] [stdout] 7256f94816747a0b1814e7e4d2ac3a8962db0ae4a899b91faa445a0c4264ef1c