[INFO] fetching crate freertos_rs 0.3.0...
[INFO] checking freertos_rs-0.3.0 against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] extracting crate freertos_rs 0.3.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate freertos_rs 0.3.0
[INFO] finished tweaking crates.io crate freertos_rs 0.3.0
[INFO] tweaked toml for crates.io crate freertos_rs 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate freertos_rs 0.3.0 on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `freertos_rs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751
[INFO] running `Command { std: "docker" "start" "f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `freertos_rs` (manifest) generated 1 warning
[INFO] [stderr]     Checking freertos_rs v0.3.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn freertos_rs_spawn_task(_f: extern fn(FreeRtosMutVoidPtr) -> FreeRtosMutVoidPtr, _value: FreeRtosMutVoidPtr, _name: FreeR...
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:117:157
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...er_id: FreeRtosVoidPtr, _callback: extern fn(FreeRtosTimerHandle) -> ()) -> FreeRtosTimerHandle { 0 as _ }
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::ptr` instead
[INFO] [stdout]   --> src/prelude/no_std.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use core::intrinsics::write_bytes;
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |                               callback: Box<dyn Fn(Timer) + Send + 'a>,)
[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)]` (part of `#[warn(unused)]`) 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: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn freertos_rs_spawn_task(_f: extern fn(FreeRtosMutVoidPtr) -> FreeRtosMutVoidPtr, _value: FreeRtosMutVoidPtr, _name: FreeR...
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]    --> src/shim.rs:117:157
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...er_id: FreeRtosVoidPtr, _callback: extern fn(FreeRtosTimerHandle) -> ()) -> FreeRtosTimerHandle { 0 as _ }
[INFO] [stdout]     |                                       ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::ptr` instead
[INFO] [stdout]   --> src/prelude/no_std.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use core::intrinsics::write_bytes;
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[inline]` can only be applied to functions with a body
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |                               callback: Box<dyn Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<dyn Fn(Timer)>);
[INFO] [stdout]     |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FreeRtosStackType` is never used
[INFO] [stdout]   --> src/base.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FreeRtosStackType = *const CVoid;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Finished` is never constructed
[INFO] [stdout]   --> src/patterns/compute_task.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | enum ComputeTaskStatus {
[INFO] [stdout]    |      ----------------- variant in this enum
[INFO] [stdout] 96 |     Finished,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ComputeTaskStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `alloc::boxed::Box::<T>::into_raw` that must be used
[INFO] [stdout]    --> src/timers.rs:110:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |                         Box::into_raw(b);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: losing the pointer will leak memory
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 110 |                         let _ = Box::into_raw(b);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused boxed boxed `Fn` trait object that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: closures are lazy and do nothing unless called
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `alloc::boxed::Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 let _ = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/mutex.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn lock<D: DurationTicks>(&self, max_wait: D) -> Result<MutexGuard<T, M>, FreeRtosError> {
[INFO] [stdout]    |                                   ^^^^^                         ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn lock<D: DurationTicks>(&self, max_wait: D) -> Result<MutexGuard<'_, T, M>, FreeRtosError> {
[INFO] [stdout]    |                                                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[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:104:46
[INFO] [stdout]     |
[INFO] [stdout] 104 | 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/critical.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn lock(&self) -> Result<ExclusiveDataGuard<T>, FreeRtosError> {
[INFO] [stdout]    |                 ^^^^^            ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn lock(&self) -> Result<ExclusiveDataGuard<'_, T>, FreeRtosError> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/critical.rs:43:26
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn lock_from_isr(&self, _context: &mut crate::isr::InterruptContext) -> Result<ExclusiveDataGuardIsr<T>, FreeRtosError> {
[INFO] [stdout]    |                          ^^^^^ the lifetime is elided here                             ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn lock_from_isr(&self, _context: &mut crate::isr::InterruptContext) -> Result<ExclusiveDataGuardIsr<'_, T>, FreeRtosError> {
[INFO] [stdout]    |                                                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FreeRtosStackType` is never used
[INFO] [stdout]   --> src/base.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FreeRtosStackType = *const CVoid;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Finished` is never constructed
[INFO] [stdout]   --> src/patterns/compute_task.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | enum ComputeTaskStatus {
[INFO] [stdout]    |      ----------------- variant in this enum
[INFO] [stdout] 96 |     Finished,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ComputeTaskStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `alloc::boxed::Box::<T>::into_raw` that must be used
[INFO] [stdout]    --> src/timers.rs:110:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |                         Box::into_raw(b);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: losing the pointer will leak memory
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 110 |                         let _ = Box::into_raw(b);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused boxed boxed `Fn` trait object that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: closures are lazy and do nothing unless called
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `alloc::boxed::Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 let _ = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/mutex.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn lock<D: DurationTicks>(&self, max_wait: D) -> Result<MutexGuard<T, M>, FreeRtosError> {
[INFO] [stdout]    |                                   ^^^^^                         ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn lock<D: DurationTicks>(&self, max_wait: D) -> Result<MutexGuard<'_, T, M>, FreeRtosError> {
[INFO] [stdout]    |                                                                            +++
[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:104:46
[INFO] [stdout]     |
[INFO] [stdout] 104 | 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/critical.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn lock(&self) -> Result<ExclusiveDataGuard<T>, FreeRtosError> {
[INFO] [stdout]    |                 ^^^^^            ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn lock(&self) -> Result<ExclusiveDataGuard<'_, T>, FreeRtosError> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/critical.rs:43:26
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn lock_from_isr(&self, _context: &mut crate::isr::InterruptContext) -> Result<ExclusiveDataGuardIsr<T>, FreeRtosError> {
[INFO] [stdout]    |                          ^^^^^ the lifetime is elided here                             ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn lock_from_isr(&self, _context: &mut crate::isr::InterruptContext) -> Result<ExclusiveDataGuardIsr<'_, T>, FreeRtosError> {
[INFO] [stdout]    |                                                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751", kill_on_drop: false }`
[INFO] [stdout] f86eff992d5509201e2570a576cf34eef652339095d431b76a887d2c70695751
