Task #61443 - fixed.err

back to task #61443
download
Error: CLIPPY_WARNING:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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}");
#      |