Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/install.rs:1458:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1458 |       let source_image = opts
#       |  ________________________^
#  1459 | |         .source_opts
#  1460 | |         .source_imgref
#  1461 | |         .as_ref()
#  1462 | |         .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
#       |
#  1458 ~     let source_image = opts
#  1459 +         .source_opts
#  1460 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/install.rs:1711:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1711 |       let source_image = opts
#       |  ________________________^
#  1712 | |         .source_opts
#  1713 | |         .source_imgref
#  1714 | |         .as_ref()
#  1715 | |         .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
#       |
#  1711 ~     let source_image = opts
#  1712 +         .source_opts
#  1713 +         .source_imgref.as_deref()
#       |

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/install.rs:1971:24: warning: called `.as_ref().map(|s| s.as_str())` on an `Option` value
#       |
#  1971 |       let source_image = opts
#       |  ________________________^
#  1972 | |         .source_opts
#  1973 | |         .source_imgref
#  1974 | |         .as_ref()
#  1975 | |         .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
#       |
#  1971 ~     let source_image = opts
#  1972 +         .source_opts
#  1973 +         .source_imgref.as_deref()
#       |

Scan Properties

analyzer-version-clippy1.89.0
analyzer-version-cppcheck2.18.1
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.1
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-134.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-202508201808.g2cb3ef2202-1
diffbase-store-results-to/tmp/tmps4o_nl_j/bootc-202508201808.g2cb3ef2202-1.tar.xz
diffbase-time-created2025-08-20 21:33:06
diffbase-time-finished2025-08-20 21:40:36
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmps4o_nl_j/bootc-202508201808.g2cb3ef2202-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmps4o_nl_j/bootc-202508201808.g2cb3ef2202-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-134.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-202508202108.g2b8502d4a7-1
store-results-to/tmp/tmp40l352kp/bootc-202508202108.g2b8502d4a7-1.tar.xz
time-created2025-08-20 21:41:28
time-finished2025-08-20 21:48:44
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,gcc,clippy,cppcheck' '-o' '/tmp/tmp40l352kp/bootc-202508202108.g2b8502d4a7-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp40l352kp/bootc-202508202108.g2b8502d4a7-1.src.rpm'
tool-versioncsmock-3.8.2.20250811.215846.gf3b3dbf-1.el9