Error: CLIPPY_WARNING: [#def1] crates/lib/src/bootc_composefs/backwards_compat/bcompat_boot.rs:229:20: warning: useless conversion to the same type: `std::string::String` # | # 229 | fixed.push(digest.into()); # | ^^^^^^^^^^^^^ help: consider removing `.into()`: `digest` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#useless_conversion # = note: `#[warn(clippy::useless_conversion)]` on by default Error: CLIPPY_WARNING: [#def2] crates/lib/src/bootc_composefs/backwards_compat/bcompat_boot.rs:261:26: warning: useless use of `format!` # | # 261 | .with_context(|| format!("Failed to parse origin as ini"))?; # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Failed to parse origin as ini".to_string()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#useless_format # = note: `#[warn(clippy::useless_format)]` on by default Error: CLIPPY_WARNING: [#def3] crates/lib/src/bootc_composefs/backwards_compat/bcompat_boot.rs:292:9: warning: returning the result of a `let` binding from a block # | # 290 | let uki_dir = esp.fd.open_dir(BOOTC_UKI_DIR).context("Opening UKI dir")?; # | ------------------------------------------------------------------------- unnecessary `let` binding # 291 | # 292 | uki_dir # | ^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#let_and_return # = note: `#[warn(clippy::let_and_return)]` on by default # help: return the expression directly # | # 290 ~ # 291 | # 292 ~ esp.fd.open_dir(BOOTC_UKI_DIR).context("Opening UKI dir")? # | Error: CLIPPY_WARNING: [#def4] crates/lib/src/bootc_composefs/boot.rs:1306:9: warning: unnecessary use of `to_string` # | # 1306 | &pull_result.manifest_digest.to_string(), # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `pull_result.manifest_digest.as_ref()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_to_owned # = note: `#[warn(clippy::unnecessary_to_owned)]` on by default Error: CLIPPY_WARNING: [#def5] crates/lib/src/bootc_composefs/gc.rs:392:51: warning: unnecessary use of `to_string` # | # 392 | let expected_tag = bootc_tag_for_manifest(&manifest_digest.to_string()); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `manifest_digest.as_ref()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_to_owned Error: CLIPPY_WARNING: [#def6] crates/lib/src/bootc_composefs/repo.rs:99:38: warning: unnecessary use of `to_string` # | # 99 | let tag = bootc_tag_for_manifest(&pull_result.manifest_digest.to_string()); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `pull_result.manifest_digest.as_ref()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_to_owned Error: CLIPPY_WARNING: [#def7] crates/lib/src/bootc_composefs/repo.rs:255:38: warning: unnecessary use of `to_string` # | # 255 | let tag = bootc_tag_for_manifest(&pull_result.manifest_digest.to_string()); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `pull_result.manifest_digest.as_ref()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_to_owned Error: CLIPPY_WARNING: [#def8] crates/lib/src/podman_client.rs:211:61: warning: redundant closure # | # 211 | Ok(frame) => frame.into_data().ok().map(|b| Ok::<_, std::io::Error>(b)), # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `Ok::<_, std::io::Error>` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#redundant_closure # = note: `#[warn(clippy::redundant_closure)]` on by default Error: CLIPPY_WARNING: [#def9] crates/xtask/src/xtask.rs:272:9: warning: this `if` statement can be collapsed # | # 272 | / if let Ok(toplevel_path) = Command::new("git") # 273 | | .args(["rev-parse", "--show-toplevel"]) # 274 | | .output() # ... | # 280 | | } # | |_________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#collapsible_if # help: collapse nested if block # | # 274 ~ .output() # 275 ~ && toplevel_path.status.success() { # 276 | let path = String::from_utf8(toplevel_path.stdout)?; # 277 | std::env::set_current_dir(path.trim()).context("Changing to toplevel")?; # 278 ~ } # | Error: CLIPPY_WARNING: [#def10] crates/xtask/src/xtask.rs:475:13: warning: this `if` statement can be collapsed # | # 475 | / if let Some(name) = name.to_str() { # 476 | | if name.ends_with(".src.rpm") { # 477 | | sh.remove_path(name)?; # 478 | | } # 479 | | } # | |_____________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#collapsible_if # help: collapse nested if block # | # 475 ~ if let Some(name) = name.to_str() # 476 ~ && name.ends_with(".src.rpm") { # 477 | sh.remove_path(name)?; # 478 ~ } # |
| analyzer-version-clippy | 1.94.1 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.0.1 |
| analyzer-version-gcc-analyzer | 16.0.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.94.1 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.0.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-170.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | bootc-202604081447.gb1fe5d6978-1 |
| diffbase-store-results-to | /tmp/tmp8x586tk2/bootc-202604081447.gb1fe5d6978-1.tar.xz |
| diffbase-time-created | 2026-04-09 02:08:43 |
| diffbase-time-finished | 2026-04-09 02:32:08 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp8x586tk2/bootc-202604081447.gb1fe5d6978-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8x586tk2/bootc-202604081447.gb1fe5d6978-1.src.rpm' |
| diffbase-tool-version | csmock-3.8.5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-170.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.20260320.200800.gd35503f.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | bootc-202604090119.g7f2d6005df-1 |
| store-results-to | /tmp/tmp0un4bcjl/bootc-202604090119.g7f2d6005df-1.tar.xz |
| time-created | 2026-04-09 02:32:41 |
| time-finished | 2026-04-09 02:59:04 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp0un4bcjl/bootc-202604090119.g7f2d6005df-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp0un4bcjl/bootc-202604090119.g7f2d6005df-1.src.rpm' |
| tool-version | csmock-3.8.5-1.el9 |