Skip to content

Merge pull request #61 from iotaledger/develop #31

Merge pull request #61 from iotaledger/develop

Merge pull request #61 from iotaledger/develop #31

Triggered via push June 30, 2025 16:44
Status Failure
Total duration 4m 45s
Artifacts

clippy.yml

on: push
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

10 errors
variables can be used directly in the `format!` string: notarization-rs/src/core/types/timelock.rs#L104
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/types/timelock.rs:104:27 | 104 | TypeTag::from_str(format!("{}::timelock::TimeLock", package).as_str()).expect("failed to create type tag") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 104 - TypeTag::from_str(format!("{}::timelock::TimeLock", package).as_str()).expect("failed to create type tag") 104 + TypeTag::from_str(format!("{package}::timelock::TimeLock").as_str()).expect("failed to create type tag") |
variables can be used directly in the `format!` string: notarization-rs/src/core/transactions/create.rs#L197
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/transactions/create.rs:197:71 | 197 | .map_err(|e| Error::TransactionUnexpectedResponse(format!("failed to parse event: {}", e)))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 197 - .map_err(|e| Error::TransactionUnexpectedResponse(format!("failed to parse event: {}", e)))?; 197 + .map_err(|e| Error::TransactionUnexpectedResponse(format!("failed to parse event: {e}")))?; |
variables can be used directly in the `format!` string: notarization-rs/src/core/transactions/create.rs#L191
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/transactions/create.rs:191:71 | 191 | .map_err(|e| Error::TransactionUnexpectedResponse(format!("failed to parse event: {}", e)))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 191 - .map_err(|e| Error::TransactionUnexpectedResponse(format!("failed to parse event: {}", e)))?; 191 + .map_err(|e| Error::TransactionUnexpectedResponse(format!("failed to parse event: {e}")))?; |
variables can be used directly in the `format!` string: notarization-rs/src/core/operations.rs#L324
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/operations.rs:324:49 | 324 | .map_err(|e| Error::InvalidArgument(format!("Failed to create notarization argument: {}", e)))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 324 - .map_err(|e| Error::InvalidArgument(format!("Failed to create notarization argument: {}", e)))?; 324 + .map_err(|e| Error::InvalidArgument(format!("Failed to create notarization argument: {e}")))?; |
variables can be used directly in the `format!` string: notarization-rs/src/core/operations.rs#L319
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/operations.rs:319:49 | 319 | .map_err(|e| Error::InvalidArgument(format!("Failed to create recipient argument: {}", e)))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 319 - .map_err(|e| Error::InvalidArgument(format!("Failed to create recipient argument: {}", e)))?; 319 + .map_err(|e| Error::InvalidArgument(format!("Failed to create recipient argument: {e}")))?; |
variables can be used directly in the `format!` string: notarization-rs/src/core/operations.rs#L75
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/operations.rs:75:53 | 75 | .map_err(|e| Error::InvalidArgument(format!("Failed to add additional arguments: {}", e)))?, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 75 - .map_err(|e| Error::InvalidArgument(format!("Failed to add additional arguments: {}", e)))?, 75 + .map_err(|e| Error::InvalidArgument(format!("Failed to add additional arguments: {e}")))?, |
variables can be used directly in the `format!` string: notarization-rs/src/core/operations.rs#L69
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/operations.rs:69:57 | 69 | .map_err(|e| Error::InvalidArgument(format!("Failed to create object argument: {}", e)))?, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 69 - .map_err(|e| Error::InvalidArgument(format!("Failed to create object argument: {}", e)))?, 69 + .map_err(|e| Error::InvalidArgument(format!("Failed to create object argument: {e}")))?, |
variables can be used directly in the `format!` string: notarization-rs/src/core/move_utils.rs#L80
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/move_utils.rs:80:37 | 80 | Err(Error::FailedToParseTag(format!( | _____________________________________^ 81 | | "Could not parse type parameter from {}", 82 | | full_type 83 | | ))) | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
variables can be used directly in the `format!` string: notarization-rs/src/core/move_utils.rs#L62
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/move_utils.rs:62:46 | 62 | .map_err(|e| Error::FailedToParseTag(format!("Failed to parse tag '{}': {}", type_param_str, e)))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 62 - .map_err(|e| Error::FailedToParseTag(format!("Failed to parse tag '{}': {}", type_param_str, e)))?; 62 + .map_err(|e| Error::FailedToParseTag(format!("Failed to parse tag '{type_param_str}': {e}")))?; |
variables can be used directly in the `format!` string: notarization-rs/src/core/move_utils.rs#L52
error: variables can be used directly in the `format!` string --> notarization-rs/src/core/move_utils.rs:52:48 | 52 | .ok_or_else(|| Error::FailedToParseTag(format!("Object {} not found", object_id)))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 warnings` = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]` help: change this to | 52 - .ok_or_else(|| Error::FailedToParseTag(format!("Object {} not found", object_id)))?; 52 + .ok_or_else(|| Error::FailedToParseTag(format!("Object {object_id} not found")))?; |