Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/install.rs:1511:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1511 |       let source_image = opts
#       |  ________________________^
#  1512 | |         .source_opts
#  1513 | |         .source_imgref
#  1514 | |         .as_ref()
#  1515 | |         .map(|s| s.as_str())
#       | |____________________________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
#       = note: `#[warn(clippy::option_as_ref_deref)]` on by default
#  help: consider using as_deref
#       |
#  1511 ~     let source_image = opts
#  1512 +         .source_opts
#  1513 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/install.rs:1765:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1765 |       let source_image = opts
#       |  ________________________^
#  1766 | |         .source_opts
#  1767 | |         .source_imgref
#  1768 | |         .as_ref()
#  1769 | |         .map(|s| s.as_str())
#       | |____________________________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
#  help: consider using as_deref
#       |
#  1765 ~     let source_image = opts
#  1766 +         .source_opts
#  1767 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/install.rs:2026:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  2026 |       let source_image = opts
#       |  ________________________^
#  2027 | |         .source_opts
#  2028 | |         .source_imgref
#  2029 | |         .as_ref()
#  2030 | |         .map(|s| s.as_str())
#       | |____________________________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
#  help: consider using as_deref
#       |
#  2026 ~     let source_image = opts
#  2027 +         .source_opts
#  2028 +         .source_imgref.as_deref()
#       |

Scan Properties

analyzer-version-clippy1.89.0
analyzer-version-cppcheck2.18.0
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.89.0
diffbase-analyzer-version-cppcheck2.18.0
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-139.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-202508151846.g00dea6e440-1
diffbase-store-results-to/tmp/tmperxdykbs/bootc-202508151846.g00dea6e440-1.tar.xz
diffbase-time-created2025-08-16 02:31:37
diffbase-time-finished2025-08-16 02:39:43
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmperxdykbs/bootc-202508151846.g00dea6e440-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmperxdykbs/bootc-202508151846.g00dea6e440-1.src.rpm'
diffbase-tool-versioncsmock-3.8.2.20250811.215846.gf3b3dbf-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-139.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-202508160154.g5fb66c3bb3-1
store-results-to/tmp/tmp1lxtklmd/bootc-202508160154.g5fb66c3bb3-1.tar.xz
time-created2025-08-16 02:40:30
time-finished2025-08-16 02:48:13
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmp1lxtklmd/bootc-202508160154.g5fb66c3bb3-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1lxtklmd/bootc-202508160154.g5fb66c3bb3-1.src.rpm'
tool-versioncsmock-3.8.2.20250811.215846.gf3b3dbf-1.el9