Skip to content

Split block into basic and validation types #3052

Split block into basic and validation types

Split block into basic and validation types #3052

Triggered via pull request July 31, 2023 16:00
Status Success
Total duration 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

private-tangle-tests.yml

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

Annotations

19 errors
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:30:17 | 30 | todo!("issuing time"), | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:29:17 | 29 | todo!("block signature"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:28:17 | 28 | todo!("issuer id"), | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/retry.rs:122:37 | 122 | ... todo!("issuing time"), | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/retry.rs:121:37 | 121 | ... todo!("block signature"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/retry.rs:120:37 | 120 | ... todo!("issuer id"), | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/retry.rs:76:25 | 76 | todo!("issuing time"), | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/retry.rs:75:25 | 75 | todo!("block signature"), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
sub-expression diverges: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L61
error: sub-expression diverges --> sdk/src/wallet/account/operations/retry.rs:74:25 | 74 | todo!("issuer id"), | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression = note: `-D clippy::diverging-sub-expression` implied by `-D warnings` = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
this function has too many arguments (9/7): sdk/src/types/block/validation.rs#L25
error: this function has too many arguments (9/7) --> sdk/src/types/block/validation.rs:25:5 | 25 | / pub fn new( 26 | | network_id: u64, 27 | | issuing_time: u64, 28 | | slot_commitment_id: SlotCommitmentId, ... | 34 | | signature: Ed25519Signature, 35 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (9/7): sdk/src/types/block/core.rs#L289
error: this function has too many arguments (9/7) --> sdk/src/types/block/core.rs:289:5 | 289 | / pub fn build_validation( 290 | | network_id: u64, 291 | | issuing_time: u64, 292 | | slot_commitment_id: SlotCommitmentId, ... | 298 | | signature: Ed25519Signature, 299 | | ) -> BlockBuilder<ValidationBlock> { | |______________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `-D clippy::too-many-arguments` implied by `-D warnings`
variable does not need to be mutable: sdk/src/wallet/account/operations/retry.rs#L85
error: variable does not need to be mutable --> sdk/src/wallet/account/operations/retry.rs:85:17 | 85 | let mut block_ids = vec![block_id]; | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `-D unused-mut` implied by `-D warnings`
unused variable: `reattached_block`: sdk/src/wallet/account/operations/retry.rs#L117
error: unused variable: `reattached_block` --> sdk/src/wallet/account/operations/retry.rs:117:33 | 117 | ... let reattached_block = self | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reattached_block`
unreachable expression: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L58
error: unreachable expression --> sdk/src/wallet/account/operations/retry.rs:121:37 | 120 | ... todo!("issuer id"), | ------------------ any code following this expression is unreachable 121 | ... todo!("block signature"), | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression | = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
unreachable expression: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L58
error: unreachable expression --> sdk/src/wallet/account/operations/retry.rs:75:25 | 74 | todo!("issuer id"), | ------------------ any code following this expression is unreachable 75 | todo!("block signature"), | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression | = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
unused variable: `block`: sdk/src/wallet/account/operations/transaction/submit_transaction.rs#L25
error: unused variable: `block` --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:25:13 | 25 | let block = self | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
unused variable: `account_index`: sdk/src/wallet/account/operations/transaction/submit_transaction.rs#L23
error: unused variable: `account_index` --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:23:13 | 23 | let account_index = self.details().await.index; | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_index`
unused variable: `transaction_payload`: sdk/src/wallet/account/operations/transaction/submit_transaction.rs#L19
error: unused variable: `transaction_payload` --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:19:9 | 19 | transaction_payload: TransactionPayload, | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_payload` | = note: `-D unused-variables` implied by `-D warnings`
unreachable expression: /rustc/a47f796a36593d352d79ee66d7f4c12d100f5241/library/core/src/panic.rs#L58
error: unreachable expression --> sdk/src/wallet/account/operations/transaction/submit_transaction.rs:29:17 | 28 | todo!("issuer id"), | ------------------ any code following this expression is unreachable 29 | todo!("block signature"), | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression | = note: `-D unreachable-code` implied by `-D warnings` = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)