[INFO] fetching crate vulkan-malloc 0.1.5... [INFO] checking vulkan-malloc-0.1.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate vulkan-malloc 0.1.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate vulkan-malloc 0.1.5 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 vulkan-malloc 0.1.5 [INFO] finished tweaking crates.io crate vulkan-malloc 0.1.5 [INFO] tweaked toml for crates.io crate vulkan-malloc 0.1.5 written to /workspace/builds/worker-2-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 11 packages to latest compatible versions [INFO] [stderr] Adding array_ext v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding libloading v0.4.3 (available: v0.8.5) [INFO] [stderr] Adding vks v0.20.0 (available: v0.21.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3d99bfaefc0c14291f439988181ae977e75bb81566e01503934c58bd22c9dd95 [INFO] running `Command { std: "docker" "start" "-a" "3d99bfaefc0c14291f439988181ae977e75bb81566e01503934c58bd22c9dd95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d99bfaefc0c14291f439988181ae977e75bb81566e01503934c58bd22c9dd95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d99bfaefc0c14291f439988181ae977e75bb81566e01503934c58bd22c9dd95", kill_on_drop: false }` [INFO] [stdout] 3d99bfaefc0c14291f439988181ae977e75bb81566e01503934c58bd22c9dd95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ad0749fbd9557ba970cfc26993d0a6aa226de27254d7895434c4a65a63421021 [INFO] running `Command { std: "docker" "start" "-a" "ad0749fbd9557ba970cfc26993d0a6aa226de27254d7895434c4a65a63421021", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling vks v0.20.0 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking array_ext v0.2.0 [INFO] [stderr] Checking option-filter v1.0.2 [INFO] [stderr] Checking dacite v0.7.0 [INFO] [stderr] Checking vulkan-malloc v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering as MemOrdering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | has_empty_allocation: Array::from_fn(|_| ATOMIC_BOOL_INIT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 75 | has_empty_allocation: Array::from_fn(|_| AtomicBool::new(false)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/sync_key.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering as MemOrdering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/sync_key.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | static NEXT_KEY_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 43 | static NEXT_KEY_ID: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering as MemOrdering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:75:54 [INFO] [stdout] | [INFO] [stdout] 75 | has_empty_allocation: Array::from_fn(|_| ATOMIC_BOOL_INIT), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 75 | has_empty_allocation: Array::from_fn(|_| AtomicBool::new(false)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/sync_key.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering as MemOrdering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/sync_key.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | static NEXT_KEY_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 43 | static NEXT_KEY_ID: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | .compare_and_swap(false, true, MemOrdering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `option_filter::OptionFilterExt` [INFO] [stdout] --> src/allocation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use option_filter::OptionFilterExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/list.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 86 | let mut tail = self.tail.get(key).unwrap().borrow_mut(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | if let Some(tail_item) = tail.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/allocation.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 572 | pub struct OwnAllocation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 575 | pub type_: SuballocationType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | .compare_and_swap(false, true, MemOrdering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vulkan-malloc` (lib) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `option_filter::OptionFilterExt` [INFO] [stdout] --> src/allocation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use option_filter::OptionFilterExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/list.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 86 | let mut tail = self.tail.get(key).unwrap().borrow_mut(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | if let Some(tail_item) = tail.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_` is never read [INFO] [stdout] --> src/allocation.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 572 | pub struct OwnAllocation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 575 | pub type_: SuballocationType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vulkan-malloc` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ad0749fbd9557ba970cfc26993d0a6aa226de27254d7895434c4a65a63421021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0749fbd9557ba970cfc26993d0a6aa226de27254d7895434c4a65a63421021", kill_on_drop: false }` [INFO] [stdout] ad0749fbd9557ba970cfc26993d0a6aa226de27254d7895434c4a65a63421021