Skip to content

Bump log from 0.4.22 to 0.4.25 (#302) #629

Bump log from 0.4.22 to 0.4.25 (#302)

Bump log from 0.4.22 to 0.4.25 (#302) #629

GitHub Actions / clippy succeeded Jan 14, 2025 in 0s

clippy

16 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 16
Note 0
Help 0

Versions

  • rustc 1.84.0 (9fc6b4312 2025-01-07)
  • cargo 1.84.0 (66221abde 2024-11-19)
  • clippy 0.1.84 (9fc6b43126 2025-01-07)

Annotations

Check warning on line 14 in bluez-async/src/serde_path.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

question mark operator is useless here

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

Check warning on line 18 in bluez-generated/src/profilemanager1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 13 in bluez-generated/src/networkserver1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 39 in bluez-generated/src/network1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 32 in bluez-generated/src/mediacontrol1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 45 in bluez-generated/src/media1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 48 in bluez-generated/src/leadvertisingmanager1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 16 in bluez-generated/src/healthmanager1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 42 in bluez-generated/src/gattservice1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 17 in bluez-generated/src/gattmanager1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 39 in bluez-generated/src/gattdescriptor1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 68 in bluez-generated/src/gattcharacteristic1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 149 in bluez-generated/src/device1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
    |

Check warning on line 27 in bluez-generated/src/battery1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 14 in bluez-generated/src/agentmanager1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
   |

Check warning on line 113 in bluez-generated/src/adapter1.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

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>
    |