Skip to content

Bump openssl from 0.10.55 to 0.10.60 #117

Bump openssl from 0.10.55 to 0.10.60

Bump openssl from 0.10.55 to 0.10.60 #117

GitHub Actions / clippy succeeded Nov 28, 2023 in 0s

clippy

26 warnings

Details

Results

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

Versions

  • rustc 1.75.0-beta.3 (b66b7951b 2023-11-20)
  • cargo 1.75.0-beta.3 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (b66b795 2023-11-20)

Annotations

Check warning on line 41 in src/extensions/metadata.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
  --> src/extensions/metadata.rs:41:49
   |
41 |                 .map(|v| validate_str(synopsis, &format!("value#{}", item_index + 1), v.as_str()))
   |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("value#{}", item_index + 1)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args

Check warning on line 36 in src/extensions/metadata.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits
  --> src/extensions/metadata.rs:36:17
   |
36 |                 &format!("entry#{}", item_index + 1),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("entry#{}", item_index + 1)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
   = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default

Check warning on line 35 in src/extensions/list_status.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
  --> src/extensions/list_status.rs:35:40
   |
35 |                 let mut lines: &[u8] = &input;
   |                                        ^^^^^^ help: change this to: `input`
   |
   = 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

Check warning on line 18 in src/extensions/list_status.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
  --> src/extensions/list_status.rs:18:1
   |
18 | #[self_referencing]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
   = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 263 in src/extensions/idle.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the impl

warning: this lifetime isn't used in the impl
   --> src/extensions/idle.rs:263:6
    |
263 | impl<'a> SetReadTimeout for TlsStream<TcpStream> {
    |      ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes

Check warning on line 256 in src/extensions/idle.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the impl

warning: this lifetime isn't used in the impl
   --> src/extensions/idle.rs:256:6
    |
256 | impl<'a> SetReadTimeout for TcpStream {
    |      ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes

Check warning on line 250 in src/extensions/idle.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the impl

warning: this lifetime isn't used in the impl
   --> src/extensions/idle.rs:250:6
    |
250 | impl<'a> SetReadTimeout for Connection {
    |      ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
    = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default

Check warning on line 246 in src/types/quota.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref on an immutable reference

warning: deref on an immutable reference
   --> src/types/quota.rs:246:22
    |
246 |             .map(|e| &*e.as_ref())
    |                      ^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `e.as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
    = note: `#[warn(clippy::borrow_deref_ref)]` on by default

Check warning on line 237 in src/types/quota.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/types/quota.rs:237:9
    |
237 |         &*self.borrow_inner().quota_root.mailbox_name
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&self.borrow_inner().quota_root.mailbox_name`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 179 in src/types/quota.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
   --> src/types/quota.rs:179:1
    |
179 | #[self_referencing]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
    = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 96 in src/types/quota.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
  --> src/types/quota.rs:96:1
   |
96 | #[self_referencing]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
   = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 321 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/types/acls.rs:321:9
    |
321 |         &*self.mailbox
    |         ^^^^^^^^^^^^^^ help: try: `&self.mailbox`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 271 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
   --> src/types/acls.rs:271:1
    |
271 | #[self_referencing]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
    = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 252 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/types/acls.rs:252:9
    |
252 |         &*self.identifier
    |         ^^^^^^^^^^^^^^^^^ help: try: `&self.identifier`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 247 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/types/acls.rs:247:9
    |
247 |         &*self.mailbox
    |         ^^^^^^^^^^^^^^ help: try: `&self.mailbox`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 191 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
   --> src/types/acls.rs:191:1
    |
191 | #[self_referencing]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
    = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 170 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/types/acls.rs:170:9
    |
170 |         &*self.acls
    |         ^^^^^^^^^^^ help: try: `&self.acls`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 165 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/types/acls.rs:165:9
    |
165 |         &*self.mailbox
    |         ^^^^^^^^^^^^^^ help: try: `&self.mailbox`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 108 in src/types/acls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
   --> src/types/acls.rs:108:1
    |
108 | #[self_referencing]
    | ^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
    = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 67 in src/types/capabilities.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
  --> src/types/capabilities.rs:67:16
   |
67 |     pub fn has<'a>(&self, cap: &Capability<'a>) -> bool {
   |                ^^                          ^^
   |
   = 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
   |
67 -     pub fn has<'a>(&self, cap: &Capability<'a>) -> bool {
67 +     pub fn has(&self, cap: &Capability<'_>) -> bool {
   |

Check warning on line 38 in src/types/capabilities.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
  --> src/types/capabilities.rs:38:1
   |
38 | #[self_referencing]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
   = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 95 in src/types/name.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
  --> src/types/name.rs:95:9
   |
95 |         &*self.name
   |         ^^^^^^^^^^^ help: try: `&self.name`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
   = note: `#[warn(clippy::explicit_auto_deref)]` on by default

Check warning on line 11 in src/types/name.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
  --> src/types/name.rs:11:1
   |
11 | #[self_referencing]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
   = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 19 in src/types/fetch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute from a reference to a pointer

warning: transmute from a reference to a pointer
  --> src/types/fetch.rs:19:1
   |
19 | #[self_referencing]
   | ^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
   = note: `#[warn(clippy::useless_transmute)]` on by default
   = note: this warning originates in the attribute macro `self_referencing` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 76 in src/types/deleted.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant field names in struct initialization

warning: redundant field names in struct initialization
  --> src/types/deleted.rs:76:13
   |
76 |             mod_seq: mod_seq,
   |             ^^^^^^^^^^^^^^^^ help: replace it with: `mod_seq`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names