Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/bootc_composefs/state.rs:234:1: warning: this function has too many arguments (8/7)
#      |
#  234 | / pub(crate) async fn write_composefs_state(
#  235 | |     root_path: &Utf8PathBuf,
#  236 | |     deployment_id: &Sha512HashValue,
#  237 | |     target_imgref: &ImageReference,
#  ...   |
#  242 | |     allow_missing_fsverity: bool,
#  243 | | ) -> Result<()> {
#      | |_______________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#too_many_arguments

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/install.rs:1680:5: warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
#       |
#  1680 | /     match kernel {
#  1681 | |         Some(k) => match k.k_type {
#  1682 | |             crate::kernel::KernelType::Uki {
#  1683 | |                 allow_missing_fsverity,
#  ...    |
#  1700 | |         None => {}
#  1701 | |     }
#       | |_____^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#single_match
#       = note: `#[warn(clippy::single_match)]` on by default
#  help: try
#       |
#  1680 ~     if let Some(k) = kernel { match k.k_type {
#  1681 +         crate::kernel::KernelType::Uki {
#  1682 +             allow_missing_fsverity,
#  1683 +             ..
#  1684 +         } => {
#  1685 +             if !allow_missing_fsverity {
#  1686 +                 anyhow::ensure!(
#  1687 +                     root_filesystem.supports_fsverity(),
#  1688 +                     "Specified filesystem {root_filesystem} does not support fs-verity"
#  1689 +                 );
#  1690 +             }
#  1691 + 
#  1692 +             composefs_options.allow_missing_verity = allow_missing_fsverity;
#  1693 +             is_uki = true;
#  1694 +         }
#  1695 + 
#  1696 +         crate::kernel::KernelType::Vmlinuz { .. } => {}
#  1697 +     } }
#       |

Scan Properties

analyzer-version-clippy1.93.1
analyzer-version-cppcheck2.19.1
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.19.1
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-146.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.20260119.105402.g7a5be1b.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202602231759.g564de0b17c-1
diffbase-store-results-to/tmp/tmpi_j4lsjz/bootc-202602231759.g564de0b17c-1.tar.xz
diffbase-time-created2026-02-24 10:24:30
diffbase-time-finished2026-02-24 10:45:57
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpi_j4lsjz/bootc-202602231759.g564de0b17c-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpi_j4lsjz/bootc-202602231759.g564de0b17c-1.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20260128.181932.g41af877-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-146.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202602240928.g6bd6c9a1e0-1
store-results-to/tmp/tmp23drmvjh/bootc-202602240928.g6bd6c9a1e0-1.tar.xz
time-created2026-02-24 10:46:28
time-finished2026-02-24 11:07:54
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmp23drmvjh/bootc-202602240928.g6bd6c9a1e0-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp23drmvjh/bootc-202602240928.g6bd6c9a1e0-1.src.rpm'
tool-versioncsmock-3.8.3.20260128.181932.g41af877-1.el9