Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-71d4752d8c67cb50/out/bindings.rs:3:76608: warning: suspicious definition of the runtime `memcpy` symbol used by the standard library
#    |
#  3 | ... { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, usize) -> *mut libc::c_void`
#            found    `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, u64) -> *mut libc::c_void`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcpy")]`, or `#[link_name = "memcpy"]`
#    = help: allow this lint if the signature is compatible
#    = note: `-D suspicious-runtime-symbol-definitions` implied by `-D warnings`
#    = help: to override `-D warnings` add `#[allow(suspicious_runtime_symbol_definitions)]`
#    = note: the `suspicious_runtime_symbol_definitions` lint ignores `-D warnings`

Error: CLIPPY_WARNING: [#def2]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-71d4752d8c67cb50/out/bindings.rs:3:76819: warning: suspicious definition of the runtime `memmove` symbol used by the standard library
#    |
#  3 | ... { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, usize) -> *mut libc::c_void`
#            found    `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, u64) -> *mut libc::c_void`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memmove")]`, or `#[link_name = "memmove"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def3]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-71d4752d8c67cb50/out/bindings.rs:3:77280: warning: suspicious definition of the runtime `memset` symbol used by the standard library
#    |
#  3 | ... { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*mut libc::c_void, i32, usize) -> *mut libc::c_void`
#            found    `unsafe extern "C" fn(*mut libc::c_void, i32, u64) -> *mut libc::c_void`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def4]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-71d4752d8c67cb50/out/bindings.rs:3:77658: warning: suspicious definition of the runtime `memcmp` symbol used by the standard library
#    |
#  3 | ... { pub fn memcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, usize) -> i32`
#            found    `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, u64) -> i32`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcmp")]`, or `#[link_name = "memcmp"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def5]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-71d4752d8c67cb50/out/bindings.rs:3:84388: warning: suspicious definition of the runtime `strlen` symbol used by the standard library
#    |
#  3 | ...afe extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "...
#    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*const i8) -> usize`
#            found    `unsafe extern "C" fn(*const i8) -> u64`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def6]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-71d4752d8c67cb50/out/bindings.rs:3:85106: warning: suspicious definition of the runtime `bcmp` symbol used by the standard library
#    |
#  3 | ... { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, usize) -> i32`
#            found    `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, u64) -> i32`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "bcmp")]`, or `#[link_name = "bcmp"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def7]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-96d5d19d3f97519c/out/bindings.rs:3:76608: warning: suspicious definition of the runtime `memcpy` symbol used by the standard library
#    |
#  3 | ... { pub fn memcpy (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, usize) -> *mut libc::c_void`
#            found    `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, u64) -> *mut libc::c_void`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcpy")]`, or `#[link_name = "memcpy"]`
#    = help: allow this lint if the signature is compatible
#    = note: `-D suspicious-runtime-symbol-definitions` implied by `-D warnings`
#    = help: to override `-D warnings` add `#[allow(suspicious_runtime_symbol_definitions)]`
#    = note: the `suspicious_runtime_symbol_definitions` lint ignores `-D warnings`

Error: CLIPPY_WARNING: [#def8]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-96d5d19d3f97519c/out/bindings.rs:3:76819: warning: suspicious definition of the runtime `memmove` symbol used by the standard library
#    |
#  3 | ... { pub fn memmove (__dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, usize) -> *mut libc::c_void`
#            found    `unsafe extern "C" fn(*mut libc::c_void, *const libc::c_void, u64) -> *mut libc::c_void`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memmove")]`, or `#[link_name = "memmove"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def9]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-96d5d19d3f97519c/out/bindings.rs:3:77280: warning: suspicious definition of the runtime `memset` symbol used by the standard library
#    |
#  3 | ... { pub fn memset (__s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong) -> * mut :: std :: os :: raw :: c_void ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*mut libc::c_void, i32, usize) -> *mut libc::c_void`
#            found    `unsafe extern "C" fn(*mut libc::c_void, i32, u64) -> *mut libc::c_void`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def10]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-96d5d19d3f97519c/out/bindings.rs:3:77658: warning: suspicious definition of the runtime `memcmp` symbol used by the standard library
#    |
#  3 | ... { pub fn memcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, usize) -> i32`
#            found    `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, u64) -> i32`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memcmp")]`, or `#[link_name = "memcmp"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def11]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-96d5d19d3f97519c/out/bindings.rs:3:84388: warning: suspicious definition of the runtime `strlen` symbol used by the standard library
#    |
#  3 | ...afe extern "C" { pub fn strlen (__s : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_ulong ; } unsafe extern "...
#    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*const i8) -> usize`
#            found    `unsafe extern "C" fn(*const i8) -> u64`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def12]
/builddir/build/BUILD/stratisd-3.9.2_post-build/stratisd-stratisd-v3.9.2^post/target/release/build/stratisd-96d5d19d3f97519c/out/bindings.rs:3:85106: warning: suspicious definition of the runtime `bcmp` symbol used by the standard library
#    |
#  3 | ... { pub fn bcmp (__s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_int ; } ...
#    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#    |
#    = note: expected `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, usize) -> i32`
#            found    `unsafe extern "C" fn(*const libc::c_void, *const libc::c_void, u64) -> i32`
#    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "bcmp")]`, or `#[link_name = "bcmp"]`
#    = help: allow this lint if the signature is compatible

Error: CLIPPY_WARNING: [#def13]
src/engine/strat_engine/pool/inspection.rs:281:21: warning: useless use of `format!`
#      |
#  281 | /                     format!(
#  282 | |                         "Integrity specification should resolve to 0 allocations for integrity, but data device has space allocat...
#  283 | |                     )
#      | |_____________________^ help: consider using `.to_string()`: `"Integrity specification should resolve to 0 allocations for integrity, but data device has space allocated for integrity.".to_string()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_format
#      = note: `-D clippy::useless-format` implied by `-D clippy::all`
#      = help: to override `-D clippy::all` add `#[allow(clippy::useless_format)]`
#      = note: the `clippy::useless_format` lint ignores `-D warnings`

Error: CLIPPY_WARNING: [#def14]
stratisd_proc_macros/src/lib.rs:155:17: warning: draining all elements of a collection into a new collection of the same type
#      |
#  155 |     let stmts = f.block.stmts.drain(..).collect::<Vec<_>>();
#      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `mem::take` to avoid creating a new allocation: `std::mem::take(&mut f.block.stmts)`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#drain_collect
#      = note: `-D clippy::drain-collect` implied by `-D clippy::all`
#      = help: to override `-D clippy::all` add `#[allow(clippy::drain_collect)]`
#      = note: the `clippy::drain_collect` lint ignores `-D warnings`

Scan Properties

analyzer-version-clippy1.98.0
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.2.1
analyzer-version-gcc-analyzer16.2.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.98.0
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.2.1
diffbase-analyzer-version-gcc-analyzer16.2.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-152.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.20260813.215201.gc98a3c4.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namestratisd-3.9.2^post-202608261400git82036b66
diffbase-store-results-to/tmp/tmpi_kmzkxc/stratisd-3.9.2^post-202608261400git82036b66.tar.xz
diffbase-time-created2026-08-26 16:23:31
diffbase-time-finished2026-08-26 16:41:20
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpi_kmzkxc/stratisd-3.9.2^post-202608261400git82036b66.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpi_kmzkxc/stratisd-3.9.2^post-202608261400git82036b66.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260824.142338.gaf1a4e2-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-152.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namestratisd-3.9.2^post-202608261457gitb9525704
store-results-to/tmp/tmp8svjutzl/stratisd-3.9.2^post-202608261457gitb9525704.tar.xz
time-created2026-08-26 16:41:36
time-finished2026-08-26 16:57:41
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp8svjutzl/stratisd-3.9.2^post-202608261457gitb9525704.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8svjutzl/stratisd-3.9.2^post-202608261457gitb9525704.src.rpm'
tool-versioncsmock-3.8.7.20260824.142338.gaf1a4e2-1.el9