Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
lib/src/spec.rs:98:5: warning: this block may be rewritten with the `?` operator
#      |
#  98  | /     if reference.tag().is_none() {
#  99  | |         return None;
#  100 | |     }
#      | |_____^ help: replace it with: `reference.tag()?;`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
#      = note: `#[warn(clippy::question_mark)]` on by default

Error: CLIPPY_WARNING: [#def2]
lib/src/spec.rs:103:5: warning: this `let...else` may be rewritten with the `?` operator
#      |
#  103 | /     let Some(digest) = reference.digest() else {
#  104 | |         return None;
#  105 | |     };
#      | |______^ help: replace it with: `let digest = reference.digest()?;`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
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.86.0
diffbase-analyzer-version-cppcheck2.17.1
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-50.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.20250509.165649.g41c6174.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202505121123.g21c57d47f0-1
diffbase-store-results-to/tmp/tmpbuw7043s/bootc-202505121123.g21c57d47f0-1.tar.xz
diffbase-time-created2025-05-12 12:40:47
diffbase-time-finished2025-05-12 12:47:48
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpbuw7043s/bootc-202505121123.g21c57d47f0-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpbuw7043s/bootc-202505121123.g21c57d47f0-1.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-50.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250509.165649.g41c6174.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202505121158.gde0eb232b0-1
store-results-to/tmp/tmp9mxiqxzo/bootc-202505121158.gde0eb232b0-1.tar.xz
time-created2025-05-12 12:47:59
time-finished2025-05-12 12:54:33
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp9mxiqxzo/bootc-202505121158.gde0eb232b0-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp9mxiqxzo/bootc-202505121158.gde0eb232b0-1.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9