Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/bootc_composefs/boot.rs:1174:8: warning: length comparison to zero
#       |
#  1174 |     if entries.len() > 0 {
#       |        ^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!entries.is_empty()`
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#len_zero
#       = note: `#[warn(clippy::len_zero)]` on by default

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/bootc_composefs/boot.rs:1180:5: warning: unneeded `return` statement
#       |
#  1180 |     return Ok(AutoEnroll::None);
#       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_return
#       = note: `#[warn(clippy::needless_return)]` on by default
#  help: remove `return`
#       |
#  1180 -     return Ok(AutoEnroll::None);
#  1180 +     Ok(AutoEnroll::None)
#       |

Scan Properties

analyzer-version-clippy1.91.1
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.91.1
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer15.2.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-166.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-202512011847.g2c34df6860-1
diffbase-store-results-to/tmp/tmp1j9xrkpy/bootc-202512011847.g2c34df6860-1.tar.xz
diffbase-time-created2025-12-02 19:29:38
diffbase-time-finished2025-12-02 19:43:00
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp1j9xrkpy/bootc-202512011847.g2c34df6860-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1j9xrkpy/bootc-202512011847.g2c34df6860-1.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251124.152119.g92ed7a6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-166.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-202512021813.gf73a3a823e-1
store-results-to/tmp/tmpvyl6yn0i/bootc-202512021813.gf73a3a823e-1.tar.xz
time-created2025-12-02 19:43:14
time-finished2025-12-02 19:56:04
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpvyl6yn0i/bootc-202512021813.gf73a3a823e-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpvyl6yn0i/bootc-202512021813.gf73a3a823e-1.src.rpm'
tool-versioncsmock-3.8.3.20251124.152119.g92ed7a6-1.el9