Task #88736 - added.err

back to task #88736
download
Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/status.rs:417:5: warning: unneeded `return` statement
#      |
#  417 |     return true;
#      |     ^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_return
#  help: remove `return`
#      |
#  417 -     return true;
#  417 +     true
#      |

Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/status.rs:434:43: warning: deref which would be done by auto-deref
#      |
#  434 |     let booted_bls_entry = find_bls_entry(&*booted_cmdline.digest, &bls_entries)?
#      |                                           ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&booted_cmdline.digest`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#explicit_auto_deref
#      = note: `#[warn(clippy::explicit_auto_deref)]` on by default

Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/status.rs:473:8: warning: needless call to `as_bytes`
#      |
#  473 |     if depl_cmdline.as_bytes().len() != booted_cmdline.as_bytes().len() {
#      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `depl_cmdline.len()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_as_bytes
#      = note: `#[warn(clippy::needless_as_bytes)]` on by default

Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/status.rs:473:41: warning: needless call to `as_bytes`
#      |
#  473 |     if depl_cmdline.as_bytes().len() != booted_cmdline.as_bytes().len() {
#      |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `booted_cmdline.len()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_as_bytes

Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/status.rs:478:5: warning: unneeded `return` statement
#      |
#  478 | /     return compare_cmdline_skip_cfs(depl_cmdline, booted_cmdline)
#  479 | |         && compare_cmdline_skip_cfs(booted_cmdline, depl_cmdline);
#      | |_________________________________________________________________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_return
#  help: remove `return`
#      |
#  478 ~     compare_cmdline_skip_cfs(depl_cmdline, booted_cmdline)
#  479 ~         && compare_cmdline_skip_cfs(booted_cmdline, depl_cmdline)
#      |