Skip to content

feat: add get_seed() for stronghold #8728

feat: add get_seed() for stronghold

feat: add get_seed() for stronghold #8728

Triggered via pull request December 31, 2024 11:17
Status Failure
Total duration 8m 58s
Artifacts

build-and-test.yml

on: pull_request
Matrix: crate
Fit to window
Zoom out
Zoom in

Annotations

168 errors and 1 warning
crate (ubuntu-latest)
Process completed with exit code 101.
creating a shared reference to mutable static is discouraged: sdk/src/client/mod.rs#L34
error: creating a shared reference to mutable static is discouraged --> sdk/src/client/mod.rs:34:18 | 34 | unsafe { VALUE.as_ref() }.expect("failed to get lazy static value") | ^^^^^ shared reference to mutable static | ::: sdk/src/client/node_api/mqtt/types.rs:172:28 | 172 | let valid_topics = lazy_static!( | ____________________________- 173 | | RegexSet::new([ 174 | | // Milestone topics. 175 | | r"^milestone-info/latest$", ... | 196 | | r"^receipts$", 197 | | ]).expect("cannot build regex set") => RegexSet); | |____________________________________________________________- in this macro invocation | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html> = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives = note: `#[deny(static_mut_refs)]` implied by `#[deny(warnings)]` = note: this error originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
this argument is a mutable reference, but not used mutably: sdk/src/wallet/account/update.rs#L282
error: this argument is a mutable reference, but not used mutably --> sdk/src/wallet/account/update.rs:282:51 | 282 | pub(crate) async fn update_account_bech32_hrp(&mut self) -> crate::wallet::Result<()> { | ^^^^^^^^^ help: consider changing to: `&self` | = note: this is cfg-gated and may require further changes = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
this argument is a mutable reference, but not used mutably: sdk/src/wallet/account/builder.rs#L61
error: this argument is a mutable reference, but not used mutably --> sdk/src/wallet/account/builder.rs:61:25 | 61 | pub async fn finish(&mut self) -> crate::wallet::Result<Account<S>> { | ^^^^^^^^^ help: consider changing to: `&self` | = note: this is cfg-gated and may require further changes = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut = note: `#[deny(clippy::needless_pass_by_ref_mut)]` implied by `#[deny(clippy::nursery)]`
unnecessary use of `to_vec`: sdk/src/wallet/migration/chrysalis.rs#L337
error: unnecessary use of `to_vec` --> sdk/src/wallet/migration/chrysalis.rs:337:41 | 337 | if !chrysalis_data.contains_key(&b"iota-wallet-account-indexation".to_vec()) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `b"iota-wallet-account-indexation".as_slice()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned = note: `#[deny(clippy::unnecessary_to_owned)]` implied by `#[deny(warnings)]`
the borrowed expression implements the required traits: sdk/src/wallet/core/operations/stronghold_backup/mod.rs#L372
error: the borrowed expression implements the required traits --> sdk/src/wallet/core/operations/stronghold_backup/mod.rs:372:21 | 372 | / &self 373 | | .storage_options 374 | | .path 375 | | .clone() 376 | | .into_os_string() 377 | | .into_string() 378 | | .expect("can't convert os string"), | |__________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args help: change this to | 372 ~ self 373 + .storage_options 374 + .path 375 + .clone() 376 + .into_os_string() 377 + .into_string() 378 ~ .expect("can't convert os string"), |
this `map_or` is redundant: sdk/src/wallet/core/operations/stronghold_backup/mod.rs#L297
error: this `map_or` is redundant --> sdk/src/wallet/core/operations/stronghold_backup/mod.rs:297:36 | 297 | let ignore_backup_values = ignore_if_coin_type_mismatch.map_or(false, |ignore| { | ____________________________________^ 298 | | if ignore { 299 | | read_coin_type.map_or(true, |read_coin_type| { 300 | | self.coin_type.load(Ordering::Relaxed) != read_coin_type ... | 304 | | } 305 | | }); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 297 ~ let ignore_backup_values = ignore_if_coin_type_mismatch.is_some_and(|ignore| { 298 + if ignore { 299 + read_coin_type.map_or(true, |read_coin_type| { 300 + self.coin_type.load(Ordering::Relaxed) != read_coin_type 301 + }) 302 + } else { 303 + false 304 + } 305 ~ }); |
the borrowed expression implements the required traits: sdk/src/wallet/core/operations/stronghold_backup/mod.rs#L199
error: the borrowed expression implements the required traits --> sdk/src/wallet/core/operations/stronghold_backup/mod.rs:199:21 | 199 | / &self 200 | | .storage_options 201 | | .path 202 | | .clone() 203 | | .into_os_string() 204 | | .into_string() 205 | | .expect("can't convert os string"), | |__________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args help: change this to | 199 ~ self 200 + .storage_options 201 + .path 202 + .clone() 203 + .into_os_string() 204 + .into_string() 205 ~ .expect("can't convert os string"), |
this `map_or` is redundant: sdk/src/wallet/core/operations/stronghold_backup/mod.rs#L115
error: this `map_or` is redundant --> sdk/src/wallet/core/operations/stronghold_backup/mod.rs:115:36 | 115 | let ignore_backup_values = ignore_if_coin_type_mismatch.map_or(false, |ignore| { | ____________________________________^ 116 | | if ignore { 117 | | read_coin_type.map_or(true, |read_coin_type| { 118 | | self.coin_type.load(Ordering::Relaxed) != read_coin_type ... | 122 | | } 123 | | }); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 115 ~ let ignore_backup_values = ignore_if_coin_type_mismatch.is_some_and(|ignore| { 116 + if ignore { 117 + read_coin_type.map_or(true, |read_coin_type| { 118 + self.coin_type.load(Ordering::Relaxed) != read_coin_type 119 + }) 120 + } else { 121 + false 122 + } 123 ~ }); |
the borrowed expression implements the required traits: sdk/src/wallet/core/operations/stronghold_backup/stronghold_snapshot.rs#L47
error: the borrowed expression implements the required traits --> sdk/src/wallet/core/operations/stronghold_backup/stronghold_snapshot.rs:47:59 | 47 | serialized_accounts.push(serde_json::to_value(&AccountDetailsDto::from( | ___________________________________________________________^ 48 | | &*account.details().await, 49 | | ))?); | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[deny(clippy::needless_borrows_for_generic_args)]` implied by `#[deny(warnings)]` help: change this to | 47 ~ serialized_accounts.push(serde_json::to_value(AccountDetailsDto::from( 48 + &*account.details().await, 49 ~ ))?); |
this `map_or` is redundant: sdk/src/wallet/core/operations/address_generation.rs#L42
error: this `map_or` is redundant --> sdk/src/wallet/core/operations/address_generation.rs:42:20 | 42 | if options.as_ref().map_or(false, |o| o.ledger_nano_prompt) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `options.as_ref().is_some_and(|o| o.ledger_nano_prompt)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
this `map_or` is redundant: sdk/src/wallet/account/operations/transaction/input_selection.rs#L64
error: this `map_or` is redundant --> sdk/src/wallet/account/operations/transaction/input_selection.rs:64:28 | 64 | let required = mandatory_inputs.as_ref().map_or(false, |mandatory_inputs| { | ____________________________^ 65 | | mandatory_inputs.contains(&voting_output.output_id) 66 | | }); | |______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 64 ~ let required = mandatory_inputs.as_ref().is_some_and(|mandatory_inputs| { 65 + mandatory_inputs.contains(&voting_output.output_id) 66 ~ }); |
this `map_or` is redundant: sdk/src/wallet/account/operations/syncing/outputs.rs#L46
error: this `map_or` is redundant --> sdk/src/wallet/account/operations/syncing/outputs.rs:46:33 | 46 | let remainder = account_details | _________________________________^ 47 | | .transactions 48 | | .get(output_with_meta.metadata().transaction_id()) 49 | | .map_or(false, |tx| !tx.incoming); | |_____________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 46 ~ let remainder = account_details 47 + .transactions 48 ~ .get(output_with_meta.metadata().transaction_id()).is_some_and(|tx| !tx.incoming); |
this `map_or` is redundant: sdk/src/wallet/account/operations/participation/mod.rs#L322
error: this `map_or` is redundant --> sdk/src/wallet/account/operations/participation/mod.rs:322:9 | 322 | / basic_output 323 | | .features() 324 | | .tag() 325 | | .map_or(false, |tag| tag.tag() == PARTICIPATION_TAG.as_bytes()) | |___________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 322 ~ basic_output 323 + .features() 324 + .tag().is_some_and(|tag| tag.tag() == PARTICIPATION_TAG.as_bytes()) |
this `map_or` is redundant: sdk/src/wallet/account/operations/output_claiming.rs#L438
error: this `map_or` is redundant --> sdk/src/wallet/account/operations/output_claiming.rs:438:27 | 438 | let expired = unlock_conditions | ___________________________^ 439 | | .expiration() 440 | | .map_or(false, |expiration| current_time >= expiration.timestamp()); | |___________________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 438 ~ let expired = unlock_conditions 439 ~ .expiration().is_some_and(|expiration| current_time >= expiration.timestamp()); |
usage of `HashSet::insert` after `HashSet::contains`: sdk/src/wallet/account/operations/output_claiming.rs#L361
error: usage of `HashSet::insert` after `HashSet::contains` --> sdk/src/wallet/account/operations/output_claiming.rs:361:48 | 361 | if !additional_inputs_used.contains(&output_data.output_id) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 376 | additional_inputs_used.insert(output_data.output_id); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#set_contains_or_insert
function call inside of `unwrap_or`: sdk/src/wallet/account/operations/balance.rs#L340
error: function call inside of `unwrap_or` --> sdk/src/wallet/account/operations/balance.rs:340:80 | 340 | available: native_token.amount() - *locked_native_token_amount.unwrap_or(&U256::from(0u8)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|| &U256::from(0u8))` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call = note: `#[deny(clippy::or_fun_call)]` implied by `#[deny(clippy::nursery)]`
unnecessary structure name repetition: sdk/src/types/mod.rs#L122
error: unnecessary structure name repetition --> sdk/src/types/mod.rs:122:24 | 122 | fn from(value: &'a ValidationParams<'a>) -> Self { | ^^^^^^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
unnecessary structure name repetition: sdk/src/types/mod.rs#L121
error: unnecessary structure name repetition --> sdk/src/types/mod.rs:121:19 | 121 | impl<'a> From<&'a ValidationParams<'a>> for ValidationParams<'a> { | ^^^^^^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
the following explicit lifetimes could be elided: 'a: sdk/src/types/mod.rs#L109
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/mod.rs:109:6 | 109 | impl<'a> From<ProtocolParameters> for ValidationParams<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 109 - impl<'a> From<ProtocolParameters> for ValidationParams<'a> { 109 + impl From<ProtocolParameters> for ValidationParams<'_> { |
the following explicit lifetimes could be elided: 'a: sdk/src/types/mod.rs#L103
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/mod.rs:103:6 | 103 | impl<'a> From<u64> for ValidationParams<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 103 - impl<'a> From<u64> for ValidationParams<'a> { 103 + impl From<u64> for ValidationParams<'_> { |
unnecessary structure name repetition: sdk/src/types/mod.rs#L66
error: unnecessary structure name repetition --> sdk/src/types/mod.rs:66:24 | 66 | fn from(value: &'a Boo<'a, T>) -> Self { | ^^^^^^^^^^ help: use the applicable keyword: `Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
unnecessary structure name repetition: sdk/src/types/mod.rs#L65
error: unnecessary structure name repetition --> sdk/src/types/mod.rs:65:22 | 65 | impl<'a, T> From<&'a Boo<'a, T>> for Boo<'a, T> { | ^^^^^^^^^^ help: use the applicable keyword: `Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self = note: `#[deny(clippy::use_self)]` implied by `#[deny(clippy::nursery)]`
the following explicit lifetimes could be elided: 'a: sdk/src/types/mod.rs#L53
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/mod.rs:53:6 | 53 | impl<'a, T> From<T> for Boo<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 53 - impl<'a, T> From<T> for Boo<'a, T> { 53 + impl<T> From<T> for Boo<'_, T> { |
the following explicit lifetimes could be elided: 'a: sdk/src/types/mod.rs#L42
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/mod.rs:42:6 | 42 | impl<'a, T> Deref for Boo<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 42 - impl<'a, T> Deref for Boo<'a, T> { 42 + impl<T> Deref for Boo<'_, T> { |
the following explicit lifetimes could be elided: 'a: sdk/src/types/mod.rs#L36
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/mod.rs:36:6 | 36 | impl<'a, T> AsRef<T> for Boo<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 36 - impl<'a, T> AsRef<T> for Boo<'a, T> { 36 + impl<T> AsRef<T> for Boo<'_, T> { |
the following explicit lifetimes could be elided: 'a: sdk/src/types/mod.rs#L24
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/mod.rs:24:6 | 24 | impl<'a, T> Boo<'a, T> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 24 - impl<'a, T> Boo<'a, T> { 24 + impl<T> Boo<'_, T> { |
the following explicit lifetimes could be elided: 'a: sdk/src/types/block/signature/ed25519.rs#L115
error: the following explicit lifetimes could be elided: 'a --> sdk/src/types/block/signature/ed25519.rs:115:14 | 115 | impl<'a> fmt::Debug for UnquotedStr<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 115 - impl<'a> fmt::Debug for UnquotedStr<'a> { 115 + impl fmt::Debug for UnquotedStr<'_> { |
empty doc comment: sdk/src/types/block/semantic.rs#L219
error: empty doc comment --> sdk/src/types/block/semantic.rs:219:1 | 219 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L174
error: empty doc comment --> sdk/src/types/block/semantic.rs:174:5 | 174 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L169
error: empty doc comment --> sdk/src/types/block/semantic.rs:169:5 | 169 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L167
error: empty doc comment --> sdk/src/types/block/semantic.rs:167:5 | 167 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L165
error: empty doc comment --> sdk/src/types/block/semantic.rs:165:5 | 165 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L163
error: empty doc comment --> sdk/src/types/block/semantic.rs:163:5 | 163 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L161
error: empty doc comment --> sdk/src/types/block/semantic.rs:161:5 | 161 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L159
error: empty doc comment --> sdk/src/types/block/semantic.rs:159:5 | 159 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L157
error: empty doc comment --> sdk/src/types/block/semantic.rs:157:5 | 157 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L155
error: empty doc comment --> sdk/src/types/block/semantic.rs:155:5 | 155 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L153
error: empty doc comment --> sdk/src/types/block/semantic.rs:153:5 | 153 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L151
error: empty doc comment --> sdk/src/types/block/semantic.rs:151:5 | 151 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L149
error: empty doc comment --> sdk/src/types/block/semantic.rs:149:5 | 149 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L147
error: empty doc comment --> sdk/src/types/block/semantic.rs:147:5 | 147 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L145
error: empty doc comment --> sdk/src/types/block/semantic.rs:145:5 | 145 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L143
error: empty doc comment --> sdk/src/types/block/semantic.rs:143:5 | 143 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/semantic.rs#L141
error: empty doc comment --> sdk/src/types/block/semantic.rs:141:1 | 141 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/transaction/essence/regular.rs#L117
error: empty doc comment --> sdk/src/types/block/payload/transaction/essence/regular.rs:117:5 | 117 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/option/mod.rs#L93
error: empty doc comment --> sdk/src/types/block/payload/milestone/option/mod.rs:93:5 | 93 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/option/mod.rs#L57
error: empty doc comment --> sdk/src/types/block/payload/milestone/option/mod.rs:57:1 | 57 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/option/mod.rs#L20
error: empty doc comment --> sdk/src/types/block/payload/milestone/option/mod.rs:20:1 | 20 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/option/receipt/mod.rs#L165
error: empty doc comment --> sdk/src/types/block/payload/milestone/option/receipt/mod.rs:165:5 | 165 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/option/parameters.rs#L77
error: empty doc comment --> sdk/src/types/block/payload/milestone/option/parameters.rs:77:5 | 77 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/option/parameters.rs#L18
error: empty doc comment --> sdk/src/types/block/payload/milestone/option/parameters.rs:18:1 | 18 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/payload/milestone/mod.rs#L11
error: empty doc comment --> sdk/src/types/block/payload/milestone/mod.rs:11:1 | 11 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L353
error: empty doc comment --> sdk/src/types/block/output/mod.rs:353:5 | 353 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
this `map_or` is redundant: sdk/src/types/block/output/unlock_condition/mod.rs#L437
error: this `map_or` is redundant --> sdk/src/types/block/output/unlock_condition/mod.rs:437:9 | 437 | / self.expiration() 438 | | .map_or(false, |expiration| milestone_timestamp >= expiration.timestamp()) | |______________________________________________________________________________________^ help: use is_some_and instead: `self.expiration().is_some_and(|expiration| milestone_timestamp >= expiration.timestamp())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
this `map_or` is redundant: sdk/src/types/block/output/unlock_condition/mod.rs#L430
error: this `map_or` is redundant --> sdk/src/types/block/output/unlock_condition/mod.rs:430:9 | 430 | / self.timelock() 431 | | .map_or(false, |timelock| milestone_timestamp < timelock.timestamp()) | |_________________________________________________________________________________^ help: use is_some_and instead: `self.timelock().is_some_and(|timelock| milestone_timestamp < timelock.timestamp())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
empty doc comment: sdk/src/types/block/output/unlock_condition/mod.rs#L334
error: empty doc comment --> sdk/src/types/block/output/unlock_condition/mod.rs:334:5 | 334 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/unlock_condition/mod.rs#L298
error: empty doc comment --> sdk/src/types/block/output/unlock_condition/mod.rs:298:1 | 298 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/unlock_condition/mod.rs#L34
error: empty doc comment --> sdk/src/types/block/output/unlock_condition/mod.rs:34:1 | 34 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L28
error: empty doc comment --> sdk/src/types/block/output/mod.rs:28:1 | 28 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L355
error: empty doc comment --> sdk/src/types/block/output/nft.rs:355:5 | 355 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L344
error: empty doc comment --> sdk/src/types/block/output/nft.rs:344:5 | 344 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L334
error: empty doc comment --> sdk/src/types/block/output/nft.rs:334:5 | 334 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L328
error: empty doc comment --> sdk/src/types/block/output/nft.rs:328:5 | 328 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L322
error: empty doc comment --> sdk/src/types/block/output/nft.rs:322:5 | 322 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L316
error: empty doc comment --> sdk/src/types/block/output/nft.rs:316:5 | 316 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L304
error: empty doc comment --> sdk/src/types/block/output/nft.rs:304:5 | 304 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L298
error: empty doc comment --> sdk/src/types/block/output/nft.rs:298:5 | 298 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L292
error: empty doc comment --> sdk/src/types/block/output/nft.rs:292:5 | 292 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L220
error: empty doc comment --> sdk/src/types/block/output/nft.rs:220:5 | 220 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L187
error: empty doc comment --> sdk/src/types/block/output/nft.rs:187:5 | 187 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L89
error: empty doc comment --> sdk/src/types/block/output/nft.rs:89:5 | 89 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L82
error: empty doc comment --> sdk/src/types/block/output/nft.rs:82:5 | 82 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft.rs#L33
error: empty doc comment --> sdk/src/types/block/output/nft.rs:33:1 | 33 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L26
error: empty doc comment --> sdk/src/types/block/output/mod.rs:26:1 | 26 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L388
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:388:5 | 388 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L382
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:382:5 | 382 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L362
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:362:5 | 362 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L356
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:356:5 | 356 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L350
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:350:5 | 350 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L344
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:344:5 | 344 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L338
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:338:5 | 338 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L332
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:332:5 | 332 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L326
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:326:5 | 326 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L320
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:320:5 | 320 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L244
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:244:5 | 244 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L206
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:206:5 | 206 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L101
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:101:5 | 101 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L94
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:94:5 | 94 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/foundry.rs#L35
error: empty doc comment --> sdk/src/types/block/output/foundry.rs:35:1 | 35 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L24
error: empty doc comment --> sdk/src/types/block/output/mod.rs:24:1 | 24 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/feature/mod.rs#L194
error: empty doc comment --> sdk/src/types/block/output/feature/mod.rs:194:5 | 194 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/feature/mod.rs#L161
error: empty doc comment --> sdk/src/types/block/output/feature/mod.rs:161:1 | 161 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/feature/mod.rs#L24
error: empty doc comment --> sdk/src/types/block/output/feature/mod.rs:24:1 | 24 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L22
error: empty doc comment --> sdk/src/types/block/output/mod.rs:22:1 | 22 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L278
error: empty doc comment --> sdk/src/types/block/output/basic.rs:278:5 | 278 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L268
error: empty doc comment --> sdk/src/types/block/output/basic.rs:268:5 | 268 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L262
error: empty doc comment --> sdk/src/types/block/output/basic.rs:262:5 | 262 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L256
error: empty doc comment --> sdk/src/types/block/output/basic.rs:256:5 | 256 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L250
error: empty doc comment --> sdk/src/types/block/output/basic.rs:250:5 | 250 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L244
error: empty doc comment --> sdk/src/types/block/output/basic.rs:244:5 | 244 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L173
error: empty doc comment --> sdk/src/types/block/output/basic.rs:173:5 | 173 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L146
error: empty doc comment --> sdk/src/types/block/output/basic.rs:146:5 | 146 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L82
error: empty doc comment --> sdk/src/types/block/output/basic.rs:82:5 | 82 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L75
error: empty doc comment --> sdk/src/types/block/output/basic.rs:75:5 | 75 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/basic.rs#L28
error: empty doc comment --> sdk/src/types/block/output/basic.rs:28:1 | 28 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L20
error: empty doc comment --> sdk/src/types/block/output/mod.rs:20:1 | 20 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L469
error: empty doc comment --> sdk/src/types/block/output/alias.rs:469:5 | 469 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L458
error: empty doc comment --> sdk/src/types/block/output/alias.rs:458:5 | 458 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L448
error: empty doc comment --> sdk/src/types/block/output/alias.rs:448:5 | 448 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L438
error: empty doc comment --> sdk/src/types/block/output/alias.rs:438:5 | 438 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L432
error: empty doc comment --> sdk/src/types/block/output/alias.rs:432:5 | 432 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L426
error: empty doc comment --> sdk/src/types/block/output/alias.rs:426:5 | 426 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L420
error: empty doc comment --> sdk/src/types/block/output/alias.rs:420:5 | 420 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L414
error: empty doc comment --> sdk/src/types/block/output/alias.rs:414:5 | 414 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L408
error: empty doc comment --> sdk/src/types/block/output/alias.rs:408:5 | 408 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L402
error: empty doc comment --> sdk/src/types/block/output/alias.rs:402:5 | 402 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L390
error: empty doc comment --> sdk/src/types/block/output/alias.rs:390:5 | 390 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L384
error: empty doc comment --> sdk/src/types/block/output/alias.rs:384:5 | 384 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L378
error: empty doc comment --> sdk/src/types/block/output/alias.rs:378:5 | 378 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L295
error: empty doc comment --> sdk/src/types/block/output/alias.rs:295:5 | 295 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L248
error: empty doc comment --> sdk/src/types/block/output/alias.rs:248:5 | 248 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L157
error: empty doc comment --> sdk/src/types/block/output/alias.rs:157:5 | 157 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L150
error: empty doc comment --> sdk/src/types/block/output/alias.rs:150:5 | 150 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L143
error: empty doc comment --> sdk/src/types/block/output/alias.rs:143:5 | 143 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L129
error: empty doc comment --> sdk/src/types/block/output/alias.rs:129:5 | 129 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L122
error: empty doc comment --> sdk/src/types/block/output/alias.rs:122:5 | 122 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias.rs#L67
error: empty doc comment --> sdk/src/types/block/output/alias.rs:67:1 | 67 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/mod.rs#L18
error: empty doc comment --> sdk/src/types/block/output/mod.rs:18:1 | 18 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/token_scheme/mod.rs#L14
error: empty doc comment --> sdk/src/types/block/output/token_scheme/mod.rs:14:5 | 14 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/token_scheme/mod.rs#L9
error: empty doc comment --> sdk/src/types/block/output/token_scheme/mod.rs:9:1 | 9 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/token_scheme/simple.rs#L14
error: empty doc comment --> sdk/src/types/block/output/token_scheme/simple.rs:14:1 | 14 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/state_transition.rs#L42
error: empty doc comment --> sdk/src/types/block/output/state_transition.rs:42:5 | 42 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/state_transition.rs#L35
error: empty doc comment --> sdk/src/types/block/output/state_transition.rs:35:5 | 35 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/state_transition.rs#L32
error: empty doc comment --> sdk/src/types/block/output/state_transition.rs:32:5 | 32 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/state_transition.rs#L30
error: empty doc comment --> sdk/src/types/block/output/state_transition.rs:30:1 | 30 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/state_transition.rs#L6
error: empty doc comment --> sdk/src/types/block/output/state_transition.rs:6:1 | 6 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/nft_id.rs#L21
error: empty doc comment --> sdk/src/types/block/output/nft_id.rs:21:5 | 21 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/native_token.rs#L153
error: empty doc comment --> sdk/src/types/block/output/native_token.rs:153:1 | 153 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/native_token.rs#L17
error: empty doc comment --> sdk/src/types/block/output/native_token.rs:17:1 | 17 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/chain_id.rs#L42
error: empty doc comment --> sdk/src/types/block/output/chain_id.rs:42:5 | 42 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/chain_id.rs#L33
error: empty doc comment --> sdk/src/types/block/output/chain_id.rs:33:5 | 33 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/chain_id.rs#L16
error: empty doc comment --> sdk/src/types/block/output/chain_id.rs:16:5 | 16 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/chain_id.rs#L14
error: empty doc comment --> sdk/src/types/block/output/chain_id.rs:14:5 | 14 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/chain_id.rs#L12
error: empty doc comment --> sdk/src/types/block/output/chain_id.rs:12:5 | 12 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/chain_id.rs#L8
error: empty doc comment --> sdk/src/types/block/output/chain_id.rs:8:1 | 8 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/output/alias_id.rs#L21
error: empty doc comment --> sdk/src/types/block/output/alias_id.rs:21:5 | 21 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/core.rs#L282
error: empty doc comment --> sdk/src/types/block/core.rs:282:9 | 282 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/core.rs#L279
error: empty doc comment --> sdk/src/types/block/core.rs:279:9 | 279 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/core.rs#L277
error: empty doc comment --> sdk/src/types/block/core.rs:277:9 | 277 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/core.rs#L275
error: empty doc comment --> sdk/src/types/block/core.rs:275:9 | 275 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: sdk/src/types/block/address/mod.rs#L126
error: empty doc comment --> sdk/src/types/block/address/mod.rs:126:5 | 126 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs = note: `#[deny(clippy::empty_docs)]` implied by `#[deny(warnings)]`
first doc comment paragraph is too long: sdk/src/types/block/macro.rs#L148
error: first doc comment paragraph is too long --> sdk/src/types/block/macro.rs:148:1 | 148 | / /// Convenience macro to work around the fact the `[bitflags]` crate does not yet support iterating over the 149 | | /// individual flags. This macro essentially creates the `[bitflags]` and puts the individual flags into an associated 150 | | /// constant `pub const ALL_FLAGS: &'static []`. | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
doc list item without indentation: sdk/src/types/api/core/response.rs#L263
error: doc list item without indentation --> sdk/src/types/api/core/response.rs:263:5 | 263 | /// Returns information about a peer. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `#[deny(clippy::doc_lazy_continuation)]` implied by `#[deny(warnings)]` help: indent this line | 263 | /// Returns information about a peer. | ++
first doc comment paragraph is too long: sdk/src/client/secret/ledger_nano.rs#L422
error: first doc comment paragraph is too long --> sdk/src/client/secret/ledger_nano.rs:422:1 | 422 | / /// the Ledger Nano S(+)/X app can present the user a detailed view of the transaction before it 423 | | /// is signed but only with BasicOutputs, without extra-features and if the Essence is not too large. 424 | | /// If criteria are not met, blind signing is needed. 425 | | /// This method finds out if we have to switch to blind signing mode. | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
first doc comment paragraph is too long: sdk/src/client/node_api/participation.rs#L4
error: first doc comment paragraph is too long --> sdk/src/client/node_api/participation.rs:4:1 | 4 | / //! IOTA node public participation routes. 5 | | //! <https://github.com/iota-community/treasury/blob/main/specifications/hornet-participation-plugin.md#public-node-endpoints> 6 | | //! <https://github.com/iotaledger/inx-participation/blob/develop/components/participation/routes.go> | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph help: add an empty line | 4 ~ //! IOTA node public participation routes. 5 + //! |
first doc comment paragraph is too long: sdk/src/client/api/block_builder/transaction.rs#L153
error: first doc comment paragraph is too long --> sdk/src/client/api/block_builder/transaction.rs:153:1 | 153 | / /// Verifies that the transaction essence doesn't exceed the block size limit with 8 parents. 154 | | /// Assuming one signature unlock and otherwise reference/alias/nft unlocks. `validate_transaction_payload_length()` 155 | | /// should later be used to check the length again with the correct unlocks. | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph = note: `#[deny(clippy::too_long_first_doc_paragraph)]` implied by `#[deny(clippy::nursery)]` help: add an empty line | 153 ~ /// Verifies that the transaction essence doesn't exceed the block size limit with 8 parents. 154 + /// |
the following explicit lifetimes could be elided: 'a: sdk/src/client/api/block_builder/transaction.rs#L34
error: the following explicit lifetimes could be elided: 'a --> sdk/src/client/api/block_builder/transaction.rs:34:6 | 34 | impl<'a> ClientBlockBuilder<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 34 - impl<'a> ClientBlockBuilder<'a> { 34 + impl ClientBlockBuilder<'_> { |
usage of `HashSet::insert` after `HashSet::contains`: sdk/src/client/api/block_builder/input_selection/sender_issuer.rs#L256
error: usage of `HashSet::insert` after `HashSet::contains` --> sdk/src/client/api/block_builder/input_selection/sender_issuer.rs:256:57 | 256 | if !required_sender_or_issuer_addresses.contains(issuer_feature.address()) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 259 | required_sender_or_issuer_addresses.insert(*issuer_feature.address()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#set_contains_or_insert
usage of `HashSet::insert` after `HashSet::contains`: sdk/src/client/api/block_builder/input_selection/sender_issuer.rs#L240
error: usage of `HashSet::insert` after `HashSet::contains` --> sdk/src/client/api/block_builder/input_selection/sender_issuer.rs:240:53 | 240 | if !required_sender_or_issuer_addresses.contains(sender_feature.address()) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 243 | required_sender_or_issuer_addresses.insert(*sender_feature.address()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#set_contains_or_insert note: the lint level is defined here --> sdk/src/lib.rs:7:9 | 7 | #![deny(clippy::nursery, rust_2018_idioms, warnings, unreachable_pub)] | ^^^^^^^^^^^^^^^ = note: `#[deny(clippy::set_contains_or_insert)]` implied by `#[deny(clippy::nursery)]`
the following explicit lifetimes could be elided: 'a: sdk/src/client/api/block_builder/input_selection/sender_issuer.rs#L28
error: the following explicit lifetimes could be elided: 'a --> sdk/src/client/api/block_builder/input_selection/sender_issuer.rs:28:6 | 28 | impl<'a> ClientBlockBuilder<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 28 - impl<'a> ClientBlockBuilder<'a> { 28 + impl ClientBlockBuilder<'_> { |
the following explicit lifetimes could be elided: 'a: sdk/src/client/api/block_builder/input_selection/manual.rs#L24
error: the following explicit lifetimes could be elided: 'a --> sdk/src/client/api/block_builder/input_selection/manual.rs:24:6 | 24 | impl<'a> ClientBlockBuilder<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 24 - impl<'a> ClientBlockBuilder<'a> { 24 + impl ClientBlockBuilder<'_> { |
this `map_or` is redundant: sdk/src/client/api/block_builder/input_selection/core/requirement/native_tokens.rs#L142
error: this `map_or` is redundant --> sdk/src/client/api/block_builder/input_selection/core/requirement/native_tokens.rs:142:21 | 142 | / input 143 | | .output 144 | | .native_tokens() 145 | | .map_or(false, |native_tokens| native_tokens.contains(diff.token_id())) | |_______________________________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 142 ~ input 143 + .output 144 + .native_tokens().is_some_and(|native_tokens| native_tokens.contains(diff.token_id())) |
this `map_or` is redundant: sdk/src/client/api/block_builder/input_selection/core/requirement/amount.rs#L253
error: this `map_or` is redundant --> sdk/src/client/api/block_builder/input_selection/core/requirement/amount.rs:253:21 | 253 | / self.automatically_transitioned 254 | | .get(chain_id) 255 | | .map_or(false, |alias_transition| { 256 | | alias_transition.map_or(true, |alias_transition| alias_transition.is_state()) 257 | | }) | |__________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 253 ~ self.automatically_transitioned 254 + .get(chain_id).is_some_and(|alias_transition| { 255 + alias_transition.map_or(true, |alias_transition| alias_transition.is_state()) 256 + }) |
this `map_or` is redundant: sdk/src/client/api/block_builder/input_selection/core/requirement/amount.rs#L25
error: this `map_or` is redundant --> sdk/src/client/api/block_builder/input_selection/core/requirement/amount.rs:25:23 | 25 | let expired = unlock_conditions | _______________________^ 26 | | .expiration() 27 | | .map_or(false, |expiration| current_time >= expiration.timestamp()); | |_______________________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use is_some_and instead | 25 ~ let expired = unlock_conditions 26 ~ .expiration().is_some_and(|expiration| current_time >= expiration.timestamp()); |
this `map_or` is redundant: sdk/src/client/api/block_builder/input_selection/core/requirement/alias.rs#L69
error: this `map_or` is redundant --> sdk/src/client/api/block_builder/input_selection/core/requirement/alias.rs:69:16 | 69 | && self | ________________^ 70 | | .burn 71 | | .as_ref() 72 | | .map_or(false, |burn| burn.aliases.contains(&alias_id)) | |_______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `#[deny(clippy::unnecessary_map_or)]` implied by `#[deny(warnings)]` help: use is_some_and instead | 69 ~ && self 70 + .burn 71 + .as_ref().is_some_and(|burn| burn.aliases.contains(&alias_id)) |
the following explicit lifetimes could be elided: 'a: sdk/src/client/api/block_builder/input_selection/automatic.rs#L26
error: the following explicit lifetimes could be elided: 'a --> sdk/src/client/api/block_builder/input_selection/automatic.rs:26:6 | 26 | impl<'a> ClientBlockBuilder<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes note: the lint level is defined here --> sdk/src/lib.rs:7:44 | 7 | #![deny(clippy::nursery, rust_2018_idioms, warnings, unreachable_pub)] | ^^^^^^^^ = note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(warnings)]` help: elide the lifetimes | 26 - impl<'a> ClientBlockBuilder<'a> { 26 + impl ClientBlockBuilder<'_> { |
crate (windows-latest)
Process completed with exit code 1.
crate (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636