Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/bootc_composefs/gc.rs:234:14: warning: using `contains()` instead of `iter().any()` is more efficient
#      |
#  234 |               !bootloader_entries
#      |  ______________^
#  235 | |                 .iter()
#  236 | |                 .any(|boot_entry| bin_path.1 == *boot_entry)
#      | |____________________________________________________________^ help: try: `bootloader_entries.contains(&bin_path.1)`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#manual_contains
#      = note: `#[warn(clippy::manual_contains)]` on by default

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/bootc_composefs/gc.rs:244:10: warning: called `is_some()` after searching an `Iterator` with `find`
#      |
#  244 |           .find(|be| be.1 == booted_cfs_status.verity)
#      |  __________^
#  245 | |         .is_some()
#      | |__________________^ help: consider using: `any(|be| be.1 == booted_cfs_status.verity)`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#search_is_some
#      = note: `#[warn(clippy::search_is_some)]` on by default

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/store/mod.rs:393:17: warning: returning the result of a `let` binding from a block
#      |
#  389 | /                 let boot_dir = boot_dir
#  390 | |                     .open_dir(EFI_LINUX)
#  391 | |                     .with_context(|| format!("Opening {EFI_LINUX}"))?;
#      | |______________________________________________________________________- unnecessary `let` binding
#  392 |
#  393 |                   boot_dir
#      |                   ^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#let_and_return
#  help: return the expression directly
#      |
#  389 ~                 
#  390 |
#  391 ~                 boot_dir
#  392 +                     .open_dir(EFI_LINUX)
#  393 +                     .with_context(|| format!("Opening {EFI_LINUX}"))?
#      |

Scan Properties

analyzer-version-clippy1.93.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.93.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-33.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.20260308.181716.g94c371b.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202603070016.g86ba489d53-1
diffbase-store-results-to/tmp/tmp7jut5jro/bootc-202603070016.g86ba489d53-1.tar.xz
diffbase-time-created2026-03-09 11:27:39
diffbase-time-finished2026-03-09 11:49:59
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmp7jut5jro/bootc-202603070016.g86ba489d53-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp7jut5jro/bootc-202603070016.g86ba489d53-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-33.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260308.181716.g94c371b.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202603091046.ga27676d4fa-1
store-results-to/tmp/tmpxr564nb2/bootc-202603091046.ga27676d4fa-1.tar.xz
time-created2026-03-09 11:50:25
time-finished2026-03-09 12:12:05
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpxr564nb2/bootc-202603091046.ga27676d4fa-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpxr564nb2/bootc-202603091046.ga27676d4fa-1.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9