Skip to content

Merge pull request #405 from JakeStanger/feat/dpms-support

Sign in for the full log view
GitHub Actions / clippy succeeded Jan 13, 2024 in 0s

clippy

7 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 7
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check warning on line 116 in src/modules/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated function `new` is never used

warning: associated function `new` is never used
   --> src/modules/mod.rs:116:8
    |
115 | impl<W: IsA<Widget>> ModuleParts<W> {
    | ----------------------------------- associated function in this implementation
116 |     fn new(widget: W, popup: Option<ModulePopupParts>) -> Self {
    |        ^^^

Check warning on line 12 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `ERR_WAYLAND_DATA` is never used

warning: constant `ERR_WAYLAND_DATA` is never used
  --> src/error.rs:12:11
   |
12 | pub const ERR_WAYLAND_DATA: &str = "Failed to get data for Wayland object";
   |           ^^^^^^^^^^^^^^^^

Check warning on line 183 in src/clients/wayland/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

fields `queue_handle` and `loop_handle` are never read

warning: fields `queue_handle` and `loop_handle` are never read
   --> src/clients/wayland/mod.rs:183:5
    |
178 | pub struct Environment {
    |            ----------- fields in this struct
...
183 |     queue_handle: QueueHandle<Self>,
    |     ^^^^^^^^^^^^
184 |     loop_handle: LoopHandle<'static, Self>,
    |     ^^^^^^^^^^^
    |
    = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
    = note: `#[warn(dead_code)]` on by default

Check warning on line 274 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variable does not need to be mutable

warning: variable does not need to be mutable
   --> src/main.rs:274:9
    |
274 |     let mut config = env::var("IRONBAR_CONFIG")
    |         ----^^^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

Check warning on line 54 in src/clients/wayland/wl_seat.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `seat`

warning: unused variable: `seat`
  --> src/clients/wayland/wl_seat.rs:54:9
   |
54 |         seat: WlSeat,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_seat`

Check warning on line 27 in src/clients/wayland/wl_seat.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `seat`

warning: unused variable: `seat`
  --> src/clients/wayland/wl_seat.rs:27:9
   |
27 |         seat: WlSeat,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_seat`

Check warning on line 26 in src/clients/wayland/wl_seat.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `qh`

warning: unused variable: `qh`
  --> src/clients/wayland/wl_seat.rs:26:9
   |
26 |         qh: &QueueHandle<Self>,
   |         ^^ help: if this is intentional, prefix it with an underscore: `_qh`
   |
   = note: `#[warn(unused_variables)]` on by default