Fixed findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/engine/strat_engine/crypt/shared.rs:756:21: warning: `to_string` applied to a type that implements `Display` in `warn!` args
#      |
#  756 |                 json.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: `-D clippy::to-string-in-format-args` implied by `-D clippy::all`
#      = help: to override `-D clippy::all` add `#[allow(clippy::to_string_in_format_args)]`

Error: CLIPPY_WARNING: [#def2]
src/engine/strat_engine/crypt/shared.rs:857:26: warning: `to_string` applied to a type that implements `Display` in `warn!` args
#      |
#  857 |             warn!("{}", 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

Scan Properties

analyzer-version-clippy1.86.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.86.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-96.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.20250507.090448.g5770581.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namestratisd-3.8.0~202505071627git6c4d265e-D
diffbase-store-results-to/tmp/tmpokhm8tm0/stratisd-3.8.0~202505071627git6c4d265e-D.tar.xz
diffbase-time-created2025-05-07 16:58:50
diffbase-time-finished2025-05-07 17:07:25
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,unicontrol,clippy,cppcheck' '-o' '/tmp/tmpokhm8tm0/stratisd-3.8.0~202505071627git6c4d265e-D.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpokhm8tm0/stratisd-3.8.0~202505071627git6c4d265e-D.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-96.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250507.090448.g5770581.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namestratisd-3.8.0~202505071525git0a1b92c2-D
store-results-to/tmp/tmp8f5vj1a3/stratisd-3.8.0~202505071525git0a1b92c2-D.tar.xz
time-created2025-05-07 16:49:30
time-finished2025-05-07 16:58:35
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,unicontrol,clippy,cppcheck' '-o' '/tmp/tmp8f5vj1a3/stratisd-3.8.0~202505071525git0a1b92c2-D.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8f5vj1a3/stratisd-3.8.0~202505071525git0a1b92c2-D.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9