Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/cli.rs:768:5: warning: this `if` statement can be collapsed
#      |
#  768 | /     if host.spec.boot_order == crate::spec::BootOrder::Rollback {
#  769 | |         if can_perform_soft_reboot(host.status.rollback.as_ref()) {
#  770 | |             println!("Rollback deployment is soft-reboot capable, preparing for soft-reboot...");
#  ...   |
#  780 | |     }
#      | |_____^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
#      = note: `#[warn(clippy::collapsible_if)]` on by default
#  help: collapse nested if block
#      |
#  768 ~     if host.spec.boot_order == crate::spec::BootOrder::Rollback
#  769 ~         && can_perform_soft_reboot(host.status.rollback.as_ref()) {
#  770 |             println!("Rollback deployment is soft-reboot capable, preparing for soft-reboot...");
#  ...
#  778 |             return Ok(true);
#  779 ~         }
#      |

Scan Properties

analyzer-version-clippy1.88.0
analyzer-version-cppcheck2.18.0
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.88.0
diffbase-analyzer-version-cppcheck2.18.0
diffbase-analyzer-version-gcc15.1.1
diffbase-analyzer-version-gcc-analyzer15.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-218.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202508050535.ga279555b25-1
diffbase-store-results-to/tmp/tmpbw3n4s1b/bootc-202508050535.ga279555b25-1.tar.xz
diffbase-time-created2025-08-05 16:08:01
diffbase-time-finished2025-08-05 16:15:56
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,clippy,gcc' '-o' '/tmp/tmpbw3n4s1b/bootc-202508050535.ga279555b25-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpbw3n4s1b/bootc-202508050535.ga279555b25-1.src.rpm'
diffbase-tool-versioncsmock-3.8.2.20250805.095208.g2a76525-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-218.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202508051543.g08faf26266-1
store-results-to/tmp/tmpv7hn9l1m/bootc-202508051543.g08faf26266-1.tar.xz
time-created2025-08-05 16:16:20
time-finished2025-08-05 16:23:50
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,clippy,gcc' '-o' '/tmp/tmpv7hn9l1m/bootc-202508051543.g08faf26266-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpv7hn9l1m/bootc-202508051543.g08faf26266-1.src.rpm'
tool-versioncsmock-3.8.2.20250805.095208.g2a76525-1.el9