Skip to content

Kernel update

Kernel update #102

Triggered via pull request April 9, 2024 09:09
@y86-devy86-dev
synchronize #15
kernel-update
Status Success
Total duration 1m 41s
Artifacts

safety.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
passing a unit value to a function: src/lib.rs#L1220
warning: passing a unit value to a function --> src/lib.rs:1220:38 | 1220 | init_from_closure(|slot| Ok(init.__init(slot).unwrap())) //cannot fail | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg help: move the expression in front of the call and replace it with the unit literal `()` | 1220 ~ init_from_closure(|slot| { 1221 + init.__init(slot).unwrap(); 1222 + Ok(()) 1223 ~ }) //cannot fail |
passing a unit value to a function: src/lib.rs#L1206
warning: passing a unit value to a function --> src/lib.rs:1206:17 | 1206 | Ok(init.__pinned_init(slot).unwrap()) // cannot fail | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg = note: `#[warn(clippy::unit_arg)]` on by default help: move the expression in front of the call and replace it with the unit literal `()` | 1206 ~ init.__pinned_init(slot).unwrap(); 1207 ~ Ok(()) // cannot fail |
the item `Box` is imported redundantly: src/lib.rs#L255
warning: the item `Box` is imported redundantly --> src/lib.rs:255:13 | 255 | use alloc::{boxed::Box, sync::Arc}; | ^^^^^^^^^^ --> /rustc/ab5bda1aa70f707014e2e691e43bc37a8819252a/library/std/src/prelude/mod.rs:144:13 | = note: the item `Box` is already defined here | = note: `#[warn(unused_imports)]` on by default
unneeded sub `cfg` when there is only one condition: src/lib.rs#L1257
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:1257:7 | 1257 | #[cfg(any(feature = "alloc"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "alloc"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L1226
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:1226:7 | 1226 | #[cfg(any(feature = "alloc"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "alloc"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L254
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:254:7 | 254 | #[cfg(any(feature = "alloc"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "alloc"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/lib.rs#L251
warning: unneeded sub `cfg` when there is only one condition --> src/lib.rs:251:7 | 251 | #[cfg(any(feature = "alloc"))] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "alloc"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
miri
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
sanitizers
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.