Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/lib.rs:256:59: warning: use of `unwrap_or` to construct default value
#      |
#  256 |         let name = loname::Name::from_path(&backing_file).unwrap_or(Name::default());
#      |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
#      = note: `-D clippy::unwrap-or-default` implied by `-D clippy::all`
#      = help: to override `-D clippy::all` add `#[allow(clippy::unwrap_or_default)]`

Error: CLIPPY_WARNING: [#def2]
src/lib.rs:257:29: warning: using `clone` on type `[u8; 64]` which implements the `Copy` trait
#      |
#  257 |         info.lo_file_name = name.0.clone();
#      |                             ^^^^^^^^^^^^^^ help: try removing the `clone` call: `name.0`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
#      = note: `-D clippy::clone-on-copy` implied by `-D clippy::all`
#      = help: to override `-D clippy::all` add `#[allow(clippy::clone_on_copy)]`

Error: CLIPPY_WARNING: [#def3]
src/loname.rs:30:30: warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
#     |
#  30 |         for (idx, byte) in s.into_iter().enumerate() {
#     |                              ^^^^^^^^^ help: call directly: `iter`
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
#     = note: `-D clippy::into-iter-on-ref` implied by `-D clippy::all`
#     = help: to override `-D clippy::all` add `#[allow(clippy::into_iter_on_ref)]`

Error: CLIPPY_WARNING: [#def4]
src/loname.rs:36:1: warning: direct implementation of `ToString`
#     |
#  36 | / impl ToString for Name {
#  37 | |     fn to_string(&self) -> String {
#  38 | |         self.0
#  39 | |             .iter()
#  ...  |
#  50 | | }
#     | |_^
#     |
#     = help: prefer implementing `Display` instead
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
#     = note: `-D clippy::to-string-trait-impl` implied by `-D clippy::all`
#     = help: to override `-D clippy::all` add `#[allow(clippy::to_string_trait_impl)]`

Scan Properties

analyzer-version-clippy1.88.0
analyzer-version-cppcheck2.17.1
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.17.1
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-29.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-namerust-loopdev-3-0.5.2-1.20250626192528178516.master.2.gd8f5c26
diffbase-store-results-to/tmp/tmpcfvk1552/rust-loopdev-3-0.5.2-1.20250626192528178516.master.2.gd8f5c26.tar.xz
diffbase-time-created2025-07-06 18:53:07
diffbase-time-finished2025-07-06 18:56:17
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,unicontrol,gcc,clippy,cppcheck' '-o' '/tmp/tmpcfvk1552/rust-loopdev-3-0.5.2-1.20250626192528178516.master.2.gd8f5c26.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpcfvk1552/rust-loopdev-3-0.5.2-1.20250626192528178516.master.2.gd8f5c26.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250626.171830.gc374be3-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-29.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-namerust-loopdev-3-0.5.2-1.20250706184232572257.pr58.3.g2ee5b40
store-results-to/tmp/tmpmnhc3vax/rust-loopdev-3-0.5.2-1.20250706184232572257.pr58.3.g2ee5b40.tar.xz
time-created2025-07-06 18:58:07
time-finished2025-07-06 19:00:46
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,unicontrol,gcc,clippy,cppcheck' '-o' '/tmp/tmpmnhc3vax/rust-loopdev-3-0.5.2-1.20250706184232572257.pr58.3.g2ee5b40.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpmnhc3vax/rust-loopdev-3-0.5.2-1.20250706184232572257.pr58.3.g2ee5b40.src.rpm'
tool-versioncsmock-3.8.1.20250626.171830.gc374be3-1.el9