Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/xtask/src/tmt.rs:3:5: warning: importing legacy numeric constants
#    |
#  3 | use std::usize;
#    |     ^^^^^^^^^^
#    |
#    = help: remove this import
#    = note: then `usize::<CONST>` will resolve to the respective associated constant
#    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#legacy_numeric_constants
#    = note: `#[warn(clippy::legacy_numeric_constants)]` on by default

Error: CLIPPY_WARNING: [#def2]
crates/xtask/src/tmt.rs:371:1: warning: this function has too many arguments (11/7)
#      |
#  371 | / fn run_plan(
#  372 | |     plan: String,
#  373 | |     vm_name: String,
#  374 | |     image: String,
#  ...   |
#  382 | |     vm_mem_mb: String,
#  383 | | ) -> RunPlanResult {
#      | |__________________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#too_many_arguments
#      = note: `#[warn(clippy::too_many_arguments)]` on by default

Error: CLIPPY_WARNING: [#def3]
crates/xtask/src/tmt.rs:877:5: warning: consider using `sort_by_key`
#      |
#  877 |     test_results.sort_by(|a, b| b.time_taken.cmp(&a.time_taken));
#      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#unnecessary_sort_by
#      = note: `#[warn(clippy::unnecessary_sort_by)]` on by default
#  help: try
#      |
#  877 -     test_results.sort_by(|a, b| b.time_taken.cmp(&a.time_taken));
#  877 +     test_results.sort_by_key(|b| std::cmp::Reverse(b.time_taken));
#      |

Error: CLIPPY_WARNING: [#def4]
crates/xtask/src/tmt.rs:1442:9: warning: this `if` statement can be collapsed
#       |
#  1442 | /         if let serde_yaml::Value::Mapping(map) = &test.tmt {
#  1443 | |             if let Some(adjust) = map.get(&serde_yaml::Value::String(FIELD_ADJUST.to_string())) {
#  1444 | |                 plan_value.insert(
#  1445 | |                     serde_yaml::Value::String(FIELD_ADJUST.to_string()),
#  ...    |
#  1449 | |         }
#       | |_________^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_if
#  help: collapse nested if block
#       |
#  1442 ~         if let serde_yaml::Value::Mapping(map) = &test.tmt
#  1443 ~             && let Some(adjust) = map.get(&serde_yaml::Value::String(FIELD_ADJUST.to_string())) {
#  1444 |                 plan_value.insert(
#   ...
#  1447 |                 );
#  1448 ~             }
#       |

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-147.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.20260420.180315.gd39a405.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202605142330.g07735ee221-1
diffbase-store-results-to/tmp/tmpfwjy28ds/bootc-202605142330.g07735ee221-1.tar.xz
diffbase-time-created2026-05-15 11:48:43
diffbase-time-finished2026-05-15 12:13:44
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpfwjy28ds/bootc-202605142330.g07735ee221-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpfwjy28ds/bootc-202605142330.g07735ee221-1.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-147.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202605151058.gcedbd853a0-1
store-results-to/tmp/tmpy9kzs2r3/bootc-202605151058.gcedbd853a0-1.tar.xz
time-created2026-05-15 12:14:15
time-finished2026-05-15 12:38:41
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpy9kzs2r3/bootc-202605151058.gcedbd853a0-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpy9kzs2r3/bootc-202605151058.gcedbd853a0-1.src.rpm'
tool-versioncsmock-3.8.5-1.el9