Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/bootc_composefs/backwards_compat/bcompat_boot.rs:229:20: warning: useless conversion to the same type: `std::string::String`
#      |
#  229 |         fixed.push(digest.into());
#      |                    ^^^^^^^^^^^^^ help: consider removing `.into()`: `digest`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#useless_conversion
#      = note: `#[warn(clippy::useless_conversion)]` on by default

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/bootc_composefs/backwards_compat/bcompat_boot.rs:261:26: warning: useless use of `format!`
#      |
#  261 |         .with_context(|| format!("Failed to parse origin as ini"))?;
#      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Failed to parse origin as ini".to_string()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#useless_format
#      = note: `#[warn(clippy::useless_format)]` on by default

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/bootc_composefs/backwards_compat/bcompat_boot.rs:292:9: warning: returning the result of a `let` binding from a block
#      |
#  290 |         let uki_dir = esp.fd.open_dir(BOOTC_UKI_DIR).context("Opening UKI dir")?;
#      |         ------------------------------------------------------------------------- unnecessary `let` binding
#  291 |
#  292 |         uki_dir
#      |         ^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#let_and_return
#      = note: `#[warn(clippy::let_and_return)]` on by default
#  help: return the expression directly
#      |
#  290 ~         
#  291 |
#  292 ~         esp.fd.open_dir(BOOTC_UKI_DIR).context("Opening UKI dir")?
#      |

Scan Properties

analyzer-version-clippy1.94.1
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.94.1
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.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-15.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.20260320.200800.gd35503f.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202604070039.gf3d2d4e385-1
diffbase-store-results-to/tmp/tmp1d09ci11/bootc-202604070039.gf3d2d4e385-1.tar.xz
diffbase-time-created2026-04-07 10:27:06
diffbase-time-finished2026-04-07 10:50:28
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp1d09ci11/bootc-202604070039.gf3d2d4e385-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1d09ci11/bootc-202604070039.gf3d2d4e385-1.src.rpm'
diffbase-tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-15.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202604070946.gf6cd249bba-1
store-results-to/tmp/tmpofsp9yzc/bootc-202604070946.gf6cd249bba-1.tar.xz
time-created2026-04-07 10:50:45
time-finished2026-04-07 11:13:45
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpofsp9yzc/bootc-202604070946.gf6cd249bba-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpofsp9yzc/bootc-202604070946.gf6cd249bba-1.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9