Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/bootc_composefs/boot.rs:426:21: warning: useless conversion to the same type: `bootc_kernel_cmdline::utf8::Cmdline<'_>`
#      |
#  426 |                     Cmdline::from(options)
#      |                     ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `Cmdline::from()`: `options`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#useless_conversion
#      = note: `#[warn(clippy::useless_conversion)]` on by default

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/bootc_composefs/update.rs:100:5: warning: doc list item overindented
#      |
#  100 | ///    /run/composefs/staged-deployment which is the last thing we create while upgrading
#      |     ^^^ help: try using `  ` (2 spaces)
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_overindented_list_items
#      = note: `#[warn(clippy::doc_overindented_list_items)]` on by default

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/bootc_composefs/update.rs:105:5: warning: doc list item overindented
#      |
#  105 | ///    point
#      |     ^^^ help: try using `  ` (2 spaces)
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_overindented_list_items

Error: CLIPPY_WARNING: [#def4]
crates/lib/src/bootc_composefs/update.rs:110:5: warning: doc list item overindented
#      |
#  110 | ///    was created, or at any other point in time, or it's a new one.
#      |     ^^^ help: try using `  ` (2 spaces)
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_overindented_list_items

Error: CLIPPY_WARNING: [#def5]
crates/lib/src/bootc_composefs/update.rs:111:5: warning: doc list item overindented
#      |
#  111 | ///    Any which way, we can overwrite everything
#      |     ^^^ help: try using `  ` (2 spaces)
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_overindented_list_items

Error: CLIPPY_WARNING: [#def6]
crates/lib/src/bootc_kargs.rs:95:13: warning: returning the result of a `let` binding from a block
#     |
#  94 |             let existing_kargs = get_kargs_in_root(&root, std::env::consts::ARCH)?;
#     |             ----------------------------------------------------------------------- unnecessary `let` binding
#  95 |             existing_kargs
#     |             ^^^^^^^^^^^^^^
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#let_and_return
#     = note: `#[warn(clippy::let_and_return)]` on by default
#  help: return the expression directly
#     |
#  94 ~             
#  95 ~             get_kargs_in_root(&root, std::env::consts::ARCH)?
#     |

Scan Properties

analyzer-version-clippy1.91.1
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.91.1
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-160.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202511201954.gf49a6bac30-1
diffbase-store-results-to/tmp/tmpmyirsvos/bootc-202511201954.gf49a6bac30-1.tar.xz
diffbase-time-created2025-11-21 11:45:28
diffbase-time-finished2025-11-21 11:57:48
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpmyirsvos/bootc-202511201954.gf49a6bac30-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpmyirsvos/bootc-202511201954.gf49a6bac30-1.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-160.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202511211105.g2dd5e8a455-1
store-results-to/tmp/tmp7lsxyqm9/bootc-202511211105.g2dd5e8a455-1.tar.xz
time-created2025-11-21 11:58:06
time-finished2025-11-21 12:09:55
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp7lsxyqm9/bootc-202511211105.g2dd5e8a455-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp7lsxyqm9/bootc-202511211105.g2dd5e8a455-1.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9