initial esp support #409
Annotations
3 errors and 6 warnings
clippy:
src/riot-rs-embassy/src/lib.rs#L71
error[E0599]: no method named `must_spawn` found for struct `arch::executor::Spawner` in the current scope
--> src/riot-rs-embassy/src/lib.rs:71:24
|
71 | EXECUTOR.spawner().must_spawn(init_task(p));
| ^^^^^^^^^^
|
::: src/riot-rs-embassy/src/arch/dummy.rs:35:5
|
35 | pub struct Spawner {}
| ------------------ method `must_spawn` not found for this struct
|
help: there is a method `spawn` with a similar name
|
71 | EXECUTOR.spawner().spawn(init_task(p));
| ~~~~~
|
clippy:
src/riot-rs-embassy/src/lib.rs#L71
error[E0308]: mismatched types
--> src/riot-rs-embassy/src/lib.rs:71:45
|
71 | EXECUTOR.spawner().must_spawn(init_task(p));
| --------- ^ expected `OptionalPeripherals`, found `Peripherals`
| |
| arguments to this function are incorrect
|
note: function defined here
--> src/riot-rs-embassy/src/lib.rs:77:10
|
77 | async fn init_task(mut peripherals: arch::OptionalPeripherals) {
| ^^^^^^^^^ --------------------------------------
help: call `Into::into` on this expression to convert `arch::Peripherals` into `arch::OptionalPeripherals`
|
71 | EXECUTOR.spawner().must_spawn(init_task(p.into()));
| +++++++
|
clippy
Clippy has exited with exit code 101
|
rust cache
Failed to restore: Cache service responded with 429
|
clippy:
src/riot-rs-rt/src/lib.rs#L69
warning: function `startup` is never used
--> src/riot-rs-rt/src/lib.rs:69:4
|
69 | fn startup() -> ! {
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
clippy:
src/riot-rs-rt/src/lib.rs#L37
warning: function `init` is never used
--> src/riot-rs-rt/src/lib.rs:37:20
|
37 | pub fn init() {}
| ^^^^
|
clippy:
src/riot-rs-rt/src/lib.rs#L38
warning: this returns a `Result<_, ()>`
--> src/riot-rs-rt/src/lib.rs:38:13
|
38 | 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
|
clippy:
src/riot-rs-rt/src/lib.rs#L93
warning: empty `loop {}` wastes CPU cycles
--> src/riot-rs-rt/src/lib.rs:93:9
|
93 | 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
|
clippy:
src/riot-rs-rt/src/debug.rs#L50
warning: empty `loop {}` wastes CPU cycles
--> src/riot-rs-rt/src/debug.rs:50:9
|
50 | 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
|
The logs for this run have expired and are no longer available.
Loading