device-mapper-persistent-data-1.3.1-1.fc44

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/cache/check.rs:325:53: warning: called `unwrap` on `err` after checking its variant with `is_some`
#      |
#  324 |                 if err.is_some() {
#      |                 ---------------- help: try: `if let Some(<item>) = err`
#  325 |                     ctx.report.fatal(&format!("{}", err.unwrap()));
#      |                                                     ^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_unwrap
#      = note: `#[warn(clippy::unnecessary_unwrap)]` on by default

Error: CLIPPY_WARNING: [#def2]
src/cache/check.rs:361:45: warning: called `unwrap` on `err` after checking its variant with `is_some`
#      |
#  360 |         if err.is_some() {
#      |         ---------------- help: try: `if let Some(<item>) = err`
#  361 |             ctx.report.fatal(&format!("{}", err.unwrap()));
#      |                                             ^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_unwrap

Error: CLIPPY_WARNING: [#def3]
src/cache/dump.rs:209:55: warning: called `unwrap` on `errs` after checking its variant with `is_some`
#      |
#  208 |         if errs.is_some() && !repair {
#      |            -------------- the check is happening here
#  209 |             return Err(anyhow!("errors in bitset {}", errs.unwrap()));
#      |                                                       ^^^^^^^^^^^^^
#      |
#      = help: try using `match`
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_unwrap

Error: CLIPPY_WARNING: [#def4]
src/era/check.rs:127:45: warning: called `unwrap` on `err` after checking its variant with `is_some`
#      |
#  126 |         if err.is_some() {
#      |         ---------------- help: try: `if let Some(<item>) = err`
#  127 |             ctx.report.fatal(&format!("{}", err.unwrap()));
#      |                                             ^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_unwrap

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-244.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-namedevice-mapper-persistent-data-1.3.1-1.fc44
store-results-to/tmp/tmp27w0ufp9/device-mapper-persistent-data-1.3.1-1.fc44.tar.xz
time-created2026-01-08 15:52:22
time-finished2026-01-08 15:56:08
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp27w0ufp9/device-mapper-persistent-data-1.3.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp27w0ufp9/device-mapper-persistent-data-1.3.1-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9