Skip to content

Add serial support. #365

Add serial support.

Add serial support. #365

Triggered via pull request February 2, 2025 03:56
Status Failure
Total duration 1m 36s
Artifacts

lints.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
can't find crate for `core`: home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ufmt-write-0.1.0/src/lib.rs#L1
error[E0463]: can't find crate for `core` | = note: the `thumbv7em-none-eabihf` target may not be installed = help: consider downloading the target with `rustup target add thumbv7em-none-eabihf`
crates / Clippy (beta)
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
crates / Clippy (beta)
{ "rendered": "For more information about this error, try `rustc --explain E0463`.\n", "$message_type": "diagnostic", "children": [], "code": null, "level": "failure-note", "message": "For more information about this error, try `rustc --explain E0463`.", "spans": [] }
the following explicit lifetimes could be elided: 'data: tools/src/bin/fap-lld/main.rs#L84
error: the following explicit lifetimes could be elided: 'data --> src/bin/fap-lld/fastrel.rs:84:6 | 84 | impl<'data> FastRel<'data> { | ^^^^^ ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 84 - impl<'data> FastRel<'data> { 84 + impl FastRel<'_> { |
unused import: `info`: crates/flipperzero/src/lib.rs#L9
error: unused import: `info` --> flipperzero/src/serial.rs:9:26 | 9 | use crate::{debug, furi, info, trace, warn}; | ^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
you should consider adding a `Default` implementation for `EventFlag`: crates/flipperzero/src/lib.rs#L15
error: you should consider adding a `Default` implementation for `EventFlag` --> flipperzero/src/furi/event_flag.rs:15:5 | 15 | / pub fn new() -> Self { 16 | | Self { 17 | | // SAFETY: Alloc always returns valid non-null pointer or triggers `furi_crash`. 18 | | raw: unsafe { NonNull::new_unchecked(sys::furi_event_flag_alloc()) }, 19 | | } 20 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `-D clippy::new-without-default` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::new_without_default)]` help: try adding this | 14 + impl Default for EventFlag { 15 + fn default() -> Self { 16 + Self::new() 17 + } 18 + } |
aborting due to 2 previous errors
error: aborting due to 2 previous errors
crates / Intra-doc links
Process completed with exit code 101.
crates / Clippy (beta)
The `warn` input is deprecated in v1.4 and can be used within the `check-args` input
tools / Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
crates / Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
tools / Clippy (beta)
The `warn` input is deprecated in v1.4 and can be used within the `check-args` input
the following explicit lifetimes could be elided: 'data: tools/src/bin/fap-lld/main.rs#L84
warning: the following explicit lifetimes could be elided: 'data --> src/bin/fap-lld/fastrel.rs:84:6 | 84 | impl<'data> FastRel<'data> { | ^^^^^ ^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-W clippy::needless-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 84 - impl<'data> FastRel<'data> { 84 + impl FastRel<'_> { |