cooling_device: add persistency #231
Annotations
4 errors and 9 warnings
mismatched types:
src/app/cooling_device.rs#L38
error[E0308]: mismatched types
--> src/app/cooling_device.rs:38:84
|
38 | if let Some(name) = is_system_fan(&device_path).map(|n| n.replace('-', ' ')) {
| ------- ^^^ expected `&str`, found `char`
| |
| arguments to this method are incorrect
|
note: method defined here
--> /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/alloc/src/str.rs:271:12
help: if you meant to write a string literal, use double quotes
|
38 | if let Some(name) = is_system_fan(&device_path).map(|n| n.replace('-', " ")) {
| ~ ~
|
cargo-clippy
Clippy had exited with the 101 exit code
|
cargo-test:
src/app/cooling_device.rs#L38
mismatched types
|
cargo-test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
cargo-deny
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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-clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|