Fixed findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/bootc_composefs/gc.rs:236:14: warning: using `contains()` instead of `iter().any()` is more efficient
#      |
#  236 |               !bootloader_entries
#      |  ______________^
#  237 | |                 .iter()
#  238 | |                 .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.94.0/index.html#manual_contains
#      = note: `#[warn(clippy::manual_contains)]` on by default

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-96.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-202604011110.g0c71e7880f-1
diffbase-store-results-to/tmp/tmpkmiokbjy/bootc-202604011110.g0c71e7880f-1.tar.xz
diffbase-time-created2026-04-01 12:26:02
diffbase-time-finished2026-04-01 12:49:19
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpkmiokbjy/bootc-202604011110.g0c71e7880f-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpkmiokbjy/bootc-202604011110.g0c71e7880f-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-96.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-202603311522.gd8785c6c38-1
store-results-to/tmp/tmph85kexrh/bootc-202603311522.gd8785c6c38-1.tar.xz
time-created2026-04-01 12:01:53
time-finished2026-04-01 12:25:36
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmph85kexrh/bootc-202603311522.gd8785c6c38-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmph85kexrh/bootc-202603311522.gd8785c6c38-1.src.rpm'
tool-versioncsmock-3.8.4.20260302.153719.g8203630-1.el9