ci: cargo test riot-rs-esp
as well
#2154
Annotations
2 errors and 10 warnings
The run was canceled by @ROMemories.
|
cargo-deny advisories
Process completed with exit code 1.
|
clippy:
src/riot-rs-macros/src/utils.rs#L10
warning: doc list item without indentation
--> src/riot-rs-macros/src/utils.rs:10:5
|
10 | /// this function is called.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
10 | /// this function is called.
| ++
|
clippy:
src/riot-rs-macros/src/utils.rs#L10
warning: doc list item without indentation
--> src/riot-rs-macros/src/utils.rs:10:5
|
10 | /// this function is called.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
10 | /// this function is called.
| ++
|
clippy:
src/riot-rs-macros/src/task.rs#L20
warning: doc list item without indentation
--> src/riot-rs-macros/src/task.rs:20:5
|
20 | /// of type `UsbBuilderHook`, allowing to access and modify the system-provided
| ^^^^^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
20 | /// of type `UsbBuilderHook`, allowing to access and modify the system-provided
| ++
|
clippy:
src/riot-rs-macros/src/task.rs#L21
warning: doc list item without indentation
--> src/riot-rs-macros/src/task.rs:21:5
|
21 | /// `embassy_usb::Builder` through `Delegate::with()`, *before* it is built by the system.
| ^^^^^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
21 | /// `embassy_usb::Builder` through `Delegate::with()`, *before* it is built by the system.
| ++
|
clippy:
src/riot-rs-macros/src/task.rs#L20
warning: doc list item without indentation
--> src/riot-rs-macros/src/task.rs:20:5
|
20 | /// of type `UsbBuilderHook`, allowing to access and modify the system-provided
| ^^^^^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
20 | /// of type `UsbBuilderHook`, allowing to access and modify the system-provided
| ++
|
clippy:
src/riot-rs-macros/src/task.rs#L21
warning: doc list item without indentation
--> src/riot-rs-macros/src/task.rs:21:5
|
21 | /// `embassy_usb::Builder` through `Delegate::with()`, *before* it is built by the system.
| ^^^^^^^^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
21 | /// `embassy_usb::Builder` through `Delegate::with()`, *before* it is built by the system.
| ++
|
clippy:
src/riot-rs-embassy/src/gpio.rs#L432
warning: unreachable definition
--> src/riot-rs-embassy/src/gpio.rs:432:17
|
430 | let speed = <ArchSpeed as FromSpeed>::from(self.speed);
| ------------------------------------------ any code following this expression is unreachable
431 |
432 | let output =
| ^^^^^^ unreachable definition
|
note: this expression has type `arch::gpio::output::Speed`, which is uninhabited
--> src/riot-rs-embassy/src/gpio.rs:430:25
|
430 | let speed = <ArchSpeed as FromSpeed>::from(self.speed);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
clippy:
src/riot-rs-embassy/src/gpio.rs#L430
warning: unreachable definition
--> src/riot-rs-embassy/src/gpio.rs:430:17
|
428 | <ArchDriveStrength as FromDriveStrength>::from(self.drive_strength);
| ------------------------------------------------------------------- any code following this expression is unreachable
429 | // TODO: should we move this into `output::new()`s?
430 | let speed = <ArchSpeed as FromSpeed>::from(self.speed);
| ^^^^^ unreachable definition
|
note: this expression has type `arch::gpio::output::DriveStrength`, which is uninhabited
--> src/riot-rs-embassy/src/gpio.rs:428:17
|
428 | <ArchDriveStrength as FromDriveStrength>::from(self.drive_strength);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy:
src/riot-rs-embassy/src/gpio.rs#L427
warning: unused variable: `drive_strength`
--> src/riot-rs-embassy/src/gpio.rs:427:17
|
427 | let drive_strength =
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drive_strength`
|
= note: `#[warn(unused_variables)]` on by default
|
clippy:
src/riot-rs-embassy/src/gpio.rs#L430
warning: unused variable: `speed`
--> src/riot-rs-embassy/src/gpio.rs:430:17
|
430 | let speed = <ArchSpeed as FromSpeed>::from(self.speed);
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
|
Loading