Skip to content

fix: set correct version in rust-toolchain #112

fix: set correct version in rust-toolchain

fix: set correct version in rust-toolchain #112

Triggered via push September 16, 2024 19:16
Status Failure
Total duration 1m 32s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
struct `State` is never constructed: src/bin/zjstatus.rs#L23
error: struct `State` is never constructed --> src/bin/zjstatus.rs:23:8 | 23 | struct State { | ^^^^^ | = note: `State` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
function `init_tracing` is never used: src/bin/zjstatus.rs#L37
error: function `init_tracing` is never used --> src/bin/zjstatus.rs:37:4 | 37 | fn init_tracing() { | ^^^^^^^^^^^^
method `handle_event` is never used: src/bin/zjstatus.rs#L175
error: method `handle_event` is never used --> src/bin/zjstatus.rs:175:8 | 174 | impl State { | ---------- method in this implementation 175 | fn handle_event(&mut self, event: Event) -> bool { | ^^^^^^^^^^^^
function `register_widgets` is never used: src/bin/zjstatus.rs#L290
error: function `register_widgets` is never used --> src/bin/zjstatus.rs:290:4 | 290 | fn register_widgets(configuration: &BTreeMap<String, String>) -> BTreeMap<String, Arc<dyn Widget>> { | ^^^^^^^^^^^^^^^^
clippy_check
Clippy has exited with exit code 101