Skip to content

i18n(pt-BR): Translation update (#478) #738

i18n(pt-BR): Translation update (#478)

i18n(pt-BR): Translation update (#478) #738

Triggered via push June 5, 2024 15:29
Status Success
Total duration 3m 17s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
this expression creates a reference which is immediately dereferenced by the compiler: cosmic-applet-audio/src/mpris_subscription.rs#L159
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-audio/src/mpris_subscription.rs:159:45 | 159 | players.sort_by(|a, b| a.name().cmp(&b.name())); | ^^^^^^^^^ help: change this to: `b.name()` | = 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#L183
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-audio/src/mpris_subscription.rs:183:50 | 183 | self.players.sort_by(|a, b| a.name().cmp(&b.name())); | ^^^^^^^^^ help: change this to: `b.name()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the following explicit lifetimes could be elided: 'a: cosmic-applet-audio/src/mpris_subscription.rs#L274
warning: the following explicit lifetimes could be elided: 'a --> cosmic-applet-audio/src/mpris_subscription.rs:274:22 | 274 | async fn find_active<'a>(players: &'a Vec<MprisPlayer>) -> Option<&'a MprisPlayer> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: cosmic-applet-audio/src/mpris_subscription.rs#L274
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> cosmic-applet-audio/src/mpris_subscription.rs:274:35 | 274 | async fn find_active<'a>(players: &'a Vec<MprisPlayer>) -> Option<&'a MprisPlayer> { | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `&'a [MprisPlayer]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default
unused import: `cosmic::Renderer`: cosmic-applet-power/src/lib.rs#L22
warning: unused import: `cosmic::Renderer` --> cosmic-applet-power/src/lib.rs:22:5 | 22 | use cosmic::Renderer; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
very complex type used. Consider factoring parts into `type` definitions: cosmic-applet-audio/src/pulse.rs#L27
warning: very complex type used. Consider factoring parts into `type` definitions --> cosmic-applet-audio/src/pulse.rs:27:24 | 27 | 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
variant `OpenSettings` is never constructed: cosmic-applet-network/src/app.rs#L191
warning: variant `OpenSettings` is never constructed --> cosmic-applet-network/src/app.rs:191:5 | 176 | pub(crate) enum Message { | ------- variant in this enum ... 191 | OpenSettings, | ^^^^^^^^^^^^ | = note: `Message` 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
non-binding `let` on a future: cosmic-applet-audio/src/lib.rs#L456
warning: non-binding `let` on a future --> cosmic-applet-audio/src/lib.rs:456:25 | 456 | / _ = tokio::spawn(async move { 457 | | tokio::time::sleep(tokio::time::Duration::from_secs(30)).await; 458 | | conn.send(pulse::Message::UpdateConnection); 459 | | }); | |__________________________^ | = help: consider awaiting the future or dropping explicitly with `std::mem::drop` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_future = note: `#[warn(clippy::let_underscore_future)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: cosmic-applet-network/src/network_manager/mod.rs#L470
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-network/src/network_manager/mod.rs:470:56 | 470 | let dummy = ActiveConnectionProxy::new(&conn, active_conn).await?; | ^^^^^ 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-network/src/network_manager/mod.rs#L471
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cosmic-applet-network/src/network_manager/mod.rs:471:61 | 471 | let active = ActiveConnectionProxy::builder(&conn) | ^^^^^ help: change this to: `conn` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow