Snippets for cosmic-osd 1.12.0 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/cosmic-osd/1.12.0/1.fc46/data/logs/ppc64le/build.log.
-
warning: use of deprecated type alias `zbus::zvariant::ObjectPath`: use `zbus::ObjectPath` instead --> src/session_manager.rs:103:48 | 103 | fn client_added(&self, id: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>; | ^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default -
warning: use of deprecated type alias `zbus::zvariant::ObjectPath`: use `zbus::ObjectPath` instead --> src/session_manager.rs:107:50 | 107 | fn client_removed(&self, id: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>; | ^^^^^^^^^^ -
warning: use of deprecated type alias `zbus::zvariant::ObjectPath`: use `zbus::ObjectPath` instead --> src/session_manager.rs:111:51 | 111 | fn inhibitor_added(&self, id: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>; | ^^^^^^^^^^ -
warning: use of deprecated type alias `zbus::zvariant::ObjectPath`: use `zbus::ObjectPath` instead --> src/session_manager.rs:115:53 | 115 | fn inhibitor_removed(&self, id: zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>; | ^^^^^^^^^^ -
warning: use of deprecated type alias `zbus::zvariant::OwnedObjectPath`: use `zbus::OwnedObjectPath` instead --> src/session_manager.rs:35:63 | 35 | fn get_clients(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>; | ^^^^^^^^^^^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::OwnedObjectPath`: use `zbus::OwnedObjectPath` instead --> src/session_manager.rs:38:66 | 38 | fn get_inhibitors(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>; | ^^^^^^^^^^^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::OwnedObjectPath`: use `zbus::OwnedObjectPath` instead --> src/session_manager.rs:78:39 | 78 | ) -> zbus::Result<zbus::zvariant::OwnedObjectPath>; | ^^^^^^^^^^^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::ObjectPath`: use `zbus::ObjectPath` instead --> src/session_manager.rs:99:61 | 99 | fn unregister_client(&self, client_id: &zbus::zvariant::ObjectPath<'_>) -> zbus::Result<()>; | ^^^^^^^^^^
-
warning: use of deprecated module `zbus::zvariant`: zvariant was merged into zbus; use `zbus` for types, `zbus::wire` for codecs --> src/subscriptions/polkit_agent.rs:10:11 | 10 | use zbus::zvariant; | ^^^^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::Value`: use `zbus::Variant` instead --> src/subscriptions/polkit_agent.rs:72:49 | 72 | subject_details: HashMap<&'a str, zvariant::Value<'a>>, | ^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::Value`: use `zbus::Variant` instead --> src/subscriptions/polkit_agent.rs:83:50 | 83 | identity_details: HashMap<&'a str, zvariant::Value<'a>>, | ^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::Value`: use `zbus::Variant` instead --> src/subscriptions/polkit_agent.rs:170:35 | 170 | && let Some(zvariant::Value::U32(uid)) = ident.identity_details.get("uid") | ^^^^^ -
warning: use of deprecated type alias `zbus::zvariant::Signature`: use `zbus::Signature` instead --> src/subscriptions/polkit_agent.rs:76:41 | 76 | const SIGNATURE: &'static zvariant::Signature = | ^^^^^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::Value`: use `zbus::Variant` instead --> src/subscriptions/polkit_agent.rs:77:45 | 77 | <(String, HashMap<String, zvariant::Value>)>::SIGNATURE; | ^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::Signature`: use `zbus::Signature` instead --> src/subscriptions/polkit_agent.rs:87:41 | 87 | const SIGNATURE: &'static zvariant::Signature = | ^^^^^^^^^
-
warning: use of deprecated type alias `zbus::zvariant::Value`: use `zbus::Variant` instead --> src/subscriptions/polkit_agent.rs:88:45 | 88 | <(String, HashMap<String, zvariant::Value>)>::SIGNATURE; | ^^^^^
-
warning: variable does not need to be mutable --> src/components/polkit_dialog.rs:204:13 | 204 | let mut cancel_button = widget::button::standard(&self.msg_cancel).on_press(Msg::Cancel); | ----^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default -
warning: fields `action_id` and `details` are never read --> src/components/polkit_dialog.rs:27:9 | 25 | pub struct Params { | ------ fields in this struct 26 | pub pw_name: String, 27 | pub action_id: String, | ^^^^^^^^^