[INFO] cloning repository https://github.com/Lucian-4a25/rust-atomic-locks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucian-4a25/rust-atomic-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Frust-atomic-locks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Frust-atomic-locks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b832d9f5f79e500a2a5669fe6c29b3cb659a499 [INFO] checking Lucian-4a25/rust-atomic-locks/1b832d9f5f79e500a2a5669fe6c29b3cb659a499 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucian-4a25%2Frust-atomic-locks" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lucian-4a25/rust-atomic-locks 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 git repo https://github.com/Lucian-4a25/rust-atomic-locks [INFO] finished tweaking git repo https://github.com/Lucian-4a25/rust-atomic-locks [INFO] tweaked toml for git repo https://github.com/Lucian-4a25/rust-atomic-locks written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lucian-4a25/rust-atomic-locks already has a lockfile, it will not be regenerated [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8da0e835501913df242a378b94a0c507ec7585d84984a440a51559cfdca345de [INFO] running `Command { std: "docker" "start" "-a" "8da0e835501913df242a378b94a0c507ec7585d84984a440a51559cfdca345de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8da0e835501913df242a378b94a0c507ec7585d84984a440a51559cfdca345de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8da0e835501913df242a378b94a0c507ec7585d84984a440a51559cfdca345de", kill_on_drop: false }` [INFO] [stdout] 8da0e835501913df242a378b94a0c507ec7585d84984a440a51559cfdca345de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 435b32f7b08c7b0d3596dedcea5914d8011cddfbfe8cc709e3ec3ba952f107cf [INFO] running `Command { std: "docker" "start" "-a" "435b32f7b08c7b0d3596dedcea5914d8011cddfbfe8cc709e3ec3ba952f107cf", kill_on_drop: false }` [INFO] [stderr] Checking atomic-wait v1.1.0 [INFO] [stderr] Checking rust-atomic-locks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AtomicU16` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | sync::atomic::{AtomicU16, AtomicU64, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wake_all` [INFO] [stdout] --> src/mutex/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use atomic_wait::{wait, wake_all, wake_one}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU16` [INFO] [stdout] --> src/mutex/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | sync::atomic::{AtomicI16, AtomicU16, AtomicU32, Ordering}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/ordering/fences.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `fmt::Write` [INFO] [stdout] --> src/rwlock/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | ops::{Deref, DerefMut}, [INFO] [stdout] 6 | sync::atomic::{AtomicU32, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/send_sync_trait.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Cell, marker::PhantomData, rc::Rc, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `arc_into_inner` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arc_into_inner)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU16`, `AtomicU64`, `AtomicUsize`, `Ordering`, `hint::black_box`, and `time::Instant` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | hint::black_box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | sync::atomic::{AtomicU16, AtomicU64, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | thread, [INFO] [stdout] 6 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/arc/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/cond_var/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mutex::{Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/cond_var/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wake_all` [INFO] [stdout] --> src/mutex/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use atomic_wait::{wait, wake_all, wake_one}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI16`, `AtomicU16`, `thread`, and `time::Instant` [INFO] [stdout] --> src/mutex/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | sync::atomic::{AtomicI16, AtomicU16, AtomicU32, Ordering}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/ordering/fences.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `fmt::Write` [INFO] [stdout] --> src/rwlock/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | ops::{Deref, DerefMut}, [INFO] [stdout] 6 | sync::atomic::{AtomicU32, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/send_sync_trait.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Cell, marker::PhantomData, rc::Rc, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `arc_into_inner` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(arc_into_inner)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/send_sync_trait.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let a = Rc::new([1]); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/arc/mod.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(v: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Self { [INFO] [stdout] 31 | ptr: NonNull::from(Box::leak(Box::new(ArcData { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 32 | | data: UnsafeCell::new(ManuallyDrop::new(v)), [INFO] [stdout] 33 | | data_ref_count: AtomicUsize::new(1), [INFO] [stdout] 34 | | alloc_ref_count: AtomicUsize::new(1), [INFO] [stdout] 35 | | }))), [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/channel/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 77 | let a = Arc::new(Channel { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / Sender { [INFO] [stdout] 84 | | channel: a.clone(), [INFO] [stdout] 85 | | receiver_thread: thread::current(), [INFO] [stdout] 86 | | }, [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/channel/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 77 | let a = Arc::new(Channel { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | / Receiver { [INFO] [stdout] 88 | | channel: a, [INFO] [stdout] 89 | | _no_send: PhantomData, [INFO] [stdout] 90 | | }, [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] warning: unused variable: `a` [INFO] [stdout] --> src/send_sync_trait.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let a = Rc::new([1]); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/mutex/mod.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new(v: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | value: UnsafeCell::new(v), [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ordering/lazy_load_ordering.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | drop(p); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 16 - drop(p); [INFO] [stdout] 16 + let _ = p; [INFO] [stdout] | [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/rwlock/mod.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | value: UnsafeCell::new(value), [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/spin_lock/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | value: UnsafeCell::new(val), [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; 12 warnings emitted [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/arc/mod.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(v: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Self { [INFO] [stdout] 31 | ptr: NonNull::from(Box::leak(Box::new(ArcData { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 32 | | data: UnsafeCell::new(ManuallyDrop::new(v)), [INFO] [stdout] 33 | | data_ref_count: AtomicUsize::new(1), [INFO] [stdout] 34 | | alloc_ref_count: AtomicUsize::new(1), [INFO] [stdout] 35 | | }))), [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/channel/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 77 | let a = Arc::new(Channel { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | / Sender { [INFO] [stdout] 84 | | channel: a.clone(), [INFO] [stdout] 85 | | receiver_thread: thread::current(), [INFO] [stdout] 86 | | }, [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/channel/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 77 | let a = Arc::new(Channel { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | / Receiver { [INFO] [stdout] 88 | | channel: a, [INFO] [stdout] 89 | | _no_send: PhantomData, [INFO] [stdout] 90 | | }, [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/mutex/mod.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new(v: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | value: UnsafeCell::new(v), [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] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ordering/lazy_load_ordering.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | drop(p); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `*mut usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 16 - drop(p); [INFO] [stdout] 16 + let _ = p; [INFO] [stdout] | [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/rwlock/mod.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | value: UnsafeCell::new(value), [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/spin_lock/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | value: UnsafeCell::new(val), [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] [stderr] error: could not compile `rust-atomic-locks` (bin "rust-atomic-locks") due to 7 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-atomic-locks` (bin "rust-atomic-locks" test) due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "435b32f7b08c7b0d3596dedcea5914d8011cddfbfe8cc709e3ec3ba952f107cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435b32f7b08c7b0d3596dedcea5914d8011cddfbfe8cc709e3ec3ba952f107cf", kill_on_drop: false }` [INFO] [stdout] 435b32f7b08c7b0d3596dedcea5914d8011cddfbfe8cc709e3ec3ba952f107cf