Skip to content

Bluetooth APIs #161

Bluetooth APIs

Bluetooth APIs #161

Triggered via pull request April 2, 2024 01:05
@str4dstr4d
synchronize #139
str4d:bluetooth
Status Failure
Total duration 1m 6s
Artifacts

lints.yml

on: pull_request
crates  /  Clippy (MSRV)
29s
crates / Clippy (MSRV)
crates  /  Clippy (beta)
17s
crates / Clippy (beta)
crates  /  Intra-doc links
41s
crates / Intra-doc links
crates  /  Rustfmt
20s
crates / Rustfmt
tools  /  Clippy (MSRV)
25s
tools / Clippy (MSRV)
tools  /  Clippy (beta)
39s
tools / Clippy (beta)
tools  /  Intra-doc links
56s
tools / Intra-doc links
tools  /  Rustfmt
10s
tools / Rustfmt
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 15 warnings
file opened with `create`, but `truncate` behavior not defined: tools/src/lib.rs#L136
error: file opened with `create`, but `truncate` behavior not defined --> src/storage.rs:136:14 | 136 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `-D clippy::suspicious-open-options` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::suspicious_open_options)]`
aborting due to 1 previous error
error: aborting due to 1 previous error
unused variable: `error`: crates/flipperzero/src/lib.rs#L33
error: unused variable: `error` --> flipperzero/src/furi/log/mod.rs:33:25 | 33 | Err(error) => panic!("target contains NULs"), | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` | ::: flipperzero/src/bluetooth/test_patterns.rs:85:9 | 85 | info!("Sent {} packets", sent_count); | ------------------------------------ in this macro invocation | = note: `-D unused-variables` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_variables)]` = note: this error originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
unused variable: `error`: crates/flipperzero/src/lib.rs#L33
error: unused variable: `error` --> flipperzero/src/furi/log/mod.rs:33:25 | 33 | Err(error) => panic!("target contains NULs"), | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` | ::: flipperzero/src/bluetooth/test_patterns.rs:134:9 | 134 | info!("Received {} packets", received_count); | -------------------------------------------- in this macro invocation | = note: this error originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
unused variable: `error`: crates/flipperzero/src/lib.rs#L33
error: unused variable: `error` --> flipperzero/src/furi/log/mod.rs:33:25 | 33 | Err(error) => panic!("target contains NULs"), | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` | ::: flipperzero/src/bluetooth/mod.rs:38:13 | 38 | error!("Failed to restore default Bluetooth profile"); | ----------------------------------------------------- in this macro invocation | = note: this error originates in the macro `$crate::log` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
aborting due to 3 previous errors
error: aborting due to 3 previous errors
crates / Clippy (beta)
clippy-action doesn't have permissions to view Check Runs, disabling!
crates / Clippy (beta)
Resource not accessible by integration
tools / Clippy (MSRV)
clippy-action doesn't have permissions to view Check Runs, disabling!
tools / Clippy (MSRV)
Resource not accessible by integration
crates / Clippy (MSRV)
clippy-action doesn't have permissions to view Check Runs, disabling!
crates / Clippy (MSRV)
Resource not accessible by integration
tools / Clippy (beta)
clippy-action doesn't have permissions to view Check Runs, disabling!
tools / Clippy (beta)
Resource not accessible by integration
file opened with `create`, but `truncate` behavior not defined: tools/src/lib.rs#L136
warning: file opened with `create`, but `truncate` behavior not defined --> src/storage.rs:136:14 | 136 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
1 warning emitted
warning: 1 warning emitted
field `0` is never read: tools/src/bin/fap-lld/main.rs#L14
warning: field `0` is never read --> src/bin/fap-lld/main.rs:14:8 | 14 | Io(io::Error), | -- ^^^^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 14 | Io(()), | ~~
field `0` is never read: tools/src/bin/fap-lld/main.rs#L15
warning: field `0` is never read --> src/bin/fap-lld/main.rs:15:11 | 15 | Parse(ParseError), | ----- ^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 15 | Parse(()), | ~~
2 warnings emitted
warning: 2 warnings emitted
the item `clap` is imported redundantly: tools/src/bin/generate-bindings.rs#L10
warning: the item `clap` is imported redundantly --> src/bin/generate-bindings.rs:10:12 | 10 | use clap::{self, crate_authors, crate_description, crate_version, value_parser}; | ^^^^ the item `clap` is already defined by prelude | = note: `#[warn(unused_imports)]` on by default
1 warning emitted
warning: 1 warning emitted