Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/lib/src/parsers/grub_menuconfig.rs:29:13: warning: variables can be used directly in the `format!` string
#     |
#  29 |             writeln!(f, "insmod {}", insmod)?;
#     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
#  help: change this to
#     |
#  29 -             writeln!(f, "insmod {}", insmod)?;
#  29 +             writeln!(f, "insmod {insmod}")?;
#     |

Error: CLIPPY_WARNING: [#def2]
crates/lib/src/parsers/grub_menuconfig.rs:33:13: warning: variables can be used directly in the `format!` string
#     |
#  33 |             writeln!(f, "search {}", search)?;
#     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
#  help: change this to
#     |
#  33 -             writeln!(f, "search {}", search)?;
#  33 +             writeln!(f, "search {search}")?;
#     |

Error: CLIPPY_WARNING: [#def3]
crates/lib/src/parsers/grub_menuconfig.rs:37:13: warning: variables can be used directly in the `format!` string
#     |
#  37 |             writeln!(f, "chainloader {}", chainloader)?;
#     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
#  help: change this to
#     |
#  37 -             writeln!(f, "chainloader {}", chainloader)?;
#  37 +             writeln!(f, "chainloader {chainloader}")?;
#     |

Error: CLIPPY_WARNING: [#def4]
crates/lib/src/parsers/grub_menuconfig.rs:105:22: warning: redundant guard
#      |
#  105 |                 c if c == '\\' => {
#      |                      ^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
#      = note: `#[warn(clippy::redundant_guards)]` on by default
#  help: try
#      |
#  105 -                 c if c == '\\' => {
#  105 +                 '\\' => {
#      |

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-72.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-202508041915.g735a0b0f61-1
diffbase-store-results-to/tmp/tmphjm8vh_b/bootc-202508041915.g735a0b0f61-1.tar.xz
diffbase-time-created2025-08-04 21:05:11
diffbase-time-finished2025-08-04 21:12:31
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,clippy,gcc' '-o' '/tmp/tmphjm8vh_b/bootc-202508041915.g735a0b0f61-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmphjm8vh_b/bootc-202508041915.g735a0b0f61-1.src.rpm'
diffbase-tool-versioncsmock-3.8.2-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-72.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-202508042041.g5bbd3b245e-1
store-results-to/tmp/tmpygo7u619/bootc-202508042041.g5bbd3b245e-1.tar.xz
time-created2025-08-04 21:12:49
time-finished2025-08-04 21:19:44
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,clippy,gcc' '-o' '/tmp/tmpygo7u619/bootc-202508042041.g5bbd3b245e-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpygo7u619/bootc-202508042041.g5bbd3b245e-1.src.rpm'
tool-versioncsmock-3.8.2-1.el9