[INFO] fetching crate stronghold-runtime 2.0.1... [INFO] checking stronghold-runtime-2.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate stronghold-runtime 2.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate stronghold-runtime 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-runtime 2.0.1 [INFO] finished tweaking crates.io crate stronghold-runtime 2.0.1 [INFO] tweaked toml for crates.io crate stronghold-runtime 2.0.1 written to /workspace/builds/worker-0-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 173 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.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 env_logger v0.9.3 (available: v0.11.5) [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 rustc-hash v1.1.0 (available: v2.0.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3e657a979247246a95db3dc53cfc1ccff40eddcf847c9cf6b4a603bdbeff27c2 [INFO] running `Command { std: "docker" "start" "-a" "3e657a979247246a95db3dc53cfc1ccff40eddcf847c9cf6b4a603bdbeff27c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e657a979247246a95db3dc53cfc1ccff40eddcf847c9cf6b4a603bdbeff27c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e657a979247246a95db3dc53cfc1ccff40eddcf847c9cf6b4a603bdbeff27c2", kill_on_drop: false }` [INFO] [stdout] 3e657a979247246a95db3dc53cfc1ccff40eddcf847c9cf6b4a603bdbeff27c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c10a69b8e2ab89f81eaa26ef1a1bc8a2eb145482edac4d5b13da120e96b93744 [INFO] running `Command { std: "docker" "start" "-a" "c10a69b8e2ab89f81eaa26ef1a1bc8a2eb145482edac4d5b13da120e96b93744", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling minisign-verify v0.2.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling iota-crypto v0.23.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Checking mintex v0.1.3 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling tar v0.4.42 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling libsodium-sys-stable v1.21.2 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking dhat v0.3.3 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking stronghold-runtime v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/file_memory.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 177 | fn update(self, payload: Buffer, size: usize) -> Result { [INFO] [stdout] | ---- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | FileMemory::alloc(&payload.borrow(), size) [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 `buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/noncontiguous_memory.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 86 | fn update(self, payload: Buffer, size: usize) -> Result { [INFO] [stdout] | ---- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | NonContiguousMemory::alloc(&payload.borrow(), size, self.config.clone()) [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 `buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/ram_memory.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 58 | fn update(self, payload: Buffer, size: usize) -> Result { [INFO] [stdout] | ---- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | RamMemory::alloc(&payload.borrow(), size) [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 `stronghold-runtime` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/file_memory.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 177 | fn update(self, payload: Buffer, size: usize) -> Result { [INFO] [stdout] | ---- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | FileMemory::alloc(&payload.borrow(), size) [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 `buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/noncontiguous_memory.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 86 | fn update(self, payload: Buffer, size: usize) -> Result { [INFO] [stdout] | ---- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | NonContiguousMemory::alloc(&payload.borrow(), size, self.config.clone()) [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 `noncontiguous_memory::NonContiguousMemory` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/noncontiguous_memory.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 380 | let original_data = random_vec(NC_DATA_SIZE); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | for config in NC_CONFIGS { [INFO] [stdout] 382 | let ncm = NonContiguousMemory::alloc(&original_data, NC_DATA_SIZE, config).expect(ERR); [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 `noncontiguous_memory::NonContiguousMemory` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/noncontiguous_memory.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 408 | let data = random_vec(NC_DATA_SIZE); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | let ncm = NonContiguousMemory::alloc(&data, NC_DATA_SIZE, config).expect(ERR); [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 `buffer::Ref<'_, u8>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/memories/ram_memory.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 58 | fn update(self, payload: Buffer, size: usize) -> Result { [INFO] [stdout] | ---- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | RamMemory::alloc(&payload.borrow(), size) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stronghold-runtime` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c10a69b8e2ab89f81eaa26ef1a1bc8a2eb145482edac4d5b13da120e96b93744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10a69b8e2ab89f81eaa26ef1a1bc8a2eb145482edac4d5b13da120e96b93744", kill_on_drop: false }` [INFO] [stdout] c10a69b8e2ab89f81eaa26ef1a1bc8a2eb145482edac4d5b13da120e96b93744