Newly introduced findings

List of Findings

Error: CLIPPY_WARNING: [#def1]
src/dbus/pool/pool_3_10/methods.rs:66:33: warning: relative drop order changing in Rust 2024
#      |
#   62 |                     let opt = manager.read().await.blockdev_get_path(&dev_uuid).cloned();
#      |                               --------------------
#      |                               |              |
#      |                               |              this value will be stored in a temporary; let us call it `#3`
#      |                               |              `#3` will be dropped later as of Edition 2024
#      |                               this value will be stored in a temporary; let us call it `#1`
#      |                               `#1` will be dropped later as of Edition 2024
#      |                               this value will be stored in a temporary; let us call it `#2`
#      |                               `#2` will be dropped later as of Edition 2024
#  ...
#   66 |                                 unregister_blockdev(connection, manager, &p.as_ref()).await
#      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
#      |                                 |                                                     |
#      |                                 |                                                     this value will be stored in a temporary; let us call it `#7`
#      |                                 |                                                     up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024
#      |                                 |                                                     this value will be stored in a temporary; let us call it `#5`
#      |                                 |                                                     `#5` will be dropped later as of Edition 2024
#      |                                 this value will be stored in a temporary; let us call it `#6`
#      |                                 up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024
#      |                                 this value will be stored in a temporary; let us call it `#4`
#      |                                 `#4` will be dropped later as of Edition 2024
#  ...
#   72 |                         }
#      |                         - now the temporary value is dropped here, before the local variables in the block or statement
#      |
#  note: `#6` invokes this custom destructor
#     --> library/std/src/os/fd/owned.rs:196:0
#  note: `#6` invokes this custom destructor
#     --> library/std/src/sync/once_lock.rs:692:0
#      = note: `#6` may invoke a custom destructor because it contains a trait object
#  note: `#6` invokes this custom destructor
#     --> /usr/share/cargo/registry/semver-1.0.28/src/identifier.rs:240:1
#      |
#  240 | impl Drop for Identifier {
#      | ^^^^^^^^^^^^^^^^^^^^^^^^
#  note: `#1` invokes this custom destructor
#     --> src/engine/structures/lock.rs:43:1
#      |
#   43 | impl<G> Drop for SharedGuard<G> {
#      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#  note: `#3` invokes this custom destructor
#     --> src/engine/structures/lock.rs:43:1
#      |
#   43 | impl<G> Drop for SharedGuard<G> {
#      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#  note: `#5` invokes this custom destructor
#     --> library/std/src/os/fd/owned.rs:196:0
#  note: `#5` invokes this custom destructor
#     --> library/std/src/sync/once_lock.rs:692:0
#      = note: `#5` may invoke a custom destructor because it contains a trait object
#  note: `#5` invokes this custom destructor
#     --> /usr/share/cargo/registry/semver-1.0.28/src/identifier.rs:240:1
#      |
#  240 | impl Drop for Identifier {
#      | ^^^^^^^^^^^^^^^^^^^^^^^^
#      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
#      = warning: this changes meaning in Rust 2024
#      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
#      = note: `-D tail-expr-drop-order` implied by `-D rust-2024-compatibility`
#      = help: to override `-D rust-2024-compatibility` add `#[allow(tail_expr_drop_order)]`
#      = note: the `tail_expr_drop_order` lint ignores `-D warnings`

Scan Properties

analyzer-version-clippy1.98.1
analyzer-version-cppcheck2.22.0
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.1
diffbase-analyzer-version-cppcheck2.22.0
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-99.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.10.0~pre-202610011759git2ed900a1
diffbase-store-results-to/tmp/tmp4ko3p1fe/stratisd-3.10.0~pre-202610011759git2ed900a1.tar.xz
diffbase-time-created2026-10-05 18:05:15
diffbase-time-finished2026-10-05 18:22:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-59491db7-e626-4d65-842d-88dda1620de9' '-t' 'cppcheck,unicontrol,shellcheck,clippy,gcc' '-o' '/tmp/tmp4ko3p1fe/stratisd-3.10.0~pre-202610011759git2ed900a1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp4ko3p1fe/stratisd-3.10.0~pre-202610011759git2ed900a1.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-99.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.10.0~pre-202610051727git6393f29b
store-results-to/tmp/tmp6vfsj8dh/stratisd-3.10.0~pre-202610051727git6393f29b.tar.xz
time-created2026-10-05 18:23:08
time-finished2026-10-05 18:40:43
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-895f0ebe-5b84-441b-a12c-c4975ff7c5ba' '-t' 'cppcheck,unicontrol,shellcheck,clippy,gcc' '-o' '/tmp/tmp6vfsj8dh/stratisd-3.10.0~pre-202610051727git6393f29b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp6vfsj8dh/stratisd-3.10.0~pre-202610051727git6393f29b.src.rpm'
tool-versioncsmock-3.8.7.20260928.142326.g9f7dd5c-1.el9