Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
crates/system-reinstall-bootc/src/os_release.rs:24:76: warning: use of a disallowed method `str::len`
#     |
#  24 |                 if value.starts_with('"') && value.ends_with('"') && value.len() >= 2 {
#     |                                                                            ^^^
#     |
#     = note: use <str>.as_bytes().len() instead
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods
#     = note: requested on the command line with `-D clippy::disallowed-methods`

Error: CLIPPY_WARNING: [#def2]
crates/system-reinstall-bootc/src/os_release.rs:25:52: warning: use of a disallowed method `str::len`
#     |
#  25 |                     let unquoted = &value[1..value.len() - 1];
#     |                                                    ^^^
#     |
#     = note: use <str>.as_bytes().len() instead
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods

Error: CLIPPY_WARNING: [#def3]
crates/system-reinstall-bootc/src/os_release.rs:32:85: warning: use of a disallowed method `str::len`
#     |
#  32 |                 } else if value.starts_with('\'') && value.ends_with('\'') && value.len() >= 2 {
#     |                                                                                     ^^^
#     |
#     = note: use <str>.as_bytes().len() instead
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods

Error: CLIPPY_WARNING: [#def4]
crates/system-reinstall-bootc/src/os_release.rs:33:54: warning: use of a disallowed method `str::len`
#     |
#  33 |                     last_found = Some(value[1..value.len() - 1].to_string());
#     |                                                      ^^^
#     |
#     = note: use <str>.as_bytes().len() instead
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#disallowed_methods

Scan Properties

analyzer-version-clippy1.94.1
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.94.1
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.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-114.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.20260320.200800.gd35503f.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namebootc-202604081447.gb1fe5d6978-1
diffbase-store-results-to/tmp/tmp9023fgrg/bootc-202604081447.gb1fe5d6978-1.tar.xz
diffbase-time-created2026-04-10 07:06:46
diffbase-time-finished2026-04-10 07:29:54
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp9023fgrg/bootc-202604081447.gb1fe5d6978-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp9023fgrg/bootc-202604081447.gb1fe5d6978-1.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-114.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260320.200800.gd35503f.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namebootc-202604100605.ga168777904-1
store-results-to/tmp/tmp5bhmns9s/bootc-202604100605.ga168777904-1.tar.xz
time-created2026-04-10 07:30:13
time-finished2026-04-10 07:52:43
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp5bhmns9s/bootc-202604100605.ga168777904-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp5bhmns9s/bootc-202604100605.ga168777904-1.src.rpm'
tool-versioncsmock-3.8.5-1.el9