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
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-244.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | device-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-created | 2026-01-08 15:52:22 |
| time-finished | 2026-01-08 15:56:08 |
| tool | csmock |
| 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-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |