Skip to content

chore: update libcosmic with icon fixes #116

chore: update libcosmic with icon fixes

chore: update libcosmic with icon fixes #116

Triggered via push January 24, 2024 18:52
Status Success
Total duration 2m 30s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
field `icon` is never read: cosmic-panel-button/src/main.rs#L9
warning: field `icon` is never read --> cosmic-panel-button/src/main.rs:9:5 | 7 | struct Desktop { | ------- field in this struct 8 | name: String, 9 | icon: Option<String>, | ^^^^ | = note: `Desktop` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
unused import: `self`: cosmic-app-list/src/app.rs#L14
warning: unused import: `self` --> cosmic-app-list/src/app.rs:14:29 | 14 | use cosmic::cosmic_config::{self, Config, CosmicConfigEntry}; | ^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `cosmic::iced_core::window::Icon`: cosmic-app-list/src/app.rs#L27
warning: unused import: `cosmic::iced_core::window::Icon` --> cosmic-app-list/src/app.rs:27:5 | 27 | use cosmic::iced_core::window::Icon; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `std::borrow::Cow`: cosmic-app-list/src/app.rs#L55
warning: unused import: `std::borrow::Cow` --> cosmic-app-list/src/app.rs:55:5 | 55 | use std::borrow::Cow; | ^^^^^^^^^^^^^^^^
unused imports: `hash::Hash`, `thread::JoinHandle`: cosmic-app-list/src/wayland_subscription.rs#L15
warning: unused imports: `hash::Hash`, `thread::JoinHandle` --> cosmic-app-list/src/wayland_subscription.rs:15:23 | 15 | use std::{fmt::Debug, hash::Hash, thread::JoinHandle}; | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^
variant `Exit` is never constructed: cosmic-app-list/src/wayland_subscription.rs#L102
warning: variant `Exit` is never constructed --> cosmic-app-list/src/wayland_subscription.rs:102:5 | 99 | pub enum ToplevelRequest { | --------------- variant in this enum ... 102 | Exit, | ^^^^ | = note: `ToplevelRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: cosmic-applet-audio/src/mpris_subscription.rs#L168
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-audio/src/mpris_subscription.rs:168:81 | 168 | let media_players = mpris2_zbus::media_player::MediaPlayer::new_all(&conn) | ^^^^^ help: change this to: `conn` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: cosmic-applet-audio/src/mpris_subscription.rs#L227
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-audio/src/mpris_subscription.rs:227:87 | 227 | let players = mpris2_zbus::media_player::MediaPlayer::new_all(&conn) | ^^^^^ help: change this to: `conn` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: cosmic-applet-audio/src/mpris_subscription.rs#L253
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-audio/src/mpris_subscription.rs:253:15 | 253 | a.cmp(&b) | ^^ help: change this to: `b` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
very complex type used. Consider factoring parts into `type` definitions: cosmic-applet-audio/src/pulse.rs#L22
warning: very complex type used. Consider factoring parts into `type` definitions --> cosmic-applet-audio/src/pulse.rs:22:24 | 22 | pub static FROM_PULSE: Lazy<Mutex<Option<(mpsc::Receiver<Message>, mpsc::Sender<Message>)>>> = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default