fido-device-onboard-0.5.5-1.20250606135918621927.pr3 - findings not occurring in fido-device-onboard-0.5.5-1.20250606135918621927.pr3

List of Findings

Error: CLIPPY_WARNING: [#def1]
fido-device-onboard-0.5.5-build/owner-onboarding-server/src/main.rs:111:35: warning: `to_string` applied to a type that implements `Display` in `warn!` args
#      |
#  111 |                 ov.header().guid().to_string(),
#      |                                   ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
#      = note: `#[warn(clippy::to_string_in_format_args)]` on by default

Error: CLIPPY_WARNING: [#def2]
fido-device-onboard-0.5.5-build/owner-onboarding-server/src/main.rs:192:50: warning: `to_string` applied to a type that implements `Display` in `warn!` args
#      |
#  192 | ...                   ov.header().guid().to_string(), udt.ov_registration_period);
#      |                                         ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def3]
fido-device-onboard-0.5.5-build/owner-onboarding-server/src/main.rs:195:43: warning: `to_string` applied to a type that implements `Display` in `warn!` args
#      |
#  195 |                         ov.header().guid().to_string(), udt.ov_re_registration_window, udt.ov_registration_period);
#      |                                           ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def4]
fido-device-onboard-0.5.5-build/owner-onboarding-server/src/main.rs:202:39: warning: `to_string` applied to a type that implements `Display` in `warn!` args
#      |
#  202 |                     ov.header().guid().to_string()
#      |                                       ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def5]
fido-device-onboard-0.5.5-build/owner-onboarding-server/src/main.rs:264:33: warning: `to_string` applied to a type that implements `Display` in `info!` args
#      |
#  264 |                 ov_header.guid().to_string(),
#      |                                 ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def6]
fido-device-onboard-0.5.5-build/owner-onboarding-server/src/main.rs:305:33: warning: `to_string` applied to a type that implements `Display` in `info!` args
#      |
#  305 |                 ov_header.guid().to_string(),
#      |                                 ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def7]
fido-device-onboard-0.5.5-build/store/src/directory.rs:153:68: warning: `to_string` applied to a type that implements `Display` in `trace!` args
#      |
#  153 |                         log::trace!("Error checking {}: {}", key, e.to_string());
#      |                                                                    ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
#      = note: `#[warn(clippy::to_string_in_format_args)]` on by default

Error: CLIPPY_WARNING: [#def8]
fido-device-onboard-0.5.5-build/store/src/directory.rs:172:72: warning: `to_string` applied to a type that implements `Display` in `trace!` args
#      |
#  172 | ...                   log::trace!("Error checking {}: {}", key, e.to_string());
#      |                                                                  ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def9]
fido-device-onboard-0.5.5-build/store/src/directory.rs:184:59: warning: `to_string` applied to a type that implements `Display` in `trace!` args
#      |
#  184 |                     log::trace!("Error opening file {}", e.to_string());
#      |                                                           ^^^^^^^^^^^^ help: remove this
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args

Error: CLIPPY_WARNING: [#def10]
fido-device-onboard-0.5.5-build/util/src/servers/mod.rs:122:20: warning: manual implementation of `ok`
#      |
#  122 |           Some(v) => match v.into_string() {
#      |  ____________________^
#  123 | |             Ok(s) => Some(s),
#  124 | |             Err(_) => None,
#  125 | |         },
#      | |_________^ help: replace with: `v.into_string().ok()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err
#      = note: `#[warn(clippy::manual_ok_err)]` on by default

Scan Properties

analyzer-version-clippy1.87.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.87.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-33.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-namefido-device-onboard-0.5.5-1.20250606135918621927.pr3
diffbase-store-results-to/tmp/tmp1s7erso3/fido-device-onboard-0.5.5-1.20250606135918621927.pr3.tar.xz
diffbase-time-created2025-06-06 14:31:36
diffbase-time-finished2025-06-06 14:39:18
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp1s7erso3/fido-device-onboard-0.5.5-1.20250606135918621927.pr3.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1s7erso3/fido-device-onboard-0.5.5-1.20250606135918621927.pr3.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-33.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-namefido-device-onboard-0.5.5-1.20250606135918621927.pr3
store-results-to/tmp/tmp1s7erso3/fido-device-onboard-0.5.5-1.20250606135918621927.pr3.tar.xz
time-created2025-06-06 14:31:36
time-finished2025-06-06 14:39:18
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp1s7erso3/fido-device-onboard-0.5.5-1.20250606135918621927.pr3.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1s7erso3/fido-device-onboard-0.5.5-1.20250606135918621927.pr3.src.rpm'
tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9