Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/store/mod.rs:390:34: warning: called `unwrap` on `booted_root` after checking its variant with `is_none`
#      |
#  380 |         let sepolicy = if booted_root.is_none() {
#      |                        ------------------------ help: try: `if let Some(<item>) = &booted_root`
#  ...
#  390 |             lsm::new_sepolicy_at(booted_root.as_ref().unwrap())?
#      |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_unwrap
#      = note: `#[warn(clippy::unnecessary_unwrap)]` on by default

Scan Properties

analyzer-version-clippy1.92.0
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.92.0
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-144.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-202601231201.gfece2e0b58-1
diffbase-store-results-to/tmp/tmp1h049u_w/bootc-202601231201.gfece2e0b58-1.tar.xz
diffbase-time-created2026-01-23 15:48:33
diffbase-time-finished2026-01-23 16:01:13
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp1h049u_w/bootc-202601231201.gfece2e0b58-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1h049u_w/bootc-202601231201.gfece2e0b58-1.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-144.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-202601231453.g89fcf4cc6d-1
store-results-to/tmp/tmpkk9uea5_/bootc-202601231453.g89fcf4cc6d-1.tar.xz
time-created2026-01-23 16:01:38
time-finished2026-01-23 16:13:55
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpkk9uea5_/bootc-202601231453.g89fcf4cc6d-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpkk9uea5_/bootc-202601231453.g89fcf4cc6d-1.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9