Skip to content

Merge pull request #295 from bluez-rs/pair #614

Merge pull request #295 from bluez-rs/pair

Merge pull request #295 from bluez-rs/pair #614

Triggered via push January 6, 2025 18:01
Status Success
Total duration 19s
Artifacts

lint.yml

on: push
Check that generated files haven't been modified
8s
Check that generated files haven't been modified
Format
8s
Format
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
Check that generated files haven't been modified
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
question mark operator is useless here: bluez-async/src/serde_path.rs#L14
warning: question mark operator is useless here --> bluez-async/src/serde_path.rs:14:5 | 14 | Ok(Path::new(string).map_err(|e| D::Error::custom(format!("Invalid D-Bus path: {:?}", e)))?) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing question mark and `Ok()`: `Path::new(string).map_err(|e| D::Error::custom(format!("Invalid D-Bus path: {:?}", e)))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark = note: `#[warn(clippy::needless_question_mark)]` on by default
the following explicit lifetimes could be elided: 'a: bluez-generated/src/profilemanager1.rs#L18
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/profilemanager1.rs:18:6 | 18 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezProfileManager1 | ^^ 19 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 18 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezProfileManager1 19 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/networkserver1.rs#L13
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/networkserver1.rs:13:6 | 13 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezNetworkServer1 | ^^ 14 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 13 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezNetworkServer1 14 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/network1.rs#L39
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/network1.rs:39:6 | 39 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezNetwork1 | ^^ 40 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezNetwork1 40 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/mediacontrol1.rs#L32
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/mediacontrol1.rs:32:6 | 32 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezMediaControl1 | ^^ 33 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 32 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezMediaControl1 33 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/media1.rs#L45
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/media1.rs:45:6 | 45 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezMedia1 | ^^ 46 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 45 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezMedia1 46 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/leadvertisingmanager1.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/leadvertisingmanager1.rs:48:6 | 48 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezLEAdvertisingManager1 | ^^ 49 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezLEAdvertisingManager1 49 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/healthmanager1.rs#L16
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/healthmanager1.rs:16:6 | 16 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezHealthManager1 | ^^ 17 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 16 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezHealthManager1 17 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/gattservice1.rs#L42
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/gattservice1.rs:42:6 | 42 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattService1 | ^^ 43 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 42 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattService1 43 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/gattmanager1.rs#L17
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/gattmanager1.rs:17:6 | 17 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattManager1 | ^^ 18 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 17 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattManager1 18 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/gattdescriptor1.rs#L39
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/gattdescriptor1.rs:39:6 | 39 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattDescriptor1 | ^^ 40 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattDescriptor1 40 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/gattcharacteristic1.rs#L68
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/gattcharacteristic1.rs:68:6 | 68 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattCharacteristic1 | ^^ 69 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 68 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezGattCharacteristic1 69 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/device1.rs#L149
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/device1.rs:149:6 | 149 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezDevice1 | ^^ 150 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 149 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezDevice1 150 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/battery1.rs#L27
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/battery1.rs:27:6 | 27 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezBattery1 | ^^ 28 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 27 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezBattery1 28 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/agentmanager1.rs#L14
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/agentmanager1.rs:14:6 | 14 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezAgentManager1 | ^^ 15 | for nonblock::Proxy<'a, C> | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 14 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezAgentManager1 15 ~ for nonblock::Proxy<'_, C> |
the following explicit lifetimes could be elided: 'a: bluez-generated/src/adapter1.rs#L113
warning: the following explicit lifetimes could be elided: 'a --> bluez-generated/src/adapter1.rs:113:6 | 113 | impl<'a, T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezAdapter1 | ^^ 114 | for nonblock::Proxy<'a, C> | ^^ | = 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 help: elide the lifetimes | 113 ~ impl<T: nonblock::NonblockReply, C: ::std::ops::Deref<Target = T>> OrgBluezAdapter1 114 ~ for nonblock::Proxy<'_, C> |