Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/install.rs:1341:1: warning: this function has too many arguments (8/7)
#       |
#  1341 | / async fn install_with_sysroot(
#  1342 | |     state: &State,
#  1343 | |     rootfs: &RootSetup,
#  1344 | |     sysroot: &Storage,
#  ...    |
#  1349 | |     prog: ProgressWriter,
#  1350 | | ) -> Result<()> {
#       | |_______________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/progress_aggregator.rs:21:40: warning: called `unwrap` on `visual_filter` after checking its variant with `is_some`
#     |
#  20 |         let renderer = if std::io::stderr().is_terminal() && visual_filter.is_some() {
#     |                                                              ----------------------- the check is happening here
#  21 |             Some(ProgressRenderer::new(visual_filter.unwrap()))
#     |                                        ^^^^^^^^^^^^^^^^^^^^^^
#     |
#     = help: try using `if let` or `match`
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
#     = note: `#[warn(clippy::unnecessary_unwrap)]` on by default

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/progress_renderer.rs:139:5: warning: this function has too many arguments (9/7)
#      |
#  139 | /     fn update_bytes_progress(
#  140 | |         &mut self,
#  141 | |         task: &str,
#  142 | |         _description: &str,
#  ...   |
#  148 | |         subtasks: &[SubTaskBytes<'_>],
#  149 | |     ) -> Result<()> {
#      | |___________________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Error: CLIPPY_WARNING: [#def4]
crates/lib/src/progress_renderer.rs:150:22: warning: variables can be used directly in the `format!` string
#      |
#  150 |         let bar_id = format!("{}:{}", task, id);
#      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
#  help: change this to
#      |
#  150 -         let bar_id = format!("{}:{}", task, id);
#  150 +         let bar_id = format!("{task}:{id}");
#      |

Error: CLIPPY_WARNING: [#def5]
crates/lib/src/progress_renderer.rs:199:22: warning: variables can be used directly in the `format!` string
#      |
#  199 |         let bar_id = format!("{}:{}", task, id);
#      |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
#  help: change this to
#      |
#  199 -         let bar_id = format!("{}:{}", task, id);
#  199 +         let bar_id = format!("{task}:{id}");
#      |

Error: CLIPPY_WARNING: [#def6]
crates/lib/src/progress_renderer.rs:206:28: warning: variables can be used directly in the `format!` string
#      |
#  206 |             pb.set_message(format!("{} ({})", description, task));
#      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
#  help: change this to
#      |
#  206 -             pb.set_message(format!("{} ({})", description, task));
#  206 +             pb.set_message(format!("{description} ({task})"));
#      |

Scan Properties

analyzer-version-clippy1.88.0
analyzer-version-cppcheck2.18.0
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.88.0
diffbase-analyzer-version-cppcheck2.18.0
diffbase-analyzer-version-gcc15.1.1
diffbase-analyzer-version-gcc-analyzer15.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-69.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-202507242104.gf4b01ab08c-1
diffbase-store-results-to/tmp/tmp2dgz1yzi/bootc-202507242104.gf4b01ab08c-1.tar.xz
diffbase-time-created2025-07-25 21:29:42
diffbase-time-finished2025-07-25 21:36:31
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,clippy,gcc' '-o' '/tmp/tmp2dgz1yzi/bootc-202507242104.gf4b01ab08c-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp2dgz1yzi/bootc-202507242104.gf4b01ab08c-1.src.rpm'
diffbase-tool-versioncsmock-3.8.2-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-69.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-202507252101.g96b3ee76f0-1
store-results-to/tmp/tmpmbd0vl09/bootc-202507252101.g96b3ee76f0-1.tar.xz
time-created2025-07-25 21:36:54
time-finished2025-07-25 21:43:15
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,clippy,gcc' '-o' '/tmp/tmpmbd0vl09/bootc-202507252101.g96b3ee76f0-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpmbd0vl09/bootc-202507252101.g96b3ee76f0-1.src.rpm'
tool-versioncsmock-3.8.2-1.el9