[INFO] fetching crate freertos-rust 0.1.2... [INFO] checking freertos-rust-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate freertos-rust 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate freertos-rust 0.1.2 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 freertos-rust 0.1.2 [INFO] finished tweaking crates.io crate freertos-rust 0.1.2 [INFO] tweaked toml for crates.io crate freertos-rust 0.1.2 written to /workspace/builds/worker-4-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] 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 327788d3331b98ba78b7ac733e057498fd160b8793ddc02ecbccc0e5f3054b26 [INFO] running `Command { std: "docker" "start" "-a" "327788d3331b98ba78b7ac733e057498fd160b8793ddc02ecbccc0e5f3054b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "327788d3331b98ba78b7ac733e057498fd160b8793ddc02ecbccc0e5f3054b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327788d3331b98ba78b7ac733e057498fd160b8793ddc02ecbccc0e5f3054b26", kill_on_drop: false }` [INFO] [stdout] 327788d3331b98ba78b7ac733e057498fd160b8793ddc02ecbccc0e5f3054b26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7e827330f7af2dbd4fd8969f008f7602c219ad33cd136add14174704ebeb28d8 [INFO] running `Command { std: "docker" "start" "-a" "7e827330f7af2dbd4fd8969f008f7602c219ad33cd136add14174704ebeb28d8", kill_on_drop: false }` [INFO] [stderr] Compiling freertos-rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print_env` is never used [INFO] [stdout] --> build.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn print_env() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/prelude/no_std.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/prelude/no_std.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Range` [INFO] [stdout] --> src/prelude/no_std.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use core::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num::Wrapping` [INFO] [stdout] --> src/prelude/no_std.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use core::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::intrinsics::write_bytes` [INFO] [stdout] --> src/prelude/no_std.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use core::intrinsics::write_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::rc::Rc` [INFO] [stdout] --> src/prelude/no_std.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use alloc::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::*` [INFO] [stdout] --> src/prelude/no_std.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/prelude/no_std.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Range` [INFO] [stdout] --> src/prelude/no_std.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use core::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num::Wrapping` [INFO] [stdout] --> src/prelude/no_std.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use core::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::intrinsics::write_bytes` [INFO] [stdout] --> src/prelude/no_std.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use core::intrinsics::write_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::rc::Rc` [INFO] [stdout] --> src/prelude/no_std.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use alloc::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `c_size`, and `rust_size` are never read [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TypeSizeError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | c_size: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | rust_size: usize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSizeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/timers.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 71 | callback: Box,) [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | -> Result { [INFO] [stdout] 73 | let f = Box::new(callback); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Timer { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | handle: timer_handle as *const _, [INFO] [stdout] 115 | | detached: false [INFO] [stdout] 116 | | }) [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: fields `id`, `c_size`, and `rust_size` are never read [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TypeSizeError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | c_size: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | rust_size: usize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSizeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/timers.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 71 | callback: Box,) [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | -> Result { [INFO] [stdout] 73 | let f = Box::new(callback); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Timer { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | handle: timer_handle as *const _, [INFO] [stdout] 115 | | detached: false [INFO] [stdout] 116 | | }) [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: unused return value of `alloc::boxed::Box::::into_raw` that must be used [INFO] [stdout] --> src/timers.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Box::into_raw(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = Box::into_raw(b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `alloc::boxed::Box::::into_raw` that must be used [INFO] [stdout] --> src/timers.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Box::into_raw(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = Box::into_raw(b); [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/mutex.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(t: T) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(MutexImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | mutex: MutexNormal::create()?, [INFO] [stdout] 31 | | data: UnsafeCell::new(t), [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/mutex.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(t: T) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Ok(MutexImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | mutex: MutexRecursive::create()?, [INFO] [stdout] 41 | | data: UnsafeCell::new(t), [INFO] [stdout] 42 | | }) [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.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(t: T) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(MutexImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | mutex: MutexNormal::create()?, [INFO] [stdout] 31 | | data: UnsafeCell::new(t), [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/mutex.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(t: T) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Ok(MutexImpl { [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | mutex: MutexRecursive::create()?, [INFO] [stdout] 41 | | data: UnsafeCell::new(t), [INFO] [stdout] 42 | | }) [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: bounds on `Self: Drop` are most likely incorrect, consider instead using `core::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stdout] --> src/mutex.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | pub trait MutexInnerImpl where Self: Sized + Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on `Self: Drop` are most likely incorrect, consider instead using `core::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stdout] --> src/mutex.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | pub trait MutexInnerImpl where Self: Sized + Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` 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/critical.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(data: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | ExclusiveData { [INFO] [stdout] 32 | data: UnsafeCell::new(data) [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/critical.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(data: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | ExclusiveData { [INFO] [stdout] 32 | data: UnsafeCell::new(data) [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/patterns/compute_task.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn compute(&self, func: F) -> Result, FreeRtosError> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let r = func(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | Ok(ComputeTask { [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | task: Task::new().start(|| {}).unwrap(), [INFO] [stdout] 63 | | result: Arc::new(Mutex::new(Some(r)).unwrap()), [INFO] [stdout] 64 | | status: Arc::new(Queue::new(1).unwrap()), [INFO] [stdout] 65 | | finished: false, [INFO] [stdout] 66 | | }) [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/patterns/compute_task.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn compute(&self, func: F) -> Result, FreeRtosError> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let r = func(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | [INFO] [stdout] 61 | Ok(ComputeTask { [INFO] [stdout] | ____________^ [INFO] [stdout] 62 | | task: Task::new().start(|| {}).unwrap(), [INFO] [stdout] 63 | | result: Arc::new(Mutex::new(Some(r)).unwrap()), [INFO] [stdout] 64 | | status: Arc::new(Queue::new(1).unwrap()), [INFO] [stdout] 65 | | finished: false, [INFO] [stdout] 66 | | }) [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/patterns/processor.rs:107:73 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(client) = inner.clients.iter().flat_map(|ref x| x.1.upgrade().into_iter()).find(|x| x.id == client_id) { [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/patterns/pub_sub.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | let inner = PublisherInner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(QueuePublisher { inner: Arc::new(Mutex::new(inner)?) }) [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/patterns/processor.rs:107:73 [INFO] [stdout] | [INFO] [stdout] 107 | if let Some(client) = inner.clients.iter().flat_map(|ref x| x.1.upgrade().into_iter()).find(|x| x.id == client_id) { [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/patterns/pub_sub.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 50 | let mut inner = self.inner.lock(create_max_wait)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | [INFO] [stdout] 52 | let queue = Queue::new(max_size)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let subscriber = SubscriberInner { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let subscriber = Arc::new(subscriber); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(QueueSubscriber { inner: subscriber }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/patterns/pub_sub.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | let inner = PublisherInner { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(QueuePublisher { inner: Arc::new(Mutex::new(inner)?) }) [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/patterns/pub_sub.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 50 | let mut inner = self.inner.lock(create_max_wait)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | [INFO] [stdout] 52 | let queue = Queue::new(max_size)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let subscriber = SubscriberInner { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let subscriber = Arc::new(subscriber); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(QueueSubscriber { inner: subscriber }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `freertos-rust` (lib test) due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `freertos-rust` (lib) due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e827330f7af2dbd4fd8969f008f7602c219ad33cd136add14174704ebeb28d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e827330f7af2dbd4fd8969f008f7602c219ad33cd136add14174704ebeb28d8", kill_on_drop: false }` [INFO] [stdout] 7e827330f7af2dbd4fd8969f008f7602c219ad33cd136add14174704ebeb28d8