disable serial workers for now #205
Annotations
7 errors and 16 warnings
associated items `new` and `run` are never used:
src/serial_service/serial_handler.rs#L59
error: associated items `new` and `run` are never used
--> src/serial_service/serial_handler.rs:59:12
|
58 | impl Handler {
| ------------ associated items in this implementation
59 | pub fn new(
| ^^^
...
159 | pub fn run(&mut self) -> Result<(), SerialError> {
| ^^^
|
fields `baud_rate`, `data_bits`, `parity`, `stop_bits`, and `path` are never read:
src/serial_service/serial_handler.rs#L48
error: fields `baud_rate`, `data_bits`, `parity`, `stop_bits`, and `path` are never read
--> src/serial_service/serial_handler.rs:48:5
|
46 | pub struct Handler {
| ------- fields in this struct
47 | node: usize,
48 | baud_rate: u32,
| ^^^^^^^^^
49 | data_bits: DataBits,
| ^^^^^^^^^
50 | parity: Parity,
| ^^^^^^
51 | stop_bits: StopBits,
| ^^^^^^^^^
52 | path: &'static str,
| ^^^^
|
= note: `Handler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
associated function `new` is never used:
src/serial_service/serial.rs#L29
error: associated function `new` is never used
--> src/serial_service/serial.rs:29:12
|
28 | impl SerialConnections {
| ---------------------- associated function in this implementation
29 | pub fn new() -> Self {
| ^^^
|
function `serial_config` is never used:
src/serial_service.rs#L33
error: function `serial_config` is never used
--> src/serial_service.rs:33:8
|
33 | pub fn serial_config(cfg: &mut web::ServiceConfig) {
| ^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
unused import: `crate::serial_service::serial_config`:
src/main.rs#L28
error: unused import: `crate::serial_service::serial_config`
--> src/main.rs:28:5
|
28 | use crate::serial_service::serial_config;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::serial_service::serial::SerialConnections`:
src/main.rs#L27
error: unused import: `crate::serial_service::serial::SerialConnections`
--> src/main.rs:27:5
|
27 | use crate::serial_service::serial::SerialConnections;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
cargo-clippy
Clippy had exited with the 101 exit code
|
cargo-deny
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cargo-clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cargo-clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
cargo-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cargo-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
cargo-test:
src/main.rs#L27
unused import: `crate::serial_service::serial::SerialConnections`
|
cargo-test:
src/main.rs#L28
unused import: `crate::serial_service::serial_config`
|
cargo-test:
src/serial_service.rs#L33
function `serial_config` is never used
|
cargo-test:
src/serial_service/serial.rs#L29
associated function `new` is never used
|
cargo-test:
src/serial_service/serial_handler.rs#L48
fields `baud_rate`, `data_bits`, `parity`, `stop_bits`, and `path` are never read
|
cargo-test:
src/serial_service/serial_handler.rs#L59
associated items `new` and `run` are never used
|
cargo-test
`bmcd` (bin "bmcd" test) generated 6 warnings (run `cargo fix --bin "bmcd" --tests` to apply 2 suggestions)
|
cargo-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
cargo-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
cargo-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
cargo-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|