Error: CLIPPY_WARNING: [#def1] crates/xtask/src/anaconda.rs:833:9: warning: this `if` statement can be collapsed # | # 833 | / if stage == InstallStage::Booting { # 834 | | if anaconda_new.contains(PATTERN_ANACONDA_STARTED) || serial_new.contains("anaconda") { # 835 | | stage = InstallStage::AnacondaStarting; # 836 | | stage_start = Instant::now(); # 837 | | } # 838 | | } # | |_________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#collapsible_if # = note: `#[warn(clippy::collapsible_if)]` on by default # help: collapse nested if block # | # 833 ~ if stage == InstallStage::Booting # 834 ~ && (anaconda_new.contains(PATTERN_ANACONDA_STARTED) || serial_new.contains("anaconda")) { # 835 | stage = InstallStage::AnacondaStarting; # 836 | stage_start = Instant::now(); # 837 ~ } # | Error: CLIPPY_WARNING: [#def2] crates/xtask/src/anaconda.rs:849:9: warning: this `if` statement can be collapsed # | # 849 | / if stage == InstallStage::Installing { # 850 | | if serial_new.contains(PATTERN_INSTALL_COMPLETE) # 851 | | || serial_new.contains("reboot: Restarting") # ... | # 856 | | } # | |_________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#collapsible_if # help: collapse nested if block # | # 849 ~ if stage == InstallStage::Installing # 850 ~ && (serial_new.contains(PATTERN_INSTALL_COMPLETE) # 851 ~ || serial_new.contains("reboot: Restarting")) # 852 | { # 853 | stage = InstallStage::Rebooting; # 854 | stage_start = Instant::now(); # 855 ~ } # | Error: CLIPPY_WARNING: [#def3] crates/xtask/src/anaconda.rs:931:5: warning: unnecessary `if let` since only the `Ok` variant of the iterator element is used # | # 931 | / for line in reader.lines() { # 932 | | if let Ok(line) = line { # 933 | | content.push_str(&line); # 934 | | content.push('\n'); # 935 | | } # 936 | | } # | |_____^ # | # help: try `.flatten()` and remove the `if let` statement in the for loop # --> crates/xtask/src/anaconda.rs:932:9 # | # 932 | / if let Ok(line) = line { # 933 | | content.push_str(&line); # 934 | | content.push('\n'); # 935 | | } # | |_________^ # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#manual_flatten # = note: `#[warn(clippy::manual_flatten)]` on by default # help: try # | # 931 ~ for line in reader.lines().flatten() { # 932 + content.push_str(&line); # 933 + content.push('\n'); # 934 + } # | Error: CLIPPY_WARNING: [#def4] crates/xtask/src/anaconda.rs:946:34: warning: use of a disallowed method `str::len` # | # 946 | let end = (idx + pattern.len() + 200).min(content.len()); # | ^^^ # | # = note: use <str>.as_bytes().len() instead # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#disallowed_methods # = note: requested on the command line with `-D clippy::disallowed-methods` Error: CLIPPY_WARNING: [#def5] crates/xtask/src/anaconda.rs:946:59: warning: use of a disallowed method `str::len` # | # 946 | let end = (idx + pattern.len() + 200).min(content.len()); # | ^^^ # | # = note: use <str>.as_bytes().len() instead # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#disallowed_methods
| analyzer-version-clippy | 1.93.1 |
| analyzer-version-cppcheck | 2.19.1 |
| 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.93.1 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| 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-155.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.20260225.110632.gf6ecc5a.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | bootc-202602251331.g11cba840a4-1 |
| diffbase-store-results-to | /tmp/tmpdwj_yxlz/bootc-202602251331.g11cba840a4-1.tar.xz |
| diffbase-time-created | 2026-02-25 18:57:39 |
| diffbase-time-finished | 2026-02-25 19:20:23 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpdwj_yxlz/bootc-202602251331.g11cba840a4-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpdwj_yxlz/bootc-202602251331.g11cba840a4-1.src.rpm' |
| diffbase-tool-version | csmock-3.8.4.20260225.081022.gb9390cd-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-155.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.20260225.110632.gf6ecc5a.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | bootc-202602251806.gdd89ba8c78-1 |
| store-results-to | /tmp/tmpz5_yuva8/bootc-202602251806.gdd89ba8c78-1.tar.xz |
| time-created | 2026-02-25 19:20:44 |
| time-finished | 2026-02-25 19:43:00 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpz5_yuva8/bootc-202602251806.gdd89ba8c78-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpz5_yuva8/bootc-202602251806.gdd89ba8c78-1.src.rpm' |
| tool-version | csmock-3.8.4.20260225.081022.gb9390cd-1.el9 |