fix compilation for Rust >= 1.79 (#2256) #9406
bindings-nodejs.yml
on: push
Lint
2m 34s
Check Format
22s
Matrix: Test
Annotations
139 errors and 4 warnings
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"),
|
|
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"),
|
|
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 ~ ))?);
|
|
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
|
use of `unwrap_or` followed by a function call:
sdk/src/wallet/account/operations/balance.rs#L340
error: use of `unwrap_or` followed by a function call
--> 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
|
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)]`
|
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#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
|
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#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: 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::too_long_first_doc_paragraph)]` implied by `#[deny(warnings)]`
help: add an empty line
|
153 ~ /// Verifies that the transaction essence doesn't exceed the block size limit with 8 parents.
154 + ///
|
|
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)]`
|
Check Format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (ubuntu-latest, 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (windows-latest, 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|