Skip to content

chore: make sure all feature names are kebab case #445

chore: make sure all feature names are kebab case

chore: make sure all feature names are kebab case #445

Triggered via push March 1, 2024 21:06
Status Success
Total duration 4m 45s
Artifacts

main.yml

on: push
Matrix: build
Final Results
0s
Final Results
Fit to window
Zoom out
Zoom in

Annotations

29 warnings
lint
Failed to restore: Cache service responded with 429
function `startup` is never used: src/riot-rs-rt/src/lib.rs#L66
warning: function `startup` is never used --> src/riot-rs-rt/src/lib.rs:66:4 | 66 | fn startup() -> ! { | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default
function `init` is never used: src/riot-rs-rt/src/lib.rs#L33
warning: function `init` is never used --> src/riot-rs-rt/src/lib.rs:33:20 | 33 | pub fn init() {} | ^^^^
this returns a `Result<_, ()>`: src/riot-rs-rt/src/lib.rs#L34
warning: this returns a `Result<_, ()>` --> src/riot-rs-rt/src/lib.rs:34:13 | 34 | pub fn benchmark<F: Fn()>(_iterations: usize, _f: F) -> core::result::Result<usize, ()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: use a custom `Error` type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err = note: `#[warn(clippy::result_unit_err)]` on by default
empty `loop {}` wastes CPU cycles: src/riot-rs-rt/src/lib.rs#L90
warning: empty `loop {}` wastes CPU cycles --> src/riot-rs-rt/src/lib.rs:90:9 | 90 | loop {} | ^^^^^^^ | = help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
empty `loop {}` wastes CPU cycles: src/riot-rs-rt/src/debug.rs#L39
warning: empty `loop {}` wastes CPU cycles --> src/riot-rs-rt/src/debug.rs:39:9 | 39 | loop {} | ^^^^^^^ | = help: you should either use `panic!()` or add a call pausing or sleeping the thread to the loop body = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop = note: `#[warn(clippy::empty_loop)]` on by default
you should consider adding a `Default` implementation for `Executor`: src/riot-rs-embassy/src/arch/dummy.rs#L24
warning: you should consider adding a `Default` implementation for `Executor` --> src/riot-rs-embassy/src/arch/dummy.rs:24:9 | 24 | / pub const fn new() -> Self { 25 | | Self {} 26 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `#[warn(clippy::new_without_default)]` on by default help: try adding this | 23 ~ impl Default for Executor { 24 + fn default() -> Self { 25 + Self::new() 26 + } 27 + } 28 + 29 ~ impl Executor { |
build (1/10)
Failed to restore: Cache service responded with 429
build (1/10)
Failed to restore: Cache service responded with 429
build (5/10)
Failed to restore: Cache service responded with 429
build (6/10)
Failed to restore: Cache service responded with 429
build (6/10)
Failed to save: Cache service responded with 429 during commit cache.
build (6/10)
Failed to restore: Cache service responded with 429
build (10/10)
Failed to restore: Cache service responded with 429
build (10/10)
Failed to restore: Cache service responded with 429
build (3/10)
Failed to save: Cache service responded with 429 during commit cache.
build (3/10)
Failed to save: Cache service responded with 429 during commit cache.
build (3/10)
Failed to restore: Cache service responded with 429
build (3/10)
Failed to restore: Cache service responded with 429
build (8/10)
Failed to restore: Cache service responded with 429
build (8/10)
Failed to restore: Cache service responded with 429
build (7/10)
Failed to restore: Cache service responded with 429
build (7/10)
Failed to restore: Cache service responded with 429
build (2/10)
Failed to save: Cache service responded with 429 during commit cache.
build (2/10)
Failed to save: Cache service responded with 429 during commit cache.
build (2/10)
Failed to restore: Cache service responded with 429
build (9/10)
Failed to save: Cache service responded with 429 during commit cache.
build (9/10)
Failed to restore: Cache service responded with 429
build (4/10)
Failed to restore: Cache service responded with 429