Error: CLIPPY_WARNING: [#def1] src/config.rs:87:12: warning: needless call to `as_bytes` # | # 87 | if name.as_bytes().len() > 16 { # | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `name.len()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#needless_as_bytes # = note: `#[warn(clippy::needless_as_bytes)]` on by default Error: CLIPPY_WARNING: [#def2] src/config.rs:182:13: warning: redundant reference in `format!` argument # | # 182 | &(last_index + 1).to_string() # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `(last_index + 1).to_string()` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#useless_borrows_in_formatting # = note: `#[warn(clippy::useless_borrows_in_formatting)]` on by default Error: CLIPPY_WARNING: [#def3] src/config.rs:214:13: warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` # | # 214 | / match device.devtype() { # 215 | | Some(t) => match t.to_str() { # 216 | | Some("vlan") | Some("bond") | Some("bridge") => continue, # 217 | | _ => {} # 218 | | }, # 219 | | None => {} # 220 | | } # | |_____________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#single_match # = note: `#[warn(clippy::single_match)]` on by default # help: try # | # 214 ~ if let Some(t) = device.devtype() { match t.to_str() { # 215 + Some("vlan") | Some("bond") | Some("bridge") => continue, # 216 + _ => {} # 217 + } } # | Error: CLIPPY_WARNING: [#def4] src/util.rs:46:16: warning: this manual char comparison can be written more succinctly # | # 46 | .split(|c| c == ':' || c == '-') # | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `[':', '-']` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#manual_pattern_char_comparison # = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-60.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | rust-prefixdevname-0.2.0-8.fc44 |
| store-results-to | /tmp/tmpuc_tqkwo/rust-prefixdevname-0.2.0-8.fc44.tar.xz |
| time-created | 2026-08-03 20:39:31 |
| time-finished | 2026-08-03 20:41:56 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpuc_tqkwo/rust-prefixdevname-0.2.0-8.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpuc_tqkwo/rust-prefixdevname-0.2.0-8.fc44.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |