Error: CLIPPY_WARNING: [#def1] src/core/dm.rs:338:9: warning: variables can be used directly in the `format!` string # | # 338 | debug!("Creating device {} (uuid={:?})", name, uuid); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # = note: `-D clippy::uninlined-format-args` implied by `-D clippy::all` # = help: to override `-D clippy::all` add `#[allow(clippy::uninlined_format_args)]` # help: change this to # | # 338 - debug!("Creating device {} (uuid={:?})", name, uuid); # 338 + debug!("Creating device {name} (uuid={uuid:?})"); # | Error: CLIPPY_WARNING: [#def2] src/core/dm.rs:383:9: warning: variables can be used directly in the `format!` string # | # 383 | debug!("Removing device {}", id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 383 - debug!("Removing device {}", id); # 383 + debug!("Removing device {id}"); # | Error: CLIPPY_WARNING: [#def3] src/core/dm.rs:387:17: warning: variables can be used directly in the `format!` string # | # 387 | trace!("Device remove attempt {} of {}", i, DM_REMOVE_RETRIES); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 387 - trace!("Device remove attempt {} of {}", i, DM_REMOVE_RETRIES); # 387 + trace!("Device remove attempt {i} of {DM_REMOVE_RETRIES}"); # | Error: CLIPPY_WARNING: [#def4] src/core/dm.rs:417:9: warning: variables can be used directly in the `format!` string # | # 417 | debug!("Renaming device {} to {}", old_name, new); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 417 - debug!("Renaming device {} to {}", old_name, new); # 417 + debug!("Renaming device {old_name} to {new}"); # | Error: CLIPPY_WARNING: [#def5] src/core/dm.rs:456:9: warning: variables can be used directly in the `format!` string # | # 456 | debug!("{} device {}", action, id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 456 - debug!("{} device {}", action, id); # 456 + debug!("{action} device {id}"); # | Error: CLIPPY_WARNING: [#def6] src/core/dm.rs:467:9: warning: variables can be used directly in the `format!` string # | # 467 | trace!("Retrieving info for {}", id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 467 - trace!("Retrieving info for {}", id); # 467 + trace!("Retrieving info for {id}"); # | Error: CLIPPY_WARNING: [#def7] src/core/dm.rs:487:9: warning: variables can be used directly in the `format!` string # | # 487 | trace!("Waiting on event for {}", id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 487 - trace!("Waiting on event for {}", id); # 487 + trace!("Waiting on event for {id}"); # | Error: CLIPPY_WARNING: [#def8] src/core/dm.rs:575:9: warning: variables can be used directly in the `format!` string # | # 575 | trace!("Loading table \"{:?}\" for {}", targets, id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 575 - trace!("Loading table \"{:?}\" for {}", targets, id); # 575 + trace!("Loading table \"{targets:?}\" for {id}"); # | Error: CLIPPY_WARNING: [#def9] src/core/dm.rs:584:9: warning: variables can be used directly in the `format!` string # | # 584 | trace!("Clearing inactive table for {}", id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 584 - trace!("Clearing inactive table for {}", id); # 584 + trace!("Clearing inactive table for {id}"); # | Error: CLIPPY_WARNING: [#def10] src/core/dm.rs:599:9: warning: variables can be used directly in the `format!` string # | # 599 | trace!("Querying dependencies for {}", id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 599 - trace!("Querying dependencies for {}", id); # 599 + trace!("Querying dependencies for {id}"); # | Error: CLIPPY_WARNING: [#def11] src/core/dm.rs:705:9: warning: variables can be used directly in the `format!` string # | # 705 | trace!("Retrieving table status for {}", id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 705 - trace!("Retrieving table status for {}", id); # 705 + trace!("Retrieving table status for {id}"); # | Error: CLIPPY_WARNING: [#def12] src/core/dm.rs:775:9: warning: variables can be used directly in the `format!` string # | # 775 | debug!("Sending target message \"{}\" to {}", msg, id); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 775 - debug!("Sending target message \"{}\" to {}", msg, id); # 775 + debug!("Sending target message \"{msg}\" to {id}"); # | Error: CLIPPY_WARNING: [#def13] src/core/dm_udev_sync.rs:176:17: warning: variables can be used directly in the `format!` string # | # 176 | error!("Failed to generate udev notification semaphore: {}", err); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 176 - error!("Failed to generate udev notification semaphore: {}", err); # 176 + error!("Failed to generate udev notification semaphore: {err}"); # | Error: CLIPPY_WARNING: [#def14] src/core/dm_udev_sync.rs:182:13: warning: variables can be used directly in the `format!` string # | # 182 | error!("Failed to initialize udev notification semaphore: {}", err); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 182 - error!("Failed to initialize udev notification semaphore: {}", err); # 182 + error!("Failed to initialize udev notification semaphore: {err}"); # | Error: CLIPPY_WARNING: [#def15] src/core/dm_udev_sync.rs:184:17: warning: variables can be used directly in the `format!` string # | # 184 | error!("Failed to clean up udev notification semaphore: {}", err2); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 184 - error!("Failed to clean up udev notification semaphore: {}", err2); # 184 + error!("Failed to clean up udev notification semaphore: {err2}"); # | Error: CLIPPY_WARNING: [#def16] src/core/dm_udev_sync.rs:207:13: warning: variables can be used directly in the `format!` string # | # 207 | / error!( # 208 | | "Failed to remove udev synchronization semaphore {} for cookie {}", # 209 | | semid, cookie # 210 | | ); # | |_____________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args Error: CLIPPY_WARNING: [#def17] src/core/dm_udev_sync.rs:227:17: warning: variables can be used directly in the `format!` string # | # 227 | / error!( # 228 | | "Failed to increment udev synchronization semaphore {} for cookie {}", # 229 | | semid, cookie # 230 | | ); # | |_________________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args Error: CLIPPY_WARNING: [#def18] src/core/dm_udev_sync.rs:248:17: warning: variables can be used directly in the `format!` string # | # 248 | / error!( # 249 | | "Failed to decrement udev synchronization semaphore {} for cookie {}", # 250 | | semid, cookie # 251 | | ); # | |_________________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args Error: CLIPPY_WARNING: [#def19] src/core/dm_udev_sync.rs:273:17: warning: variables can be used directly in the `format!` string # | # 273 | error!("Failed to clean up udev notification semaphore: {}", err2); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 273 - error!("Failed to clean up udev notification semaphore: {}", err2); # 273 + error!("Failed to clean up udev notification semaphore: {err2}"); # | Error: CLIPPY_WARNING: [#def20] src/core/dm_udev_sync.rs:284:17: warning: variables can be used directly in the `format!` string # | # 284 | / error!( # 285 | | "Failed to wait on notification semaphore {} for cookie {}", # 286 | | semid, cookie # 287 | | ); # | |_________________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args Error: CLIPPY_WARNING: [#def21] src/core/dm_udev_sync.rs:337:17: warning: variables can be used directly in the `format!` string # | # 337 | / error!( # 338 | | "Failed to set udev notification semaphore initial state: {}", # 339 | | err # 340 | | ); # | |_________________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args Error: CLIPPY_WARNING: [#def22] src/core/dm_udev_sync.rs:342:21: warning: variables can be used directly in the `format!` string # | # 342 | error!("Failed to clean up udev notification semaphore: {}", err2); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 342 - error!("Failed to clean up udev notification semaphore: {}", err2); # 342 + error!("Failed to clean up udev notification semaphore: {err2}"); # | Error: CLIPPY_WARNING: [#def23] src/core/dm_udev_sync.rs:361:25: warning: variables can be used directly in the `format!` string # | # 361 | error!("Failed to clear notification semaphore state: {}", err); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 361 - error!("Failed to clear notification semaphore state: {}", err); # 361 + error!("Failed to clear notification semaphore state: {err}"); # | Error: CLIPPY_WARNING: [#def24] src/core/dm_udev_sync.rs:363:29: warning: variables can be used directly in the `format!` string # | # 363 | ... error!("Failed to clean up notification semaphore: {}", err2); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 363 - error!("Failed to clean up notification semaphore: {}", err2); # 363 + error!("Failed to clean up notification semaphore: {err2}"); # | Error: CLIPPY_WARNING: [#def25] src/core/dm_udev_sync.rs:368:17: warning: variables can be used directly in the `format!` string # | # 368 | trace!("Waiting on {:?}", self); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 368 - trace!("Waiting on {:?}", self); # 368 + trace!("Waiting on {self:?}"); # | Error: CLIPPY_WARNING: [#def26] src/core/dm_udev_sync.rs:370:17: warning: variables can be used directly in the `format!` string # | # 370 | trace!("Destroying {:?}", self); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 370 - trace!("Destroying {:?}", self); # 370 + trace!("Destroying {self:?}"); # | Error: CLIPPY_WARNING: [#def27] src/core/dm_udev_sync.rs:372:21: warning: variables can be used directly in the `format!` string # | # 372 | error!("Failed to clean up notification semaphore: {}", err); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 372 - error!("Failed to clean up notification semaphore: {}", err); # 372 + error!("Failed to clean up notification semaphore: {err}"); # | Error: CLIPPY_WARNING: [#def28] src/core/dm_udev_sync.rs:385:17: warning: variables can be used directly in the `format!` string # | # 385 | trace!("Canceling {:?}", self); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 385 - trace!("Canceling {:?}", self); # 385 + trace!("Canceling {self:?}"); # | Error: CLIPPY_WARNING: [#def29] src/core/dm_udev_sync.rs:387:21: warning: variables can be used directly in the `format!` string # | # 387 | error!("Failed to clean up notification semaphore: {}", err); # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args # help: change this to # | # 387 - error!("Failed to clean up notification semaphore: {}", err); # 387 + error!("Failed to clean up notification semaphore: {err}"); # |
analyzer-version-clippy | 1.88.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.1.1 |
analyzer-version-gcc-analyzer | 15.1.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.88.0 |
diffbase-analyzer-version-cppcheck | 2.17.1 |
diffbase-analyzer-version-gcc | 15.1.1 |
diffbase-analyzer-version-gcc-analyzer | 15.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-90.us-west-2.compute.internal |
diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
diffbase-mock-config | fedora-rawhide-x86_64 |
diffbase-project-name | rust-devicemapper-sys-0.3.2-1.20250629160510931612.pr986.7.g85ce311 |
diffbase-store-results-to | /tmp/tmp5vis_7na/rust-devicemapper-sys-0.3.2-1.20250629160510931612.pr986.7.g85ce311.tar.xz |
diffbase-time-created | 2025-06-29 16:17:25 |
diffbase-time-finished | 2025-06-29 16:19:31 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp5vis_7na/rust-devicemapper-sys-0.3.2-1.20250629160510931612.pr986.7.g85ce311.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp5vis_7na/rust-devicemapper-sys-0.3.2-1.20250629160510931612.pr986.7.g85ce311.src.rpm' |
diffbase-tool-version | csmock-3.8.1.20250626.171830.gc374be3-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-90.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.20250521.132812.g8eff701.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | rust-devicemapper-0.34.4-1.20250626195448454182.master.6.gc248759 |
store-results-to | /tmp/tmpqh6eq9mw/rust-devicemapper-0.34.4-1.20250626195448454182.master.6.gc248759.tar.xz |
time-created | 2025-06-29 16:14:15 |
time-finished | 2025-06-29 16:17:06 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmpqh6eq9mw/rust-devicemapper-0.34.4-1.20250626195448454182.master.6.gc248759.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpqh6eq9mw/rust-devicemapper-0.34.4-1.20250626195448454182.master.6.gc248759.src.rpm' |
tool-version | csmock-3.8.1.20250626.171830.gc374be3-1.el9 |