Merge pull request #332 from JakeStanger/dependabot/cargo/serde-1.0.189 #635
Annotations
11 warnings
use of `or_insert_with` to construct default value:
src/desktop_file.rs#L183
warning: use of `or_insert_with` to construct default value
--> src/desktop_file.rs:183:18
|
183 | .or_insert_with(Vec::new)
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
associated function `new` is never used:
src/modules/mod.rs#L88
warning: associated function `new` is never used
--> src/modules/mod.rs:88:8
|
87 | impl<W: IsA<Widget>> ModuleParts<W> {
| ----------------------------------- associated function in this implementation
88 | fn new(widget: W, popup: Option<ModulePopupParts>) -> Self {
| ^^^
|
constant `ERR_WAYLAND_DATA` is never used:
src/error.rs#L14
warning: constant `ERR_WAYLAND_DATA` is never used
--> src/error.rs:14:11
|
14 | pub const ERR_WAYLAND_DATA: &str = "Failed to get data for Wayland object";
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
src/main.rs#L170
warning: variable does not need to be mutable
--> src/main.rs:170:9
|
170 | let mut config = env::var("IRONBAR_CONFIG")
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused variable: `qh`:
src/clients/wayland/wl_seat.rs#L20
warning: unused variable: `qh`
--> src/clients/wayland/wl_seat.rs:20:9
|
20 | qh: &QueueHandle<Self>,
| ^^ help: if this is intentional, prefix it with an underscore: `_qh`
|
= note: `#[warn(unused_variables)]` on by default
|
use of `or_insert_with` to construct default value:
src/desktop_file.rs#L183
warning: use of `or_insert_with` to construct default value
--> src/desktop_file.rs:183:18
|
183 | .or_insert_with(Vec::new)
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@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/
|
build
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/
|
build
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/
|
build
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/
|
build
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/
|