[INFO] fetching crate wgpu-async 22.1.0... [INFO] checking wgpu-async-22.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wgpu-async 22.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wgpu-async 22.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wgpu-async 22.1.0 [INFO] finished tweaking crates.io crate wgpu-async 22.1.0 [INFO] tweaked toml for crates.io crate wgpu-async 22.1.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 123 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.6.0 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.7.0 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.1) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding glow v0.13.1 (latest: v0.14.0) [INFO] [stderr] Adding gpu-allocator v0.26.0 (latest: v0.27.0) [INFO] [stderr] Adding jni-sys v0.3.0 (latest: v0.4.0) [INFO] [stderr] Adding malloc_buf v0.0.6 (latest: v1.0.0) [INFO] [stderr] Adding ndk-sys v0.5.0+25.2.9519653 (latest: v0.6.0+11769913) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0ee7bd344090a7ffb412e7bf5f45bcf34539b04ffef00ea221d17710a3aa95c [INFO] running `Command { std: "docker" "start" "-a" "d0ee7bd344090a7ffb412e7bf5f45bcf34539b04ffef00ea221d17710a3aa95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0ee7bd344090a7ffb412e7bf5f45bcf34539b04ffef00ea221d17710a3aa95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ee7bd344090a7ffb412e7bf5f45bcf34539b04ffef00ea221d17710a3aa95c", kill_on_drop: false }` [INFO] [stdout] d0ee7bd344090a7ffb412e7bf5f45bcf34539b04ffef00ea221d17710a3aa95c [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6701bc23b723f8b06b38d1e0c1d0c4d99d792232b222499099e4cc009c51b14a [INFO] running `Command { std: "docker" "start" "-a" "6701bc23b723f8b06b38d1e0c1d0c4d99d792232b222499099e4cc009c51b14a", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking wgpu-async v22.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_buffer.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn slice>(&self, bounds: S) -> AsyncBufferSlice<'_> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | device: self.device.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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_device.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn new(device: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | poll_loop: Arc::new(crate::wgpu_future::PollLoop::new(Arc::downgrade(&device))), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_queue.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 24 | command_buffers: I, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> WgpuFuture<()> { [INFO] [stdout] 26 | let queue_ref = Arc::clone(&self.queue); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | self.device.do_async(move |callback| { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 31 | | queue_ref.on_submitted_work_done(|| callback(())); [INFO] [stdout] 32 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wgpu_future.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn new(device: Weak) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let has_work = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let is_done = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let locally_has_work = Arc::clone(&has_work); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let locally_is_done = Arc::clone(&is_done); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | handle: Some(std::thread::spawn(move || { [INFO] [stdout] | _____________________^ [INFO] [stdout] 45 | | while !locally_is_done.load(Ordering::Acquire) { [INFO] [stdout] 46 | | while locally_has_work.load(Ordering::Acquire) != 0 { [INFO] [stdout] 47 | | match device.upgrade() { [INFO] [stdout] ... | [INFO] [stdout] 59 | | drop(device); [INFO] [stdout] 60 | | })), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_buffer.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn slice>(&self, bounds: S) -> AsyncBufferSlice<'_> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | device: self.device.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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_device.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn new(device: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | poll_loop: Arc::new(crate::wgpu_future::PollLoop::new(Arc::downgrade(&device))), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/async_queue.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 24 | command_buffers: I, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ) -> WgpuFuture<()> { [INFO] [stdout] 26 | let queue_ref = Arc::clone(&self.queue); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | self.device.do_async(move |callback| { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 31 | | queue_ref.on_submitted_work_done(|| callback(())); [INFO] [stdout] 32 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wgpu_future.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn new(device: Weak) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let has_work = Arc::new(AtomicUsize::new(0)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let is_done = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let locally_has_work = Arc::clone(&has_work); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let locally_is_done = Arc::clone(&is_done); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | handle: Some(std::thread::spawn(move || { [INFO] [stdout] | _____________________^ [INFO] [stdout] 45 | | while !locally_is_done.load(Ordering::Acquire) { [INFO] [stdout] 46 | | while locally_has_work.load(Ordering::Acquire) != 0 { [INFO] [stdout] 47 | | match device.upgrade() { [INFO] [stdout] ... | [INFO] [stdout] 59 | | drop(device); [INFO] [stdout] 60 | | })), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wgpu_future.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn new(device: AsyncDevice) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | state: Arc::new(Mutex::new(WgpuFutureSharedState { [INFO] [stdout] | ____________________^ [INFO] [stdout] 134 | | result: None, [INFO] [stdout] 135 | | waker: None, [INFO] [stdout] 136 | | })), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wgpu_future.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn new(device: AsyncDevice) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | poll_token: None, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wgpu_future.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn new(device: AsyncDevice) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | state: Arc::new(Mutex::new(WgpuFutureSharedState { [INFO] [stdout] | ____________________^ [INFO] [stdout] 134 | | result: None, [INFO] [stdout] 135 | | waker: None, [INFO] [stdout] 136 | | })), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/wgpu_future.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn new(device: AsyncDevice) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | poll_token: None, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgpu-async` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wgpu-async` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "6701bc23b723f8b06b38d1e0c1d0c4d99d792232b222499099e4cc009c51b14a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6701bc23b723f8b06b38d1e0c1d0c4d99d792232b222499099e4cc009c51b14a", kill_on_drop: false }` [INFO] [stdout] 6701bc23b723f8b06b38d1e0c1d0c4d99d792232b222499099e4cc009c51b14a