[INFO] cloning repository https://github.com/tosc-rs/scoped-mutex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tosc-rs/scoped-mutex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftosc-rs%2Fscoped-mutex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftosc-rs%2Fscoped-mutex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7165f7e2a6ceb22ebe7f515c519a85da8e1b22b [INFO] checking tosc-rs/scoped-mutex against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftosc-rs%2Fscoped-mutex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tosc-rs/scoped-mutex on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tosc-rs/scoped-mutex [INFO] finished tweaking git repo https://github.com/tosc-rs/scoped-mutex [INFO] tweaked toml for git repo https://github.com/tosc-rs/scoped-mutex written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tosc-rs/scoped-mutex 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b1ea3585101ed37595b28c2ea90be361c0f6a78621565d4da18d03dd9a39ddb [INFO] running `Command { std: "docker" "start" "-a" "2b1ea3585101ed37595b28c2ea90be361c0f6a78621565d4da18d03dd9a39ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b1ea3585101ed37595b28c2ea90be361c0f6a78621565d4da18d03dd9a39ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1ea3585101ed37595b28c2ea90be361c0f6a78621565d4da18d03dd9a39ddb", kill_on_drop: false }` [INFO] [stdout] 2b1ea3585101ed37595b28c2ea90be361c0f6a78621565d4da18d03dd9a39ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 178b2a6fe5a0d5af252350b149b5e40e5692711d64090132adbf1f8bb39738ba [INFO] running `Command { std: "docker" "start" "-a" "178b2a6fe5a0d5af252350b149b5e40e5692711d64090132adbf1f8bb39738ba", kill_on_drop: false }` [INFO] [stderr] Compiling mutex v0.1.0 (/opt/rustwide/workdir/source/mutex) [INFO] [stderr] Checking mutex-traits v1.0.0 (/opt/rustwide/workdir/source/mutex-traits) [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "178b2a6fe5a0d5af252350b149b5e40e5692711d64090132adbf1f8bb39738ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "178b2a6fe5a0d5af252350b149b5e40e5692711d64090132adbf1f8bb39738ba", kill_on_drop: false }` [INFO] [stdout] 178b2a6fe5a0d5af252350b149b5e40e5692711d64090132adbf1f8bb39738ba [INFO] checking tosc-rs/scoped-mutex against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftosc-rs%2Fscoped-mutex" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tosc-rs/scoped-mutex on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tosc-rs/scoped-mutex [INFO] finished tweaking git repo https://github.com/tosc-rs/scoped-mutex [INFO] tweaked toml for git repo https://github.com/tosc-rs/scoped-mutex written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tosc-rs/scoped-mutex 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb4f6e80286d092c9a39aa9f710e00882a0bd378c9d89e8501b4a60b6ee438f1 [INFO] running `Command { std: "docker" "start" "-a" "cb4f6e80286d092c9a39aa9f710e00882a0bd378c9d89e8501b4a60b6ee438f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb4f6e80286d092c9a39aa9f710e00882a0bd378c9d89e8501b4a60b6ee438f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4f6e80286d092c9a39aa9f710e00882a0bd378c9d89e8501b4a60b6ee438f1", kill_on_drop: false }` [INFO] [stdout] cb4f6e80286d092c9a39aa9f710e00882a0bd378c9d89e8501b4a60b6ee438f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69bc5f66f7fae5fa84704c5b1c6997c2fdbda0144fb143582ba648e0404ba700 [INFO] running `Command { std: "docker" "start" "-a" "69bc5f66f7fae5fa84704c5b1c6997c2fdbda0144fb143582ba648e0404ba700", kill_on_drop: false }` [INFO] [stderr] Compiling mutex v0.1.0 (/opt/rustwide/workdir/source/mutex) [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking mutex-traits v1.0.0 (/opt/rustwide/workdir/source/mutex-traits) [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] --> source/mutex/src/lib.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 61 | pub const fn new(val: T) -> BlockingMutex { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | BlockingMutex { [INFO] [stdout] 63 | raw: R::INIT, [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] --> source/mutex/src/lib.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub const fn new(val: T) -> BlockingMutex { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | data: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> source/mutex/src/lib.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_lock(&self, f: impl FnOnce(&mut T) -> U) -> U { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | self.raw.with_lock(|| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 77 | | let ptr = self.data.get(); [INFO] [stdout] 78 | | // SAFETY: Raw Mutex proves we have exclusive access to the inner data [INFO] [stdout] 79 | | let inner = unsafe { &mut *ptr }; [INFO] [stdout] 80 | | f(inner) [INFO] [stdout] 81 | | }) [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] --> source/mutex/src/lib.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn try_with_lock(&self, f: impl FnOnce(&mut T) -> U) -> Option { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | self.raw.try_with_lock(|| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 91 | | let ptr = self.data.get(); [INFO] [stdout] 92 | | // SAFETY: Raw Mutex proves we have exclusive access to the inner data [INFO] [stdout] 93 | | let inner = unsafe { &mut *ptr }; [INFO] [stdout] 94 | | f(inner) [INFO] [stdout] 95 | | }) [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] --> source/mutex/src/lib.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub const fn const_new(raw_mutex: R, val: T) -> BlockingMutex { [INFO] [stdout] | ------------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | data: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> source/mutex/src/raw_impls.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 50 | fn try_with_lock(&self, f: impl FnOnce() -> R) -> Option { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | critical_section::with(|_| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 52 | | // NOTE: separated load/stores are acceptable as we are in [INFO] [stdout] 53 | | // a critical section [INFO] [stdout] 54 | | if self.taken.load(Ordering::Relaxed) { [INFO] [stdout] ... | [INFO] [stdout] 60 | | Some(ret) [INFO] [stdout] 61 | | }) [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] --> source/mutex/src/raw_impls.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 65 | fn with_lock(&self, f: impl FnOnce() -> R) -> R { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | self.try_with_lock(f).expect("Deadlocked") [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] --> source/mutex/src/raw_impls.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 127 | fn with_lock(&self, f: impl FnOnce() -> R) -> R { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | self.try_with_lock(f).expect("Deadlocked") [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] --> source/mutex/src/lib.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 61 | pub const fn new(val: T) -> BlockingMutex { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | BlockingMutex { [INFO] [stdout] 63 | raw: R::INIT, [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: aborting due to 8 previous errors [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] --> source/mutex/src/lib.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub const fn new(val: T) -> BlockingMutex { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | data: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> source/mutex/src/lib.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_lock(&self, f: impl FnOnce(&mut T) -> U) -> U { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | self.raw.with_lock(|| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 77 | | let ptr = self.data.get(); [INFO] [stdout] 78 | | // SAFETY: Raw Mutex proves we have exclusive access to the inner data [INFO] [stdout] 79 | | let inner = unsafe { &mut *ptr }; [INFO] [stdout] 80 | | f(inner) [INFO] [stdout] 81 | | }) [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] --> source/mutex/src/lib.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn try_with_lock(&self, f: impl FnOnce(&mut T) -> U) -> Option { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | self.raw.try_with_lock(|| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 91 | | let ptr = self.data.get(); [INFO] [stdout] 92 | | // SAFETY: Raw Mutex proves we have exclusive access to the inner data [INFO] [stdout] 93 | | let inner = unsafe { &mut *ptr }; [INFO] [stdout] 94 | | f(inner) [INFO] [stdout] 95 | | }) [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] --> source/mutex/src/lib.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub const fn const_new(raw_mutex: R, val: T) -> BlockingMutex { [INFO] [stdout] | ------------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | data: 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> source/mutex/src/raw_impls.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 50 | fn try_with_lock(&self, f: impl FnOnce() -> R) -> Option { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | critical_section::with(|_| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 52 | | // NOTE: separated load/stores are acceptable as we are in [INFO] [stdout] 53 | | // a critical section [INFO] [stdout] 54 | | if self.taken.load(Ordering::Relaxed) { [INFO] [stdout] ... | [INFO] [stdout] 60 | | Some(ret) [INFO] [stdout] 61 | | }) [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] --> source/mutex/src/raw_impls.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 65 | fn with_lock(&self, f: impl FnOnce() -> R) -> R { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | self.try_with_lock(f).expect("Deadlocked") [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] --> source/mutex/src/raw_impls.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 127 | fn with_lock(&self, f: impl FnOnce() -> R) -> R { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | self.try_with_lock(f).expect("Deadlocked") [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mutex` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mutex` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "69bc5f66f7fae5fa84704c5b1c6997c2fdbda0144fb143582ba648e0404ba700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69bc5f66f7fae5fa84704c5b1c6997c2fdbda0144fb143582ba648e0404ba700", kill_on_drop: false }` [INFO] [stdout] 69bc5f66f7fae5fa84704c5b1c6997c2fdbda0144fb143582ba648e0404ba700