style(dpp): remove unused cbor import #2449
Annotations
1 error and 999 warnings
PR title
Unknown scope "rs-dpp" found in pull request title "fix(rs-dpp): remove unused cbor import". Scope must match one of: dapi, drive, dpp, dashmate, contract, sdk, wallet-lib, test-suite, bench-suite, release, dash-spv.
|
length comparison to zero:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L229
warning: length comparison to zero
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:229:16
|
229 | if diffs.len() > 0 {
| ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!diffs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
|
length comparison to zero:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L189
warning: length comparison to zero
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:189:16
|
189 | if diffs.len() > 0 {
| ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!diffs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
|
this lifetime isn't used in the function definition:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs#L76
warning: this lifetime isn't used in the function definition
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs:76:32
|
76 | fn transform_transition_v0<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/executor.rs#L16
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/executor.rs:16:32
|
16 | data_trigger_bindings: &Vec<DataTriggerBinding>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[DataTriggerBinding]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
needlessly taken reference of left operand:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/bindings/data_trigger_binding/v0/mod.rs#L91
warning: needlessly taken reference of left operand
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/bindings/data_trigger_binding/v0/mod.rs:91:9
|
91 | &self.data_contract_id == data_contract_id
| ----------------------^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: `self.data_contract_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
|
all variants have the same postfix: `DriveEvent`:
packages/rs-drive-abci/src/execution/types/execution_event/mod.rs#L21
warning: all variants have the same postfix: `DriveEvent`
--> packages/rs-drive-abci/src/execution/types/execution_event/mod.rs:21:1
|
21 | / pub(in crate::execution) enum ExecutionEvent<'a> {
22 | | /// A drive event that is paid by an identity
23 | | PaidDriveEvent {
24 | | /// The identity requesting the event
... |
42 | | },
43 | | }
| |_^
|
= help: remove the postfixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs#L46
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs:46:10
|
46 | ) -> Result<(FeeResult, Vec<(Vec<u8>, ExecTxResult)>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/v0/mod.rs#L52
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/v0/mod.rs:52:10
|
52 | ) -> Result<(FeeResult, Vec<(Vec<u8>, ExecTxResult)>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_quorum_info/v0/mod.rs#L118
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_quorum_info/v0/mod.rs:118:21
|
118 | .extend(new_quorums.into_iter());
| ^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `new_quorums`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:377:18
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
module has the same name as its containing module:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs:11:1
|
11 | mod update_masternode_identities;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
redundant closure:
packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs#L129
warning: redundant closure
--> packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs:129:51
|
129 | block_state_info.block_hash().map(|a| hex::encode(a)).unwrap_or("None".to_string()),
| ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
redundant closure:
packages/rs-drive-abci/src/abci/handlers.rs#L485
warning: redundant closure
--> packages/rs-drive-abci/src/abci/handlers.rs:485:104
|
485 | ...lock_hash().map(|block_hash| hex::encode(block_hash)).unwrap_or("None".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
redundant closure:
packages/rs-drive-abci/src/abci/handlers.rs#L429
warning: redundant closure
--> packages/rs-drive-abci/src/abci/handlers.rs:429:104
|
429 | ...lock_hash().map(|block_hash| hex::encode(block_hash)).unwrap_or("None".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
|
methods `to_vec` and `into_vec` are never used:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L93
warning: methods `to_vec` and `into_vec` are never used
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:93:12
|
91 | impl<'a> WithdrawalTxs<'a> {
| -------------------------- methods in this implementation
92 | /// Convert withdrawal transactions to vector of ExtendVoteExtension
93 | pub fn to_vec(&self) -> Vec<ExtendVoteExtension> {
| ^^^^^^
...
103 | pub fn into_vec(self) -> Vec<ExtendVoteExtension> {
| ^^^^^^^^
|
associated items `load`, `validate`, and `finalize` are never used:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L31
warning: associated items `load`, `validate`, and `finalize` are never used
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:31:12
|
29 | impl<'a> WithdrawalTxs<'a> {
| -------------------------- associated items in this implementation
30 | /// Load pending withdrawal transactions from database
31 | pub fn load(transaction: TransactionArg, drive: &Drive) -> Result<Self, AbciError> {
| ^^^^
...
54 | pub fn validate(&self) -> Result<(), AbciError> {
| ^^^^^^^^
...
69 | pub fn finalize(
| ^^^^^^^^
|
field `drive_operations` is never read:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L26
warning: field `drive_operations` is never read
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:26:5
|
24 | pub struct WithdrawalTxs<'a> {
| ------------- field in this struct
25 | inner: Vec<VoteExtension>,
26 | drive_operations: Vec<DriveOperation<'a>>,
| ^^^^^^^^^^^^^^^^
|
= note: `WithdrawalTxs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
constant `MAX_WITHDRAWAL_TXS` is never used:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L20
warning: constant `MAX_WITHDRAWAL_TXS` is never used
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:20:7
|
20 | const MAX_WITHDRAWAL_TXS: u16 = 16;
| ^^^^^^^^^^^^^^^^^^
|
type alias `GetDataContractFn` is never used:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/mod.rs#L20
warning: type alias `GetDataContractFn` is never used
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/mod.rs:20:10
|
20 | pub type GetDataContractFn = fn(Identifier) -> Result<Arc<DataContractFetchInfo>, ProtocolError>;
| ^^^^^^^^^^^^^^^^^
|
variant `PrecalculatedOperation` is never constructed:
packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs#L13
warning: variant `PrecalculatedOperation` is never constructed
--> packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs:13:5
|
11 | pub enum ExecutionOperation {
| ------------------ variant in this enum
12 | SignatureVerification(SignatureVerificationOperation),
13 | PrecalculatedOperation(FeeResult),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `ExecutionOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
associated functions `new_document_operation`, `new_contract_operation`, and `new_identity_insertion` are never used:
packages/rs-drive-abci/src/execution/types/execution_event/mod.rs#L47
warning: associated functions `new_document_operation`, `new_contract_operation`, and `new_identity_insertion` are never used
--> packages/rs-drive-abci/src/execution/types/execution_event/mod.rs:47:12
|
45 | impl<'a> ExecutionEvent<'a> {
| --------------------------- associated functions in this implementation
46 | /// Creates a new identity Insertion Event
47 | pub fn new_document_operation(
| ^^^^^^^^^^^^^^^^^^^^^^
...
57 | pub fn new_contract_operation(
| ^^^^^^^^^^^^^^^^^^^^^^
...
67 | pub fn new_identity_insertion(
| ^^^^^^^^^^^^^^^^^^^^^^
|
variant `FreeDriveEvent` is never constructed:
packages/rs-drive-abci/src/execution/types/execution_event/mod.rs#L39
warning: variant `FreeDriveEvent` is never constructed
--> packages/rs-drive-abci/src/execution/types/execution_event/mod.rs:39:5
|
21 | pub(in crate::execution) enum ExecutionEvent<'a> {
| -------------- variant in this enum
...
39 | FreeDriveEvent {
| ^^^^^^^^^^^^^^
|
= note: `ExecutionEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_unique_identity_public_key_hashes_in_state/v0/mod.rs#L24
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_unique_identity_public_key_hashes_in_state/v0/mod.rs:24:5
|
24 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_exist_in_state/v0/mod.rs#L23
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_exist_in_state/v0/mod.rs:23:5
|
23 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_dont_exist_in_state/v0/mod.rs#L24
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_dont_exist_in_state/v0/mod.rs:24:5
|
24 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs#L58
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs:58:5
|
58 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `BTreeValueRefJsonConverter`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L24
warning: unused import: `BTreeValueRefJsonConverter`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:24:30
|
24 | BTreeValueJsonConverter, BTreeValueRefJsonConverter,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DocumentReplaceTransitionActionAccessorsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs#L28
warning: unused import: `DocumentReplaceTransitionActionAccessorsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs:28:155
|
28 | ...ion_action::{DocumentReplaceTransitionAction, DocumentReplaceTransitionActionAccessorsV0};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `drive::state_transition_action::document::documents_batch::document_transition::document_base_transition_action::DocumentBaseTransitionActionAccessorsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs#L39
warning: unused import: `drive::state_transition_action::document::documents_batch::document_transition::document_base_transition_action::DocumentBaseTransitionActionAccessorsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs:39:5
|
39 | use drive::state_transition_action::document::documents_batch::document_transition::document_base_transition_action::DocumentBaseTransitionActionAccessors...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/state/v0/mod.rs#L2
warning: unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/state/v0/mod.rs:2:5
|
2 | use dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DocumentV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_replace_transition_action/structure_v0/mod.rs#L9
warning: unused import: `DocumentV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_replace_transition_action/structure_v0/mod.rs:9:21
|
9 | use dpp::document::{DocumentV0Getters};
| ^^^^^^^^^^^^^^^^^
|
unused import: `DocumentV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_create_transition_action/state_v0/mod.rs#L6
warning: unused import: `DocumentV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_create_transition_action/state_v0/mod.rs:6:21
|
6 | use dpp::document::{DocumentV0Getters};
| ^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs#L17
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs:17:5
|
17 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::documents_batch_transition::methods::v0::DocumentsBatchTransitionMethodsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs#L21
warning: unused import: `dpp::state_transition::documents_batch_transition::methods::v0::DocumentsBatchTransitionMethodsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs:21:5
|
21 | use dpp::state_transition::documents_batch_transition::methods::v0::DocumentsBatchTransitionMethodsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs#L16
warning: unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs:16:5
|
16 | use dpp::data_contract::accessors::v0::DataContractV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore::hashes::hex::FromHex`:
packages/rs-drive-abci/src/platform_types/platform/mod.rs#L10
warning: unused import: `dashcore_rpc::dashcore::hashes::hex::FromHex`
--> packages/rs-drive-abci/src/platform_types/platform/mod.rs:10:5
|
10 | use dashcore_rpc::dashcore::hashes::hex::FromHex;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `EMPTY_JSON`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L19
warning: unused import: `EMPTY_JSON`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:19:74
|
19 | get_operation_and_property_name_json, validate_schema_compatibility, EMPTY_JSON,
| ^^^^^^^^^^
|
unused import: `serde::Serialize`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L4
warning: unused import: `serde::Serialize`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:4:5
|
4 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/withdrawals/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/withdrawals/v0/mod.rs:1:1
|
1 | ///! The `withdrawals_data_triggers` module contains data triggers related to withdrawals.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `withdrawals_data_triggers` module contains data triggers related to withdrawals.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/reward_share/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/reward_share/v0/mod.rs:1:1
|
1 | ///! The `reward_share_data_triggers` module contains data triggers related to reward sharing.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `reward_share_data_triggers` module contains data triggers related to reward sharing.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/v0/mod.rs:1:1
|
1 | ///! The `feature_flags_data_triggers` module contains data triggers related to feature flags.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `feature_flags_data_triggers` module contains data triggers related to feature flags.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dpns/v0/mod.rs#L3
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dpns/v0/mod.rs:3:1
|
3 | ///! The `dpns_triggers` module contains data triggers specific to the DPNS data contract.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
3 | //! The `dpns_triggers` module contains data triggers specific to the DPNS data contract.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dashpay/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dashpay/v0/mod.rs:1:1
|
1 | ///! The `dashpay_data_triggers` module contains data triggers specific to the DashPay data contract.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `dashpay_data_triggers` module contains data triggers specific to the DashPay data contract.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/mod.rs#L2
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/mod.rs:2:1
|
2 | / ///! Data triggers implement custom validation logic for state transitions
3 | | ///! that modifies documents in a specific data contract.
4 | | ///! Data triggers can be assigned based on the data contract ID, document type, and action.
| |____________________________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
= note: `#[warn(clippy::suspicious_doc_comments)]` on by default
help: use an inner doc comment to document the parent module or crate
|
2 + //! Data triggers implement custom validation logic for state transitions
3 + //! that modifies documents in a specific data contract.
4 + //! Data triggers can be assigned based on the data contract ID, document type, and action.
|
|
unused import: `Transaction`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs#L25
warning: unused import: `Transaction`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs:25:22
|
25 | use drive::grovedb::{Transaction, TransactionArg};
| ^^^^^^^^^^^
|
unused import: `MissingDocumentTypeError`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs#L4
warning: unused import: `MissingDocumentTypeError`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs:4:60
|
4 | DataContractNotPresentError, InvalidDocumentTypeError, MissingDocumentTypeError,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `drive::drive::batch::DriveOperation`:
packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs#L6
warning: unused import: `drive::drive::batch::DriveOperation`
--> packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs:6:5
|
6 | use drive::drive::batch::DriveOperation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore_rpc_json::Bip9SoftforkStatus`:
packages/rs-drive-abci/src/execution/platform_events/initialization/initial_core_height/v0/mod.rs#L5
warning: unused import: `dashcore_rpc::dashcore_rpc_json::Bip9SoftforkStatus`
--> packages/rs-drive-abci/src/execution/platform_events/initialization/initial_core_height/v0/mod.rs:5:5
|
5 | use dashcore_rpc::dashcore_rpc_json::Bip9SoftforkStatus;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_list/v0/mod.rs#L7
warning: unused import: `dashcore_rpc::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_list/v0/mod.rs:7:5
|
7 | use dashcore_rpc::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_voter_identifier/v0/mod.rs#L5
warning: unused import: `dpp::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_voter_identifier/v0/mod.rs:5:5
|
5 | use dpp::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_operator_identifier/v0/mod.rs#L5
warning: unused import: `dpp::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_operator_identifier/v0/mod.rs:5:5
|
5 | use dpp::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/create_owner_identity/v0/mod.rs#L5
warning: unused import: `dpp::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/create_owner_identity/v0/mod.rs:5:5
|
5 | use dpp::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs#L1
warning: unused import: `dashcore_rpc::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs:1:5
|
1 | use dashcore_rpc::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `json`:
packages/rs-drive-abci/src/abci/handlers.rs#L45
warning: unused import: `json`
--> packages/rs-drive-abci/src/abci/handlers.rs:45:18
|
45 | use serde_json::{json, Value};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/query/mod.rs#L1625
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/query/mod.rs:1625:10
|
1625 | ) -> Result<([u8; 32], Vec<Vec<u8>>, u64), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/query/conditions.rs#L439
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/query/conditions.rs:439:10
|
439 | ) -> Result<(BTreeMap<String, Self>, Option<Self>, Option<Self>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L57
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:57:10
|
57 | ) -> (
| __________^
58 | | BTreeMap<String, Vec<(KeyID, Purpose)>>,
59 | | Vec<(KeyID, Purpose)>,
60 | | ) {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value:
packages/rs-drive/src/drive/grove_operations/mod.rs#L224
warning: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
--> packages/rs-drive/src/drive/grove_operations/mod.rs:224:40
|
224 | pub(crate) fn to_direct_query_type(&self) -> DirectQueryType {
| ^^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/drive/document/query/mod.rs#L289
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/document/query/mod.rs:289:10
|
289 | ) -> Result<([u8; 32], Vec<Vec<u8>>, u64), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
this lifetime isn't used in the impl:
packages/rs-drive/src/drive/batch/transitions/mod.rs#L26
warning: this lifetime isn't used in the impl
--> packages/rs-drive/src/drive/batch/transitions/mod.rs:26:6
|
26 | impl<'s> DriveHighLevelOperationConverter for StateTransitionAction {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/document/document_update_transition.rs#L31
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/document/document_update_transition.rs:31:9
|
31 | / let mut drive_operations = vec![];
32 | | drive_operations.push(DocumentOperation(DocumentOperationType::UpdateDocument {
33 | | owned_document_info: OwnedDocumentInfo {
34 | | document_info: DocumentOwnedInfo((document, Some(Cow::Owned(storage_flags)))),
... |
38 | | document_type_name: Cow::Owned(document_type_name),
39 | | }));
| |____________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/document/document_delete_transition.rs#L25
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/document/document_delete_transition.rs:25:9
|
25 | / let mut drive_operations = vec![];
26 | | drive_operations.push(DocumentOperation(
27 | | DocumentOperationType::DeleteDocumentOfNamedTypeForContractId {
28 | | document_id: base.id().to_buffer(),
... |
31 | | },
32 | | ));
| |___________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/document/document_create_transition.rs#L33
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/document/document_create_transition.rs:33:9
|
33 | / let mut drive_operations = vec![];
34 | | drive_operations.push(DocumentOperation(DocumentOperationType::AddDocument {
35 | | owned_document_info: OwnedDocumentInfo {
36 | | document_info: DocumentOwnedInfo((document, Some(Cow::Owned(storage_flags)))),
... |
41 | | override_document: false,
42 | | }));
| |____________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/contract/data_contract_update_transition.rs#L16
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/contract/data_contract_update_transition.rs:16:9
|
16 | / let mut drive_operations = vec![];
17 | | // We must create the contract
18 | | drive_operations.push(DataContractOperation(
19 | | DataContractOperationType::ApplyContract {
... |
22 | | },
23 | | ));
| |___________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/contract/data_contract_create_transition.rs#L16
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/contract/data_contract_create_transition.rs:16:9
|
16 | / let mut drive_operations = vec![];
17 | | // We must create the contract
18 | | drive_operations.push(DataContractOperation(
19 | | DataContractOperationType::ApplyContract {
... |
22 | | },
23 | | ));
| |___________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
= note: `#[warn(clippy::vec_init_then_push)]` on by default
|
needlessly taken reference of both operands:
packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs#L310
warning: needlessly taken reference of both operands
--> packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs:310:28
|
310 | .position(|op| &op.path == &path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
help: use the values directly
|
310 | .position(|op| op.path == path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ~~~~~~~ ~~~~
|
needlessly taken reference of both operands:
packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs#L280
warning: needlessly taken reference of both operands
--> packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs:280:28
|
280 | .position(|op| &op.path == &path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
help: use the values directly
|
280 | .position(|op| op.path == path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ~~~~~~~ ~~~~
|
needlessly taken reference of both operands:
packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs#L248
warning: needlessly taken reference of both operands
--> packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs:248:16
|
248 | if &op.path == &path && op.key == KeyInfo::KnownKey(key.to_vec()) {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
help: use the values directly
|
248 | if op.path == path && op.key == KeyInfo::KnownKey(key.to_vec()) {
| ~~~~~~~ ~~~~
|
enum `DataContractApplyInfo` is never used:
packages/rs-drive/src/drive/identity/key/insert/mod.rs#L12
warning: enum `DataContractApplyInfo` is never used
--> packages/rs-drive/src/drive/identity/key/insert/mod.rs:12:10
|
12 | pub enum DataContractApplyInfo {
| ^^^^^^^^^^^^^^^^^^^^^
|
field `identity_balance_changes` is never read:
packages/rs-drive/src/drive/batch/drive_op_batch/mod.rs#L52
warning: field `identity_balance_changes` is never read
--> packages/rs-drive/src/drive/batch/drive_op_batch/mod.rs:52:5
|
50 | pub struct DriveOperationContext {
| --------------------- field in this struct
51 | //todo: why is this not being used?
52 | identity_balance_changes: BTreeMap<[u8; 32], i64>,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/mod.rs#L8
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/mod.rs:8:5
|
8 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/v0/mod.rs#L7
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/v0/mod.rs:7:5
|
7 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/mod.rs#L8
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/mod.rs:8:5
|
8 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/v0/mod.rs#L7
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/v0/mod.rs:7:5
|
7 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_key_to_storage/mod.rs#L9
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_key_to_storage/mod.rs:9:5
|
9 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity_contract_info_group_path_vec`:
packages/rs-drive/src/drive/identity/key/fetch/mod.rs#L54
warning: unused import: `identity_contract_info_group_path_vec`
--> packages/rs-drive/src/drive/identity/key/fetch/mod.rs:54:56
|
54 | identity_contract_info_group_path_key_purpose_vec, identity_contract_info_group_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `KeyRequestType`:
packages/rs-drive/src/drive/identity/key/fetch/fetch_identity_keys/v0/mod.rs#L5
warning: unused import: `KeyRequestType`
--> packages/rs-drive/src/drive/identity/key/fetch/fetch_identity_keys/v0/mod.rs:5:71
|
5 | IdentityKeysRequest, IdentityPublicKeyResult, KeyKindRequestType, KeyRequestType,
| ^^^^^^^^^^^^^^
|
unused imports: `NoSumTrees`, `SomeSumTrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L14
warning: unused imports: `NoSumTrees`, `SomeSumTrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:14:34
|
14 | use grovedb::EstimatedSumTrees::{NoSumTrees, SomeSumTrees};
| ^^^^^^^^^^ ^^^^^^^^^^^^
|
unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L10
warning: unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:10:56
|
10 | identity_contract_info_group_path_key_purpose_vec, identity_contract_info_group_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | identity_contract_info_root_path, identity_contract_info_root_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `AllItems`, `AllSubtrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L6
warning: unused imports: `AllItems`, `AllSubtrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:6:36
|
6 | use grovedb::EstimatedLayerSizes::{AllItems, AllReference, AllSubtrees};
| ^^^^^^^^ ^^^^^^^^^^^
|
unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L4
warning: unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:4:57
|
4 | use grovedb::EstimatedLayerCount::{ApproximateElements, EstimatedLevel, PotentiallyAtMaxElements};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity_tree_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L1
warning: unused import: `identity_tree_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:1:20
|
1 | use crate::drive::{identity_tree_path, Drive};
| ^^^^^^^^^^^^^^^^^^
|
unused import: `SomeSumTrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L13
warning: unused import: `SomeSumTrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:13:46
|
13 | use grovedb::EstimatedSumTrees::{NoSumTrees, SomeSumTrees};
| ^^^^^^^^^^^^
|
unused imports: `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L10
warning: unused imports: `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:10:44
|
10 | identity_contract_info_group_path_vec, identity_contract_info_root_path,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | identity_contract_info_root_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L8
warning: unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:8:5
|
8 | use crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `AllItems`, `AllReference`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L6
warning: unused imports: `AllItems`, `AllReference`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:6:36
|
6 | use grovedb::EstimatedLayerSizes::{AllItems, AllReference, AllSubtrees};
| ^^^^^^^^ ^^^^^^^^^^^^
|
unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L4
warning: unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:4:57
|
4 | use grovedb::EstimatedLayerCount::{ApproximateElements, EstimatedLevel, PotentiallyAtMaxElements};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity_tree_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L1
warning: unused import: `identity_tree_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:1:20
|
1 | use crate::drive::{identity_tree_path, Drive};
| ^^^^^^^^^^^^^^^^^^
|
unused import: `SomeSumTrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L15
warning: unused import: `SomeSumTrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:15:46
|
15 | use grovedb::EstimatedSumTrees::{NoSumTrees, SomeSumTrees};
| ^^^^^^^^^^^^
|
unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L12
warning: unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:12:5
|
12 | identity_contract_info_group_path_vec, identity_contract_info_root_path,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L10
warning: unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:10:5
|
10 | use crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `AllItems`, `AllReference`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L8
warning: unused imports: `AllItems`, `AllReference`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:8:36
|
8 | use grovedb::EstimatedLayerSizes::{AllItems, AllReference, AllSubtrees};
| ^^^^^^^^ ^^^^^^^^^^^^
|
unused imports: `ApproximateElements`, `EstimatedLevel`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L6
warning: unused imports: `ApproximateElements`, `EstimatedLevel`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:6:36
|
6 | use grovedb::EstimatedLayerCount::{ApproximateElements, EstimatedLevel, PotentiallyAtMaxElements};
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
unused import: `identity_tree_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L3
warning: unused import: `identity_tree_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:3:20
|
3 | use crate::drive::{identity_tree_path, Drive};
| ^^^^^^^^^^^^^^^^^^
|
unused import: `AVERAGE_BALANCE_SIZE`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L1
warning: unused import: `AVERAGE_BALANCE_SIZE`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:1:30
|
1 | use crate::drive::defaults::{AVERAGE_BALANCE_SIZE, DEFAULT_HASH_SIZE_U8};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `HashMap`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L28
warning: unused import: `HashMap`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:28:34
|
28 | use std::collections::{BTreeMap, HashMap};
| ^^^^^^^
|
unused import: `integer_encoding::VarInt`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L27
warning: unused import: `integer_encoding::VarInt`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:27:5
|
27 | use integer_encoding::VarInt;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `Element`, `EstimatedLayerInformation`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L26
warning: unused imports: `Element`, `EstimatedLayerInformation`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:26:15
|
26 | use grovedb::{Element, EstimatedLayerInformation, TransactionArg};
| ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `grovedb::reference_path::ReferencePathType::UpstreamRootHeightReference`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L25
warning: unused import: `grovedb::reference_path::ReferencePathType::UpstreamRootHeightReference`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:25:5
|
25 | use grovedb::reference_path::ReferencePathType::UpstreamRootHeightReference;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `grovedb::batch::KeyInfoPath`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L24
warning: unused import: `grovedb::batch::KeyInfoPath`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:24:5
|
24 | use grovedb::batch::KeyInfoPath;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `IdentityPublicKey`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L22
warning: unused import: `IdentityPublicKey`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:22:21
|
22 | use dpp::identity::{IdentityPublicKey, KeyID, Purpose};
| ^^^^^^^^^^^^^^^^^
|
unused imports: `PathKeyElementInfo`, `PathKeyInfo`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L12
warning: unused imports: `PathKeyElementInfo`, `PathKeyInfo`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:12:38
|
12 | use crate::drive::object_size_info::{PathKeyElementInfo, PathKeyInfo};
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
|
unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_key_location_within_identity_vec`, `identity_path_vec`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L9
warning: unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_key_location_within_identity_vec`, `identity_path_vec`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:9:5
|
9 | identity_contract_info_group_path_vec, identity_contract_info_root_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 | identity_key_location_within_identity_vec, identity_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::identity::IdentityRootStructure::IdentityContractInfo`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L7
warning: unused import: `crate::drive::identity::IdentityRootStructure::IdentityContractInfo`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:7:5
|
7 | use crate::drive::identity::IdentityRootStructure::IdentityContractInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::grove_operations::BatchInsertTreeApplyType::StatefulBatchInsertTree`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L5
warning: unused import: `crate::drive::grove_operations::BatchInsertTreeApplyType::StatefulBatchInsertTree`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:5:5
|
5 | use crate::drive::grove_operations::BatchInsertTreeApplyType::StatefulBatchInsertTree;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::grove_operations::BatchInsertApplyType::StatefulBatchInsert`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L4
warning: unused import: `crate::drive::grove_operations::BatchInsertApplyType::StatefulBatchInsert`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:4:5
|
4 | use crate::drive::grove_operations::BatchInsertApplyType::StatefulBatchInsert;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::batch::DriveOperation`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L3
warning: unused import: `crate::drive::batch::DriveOperation`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:3:5
|
3 | use crate::drive::batch::DriveOperation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::identity::KeyType`:
packages/rs-drive/src/drive/identity/mod.rs#L47
warning: unused import: `dpp::identity::KeyType`
--> packages/rs-drive/src/drive/identity/mod.rs:47:5
|
47 | use dpp::identity::KeyType;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
private item shadows public glob re-export:
packages/rs-drive/src/drive/document/query/query_documents/mod.rs#L1
warning: private item shadows public glob re-export
--> packages/rs-drive/src/drive/document/query/query_documents/mod.rs:1:5
|
1 | use crate::drive::document::query::query_documents::v0::QueryDocumentsOutcomeV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the name `QueryDocumentsOutcomeV0` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-drive/src/drive/document/query/query_documents/mod.rs:13:9
|
13 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-drive/src/drive/document/query/query_documents/mod.rs:1:5
|
1 | use crate::drive::document::query::query_documents::v0::QueryDocumentsOutcomeV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
|
using `clone` on type `Metadata` which implements the `Copy` trait:
packages/wasm-dpp/src/metadata.rs#L23
warning: using `clone` on type `Metadata` which implements the `Copy` trait
--> packages/wasm-dpp/src/metadata.rs:23:9
|
23 | v.0.clone()
| ^^^^^^^^^^^ help: try removing the `clone` call: `v.0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L82
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:82:53
|
82 | IdentityUpdateTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/mod.rs#L5
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/mod.rs:5:1
|
5 | pub mod identity_update_transition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L60
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:60:52
|
60 | IdentityTopUpTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/mod.rs#L4
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/mod.rs:4:1
|
4 | pub mod identity_topup_transition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L36
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:36:56
|
36 | IdentityPublicKeyInCreation::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L48
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:48:61
|
48 | IdentityCreditTransferTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L65
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:65:53
|
65 | IdentityCreateTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/mod.rs#L4
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/mod.rs:4:1
|
4 | pub mod identity_create_transition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
useless conversion to the same type: `js_sys::ArrayIter<'_>`:
packages/wasm-dpp/src/identity/identity.rs#L250
warning: useless conversion to the same type: `js_sys::ArrayIter<'_>`
--> packages/wasm-dpp/src/identity/identity.rs:250:51
|
250 | let public_keys: Vec<IdentityPublicKey> = public_keys
| ___________________________________________________^
251 | | .iter()
252 | | .into_iter()
| |________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
help: consider removing `.into_iter()`
|
250 ~ let public_keys: Vec<IdentityPublicKey> = public_keys
251 + .iter()
|
|
useless conversion to the same type: `js_sys::ArrayIter<'_>`:
packages/wasm-dpp/src/identity/identity.rs#L71
warning: useless conversion to the same type: `js_sys::ArrayIter<'_>`
--> packages/wasm-dpp/src/identity/identity.rs:71:27
|
71 | let public_keys = public_keys
| ___________________________^
72 | | .iter()
73 | | .into_iter()
| |________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
help: consider removing `.into_iter()`
|
71 ~ let public_keys = public_keys
72 + .iter()
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/identity.rs#L50
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/identity.rs:50:37
|
50 | Identity::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/mod.rs#L30
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/mod.rs:30:1
|
30 | mod identity;
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L40
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:40:46
|
40 | IdentityPublicKey::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/identity_factory.rs#L158
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/identity_factory.rs:158:75
|
158 | let asset_lock_proof = create_asset_lock_proof_from_wasm_instance(&asset_lock_proof)?;
| ^^^^^^^^^^^^^^^^^ help: change this to: `asset_lock_proof`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
implementation of inherent method `to_string(&self) -> String` for type `errors::value_error::PlatformValueErrorWasm`:
packages/wasm-dpp/src/errors/value_error.rs#L29
warning: implementation of inherent method `to_string(&self) -> String` for type `errors::value_error::PlatformValueErrorWasm`
--> packages/wasm-dpp/src/errors/value_error.rs:29:5
|
29 | / pub fn to_string(&self) -> String {
30 | | format!("PlatformValueError: {}", self.message)
31 | | }
| |_____^
|
= help: implement trait `Display` for type `errors::value_error::PlatformValueErrorWasm` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string
= note: `#[warn(clippy::inherent_to_string)]` on by default
|
you should consider adding a `Default` implementation for `MissingStateTransitionTypeErrorWasm`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs#L22
warning: you should consider adding a `Default` implementation for `MissingStateTransitionTypeErrorWasm`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs:22:5
|
22 | / pub fn new() -> Self {
23 | | Self {
24 | | inner: MissingStateTransitionTypeError::new(),
25 | | }
26 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
20 + impl Default for MissingStateTransitionTypeErrorWasm {
21 + fn default() -> Self {
22 + Self::new()
23 + }
24 + }
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L280
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:280:17
|
280 | &private_key,
| ^^^^^^^^^^^^ help: change this to: `private_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
using `clone` on type `DocumentTransitionActionType` which implements the `Copy` trait:
packages/wasm-dpp/src/document/factory.rs#L137
warning: using `clone` on type `DocumentTransitionActionType` which implements the `Copy` trait
--> packages/wasm-dpp/src/document/factory.rs:137:18
|
137 | (action_type.clone(), documents_with_refs)
| ^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*action_type`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
very complex type used. Consider factoring parts into `type` definitions:
packages/wasm-dpp/src/document/factory.rs#L117
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/wasm-dpp/src/document/factory.rs:117:24
|
117 | let documents: Vec<(
| ________________________^
118 | | DocumentTransitionActionType,
119 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
120 | | )> = documents_by_action
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
using `clone` on type `Option<Metadata>` which implements the `Copy` trait:
packages/wasm-dpp/src/document/extended_document.rs#L262
warning: using `clone` on type `Option<Metadata>` which implements the `Copy` trait
--> packages/wasm-dpp/src/document/extended_document.rs:262:9
|
262 | self.0.metadata().clone().map(Into::into)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `(*self.0.metadata())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/document/document_facade.rs#L39
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/document/document_facade.rs:39:22
|
39 | factory: Arc::new(document_factory),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `DocumentFactoryWASM`
= note: the trait `Sync` is not implemented for `DocumentFactoryWASM`
= note: required for `Arc<DocumentFactoryWASM>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
|
module has the same name as its containing module:
packages/wasm-dpp/src/data_contract_factory/mod.rs#L1
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/data_contract_factory/mod.rs:1:1
|
1 | mod data_contract_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L39
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:39:14
|
39 | Self(Arc::new(inner))
| ^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `DataContractFacade`
= note: the trait `Sync` is not implemented for `DataContractFacade`
= note: required for `Arc<DataContractFacade>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L26
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:26:14
|
26 | Self(Arc::new(facade))
| ^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `DataContractFacade`
= note: the trait `Sync` is not implemented for `DataContractFacade`
= note: required for `Arc<DataContractFacade>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/data_contract/data_contract.rs#L240
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/data_contract/data_contract.rs:240:72
|
240 | .set_document_schema(name, schema_value, !skip_validation, &platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/data_contract/data_contract.rs#L217
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/data_contract/data_contract.rs:217:17
|
217 | &platform_version,
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L48
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:48:30
|
48 | let data_contracts = Arc::new(
| ______________________________^
49 | | DataContractFacade::new(protocol_version, Some(Box::new(entropy_generator.clone())))
50 | | .with_js_error()?,
51 | | );
| |_________^
|
= note: the trait `Send` is not implemented for `DataContractFacade`
= note: the trait `Sync` is not implemented for `DataContractFacade`
= note: required for `Arc<DataContractFacade>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
|
function `convert_number_to_u64` is never used:
packages/wasm-dpp/src/utils.rs#L253
warning: function `convert_number_to_u64` is never used
--> packages/wasm-dpp/src/utils.rs:253:8
|
253 | pub fn convert_number_to_u64(js_number: js_sys::Number) -> Result<u64, anyhow::Error> {
| ^^^^^^^^^^^^^^^^^^^^^
|
function `try_to_u64` is never used:
packages/wasm-dpp/src/utils.rs#L239
warning: function `try_to_u64` is never used
--> packages/wasm-dpp/src/utils.rs:239:8
|
239 | pub fn try_to_u64(value: JsValue) -> Result<u64, anyhow::Error> {
| ^^^^^^^^^^
|
function `get_class_name` is never used:
packages/wasm-dpp/src/utils.rs#L232
warning: function `get_class_name` is never used
--> packages/wasm-dpp/src/utils.rs:232:8
|
232 | pub fn get_class_name(value: &JsValue) -> String {
| ^^^^^^^^^^^^^^
|
function `to_vec_of_serde_values` is never used:
packages/wasm-dpp/src/utils.rs#L69
warning: function `to_vec_of_serde_values` is never used
--> packages/wasm-dpp/src/utils.rs:69:8
|
69 | pub fn to_vec_of_serde_values(
| ^^^^^^^^^^^^^^^^^^^^^^
|
field `skip_signature` is never read:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L22
warning: field `skip_signature` is never read
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:22:9
|
21 | struct ToObjectOptions {
| --------------- field in this struct
22 | pub skip_signature: Option<bool>,
| ^^^^^^^^^^^^^^
|
function `to_object` is never used:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L286
warning: function `to_object` is never used
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:286:15
|
286 | pub(crate) fn to_object<'a>(
| ^^^^^^^^^
|
method `get_binary_type_of_path` is never used:
packages/wasm-dpp/src/document/extended_document.rs#L351
warning: method `get_binary_type_of_path` is never used
--> packages/wasm-dpp/src/document/extended_document.rs:351:8
|
350 | impl ExtendedDocumentWasm {
| ------------------------- method in this implementation
351 | fn get_binary_type_of_path(&self, path: &String) -> Result<BinaryType, JsValue> {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
method `get_binary_type_of_path` is never used:
packages/wasm-dpp/src/document/mod.rs#L322
warning: method `get_binary_type_of_path` is never used
--> packages/wasm-dpp/src/document/mod.rs:322:8
|
321 | impl DocumentWasm {
| ----------------- method in this implementation
322 | fn get_binary_type_of_path(
| ^^^^^^^^^^^^^^^^^^^^^^^
|
enum `BinaryType` is never used:
packages/wasm-dpp/src/document/mod.rs#L58
warning: enum `BinaryType` is never used
--> packages/wasm-dpp/src/document/mod.rs:58:17
|
58 | pub(super) enum BinaryType {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
packages/wasm-dpp/src/document/extended_document.rs#L193
warning: variable does not need to be mutable
--> packages/wasm-dpp/src/document/extended_document.rs:193:13
|
193 | let mut value: Value = js_value_to_set.with_serde_to_platform_value()?;
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused variable: `platform_version`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L65
warning: unused variable: `platform_version`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:65:13
|
65 | let platform_version = PlatformVersion::first();
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_version`
|
unused variable: `binary_paths_o`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L159
warning: unused variable: `binary_paths_o`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:159:13
|
159 | let binary_paths_o = document_type.binary_paths();
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_paths_o`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L19
warning: unused import: `ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:19:48
|
19 | use dpp::serialization::{PlatformSerializable, ValueConvertible};
| ^^^^^^^^^^^^^^^^
|
unused import: `ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L32
warning: unused import: `ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:32:48
|
32 | use dpp::serialization::{PlatformSerializable, ValueConvertible};
| ^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`:
packages/wasm-dpp/src/document/mod.rs#L39
warning: unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`
--> packages/wasm-dpp/src/document/mod.rs:39:5
|
39 | use dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `util::json_value::JsonValueExt`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L6
warning: unused import: `util::json_value::JsonValueExt`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:6:5
|
6 | util::json_value::JsonValueExt,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Inner`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L27
warning: unused import: `Inner`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:27:13
|
27 | utils::{Inner, IntoWasm, ToSerdeJSONExt, WithJsError},
| ^^^^^
|
unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L10
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:10:5
|
10 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/document/extended_document.rs#L14
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/document/extended_document.rs:14:5
|
14 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L30
warning: unused import: `dpp::serialization::ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:30:5
|
30 | use dpp::serialization::ValueConvertible;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L9
warning: unused import: `dpp::serialization::ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:9:5
|
9 | use dpp::serialization::ValueConvertible;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L9
warning: unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:9:5
|
9 | use dpp::ed25519_dalek::ed25519::signature::SignerMut;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `LATEST_VERSION`:
packages/wasm-dpp/src/protocol_version.rs#L1
warning: unused import: `LATEST_VERSION`
--> packages/wasm-dpp/src/protocol_version.rs:1:37
|
1 | use dpp::version::{PlatformVersion, LATEST_VERSION};
| ^^^^^^^^^^^^^^
|
unused import: `JsError`:
packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs#L3
warning: unused import: `JsError`
--> packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs:3:43
|
3 | use wasm_bindgen::{prelude::wasm_bindgen, JsError, JsValue};
| ^^^^^^^
|
unused import: `serde::Serialize`:
packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs#L2
warning: unused import: `serde::Serialize`
--> packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs:2:5
|
2 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
private item shadows public glob re-export:
packages/wasm-dpp/src/lib.rs#L22
warning: private item shadows public glob re-export
--> packages/wasm-dpp/src/lib.rs:22:1
|
22 | mod state_transition;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: the name `state_transition` in the type namespace is supposed to be publicly re-exported here
--> packages/wasm-dpp/src/lib.rs:7:9
|
7 | pub use document::*;
| ^^^^^^^^^^^
note: but the private item here shadows it
--> packages/wasm-dpp/src/lib.rs:22:1
|
22 | mod state_transition;
| ^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
|
unused imports: `ReplacementType`, `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L27
warning: unused imports: `ReplacementType`, `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:27:56
|
27 | use dpp::platform_value::{string_encoding, BinaryData, ReplacementType, Value};
| ^^^^^^^^^^^^^^^ ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L14
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:14:38
|
14 | identity::IdentityPublicKeyWasm, utils, with_js_error,
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L5
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:5:5
|
5 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ReplacementType`, `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L27
warning: unused imports: `ReplacementType`, `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:27:44
|
27 | use dpp::platform_value::{string_encoding, ReplacementType, Value};
| ^^^^^^^^^^^^^^^ ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L22
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:22:5
|
22 | utils, with_js_error,
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L12
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:12:5
|
12 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::identity_topup_transition::fields::IDENTIFIER_FIELDS`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L10
warning: unused import: `dpp::state_transition::identity_topup_transition::fields::IDENTIFIER_FIELDS`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:10:5
|
10 | use dpp::state_transition::identity_topup_transition::fields::IDENTIFIER_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L17
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:17:29
|
17 | use crate::{buffer::Buffer, utils, with_js_error};
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L11
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:11:5
|
11 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L7
warning: unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:7:5
|
7 | use dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L2
warning: unused import: `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:2:56
|
2 | use dpp::platform_value::{BinaryData, ReplacementType, Value};
| ^^^^^
|
unused import: `dpp::state_transition::identity_credit_transfer_transition::fields::IDENTIFIER_FIELDS`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L21
warning: unused import: `dpp::state_transition::identity_credit_transfer_transition::fields::IDENTIFIER_FIELDS`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:21:5
|
21 | use dpp::state_transition::identity_credit_transfer_transition::fields::IDENTIFIER_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L14
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:14:29
|
14 | use crate::{buffer::Buffer, utils, with_js_error};
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L3
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:3:5
|
3 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ReplacementType`, `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L2
warning: unused imports: `ReplacementType`, `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:2:27
|
2 | use dpp::platform_value::{ReplacementType, Value};
| ^^^^^^^^^^^^^^^ ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L25
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:25:5
|
25 | utils, with_js_error,
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L2
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:2:5
|
2 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::Value`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L1
warning: unused import: `dpp::platform_value::Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:1:5
|
1 | use dpp::platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/identity.rs#L18
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/identity.rs:18:5
|
18 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Value`:
packages/wasm-dpp/src/identity/identity.rs#L12
warning: unused import: `Value`
--> packages/wasm-dpp/src/identity/identity.rs:12:44
|
12 | use dpp::platform_value::{ReplacementType, Value};
| ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/identity.rs#L7
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/identity.rs:7:13
|
7 | use crate::{utils, with_js_error};
| ^^^^^
|
unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L16
warning: unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:16:5
|
16 | use dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Value`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L14
warning: unused import: `Value`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:14:56
|
14 | use dpp::platform_value::{BinaryData, ReplacementType, Value};
| ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L8
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:8:29
|
8 | use crate::{buffer::Buffer, utils, with_js_error};
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L3
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:3:5
|
3 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `js_sys::Reflect::delete_property`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L1
warning: unused import: `js_sys::Reflect::delete_property`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:1:5
|
1 | use js_sys::Reflect::delete_property;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::identity::state_transition::asset_lock_proof::AssetLockProof`:
packages/wasm-dpp/src/identity/factory_utils.rs#L7
warning: unused import: `dpp::identity::state_transition::asset_lock_proof::AssetLockProof`
--> packages/wasm-dpp/src/identity/factory_utils.rs:7:5
|
7 | use dpp::identity::state_transition::asset_lock_proof::AssetLockProof;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::identity::state_transition::create_asset_lock_proof_from_wasm_instance`:
packages/wasm-dpp/src/identity/factory_utils.rs#L2
warning: unused import: `crate::identity::state_transition::create_asset_lock_proof_from_wasm_instance`
--> packages/wasm-dpp/src/identity/factory_utils.rs:2:5
|
2 | use crate::identity::state_transition::create_asset_lock_proof_from_wasm_instance;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/value_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/value_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/value_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/value_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_revision_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_revision_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::PlatformVersion`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs#L7
warning: unused import: `dpp::version::PlatformVersion`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs:7:5
|
7 | use dpp::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `PlatformSerializableWithPlatformVersion`, `PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs#L6
warning: unused imports: `PlatformSerializableWithPlatformVersion`, `PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs:6:26
|
6 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_already_exists_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_already_exists_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/invalid_document_revision_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/invalid_document_revision_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/duplicate_unique_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/duplicate_unique_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_mismatch_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_mismatch_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_timestamp_window_violation_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_timestamp_window_violation_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_owner_id_mismatch_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_owner_id_mismatch_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_not_found_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_not_found_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_already_present_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_already_present_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_already_present_error.rs#L7
warning: unused import: `PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_already_present_error.rs:7:26
|
7 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/identity_not_found_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/identity_not_found_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/fee/balance_is_not_enough_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/fee/balance_is_not_enough_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ConsensusError`:
packages/wasm-dpp/src/errors/consensus/consensus_error.rs#L5
warning: unused import: `ConsensusError`
--> packages/wasm-dpp/src/errors/consensus/consensus_error.rs:5:59
|
5 | use dpp::consensus::{ConsensusError as DPPConsensusError, ConsensusError};
| ^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/unsupported_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/unsupported_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde::Serialize`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs#L5
warning: unused import: `serde::Serialize`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs:5:5
|
5 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs#L9
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs:9:5
|
9 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs#L8
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs:8:5
|
8 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs#L9
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs:9:5
|
9 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs#L3
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs:3:5
|
3 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::consensus::ConsensusError`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs#L5
warning: unused import: `dpp::consensus::ConsensusError`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs:5:5
|
5 | use dpp::consensus::ConsensusError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs#L4
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs:4:5
|
4 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::consensus::ConsensusError`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs#L5
warning: unused import: `dpp::consensus::ConsensusError`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs:5:5
|
5 | use dpp::consensus::ConsensusError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs#L4
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs:4:5
|
4 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs#L7
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs:7:5
|
7 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_insufficient_balance_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_insufficient_balance_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_is_not_found_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_is_not_found_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs#L7
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs:7:5
|
7 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_type_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_type_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_id_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_id_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/data_contract_not_present_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/data_contract_not_present_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs#L6
warning: unused import: `PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs:6:26
|
6 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::bincode::Decode`:
packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs#L2
warning: unused import: `dpp::bincode::Decode`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs:2:5
|
2 | use dpp::bincode::Decode;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_id_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_id_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_data_contract_schema_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_data_contract_schema_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde::Serialize`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs#L6
warning: unused import: `serde::Serialize`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs:6:5
|
6 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::document::extended_document::property_names`:
packages/wasm-dpp/src/document/mod.rs#L37
warning: unused import: `dpp::document::extended_document::property_names`
--> packages/wasm-dpp/src/document/mod.rs:37:5
|
37 | use dpp::document::extended_document::property_names;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `IDENTIFIER_FIELDS`:
packages/wasm-dpp/src/document/mod.rs#L32
warning: unused import: `IDENTIFIER_FIELDS`
--> packages/wasm-dpp/src/document/mod.rs:32:71
|
32 | Document, DocumentV0Setters, EXTENDED_DOCUMENT_IDENTIFIER_FIELDS, IDENTIFIER_FIELDS,
| ^^^^^^^^^^^^^^^^^
|
unused imports: `BinaryType`, `DataContractWasm`, `with_js_error`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L33
warning: unused imports: `BinaryType`, `DataContractWasm`, `with_js_error`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:33:5
|
33 | with_js_error, BinaryType, ConversionOptions, DataContractWasm,
| ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
unused imports: `DocumentCreateTransition`, `DocumentDeleteTransition`, `DocumentReplaceTransition`, `json_schema::JsonSchemaExt`, `prelude::Identifier`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L16
warning: unused imports: `DocumentCreateTransition`, `DocumentDeleteTransition`, `DocumentReplaceTransition`, `json_schema::JsonSchemaExt`, `prelude::Identifier`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:16:5
|
16 | prelude::Identifier,
| ^^^^^^^^^^^^^^^^^^^
17 | state_transition::documents_batch_transition::{
18 | document_transition::DocumentTransition, DocumentCreateTransition,
| ^^^^^^^^^^^^^^^^^^^^^^^^
19 | DocumentDeleteTransition, DocumentReplaceTransition,
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
20 | },
21 | util::{json_schema::JsonSchemaExt, json_value::JsonValueExt},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L9
warning: unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:9:5
|
9 | use dpp::data_contract::accessors::v0::DataContractV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ToSerdeJSONExt`, `lodash::lodash_set`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L26
warning: unused imports: `ToSerdeJSONExt`, `lodash::lodash_set`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:26:5
|
26 | lodash::lodash_set,
| ^^^^^^^^^^^^^^^^^^
27 | utils::{Inner, IntoWasm, ToSerdeJSONExt, WithJsError},
| ^^^^^^^^^^^^^^
|
unused import: `ReplacementType`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L14
warning: unused import: `ReplacementType`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:14:39
|
14 | use dpp::platform_value::{BinaryData, ReplacementType};
| ^^^^^^^^^^^^^^^
|
unused import: `Reflect`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L9
warning: unused import: `Reflect`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:9:21
|
9 | use js_sys::{Array, Reflect};
| ^^^^^^^
|
unused imports: `DataContract`, `StateTransitionFieldTypes`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L4
warning: unused imports: `DataContract`, `StateTransitionFieldTypes`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:4:15
|
4 | prelude::{DataContract, Identifier},
| ^^^^^^^^^^^^
5 | state_transition::{StateTransitionFieldTypes, StateTransitionLike, StateTransitionType},
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `generate_document_id`:
packages/wasm-dpp/src/document/generate_document_id.rs#L1
warning: unused import: `generate_document_id`
--> packages/wasm-dpp/src/document/generate_document_id.rs:1:21
|
1 | use dpp::document::{generate_document_id, Document};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
packages/wasm-dpp/src/document/factory.rs#L22
warning: unused import: `std::sync::Arc`
--> packages/wasm-dpp/src/document/factory.rs:22:5
|
22 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`:
packages/wasm-dpp/src/document/factory.rs#L18
warning: unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`
--> packages/wasm-dpp/src/document/factory.rs:18:5
|
18 | use dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`:
packages/wasm-dpp/src/document/factory.rs#L16
warning: unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`
--> packages/wasm-dpp/src/document/factory.rs:16:5
|
16 | use dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ProtocolError`, `extended_document`:
packages/wasm-dpp/src/document/factory.rs#L4
warning: unused imports: `ProtocolError`, `extended_document`
--> packages/wasm-dpp/src/document/factory.rs:4:51
|
4 | document::{document_factory::DocumentFactory, extended_document},
| ^^^^^^^^^^^^^^^^^
5 | ProtocolError,
| ^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::ReplacementType`:
packages/wasm-dpp/src/document/factory.rs#L2
warning: unused import: `dpp::platform_value::ReplacementType`
--> packages/wasm-dpp/src/document/factory.rs:2:5
|
2 | use dpp::platform_value::ReplacementType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::util::json_schema::JsonSchemaExt`:
packages/wasm-dpp/src/document/extended_document.rs#L8
warning: unused import: `dpp::util::json_schema::JsonSchemaExt`
--> packages/wasm-dpp/src/document/extended_document.rs:8:5
|
8 | use dpp::util::json_schema::JsonSchemaExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `IntoWasm`, `get_class_name`:
packages/wasm-dpp/src/document/document_facade.rs#L7
warning: unused imports: `IntoWasm`, `get_class_name`
--> packages/wasm-dpp/src/document/document_facade.rs:7:13
|
7 | utils::{get_class_name, IntoWasm},
| ^^^^^^^^^^^^^^ ^^^^^^^^
|
unused import: `crate::data_contract::DataContractWasm`:
packages/wasm-dpp/src/document/errors/document_no_revision_error.rs#L3
warning: unused import: `crate::data_contract::DataContractWasm`
--> packages/wasm-dpp/src/document/errors/document_no_revision_error.rs:3:5
|
3 | use crate::data_contract::DataContractWasm;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::with_js_error`:
packages/wasm-dpp/src/document/mod.rs#L16
warning: unused import: `crate::with_js_error`
--> packages/wasm-dpp/src/document/mod.rs:16:5
|
16 | use crate::with_js_error;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::lodash::lodash_set`:
packages/wasm-dpp/src/document/mod.rs#L13
warning: unused import: `crate::lodash::lodash_set`
--> packages/wasm-dpp/src/document/mod.rs:13:5
|
13 | use crate::lodash::lodash_set;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::util::json_schema::JsonSchemaExt`:
packages/wasm-dpp/src/document/mod.rs#L2
warning: unused import: `dpp::util::json_schema::JsonSchemaExt`
--> packages/wasm-dpp/src/document/mod.rs:2:5
|
2 | use dpp::util::json_schema::JsonSchemaExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DataContract`:
packages/wasm-dpp/src/document/mod.rs#L1
warning: unused import: `DataContract`
--> packages/wasm-dpp/src/document/mod.rs:1:20
|
1 | use dpp::prelude::{DataContract, Identifier};
| ^^^^^^^^^^^^
|
unused import: `dpp::util::entropy_generator::EntropyGenerator`:
packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs#L18
warning: unused import: `dpp::util::entropy_generator::EntropyGenerator`
--> packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs:18:5
|
18 | use dpp::util::entropy_generator::EntropyGenerator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `data_contract::errors::InvalidDataContractError`, `from_dpp_err`:
packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs#L13
warning: unused imports: `data_contract::errors::InvalidDataContractError`, `from_dpp_err`
--> packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs:13:5
|
13 | data_contract::errors::InvalidDataContractError,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 | errors::{from_dpp_err, protocol_error::from_protocol_error},
| ^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs#L2
warning: unused import: `std::sync::Arc`
--> packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs:2:5
|
2 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused import: `dpp::identity::IdentityFacade`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L21
warning: unused import: `dpp::identity::IdentityFacade`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:21:5
|
21 | use dpp::identity::IdentityFacade;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::identity::identity_facade::IdentityFacadeWasm`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L20
warning: unused import: `crate::identity::identity_facade::IdentityFacadeWasm`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:20:5
|
20 | use crate::identity::identity_facade::IdentityFacadeWasm;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `IntoWasm`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L14
warning: unused import: `IntoWasm`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:14:28
|
14 | get_bool_from_options, IntoWasm, ToSerdeJSONExt, WithJsError, SKIP_VALIDATION_PROPERTY_NAME,
| ^^^^^^^^
|
unused import: `dpp::data_contract::DataContract`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L4
warning: unused import: `dpp::data_contract::DataContract`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:4:5
|
4 | use dpp::data_contract::DataContract;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `with_js_error`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L31
warning: unused import: `with_js_error`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:31:60
|
31 | use crate::{buffer::Buffer, identifier::IdentifierWrapper, with_js_error};
| ^^^^^^^^^^^^^
|
unused import: `Deserialize`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L20
warning: unused import: `Deserialize`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:20:13
|
20 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^
|
unused import: `platform_value`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L17
warning: unused import: `platform_value`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:17:43
|
17 | consensus::signature::SignatureError, platform_value, state_transition::StateTransitionLike,
| ^^^^^^^^^^^^^^
|
unused import: `std::hash::Hash`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L4
warning: unused import: `std::hash::Hash`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:4:5
|
4 | use std::hash::Hash;
| ^^^^^^^^^^^^^^^
|
unused import: `std::collections::HashMap`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L3
warning: unused import: `std::collections::HashMap`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:3:5
|
3 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `with_js_error`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L27
warning: unused import: `with_js_error`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:27:60
|
27 | use crate::{buffer::Buffer, identifier::IdentifierWrapper, with_js_error};
| ^^^^^^^^^^^^^
|
unused import: `TryIntoPlatformVersioned`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L18
warning: unused import: `TryIntoPlatformVersioned`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:18:37
|
18 | use dpp::version::{PlatformVersion, TryIntoPlatformVersioned};
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `JsonStateTransitionSerializationOptions`, `StateTransitionJsonConvert`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L16
warning: unused imports: `JsonStateTransitionSerializationOptions`, `StateTransitionJsonConvert`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:16:29
|
16 | use dpp::state_transition::{JsonStateTransitionSerializationOptions, StateTransitionJsonConvert};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::Value`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L11
warning: unused import: `dpp::platform_value::Value`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:11:5
|
11 | use dpp::platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::JsonValue`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L8
warning: unused import: `dpp::data_contract::JsonValue`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:8:5
|
8 | use dpp::data_contract::JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::collections::HashMap`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L3
warning: unused import: `std::collections::HashMap`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:3:5
|
3 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::ProtocolError`:
packages/wasm-dpp/src/data_contract/errors/mod.rs#L9
warning: unused import: `dpp::ProtocolError`
--> packages/wasm-dpp/src/data_contract/errors/mod.rs:9:5
|
9 | use dpp::ProtocolError;
| ^^^^^^^^^^^^^^^^^^
|
unnecessary parentheses around pattern:
packages/wasm-dpp/src/data_contract/data_contract.rs#L283
warning: unnecessary parentheses around pattern
--> packages/wasm-dpp/src/data_contract/data_contract.rs:283:13
|
283 | let (skip_validation) = if let Some(options) = options {
| ^ ^
|
help: remove these parentheses
|
283 - let (skip_validation) = if let Some(options) = options {
283 + let skip_validation = if let Some(options) = options {
|
|
unnecessary parentheses around pattern:
packages/wasm-dpp/src/data_contract/data_contract.rs#L229
warning: unnecessary parentheses around pattern
--> packages/wasm-dpp/src/data_contract/data_contract.rs:229:13
|
229 | let (skip_validation) = if let Some(options) = options {
| ^ ^
|
help: remove these parentheses
|
229 - let (skip_validation) = if let Some(options) = options {
229 + let skip_validation = if let Some(options) = options {
|
|
unnecessary parentheses around method argument:
packages/wasm-dpp/src/data_contract/data_contract.rs#L170
warning: unnecessary parentheses around method argument
--> packages/wasm-dpp/src/data_contract/data_contract.rs:170:13
|
170 | (|path| {
| ^
...
177 | }),
| ^
|
help: remove these parentheses
|
170 ~ |path| {
171 | binary_paths.insert(
...
176 | );
177 ~ },
|
|
consider removing unnecessary double parentheses:
packages/wasm-dpp/src/data_contract/data_contract.rs#L170
warning: consider removing unnecessary double parentheses
--> packages/wasm-dpp/src/data_contract/data_contract.rs:170:13
|
170 | / (|path| {
171 | | binary_paths.insert(
172 | | path.to_owned(),
173 | | platform_value!({
... |
176 | | );
177 | | }),
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
|
unnecessary parentheses around method argument:
packages/wasm-dpp/src/data_contract/data_contract.rs#L164
warning: unnecessary parentheses around method argument
--> packages/wasm-dpp/src/data_contract/data_contract.rs:164:13
|
164 | (|path| {
| ^
165 | binary_paths.insert(path.to_owned(), platform_value!({}));
166 | }),
| ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
164 ~ |path| {
165 | binary_paths.insert(path.to_owned(), platform_value!({}));
166 ~ },
|
|
consider removing unnecessary double parentheses:
packages/wasm-dpp/src/data_contract/data_contract.rs#L164
warning: consider removing unnecessary double parentheses
--> packages/wasm-dpp/src/data_contract/data_contract.rs:164:13
|
164 | / (|path| {
165 | | binary_paths.insert(path.to_owned(), platform_value!({}));
166 | | }),
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
= note: `#[warn(clippy::double_parens)]` on by default
|
unused imports: `bail_js`, `console_log`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L29
warning: unused imports: `bail_js`, `console_log`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:29:13
|
29 | use crate::{bail_js, console_log, with_js_error};
| ^^^^^^^ ^^^^^^^^^^^
|
unused import: `platform_value`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L22
warning: unused import: `platform_value`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:22:11
|
22 | use dpp::{platform_value, ProtocolError};
| ^^^^^^^^^^^^^^
|
unused import: `PlatformSerializable`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L20
warning: unused import: `PlatformSerializable`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:20:26
|
20 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^
|
unused imports: `DocumentName`, `JsonValue`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L10
warning: unused imports: `DocumentName`, `JsonValue`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:10:40
|
10 | use dpp::data_contract::{DataContract, DocumentName, JsonValue};
| ^^^^^^^^^^^^ ^^^^^^^^^
|
unused import: `dpp::state_transition::state_transition_factory::StateTransitionFactory`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L11
warning: unused import: `dpp::state_transition::state_transition_factory::StateTransitionFactory`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:11:5
|
11 | use dpp::state_transition::state_transition_factory::StateTransitionFactory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::prelude::DataContract`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L10
warning: unused import: `dpp::prelude::DataContract`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:10:5
|
10 | use dpp::prelude::DataContract;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::identity::IdentityFacade`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L9
warning: unused import: `dpp::identity::IdentityFacade`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:9:5
|
9 | use dpp::identity::IdentityFacade;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
module has the same name as its containing module:
packages/rs-dpp/src/tests/utils/mod.rs#L5
warning: module has the same name as its containing module
--> packages/rs-dpp/src/tests/utils/mod.rs:5:1
|
5 | mod utils;
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
struct update has no effect, all the fields in the struct have already been specified:
packages/rs-dpp/src/tests/fixtures/get_identity_update_transition_fixture.rs#L44
warning: struct update has no effect, all the fields in the struct have already been specified
--> packages/rs-dpp/src/tests/fixtures/get_identity_update_transition_fixture.rs:44:15
|
44 | ..Default::default()
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
= note: `#[warn(clippy::needless_update)]` on by default
|
module has the same name as its containing module:
packages/rs-dpp/src/errors/consensus/basic/json_schema_error/mod.rs#L1
warning: module has the same name as its containing module
--> packages/rs-dpp/src/errors/consensus/basic/json_schema_error/mod.rs:1:1
|
1 | pub mod json_schema_error;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionEmptyError`:
packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_empty_error.rs#L18
warning: you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionEmptyError`
--> packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_empty_error.rs:18:5
|
18 | / pub fn new() -> Self {
19 | | Self {}
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
17 + impl Default for InvalidIdentityUpdateTransitionEmptyError {
18 + fn default() -> Self {
19 + Self::new()
20 + }
21 + }
|
|
you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionDisableKeysError`:
packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_disable_keys_error.rs#L18
warning: you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionDisableKeysError`
--> packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_disable_keys_error.rs:18:5
|
18 | / pub fn new() -> Self {
19 | | Self {}
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
17 + impl Default for InvalidIdentityUpdateTransitionDisableKeysError {
18 + fn default() -> Self {
19 + Self::new()
20 + }
21 + }
|
|
module has the same name as its containing module:
packages/rs-dpp/src/util/cbor_value/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-dpp/src/util/cbor_value/mod.rs:11:1
|
11 | mod cbor_value;
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
useless conversion to the same type: `[u8; 20]`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/v0/mod.rs#L10
warning: useless conversion to the same type: `[u8; 20]`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/v0/mod.rs:10:9
|
10 | / Into::<IdentityPublicKey>::into(self.clone())
11 | | .hash()?
12 | | .try_into()
| |_______________________^
|
= help: consider removing `.try_into()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
this lifetime isn't used in the function definition:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/mod.rs#L9
warning: this lifetime isn't used in the function definition
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/mod.rs:9:36
|
9 | pub fn validate_base_structure<'d>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
this lifetime isn't used in the function definition:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/v0/mod.rs#L23
warning: this lifetime isn't used in the function definition
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/v0/mod.rs:23:46
|
23 | pub(super) fn validate_base_structure_v0<'d>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-dpp/src/state_transition/serialization.rs#L7
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-dpp/src/state_transition/serialization.rs:7:32
|
7 | raw_state_transitions: &Vec<Vec<u8>>,
| ^^^^^^^^^^^^^ help: change this to: `&[Vec<u8>]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
field assignment outside of initializer for an instance created with Default::default():
packages/rs-dpp/src/identity/identity_factory.rs#L202
warning: field assignment outside of initializer for an instance created with Default::default()
--> packages/rs-dpp/src/identity/identity_factory.rs:202:9
|
202 | identity_credit_transfer_transition.identity_id = identity_id;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `state_transition::state_transitions::identity::identity_credit_transfer_transition::v0::IdentityCreditTransferTransitionV0 { identity_id: identity_id, recipient_id: recipient_id, amount: amount, ..Default::default() }` and removing relevant reassignments
--> packages/rs-dpp/src/identity/identity_factory.rs:201:9
|
201 | let mut identity_credit_transfer_transition = IdentityCreditTransferTransitionV0::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
large size difference between variants:
packages/rs-dpp/src/identity/state_transition/asset_lock_proof/mod.rs#L22
warning: large size difference between variants
--> packages/rs-dpp/src/identity/state_transition/asset_lock_proof/mod.rs:22:1
|
22 | / pub enum AssetLockProof {
23 | | Instant(#[bincode(with_serde)] InstantAssetLockProof),
| | ----------------------------------------------------- the largest variant contains at least 632 bytes
24 | | Chain(ChainAssetLockProof),
| | -------------------------- the second-largest variant contains at least 44 bytes
25 | | }
| |_^ the entire enum is at least 632 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
23 | Instant(#[bincode(with_serde)] Box<InstantAssetLockProof>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this `impl` can be derived:
packages/rs-dpp/src/identity/identity_public_key/security_level.rs#L32
warning: this `impl` can be derived
--> packages/rs-dpp/src/identity/identity_public_key/security_level.rs:32:1
|
32 | / impl Default for SecurityLevel {
33 | | fn default() -> Self {
34 | | SecurityLevel::MASTER
35 | | }
36 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
25 + #[derive(Default)]
26 | pub enum SecurityLevel {
|
help: ...and mark the default variant
|
26 ~ #[default]
27 ~ MASTER = 0,
|
|
this `impl` can be derived:
packages/rs-dpp/src/identity/identity_public_key/purpose.rs#L39
warning: this `impl` can be derived
--> packages/rs-dpp/src/identity/identity_public_key/purpose.rs:39:1
|
39 | / impl Default for Purpose {
40 | | fn default() -> Self {
41 | | Purpose::AUTHENTICATION
42 | | }
43 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
24 + #[derive(Default)]
25 | pub enum Purpose {
|
help: ...and mark the default variant
|
26 ~ #[default]
27 ~ AUTHENTICATION = 0,
|
|
useless use of `vec!`:
packages/rs-dpp/src/identity/identity_public_key/key_type.rs#L53
warning: useless use of `vec!`
--> packages/rs-dpp/src/identity/identity_public_key/key_type.rs:53:58
|
53 | static ref KEY_TYPE_SIZES: HashMap<KeyType, usize> = vec![
| __________________________________________________________^
54 | | (KeyType::ECDSA_SECP256K1, 33),
55 | | (KeyType::BLS12_381, 48),
56 | | (KeyType::ECDSA_HASH160, 20),
57 | | (KeyType::BIP13_SCRIPT_HASH, 20)
58 | | ]
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
help: you can use an array directly
|
53 ~ static ref KEY_TYPE_SIZES: HashMap<KeyType, usize> = [(KeyType::ECDSA_SECP256K1, 33),
54 + (KeyType::BLS12_381, 48),
55 + (KeyType::ECDSA_HASH160, 20),
56 + (KeyType::BIP13_SCRIPT_HASH, 20)]
|
|
this `impl` can be derived:
packages/rs-dpp/src/identity/identity_public_key/key_type.rs#L46
warning: this `impl` can be derived
--> packages/rs-dpp/src/identity/identity_public_key/key_type.rs:46:1
|
46 | / impl Default for KeyType {
47 | | fn default() -> Self {
48 | | KeyType::ECDSA_SECP256K1
49 | | }
50 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
38 + #[derive(Default)]
39 | pub enum KeyType {
|
help: ...and mark the default variant
|
39 ~ #[default]
40 ~ ECDSA_SECP256K1 = 0,
|
|
module has the same name as its containing module:
packages/rs-dpp/src/identity/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-dpp/src/identity/mod.rs:11:1
|
11 | mod identity;
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-dpp/src/document/specialized_document_factory/v0/mod.rs#L181
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-dpp/src/document/specialized_document_factory/v0/mod.rs:181:24
|
181 | let documents: Vec<(
| ________________________^
182 | | DocumentTransitionActionType,
183 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
184 | | )> = documents_iter.into_iter().collect();
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
called `unwrap` on `owner_id` after checking its variant with `is_some`:
packages/rs-dpp/src/document/document_methods/get_raw_for_document_type/v0/mod.rs#L22
warning: called `unwrap` on `owner_id` after checking its variant with `is_some`
--> packages/rs-dpp/src/document/document_methods/get_raw_for_document_type/v0/mod.rs:22:31
|
21 | if key_path == "$ownerId" && owner_id.is_some() {
| ------------------ the check is happening here
22 | Ok(Some(Vec::from(owner_id.unwrap())))
| ^^^^^^^^^^^^^^^^^
|
= help: try using `if let` or `match`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-dpp/src/document/document_factory/v0/mod.rs#L172
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-dpp/src/document/document_factory/v0/mod.rs:172:24
|
172 | let documents: Vec<(
| ________________________^
173 | | DocumentTransitionActionType,
174 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
175 | | )> = documents_iter.into_iter().collect();
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
re-implementing `PartialEq::ne` is unnecessary:
packages/rs-dpp/src/data_contract/document_type/v0/validator.rs#L32
warning: re-implementing `PartialEq::ne` is unnecessary
--> packages/rs-dpp/src/data_contract/document_type/v0/validator.rs:32:5
|
32 | / fn ne(&self, other: &Self) -> bool {
33 | | !self.eq(other)
34 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl
= note: `#[warn(clippy::partialeq_ne_impl)]` on by default
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `BTreeMap`:
packages/rs-dpp/src/data_contract/document_type/schema/validate_schema_compatibility/v0/mod.rs#L49
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `BTreeMap`
--> packages/rs-dpp/src/data_contract/document_type/schema/validate_schema_compatibility/v0/mod.rs:49:10
|
49 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-dpp/src/data_contract/document_type/random_document.rs#L30
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-dpp/src/data_contract/document_type/random_document.rs:30:21
|
30 | identities: &Vec<Identity>,
| ^^^^^^^^^^^^^^ help: change this to: `&[Identity]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
unneeded late initialization:
packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs#L534
warning: unneeded late initialization
--> packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs:534:5
|
534 | let field_type: DocumentPropertyType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
= note: `#[warn(clippy::needless_late_init)]` on by default
help: declare `field_type` here
|
536 | let field_type: DocumentPropertyType = match type_value {
| ++++++++++++++++++++++++++++++++++++++
help: remove the assignments from the `match` arms
|
538 ~ DocumentPropertyType::Integer
539 | }
540 | "number" => {
541 ~ DocumentPropertyType::Number
542 | }
543 | "string" => {
544 ~ DocumentPropertyType::String(
545 | inner_properties.get_optional_integer(property_names::MIN_LENGTH)?,
546 | inner_properties.get_optional_integer(property_names::MAX_LENGTH)?,
547 ~ )
548 | }
...
551 | // Return an error if it is not a byte array
552 ~ match inner_properties.get_optional_bool(property_names::BYTE_ARRAY)? {
553 | Some(inner_bool) => {
...
580 | None => DocumentPropertyType::Array(ArrayItemType::Boolean),
581 ~ }
582 | }
...
632 | _ => {
633 ~ DocumentPropertyType::try_from_name(type_value)?
|
help: add a semicolon after the `match` expression
|
635 | };
| +
|
unused variable: `error_message`:
packages/rs-dpp/src/errors/consensus/basic/json_schema_error/json_schema_error_data.rs#L145
warning: unused variable: `error_message`
--> packages/rs-dpp/src/errors/consensus/basic/json_schema_error/json_schema_error_data.rs:145:21
|
145 | error_message,
| ^^^^^^^^^^^^^ help: try ignoring the field: `error_message: _`
|
unused variable: `v0`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs#L16
warning: unused variable: `v0`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs:16:45
|
16 | IdentityPublicKeyInCreation::V0(v0) => self.hash_v0().map(|hash| hash.to_vec()),
| ^^ help: if this is intentional, prefix it with an underscore: `_v0`
|
unused variable: `v0`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs#L10
warning: unused variable: `v0`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs:10:45
|
10 | IdentityPublicKeyInCreation::V0(v0) => self.hash_v0(),
| ^^ help: if this is intentional, prefix it with an underscore: `_v0`
|
= note: `#[warn(unused_variables)]` on by default
|
variable does not need to be mutable:
packages/rs-dpp/src/identity/identity_factory.rs#L174
warning: variable does not need to be mutable
--> packages/rs-dpp/src/identity/identity_factory.rs:174:13
|
174 | let mut identity_create_transition = IdentityCreateTransition::V0(
| ----^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused import: `crate::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/rs-dpp/src/data_contract/v0/accessors/mod.rs#L3
warning: unused import: `crate::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-dpp/src/data_contract/v0/accessors/mod.rs:3:5
|
3 | use crate::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
packages/rs-dpp/src/document/v0/mod.rs#L86
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> packages/rs-dpp/src/document/v0/mod.rs:86:53
|
86 | let datetime: DateTime<Utc> = DateTime::from_utc(naive, Utc);
| ^^^^^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
packages/rs-dpp/src/document/v0/mod.rs#L81
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> packages/rs-dpp/src/document/v0/mod.rs:81:53
|
81 | let datetime: DateTime<Utc> = DateTime::from_utc(naive, Utc);
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused import: `FeatureVersion`:
packages/rs-dpp/src/serialization/serialization_traits.rs#L6
warning: unused import: `FeatureVersion`
--> packages/rs-dpp/src/serialization/serialization_traits.rs:6:22
|
6 | use crate::version::{FeatureVersion, PlatformVersion};
| ^^^^^^^^^^^^^^
|
unused import: `super::get_data_contract_fixture`:
packages/rs-dpp/src/tests/fixtures/get_document_transitions_fixture.rs#L12
warning: unused import: `super::get_data_contract_fixture`
--> packages/rs-dpp/src/tests/fixtures/get_document_transitions_fixture.rs:12:5
|
12 | use super::get_data_contract_fixture;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::util::vec::hex_to_array`:
packages/rs-dpp/src/tests/fixtures/instant_asset_lock_proof_fixture.rs#L13
warning: unused import: `crate::util::vec::hex_to_array`
--> packages/rs-dpp/src/tests/fixtures/instant_asset_lock_proof_fixture.rs:13:5
|
13 | use crate::util::vec::hex_to_array;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::convert::TryFrom`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs#L7
warning: unused import: `std::convert::TryFrom`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs:7:5
|
7 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_value::Value`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs#L6
warning: unused import: `platform_value::Value`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs:6:5
|
6 | use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::convert::TryFrom`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L7
warning: unused import: `std::convert::TryFrom`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:7:5
|
7 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_value::Value`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L6
warning: unused import: `platform_value::Value`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:6:5
|
6 | use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused macro definition: `call_static_method`:
packages/rs-dpp/src/state_transition/mod.rs#L198
warning: unused macro definition: `call_static_method`
--> packages/rs-dpp/src/state_transition/mod.rs:198:14
|
198 | macro_rules! call_static_method {
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
|
unused import: `platform_version::version::PlatformVersion`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs#L5
warning: unused import: `platform_version::version::PlatformVersion`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs:5:5
|
5 | use platform_version::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
private item shadows public glob re-export:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs#L3
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
note: the name `v0_methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:8:9
|
8 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
unnecessary `pub(self)`:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/v0/mod.rs#L17
warning: unnecessary `pub(self)`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/v0/mod.rs:17:1
|
17 | pub(self) mod property_names {
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
|
private item shadows public glob re-export:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs#L3
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
note: the name `v0_methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:8:9
|
8 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
unnecessary `pub(self)`:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/mod.rs#L24
warning: unnecessary `pub(self)`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/mod.rs:24:1
|
24 | pub(self) mod property_names {
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
|
private item shadows public glob re-export:
packages/rs-dpp/src/identity/mod.rs#L30
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:30:1
|
30 | mod v0;
| ^^^^^^^
|
note: the name `v0` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:7:9
|
7 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:30:1
|
30 | mod v0;
| ^^^^^^^
|
private item shadows public glob re-export:
packages/rs-dpp/src/identity/mod.rs#L27
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:27:1
|
27 | mod methods;
| ^^^^^^^^^^^^
|
note: the name `methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:7:9
|
7 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:27:1
|
27 | mod methods;
| ^^^^^^^^^^^^
|
unused import: `DashPlatformProtocolInitError`:
packages/rs-dpp/src/identity/identity_facade.rs#L23
warning: unused import: `DashPlatformProtocolInitError`
--> packages/rs-dpp/src/identity/identity_facade.rs:23:13
|
23 | use crate::{DashPlatformProtocolInitError, ProtocolError};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_version::version::PlatformVersion`:
packages/rs-dpp/src/identity/identity_facade.rs#L3
warning: unused import: `platform_version::version::PlatformVersion`
--> packages/rs-dpp/src/identity/identity_facade.rs:3:5
|
3 | use platform_version::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_value::Value`:
packages/rs-dpp/src/identity/identity_facade.rs#L2
warning: unused import: `platform_value::Value`
--> packages/rs-dpp/src/identity/identity_facade.rs:2:5
|
2 | use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^
|
private item shadows public glob re-export:
packages/rs-dpp/src/identity/mod.rs#L22
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:22:1
|
22 | mod fields;
| ^^^^^^^^^^^
|
note: the name `fields` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:7:9
|
7 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:22:1
|
22 | mod fields;
| ^^^^^^^^^^^
|
unused import: `Identity`:
packages/rs-dpp/src/identity/accessors/v0/mod.rs#L1
warning: unused import: `Identity`
--> packages/rs-dpp/src/identity/accessors/v0/mod.rs:1:23
|
1 | use crate::identity::{Identity, IdentityPublicKey, KeyID, KeyType, Purpose, SecurityLevel};
| ^^^^^^^^
|
unused imports: `Deserializer`, `Serializer`:
packages/rs-dpp/src/identity/identity_public_key/contract_bounds/mod.rs#L7
warning: unused imports: `Deserializer`, `Serializer`
--> packages/rs-dpp/src/identity/identity_public_key/contract_bounds/mod.rs:7:26
|
7 | use serde::{Deserialize, Deserializer, Serialize, Serializer};
| ^^^^^^^^^^^^ ^^^^^^^^^^
|
unused import: `AssetLockProof`:
packages/rs-dpp/src/identity/identity.rs#L3
warning: unused import: `AssetLockProof`
--> packages/rs-dpp/src/identity/identity.rs:3:22
|
3 | use crate::prelude::{AssetLockProof, Revision};
| ^^^^^^^^^^^^^^
|
private item shadows public glob re-export:
packages/rs-dpp/src/data_contract/mod.rs#L45
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/data_contract/mod.rs:45:5
|
45 | use crate::data_contract::v0::data_contract::DataContractV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the name `DataContractV0` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/data_contract/mod.rs:40:9
|
40 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/data_contract/mod.rs:45:5
|
45 | use crate::data_contract::v0::data_contract::DataContractV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
|
unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`:
packages/rs-dpp/src/data_contract/config/fields.rs#L1
warning: unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`
--> packages/rs-dpp/src/data_contract/config/fields.rs:1:5
|
1 | use crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `BTreeSet`:
packages/rs-dpp/src/data_contract/accessors/v0/mod.rs#L8
warning: unused import: `BTreeSet`
--> packages/rs-dpp/src/data_contract/accessors/v0/mod.rs:8:34
|
8 | use std::collections::{BTreeMap, BTreeSet};
| ^^^^^^^^
|
unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`:
packages/rs-dpp/src/data_contract/accessors/v0/mod.rs#L3
warning: unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`
--> packages/rs-dpp/src/data_contract/accessors/v0/mod.rs:3:5
|
3 | use crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `BTreeSet`:
packages/rs-dpp/src/data_contract/accessors/mod.rs#L11
warning: unused import: `BTreeSet`
--> packages/rs-dpp/src/data_contract/accessors/mod.rs:11:34
|
11 | use std::collections::{BTreeMap, BTreeSet};
| ^^^^^^^^
|
unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`:
packages/rs-dpp/src/data_contract/accessors/mod.rs#L10
warning: unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`
--> packages/rs-dpp/src/data_contract/accessors/mod.rs:10:5
|
10 | use crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`:
packages/rs-dpp/src/data_contract/serialized_version/v0/mod.rs#L4
warning: unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`
--> packages/rs-dpp/src/data_contract/serialized_version/v0/mod.rs:4:5
|
4 | use crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`:
packages/rs-dpp/src/data_contract/v0/data_contract.rs#L10
warning: unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`
--> packages/rs-dpp/src/data_contract/v0/data_contract.rs:10:5
|
10 | use crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `BTreeSet`:
packages/rs-dpp/src/data_contract/v0/accessors/mod.rs#L12
warning: unused import: `BTreeSet`
--> packages/rs-dpp/src/data_contract/v0/accessors/mod.rs:12:34
|
12 | use std::collections::{BTreeMap, BTreeSet};
| ^^^^^^^^
|
unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`:
packages/rs-dpp/src/data_contract/v0/accessors/mod.rs#L6
warning: unused import: `crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements`
--> packages/rs-dpp/src/data_contract/v0/accessors/mod.rs:6:5
|
6 | use crate::data_contract::storage_requirements::keys_for_document_type::StorageKeyRequirements;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unnecessary `pub(self)`:
packages/rs-dpp/src/data_contract/document_type/mod.rs#L26
warning: unnecessary `pub(self)`
--> packages/rs-dpp/src/data_contract/document_type/mod.rs:26:1
|
26 | pub(self) mod property_names {
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: `#[warn(clippy::needless_pub_self)]` on by default
|
unneeded sub `cfg` when there is only one condition:
packages/rs-dpp/src/state_transition/mod.rs#L585
warning: unneeded sub `cfg` when there is only one condition
--> packages/rs-dpp/src/state_transition/mod.rs:585:11
|
585 | #[cfg(all(feature = "state-transition-validation"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "state-transition-validation"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
packages/rs-dpp/src/state_transition/mod.rs#L563
warning: unneeded sub `cfg` when there is only one condition
--> packages/rs-dpp/src/state_transition/mod.rs:563:11
|
563 | #[cfg(all(feature = "state-transition-validation"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "state-transition-validation"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
packages/rs-dpp/src/state_transition/mod.rs#L541
warning: unneeded sub `cfg` when there is only one condition
--> packages/rs-dpp/src/state_transition/mod.rs:541:11
|
541 | #[cfg(all(feature = "state-transition-validation"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "state-transition-validation"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
packages/rs-dpp/src/state_transition/mod.rs#L479
warning: unneeded sub `cfg` when there is only one condition
--> packages/rs-dpp/src/state_transition/mod.rs:479:11
|
479 | #[cfg(all(feature = "state-transition-validation"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "state-transition-validation"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
= note: `#[warn(clippy::non_minimal_cfg)]` on by default
|
function `derive_borrow_decode_inner` is never used:
packages/rs-platform-serialization-derive/src/derive_bincode.rs#L62
warning: function `derive_borrow_decode_inner` is never used
--> packages/rs-platform-serialization-derive/src/derive_bincode.rs:62:15
|
62 | pub(crate) fn derive_borrow_decode_inner(input: TokenStream) -> Result<TokenStream> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
fields `allow_prepend_version` and `force_prepend_version` are never read:
packages/rs-platform-serialization-derive/src/lib.rs#L29
warning: fields `allow_prepend_version` and `force_prepend_version` are never read
--> packages/rs-platform-serialization-derive/src/lib.rs:29:5
|
21 | struct VersionAttributes {
| ----------------- fields in this struct
...
29 | allow_prepend_version: bool,
| ^^^^^^^^^^^^^^^^^^^^^
30 | force_prepend_version: bool,
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
function `derive_borrow_decode_inner` is never used:
packages/rs-platform-serialization-derive/src/derive_bincode.rs#L62
warning: function `derive_borrow_decode_inner` is never used
--> packages/rs-platform-serialization-derive/src/derive_bincode.rs:62:15
|
62 | pub(crate) fn derive_borrow_decode_inner(input: TokenStream) -> Result<TokenStream> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
fields `allow_prepend_version` and `force_prepend_version` are never read:
packages/rs-platform-serialization-derive/src/lib.rs#L29
warning: fields `allow_prepend_version` and `force_prepend_version` are never read
--> packages/rs-platform-serialization-derive/src/lib.rs:29:5
|
21 | struct VersionAttributes {
| ----------------- fields in this struct
...
29 | allow_prepend_version: bool,
| ^^^^^^^^^^^^^^^^^^^^^
30 | force_prepend_version: bool,
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
needless `fn main` in doctest:
packages/rs-platform-value/src/value_serialization/mod.rs#L75
warning: needless `fn main` in doctest
--> packages/rs-platform-value/src/value_serialization/mod.rs:75:4
|
75 | /// use serde::Deserialize;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
needless `fn main` in doctest:
packages/rs-platform-value/src/value_serialization/mod.rs#L53
warning: needless `fn main` in doctest
--> packages/rs-platform-value/src/value_serialization/mod.rs:53:4
|
53 | /// use std::collections::BTreeMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
|
calls to `push` immediately after creation:
packages/rs-platform-value/src/value_serialization/ser.rs#L715
warning: calls to `push` immediately after creation
--> packages/rs-platform-value/src/value_serialization/ser.rs:715:9
|
715 | / let mut object = Vec::new();
716 | |
717 | | object.push((Value::Text(self.name), Value::Map(self.map)));
| |____________________________________________________________________^ help: consider using the `vec![]` macro: `let object = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-platform-value/src/value_serialization/ser.rs#L448
warning: calls to `push` immediately after creation
--> packages/rs-platform-value/src/value_serialization/ser.rs:448:9
|
448 | / let mut object = Vec::new();
449 | |
450 | | object.push((Value::Text(self.name), Value::Array(self.vec)));
| |______________________________________________________________________^ help: consider using the `vec![]` macro: `let object = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-platform-value/src/value_serialization/ser.rs#L256
warning: calls to `push` immediately after creation
--> packages/rs-platform-value/src/value_serialization/ser.rs:256:9
|
256 | / let mut values = ValueMap::new();
257 | | values.push((Value::Text(String::from(variant)), tri!(to_value(value))));
| |_________________________________________________________________________________^ help: consider using the `vec![]` macro: `let values = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
= note: `#[warn(clippy::vec_init_then_push)]` on by default
|
this lifetime isn't used in the impl:
packages/rs-platform-value/src/value_serialization/de.rs#L517
warning: this lifetime isn't used in the impl
--> packages/rs-platform-value/src/value_serialization/de.rs:517:6
|
517 | impl<'a, 'de> de::VariantAccess<'de> for Deserializer<Value> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
needless `fn main` in doctest:
packages/rs-platform-value/src/pointer.rs#L72
warning: needless `fn main` in doctest
--> packages/rs-platform-value/src/pointer.rs:72:8
|
72 | /// use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
= note: `#[warn(clippy::needless_doctest_main)]` on by default
|
`if` chain can be rewritten with `match`:
packages/rs-platform-value/src/inner_value_at_path.rs#L336
warning: `if` chain can be rewritten with `match`
--> packages/rs-platform-value/src/inner_value_at_path.rs:336:17
|
336 | / if number_part < array.len() {
337 | | //this already exists
338 | | current_value = array.get_mut(number_part).unwrap()
339 | | } else if array.len() == number_part {
... |
347 | | ));
348 | | }
| |_________________^
|
= help: consider rewriting the `if` chain to use `cmp` and `match`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain
= note: `#[warn(clippy::comparison_chain)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-platform-value/src/inner_value.rs#L81
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-platform-value/src/inner_value.rs:81:41
|
81 | pub fn remove_many(&mut self, keys: &Vec<&str>) -> Result<(), Error> {
| ^^^^^^^^^^ help: change this to: `&[&str]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
associated items `new` and `bytes_written` are never used:
packages/rs-platform-serialization/src/features/impl_std.rs#L87
warning: associated items `new` and `bytes_written` are never used
--> packages/rs-platform-serialization/src/features/impl_std.rs:87:12
|
86 | impl<'a, W: std::io::Write> IoWriter<'a, W> {
| ------------------------------------------- associated items in this implementation
87 | pub fn new(writer: &'a mut W) -> Self {
| ^^^
...
94 | pub fn bytes_written(&self) -> usize {
| ^^^^^^^^^^^^^
|
function `encode_into_std_write` is never used:
packages/rs-platform-serialization/src/features/impl_std.rs#L70
warning: function `encode_into_std_write` is never used
--> packages/rs-platform-serialization/src/features/impl_std.rs:70:8
|
70 | pub fn encode_into_std_write<E: Encode, C: Config, W: std::io::Write>(
| ^^^^^^^^^^^^^^^^^^^^^
|
associated function `new` is never used:
packages/rs-platform-serialization/src/features/impl_std.rs#L44
warning: associated function `new` is never used
--> packages/rs-platform-serialization/src/features/impl_std.rs:44:12
|
43 | impl<R> IoReader<R> {
| ------------------- associated function in this implementation
44 | pub fn new(reader: R) -> Self {
| ^^^
|
function `platform_versioned_decode_from_std_read` is never used:
packages/rs-platform-serialization/src/features/impl_std.rs#L30
warning: function `platform_versioned_decode_from_std_read` is never used
--> packages/rs-platform-serialization/src/features/impl_std.rs:30:8
|
30 | pub fn platform_versioned_decode_from_std_read<D: Decode, C: Config, R: std::io::Read>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated function `with_capacity` is never used:
packages/rs-platform-serialization/src/enc/mod.rs#L15
warning: associated function `with_capacity` is never used
--> packages/rs-platform-serialization/src/enc/mod.rs:15:12
|
13 | impl VecWriter {
| -------------- associated function in this implementation
14 | /// Create a new vec writer with the given capacity
15 | pub fn with_capacity(cap: usize) -> Self {
| ^^^^^^^^^^^^^
|
function `utf8_char_width` is never used:
packages/rs-platform-serialization/src/de/impls.rs#L712
warning: function `utf8_char_width` is never used
--> packages/rs-platform-serialization/src/de/impls.rs:712:10
|
712 | const fn utf8_char_width(b: u8) -> usize {
| ^^^^^^^^^^^^^^^
|
constant `UTF8_CHAR_WIDTH` is never used:
packages/rs-platform-serialization/src/de/impls.rs#L692
warning: constant `UTF8_CHAR_WIDTH` is never used
--> packages/rs-platform-serialization/src/de/impls.rs:692:7
|
692 | const UTF8_CHAR_WIDTH: [u8; 256] = [
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:403:1
|
403 | impl_platform_versioned_borrow_decode!(SocketAddrV6);
| ---------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:383:1
|
383 | impl_platform_versioned_borrow_decode!(SocketAddrV4);
| ---------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:363:1
|
363 | impl_platform_versioned_borrow_decode!(SocketAddr);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:343:1
|
343 | impl_platform_versioned_borrow_decode!(Ipv6Addr);
| ------------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:323:1
|
323 | impl_platform_versioned_borrow_decode!(Ipv4Addr);
| ------------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:303:1
|
303 | impl_platform_versioned_borrow_decode!(IpAddr);
| ---------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:283:1
|
283 | impl_platform_versioned_borrow_decode!(PathBuf);
| ----------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:243:1
|
243 | impl_platform_versioned_borrow_decode!(SystemTime);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_std.rs:141:1
|
141 | impl_platform_versioned_borrow_decode!(CString);
| ----------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_alloc.rs:422:1
|
422 | impl_platform_versioned_borrow_decode!(Box<str>);
| ------------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/features/impl_alloc.rs:412:1
|
412 | impl_platform_versioned_borrow_decode!(String);
| ---------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:581:1
|
581 | impl_platform_versioned_borrow_decode!(Duration);
| ------------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:394:1
|
394 | impl_platform_versioned_borrow_decode!(());
| ------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:298:1
|
298 | impl_platform_versioned_borrow_decode!(char);
| -------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:288:1
|
288 | impl_platform_versioned_borrow_decode!(f64);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:278:1
|
278 | impl_platform_versioned_borrow_decode!(f32);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:268:1
|
268 | impl_platform_versioned_borrow_decode!(NonZeroIsize);
| ---------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:258:1
|
258 | impl_platform_versioned_borrow_decode!(isize);
| --------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:248:1
|
248 | impl_platform_versioned_borrow_decode!(NonZeroI128);
| --------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:238:1
|
238 | impl_platform_versioned_borrow_decode!(i128);
| -------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:228:1
|
228 | impl_platform_versioned_borrow_decode!(NonZeroI64);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:218:1
|
218 | impl_platform_versioned_borrow_decode!(i64);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:208:1
|
208 | impl_platform_versioned_borrow_decode!(NonZeroI32);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:198:1
|
198 | impl_platform_versioned_borrow_decode!(i32);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:188:1
|
188 | impl_platform_versioned_borrow_decode!(NonZeroI16);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:178:1
|
178 | impl_platform_versioned_borrow_decode!(i16);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:168:1
|
168 | impl_platform_versioned_borrow_decode!(NonZeroI8);
| ------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:158:1
|
158 | impl_platform_versioned_borrow_decode!(i8);
| ------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:148:1
|
148 | impl_platform_versioned_borrow_decode!(NonZeroUsize);
| ---------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:138:1
|
138 | impl_platform_versioned_borrow_decode!(usize);
| --------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:128:1
|
128 | impl_platform_versioned_borrow_decode!(NonZeroU128);
| --------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:118:1
|
118 | impl_platform_versioned_borrow_decode!(u128);
| -------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:108:1
|
108 | impl_platform_versioned_borrow_decode!(NonZeroU64);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:98:1
|
98 | impl_platform_versioned_borrow_decode!(u64);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:88:1
|
88 | impl_platform_versioned_borrow_decode!(NonZeroU32);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:78:1
|
78 | impl_platform_versioned_borrow_decode!(u32);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:68:1
|
68 | impl_platform_versioned_borrow_decode!(NonZeroU16);
| -------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:58:1
|
58 | impl_platform_versioned_borrow_decode!(u16);
| ------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:48:1
|
48 | impl_platform_versioned_borrow_decode!(NonZeroU8);
| ------------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:38:1
|
38 | impl_platform_versioned_borrow_decode!(u8);
| ------------------------------------------ in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function cannot return without recursing:
packages/rs-platform-serialization/src/de/mod.rs#L104
warning: function cannot return without recursing
--> packages/rs-platform-serialization/src/de/mod.rs:104:13
|
104 | / fn platform_versioned_borrow_decode<D: bincode::de::BorrowDecoder<'de>>(
105 | | decoder: &mut D,
106 | | platform_version: &PlatformVersion,
107 | | ) -> core::result::Result<Self, bincode::error::DecodeError> {
| |________________________________________________________________________^ cannot return without recursing
108 | / $crate::PlatformVersionedBorrowDecode::platform_versioned_borrow_decode(
109 | | decoder,
110 | | platform_version,
111 | | )
| |_________________- recursive call site
|
::: packages/rs-platform-serialization/src/de/impls.rs:27:1
|
27 | impl_platform_versioned_borrow_decode!(bool);
| -------------------------------------------- in this macro invocation
|
= help: a `loop` may express intention better if this is on purpose
= note: `#[warn(unconditional_recursion)]` on by default
= note: this warning originates in the macro `impl_platform_versioned_borrow_decode` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unused import: `io::Read`:
packages/rs-platform-serialization/src/features/impl_std.rs#L17
warning: unused import: `io::Read`
--> packages/rs-platform-serialization/src/features/impl_std.rs:17:5
|
17 | io::Read,
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
length comparison to zero:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L229
warning: length comparison to zero
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:229:16
|
229 | if diffs.len() > 0 {
| ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!diffs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
|
length comparison to zero:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L189
warning: length comparison to zero
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:189:16
|
189 | if diffs.len() > 0 {
| ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!diffs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
|
this lifetime isn't used in the function definition:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs#L76
warning: this lifetime isn't used in the function definition
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs:76:32
|
76 | fn transform_transition_v0<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/executor.rs#L16
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/executor.rs:16:32
|
16 | data_trigger_bindings: &Vec<DataTriggerBinding>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[DataTriggerBinding]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
needlessly taken reference of left operand:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/bindings/data_trigger_binding/v0/mod.rs#L91
warning: needlessly taken reference of left operand
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/bindings/data_trigger_binding/v0/mod.rs:91:9
|
91 | &self.data_contract_id == data_contract_id
| ----------------------^^^^^^^^^^^^^^^^^^^^
| |
| help: use the left value directly: `self.data_contract_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
|
all variants have the same postfix: `DriveEvent`:
packages/rs-drive-abci/src/execution/types/execution_event/mod.rs#L21
warning: all variants have the same postfix: `DriveEvent`
--> packages/rs-drive-abci/src/execution/types/execution_event/mod.rs:21:1
|
21 | / pub(in crate::execution) enum ExecutionEvent<'a> {
22 | | /// A drive event that is paid by an identity
23 | | PaidDriveEvent {
24 | | /// The identity requesting the event
... |
42 | | },
43 | | }
| |_^
|
= help: remove the postfixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs#L46
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs:46:10
|
46 | ) -> Result<(FeeResult, Vec<(Vec<u8>, ExecTxResult)>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/v0/mod.rs#L52
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/v0/mod.rs:52:10
|
52 | ) -> Result<(FeeResult, Vec<(Vec<u8>, ExecTxResult)>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_quorum_info/v0/mod.rs#L118
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_quorum_info/v0/mod.rs:118:21
|
118 | .extend(new_quorums.into_iter());
| ^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `new_quorums`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:377:18
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
module has the same name as its containing module:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs:11:1
|
11 | mod update_masternode_identities;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
redundant closure:
packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs#L129
warning: redundant closure
--> packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs:129:51
|
129 | block_state_info.block_hash().map(|a| hex::encode(a)).unwrap_or("None".to_string()),
| ^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
redundant closure:
packages/rs-drive-abci/src/abci/handlers.rs#L485
warning: redundant closure
--> packages/rs-drive-abci/src/abci/handlers.rs:485:104
|
485 | ...lock_hash().map(|block_hash| hex::encode(block_hash)).unwrap_or("None".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
redundant closure:
packages/rs-drive-abci/src/abci/handlers.rs#L429
warning: redundant closure
--> packages/rs-drive-abci/src/abci/handlers.rs:429:104
|
429 | ...lock_hash().map(|block_hash| hex::encode(block_hash)).unwrap_or("None".to_string())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `hex::encode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
|
methods `to_vec` and `into_vec` are never used:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L93
warning: methods `to_vec` and `into_vec` are never used
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:93:12
|
91 | impl<'a> WithdrawalTxs<'a> {
| -------------------------- methods in this implementation
92 | /// Convert withdrawal transactions to vector of ExtendVoteExtension
93 | pub fn to_vec(&self) -> Vec<ExtendVoteExtension> {
| ^^^^^^
...
103 | pub fn into_vec(self) -> Vec<ExtendVoteExtension> {
| ^^^^^^^^
|
associated items `load`, `validate`, and `finalize` are never used:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L31
warning: associated items `load`, `validate`, and `finalize` are never used
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:31:12
|
29 | impl<'a> WithdrawalTxs<'a> {
| -------------------------- associated items in this implementation
30 | /// Load pending withdrawal transactions from database
31 | pub fn load(transaction: TransactionArg, drive: &Drive) -> Result<Self, AbciError> {
| ^^^^
...
54 | pub fn validate(&self) -> Result<(), AbciError> {
| ^^^^^^^^
...
69 | pub fn finalize(
| ^^^^^^^^
|
field `drive_operations` is never read:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L26
warning: field `drive_operations` is never read
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:26:5
|
24 | pub struct WithdrawalTxs<'a> {
| ------------- field in this struct
25 | inner: Vec<VoteExtension>,
26 | drive_operations: Vec<DriveOperation<'a>>,
| ^^^^^^^^^^^^^^^^
|
= note: `WithdrawalTxs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
|
constant `MAX_WITHDRAWAL_TXS` is never used:
packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs#L20
warning: constant `MAX_WITHDRAWAL_TXS` is never used
--> packages/rs-drive-abci/src/platform_types/withdrawal/withdrawal_txs/v0/mod.rs:20:7
|
20 | const MAX_WITHDRAWAL_TXS: u16 = 16;
| ^^^^^^^^^^^^^^^^^^
|
type alias `GetDataContractFn` is never used:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/mod.rs#L20
warning: type alias `GetDataContractFn` is never used
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/mod.rs:20:10
|
20 | pub type GetDataContractFn = fn(Identifier) -> Result<Arc<DataContractFetchInfo>, ProtocolError>;
| ^^^^^^^^^^^^^^^^^
|
variant `PrecalculatedOperation` is never constructed:
packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs#L13
warning: variant `PrecalculatedOperation` is never constructed
--> packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs:13:5
|
11 | pub enum ExecutionOperation {
| ------------------ variant in this enum
12 | SignatureVerification(SignatureVerificationOperation),
13 | PrecalculatedOperation(FeeResult),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `ExecutionOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
associated functions `new_document_operation`, `new_contract_operation`, and `new_identity_insertion` are never used:
packages/rs-drive-abci/src/execution/types/execution_event/mod.rs#L47
warning: associated functions `new_document_operation`, `new_contract_operation`, and `new_identity_insertion` are never used
--> packages/rs-drive-abci/src/execution/types/execution_event/mod.rs:47:12
|
45 | impl<'a> ExecutionEvent<'a> {
| --------------------------- associated functions in this implementation
46 | /// Creates a new identity Insertion Event
47 | pub fn new_document_operation(
| ^^^^^^^^^^^^^^^^^^^^^^
...
57 | pub fn new_contract_operation(
| ^^^^^^^^^^^^^^^^^^^^^^
...
67 | pub fn new_identity_insertion(
| ^^^^^^^^^^^^^^^^^^^^^^
|
variant `FreeDriveEvent` is never constructed:
packages/rs-drive-abci/src/execution/types/execution_event/mod.rs#L39
warning: variant `FreeDriveEvent` is never constructed
--> packages/rs-drive-abci/src/execution/types/execution_event/mod.rs:39:5
|
21 | pub(in crate::execution) enum ExecutionEvent<'a> {
| -------------- variant in this enum
...
39 | FreeDriveEvent {
| ^^^^^^^^^^^^^^
|
= note: `ExecutionEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_unique_identity_public_key_hashes_in_state/v0/mod.rs#L24
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_unique_identity_public_key_hashes_in_state/v0/mod.rs:24:5
|
24 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_exist_in_state/v0/mod.rs#L23
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_exist_in_state/v0/mod.rs:23:5
|
23 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_dont_exist_in_state/v0/mod.rs#L24
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_ids_dont_exist_in_state/v0/mod.rs:24:5
|
24 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
unused variable: `execution_context`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs#L58
warning: unused variable: `execution_context`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs:58:5
|
58 | execution_context: &mut StateTransitionExecutionContext,
| ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_context`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `BTreeValueRefJsonConverter`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L24
warning: unused import: `BTreeValueRefJsonConverter`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:24:30
|
24 | BTreeValueJsonConverter, BTreeValueRefJsonConverter,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DocumentReplaceTransitionActionAccessorsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs#L28
warning: unused import: `DocumentReplaceTransitionActionAccessorsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs:28:155
|
28 | ...ion_action::{DocumentReplaceTransitionAction, DocumentReplaceTransitionActionAccessorsV0};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `drive::state_transition_action::document::documents_batch::document_transition::document_base_transition_action::DocumentBaseTransitionActionAccessorsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs#L39
warning: unused import: `drive::state_transition_action::document::documents_batch::document_transition::document_base_transition_action::DocumentBaseTransitionActionAccessorsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/transformer/v0/mod.rs:39:5
|
39 | use drive::state_transition_action::document::documents_batch::document_transition::document_base_transition_action::DocumentBaseTransitionActionAccessors...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/state/v0/mod.rs#L2
warning: unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/state/v0/mod.rs:2:5
|
2 | use dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DocumentV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_replace_transition_action/structure_v0/mod.rs#L9
warning: unused import: `DocumentV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_replace_transition_action/structure_v0/mod.rs:9:21
|
9 | use dpp::document::{DocumentV0Getters};
| ^^^^^^^^^^^^^^^^^
|
unused import: `DocumentV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_create_transition_action/state_v0/mod.rs#L6
warning: unused import: `DocumentV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_create_transition_action/state_v0/mod.rs:6:21
|
6 | use dpp::document::{DocumentV0Getters};
| ^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs#L17
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs:17:5
|
17 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::documents_batch_transition::methods::v0::DocumentsBatchTransitionMethodsV0`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs#L21
warning: unused import: `dpp::state_transition::documents_batch_transition::methods::v0::DocumentsBatchTransitionMethodsV0`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs:21:5
|
21 | use dpp::state_transition::documents_batch_transition::methods::v0::DocumentsBatchTransitionMethodsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs#L16
warning: unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_state_transition_identity_signed/v0/mod.rs:16:5
|
16 | use dpp::data_contract::accessors::v0::DataContractV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore::hashes::hex::FromHex`:
packages/rs-drive-abci/src/platform_types/platform/mod.rs#L10
warning: unused import: `dashcore_rpc::dashcore::hashes::hex::FromHex`
--> packages/rs-drive-abci/src/platform_types/platform/mod.rs:10:5
|
10 | use dashcore_rpc::dashcore::hashes::hex::FromHex;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `EMPTY_JSON`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L19
warning: unused import: `EMPTY_JSON`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:19:74
|
19 | get_operation_and_property_name_json, validate_schema_compatibility, EMPTY_JSON,
| ^^^^^^^^^^
|
unused import: `serde::Serialize`:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs#L4
warning: unused import: `serde::Serialize`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/data_contract_update/state/v0/mod.rs:4:5
|
4 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/withdrawals/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/withdrawals/v0/mod.rs:1:1
|
1 | ///! The `withdrawals_data_triggers` module contains data triggers related to withdrawals.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `withdrawals_data_triggers` module contains data triggers related to withdrawals.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/reward_share/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/reward_share/v0/mod.rs:1:1
|
1 | ///! The `reward_share_data_triggers` module contains data triggers related to reward sharing.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `reward_share_data_triggers` module contains data triggers related to reward sharing.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/v0/mod.rs:1:1
|
1 | ///! The `feature_flags_data_triggers` module contains data triggers related to feature flags.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `feature_flags_data_triggers` module contains data triggers related to feature flags.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dpns/v0/mod.rs#L3
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dpns/v0/mod.rs:3:1
|
3 | ///! The `dpns_triggers` module contains data triggers specific to the DPNS data contract.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
3 | //! The `dpns_triggers` module contains data triggers specific to the DPNS data contract.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dashpay/v0/mod.rs#L1
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/dashpay/v0/mod.rs:1:1
|
1 | ///! The `dashpay_data_triggers` module contains data triggers specific to the DashPay data contract.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
help: use an inner doc comment to document the parent module or crate
|
1 | //! The `dashpay_data_triggers` module contains data triggers specific to the DashPay data contract.
|
|
this is an outer doc comment and does not apply to the parent module or crate:
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/mod.rs#L2
warning: this is an outer doc comment and does not apply to the parent module or crate
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/mod.rs:2:1
|
2 | / ///! Data triggers implement custom validation logic for state transitions
3 | | ///! that modifies documents in a specific data contract.
4 | | ///! Data triggers can be assigned based on the data contract ID, document type, and action.
| |____________________________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_doc_comments
= note: `#[warn(clippy::suspicious_doc_comments)]` on by default
help: use an inner doc comment to document the parent module or crate
|
2 + //! Data triggers implement custom validation logic for state transitions
3 + //! that modifies documents in a specific data contract.
4 + //! Data triggers can be assigned based on the data contract ID, document type, and action.
|
|
unused import: `Transaction`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs#L25
warning: unused import: `Transaction`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs:25:22
|
25 | use drive::grovedb::{Transaction, TransactionArg};
| ^^^^^^^^^^^
|
unused import: `MissingDocumentTypeError`:
packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs#L4
warning: unused import: `MissingDocumentTypeError`
--> packages/rs-drive-abci/src/execution/validation/state_transition/common/validate_identity_public_key_contract_bounds/v0/mod.rs:4:60
|
4 | DataContractNotPresentError, InvalidDocumentTypeError, MissingDocumentTypeError,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `drive::drive::batch::DriveOperation`:
packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs#L6
warning: unused import: `drive::drive::batch::DriveOperation`
--> packages/rs-drive-abci/src/execution/types/execution_operation/mod.rs:6:5
|
6 | use drive::drive::batch::DriveOperation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore_rpc_json::Bip9SoftforkStatus`:
packages/rs-drive-abci/src/execution/platform_events/initialization/initial_core_height/v0/mod.rs#L5
warning: unused import: `dashcore_rpc::dashcore_rpc_json::Bip9SoftforkStatus`
--> packages/rs-drive-abci/src/execution/platform_events/initialization/initial_core_height/v0/mod.rs:5:5
|
5 | use dashcore_rpc::dashcore_rpc_json::Bip9SoftforkStatus;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_list/v0/mod.rs#L7
warning: unused import: `dashcore_rpc::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_list/v0/mod.rs:7:5
|
7 | use dashcore_rpc::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_voter_identifier/v0/mod.rs#L5
warning: unused import: `dpp::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_voter_identifier/v0/mod.rs:5:5
|
5 | use dpp::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_operator_identifier/v0/mod.rs#L5
warning: unused import: `dpp::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/get_operator_identifier/v0/mod.rs:5:5
|
5 | use dpp::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/create_owner_identity/v0/mod.rs#L5
warning: unused import: `dpp::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/create_owner_identity/v0/mod.rs:5:5
|
5 | use dpp::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dashcore_rpc::dashcore::hashes::Hash`:
packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs#L1
warning: unused import: `dashcore_rpc::dashcore::hashes::Hash`
--> packages/rs-drive-abci/src/execution/engine/finalize_block_proposal/v0/mod.rs:1:5
|
1 | use dashcore_rpc::dashcore::hashes::Hash;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `json`:
packages/rs-drive-abci/src/abci/handlers.rs#L45
warning: unused import: `json`
--> packages/rs-drive-abci/src/abci/handlers.rs:45:18
|
45 | use serde_json::{json, Value};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/query/mod.rs#L1625
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/query/mod.rs:1625:10
|
1625 | ) -> Result<([u8; 32], Vec<Vec<u8>>, u64), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/query/conditions.rs#L439
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/query/conditions.rs:439:10
|
439 | ) -> Result<(BTreeMap<String, Self>, Option<Self>, Option<Self>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L57
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:57:10
|
57 | ) -> (
| __________^
58 | | BTreeMap<String, Vec<(KeyID, Purpose)>>,
59 | | Vec<(KeyID, Purpose)>,
60 | | ) {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value:
packages/rs-drive/src/drive/grove_operations/mod.rs#L224
warning: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value
--> packages/rs-drive/src/drive/grove_operations/mod.rs:224:40
|
224 | pub(crate) fn to_direct_query_type(&self) -> DirectQueryType {
| ^^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-drive/src/drive/document/query/mod.rs#L289
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/document/query/mod.rs:289:10
|
289 | ) -> Result<([u8; 32], Vec<Vec<u8>>, u64), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
this lifetime isn't used in the impl:
packages/rs-drive/src/drive/batch/transitions/mod.rs#L26
warning: this lifetime isn't used in the impl
--> packages/rs-drive/src/drive/batch/transitions/mod.rs:26:6
|
26 | impl<'s> DriveHighLevelOperationConverter for StateTransitionAction {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/document/document_update_transition.rs#L31
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/document/document_update_transition.rs:31:9
|
31 | / let mut drive_operations = vec![];
32 | | drive_operations.push(DocumentOperation(DocumentOperationType::UpdateDocument {
33 | | owned_document_info: OwnedDocumentInfo {
34 | | document_info: DocumentOwnedInfo((document, Some(Cow::Owned(storage_flags)))),
... |
38 | | document_type_name: Cow::Owned(document_type_name),
39 | | }));
| |____________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/document/document_delete_transition.rs#L25
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/document/document_delete_transition.rs:25:9
|
25 | / let mut drive_operations = vec![];
26 | | drive_operations.push(DocumentOperation(
27 | | DocumentOperationType::DeleteDocumentOfNamedTypeForContractId {
28 | | document_id: base.id().to_buffer(),
... |
31 | | },
32 | | ));
| |___________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/document/document_create_transition.rs#L33
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/document/document_create_transition.rs:33:9
|
33 | / let mut drive_operations = vec![];
34 | | drive_operations.push(DocumentOperation(DocumentOperationType::AddDocument {
35 | | owned_document_info: OwnedDocumentInfo {
36 | | document_info: DocumentOwnedInfo((document, Some(Cow::Owned(storage_flags)))),
... |
41 | | override_document: false,
42 | | }));
| |____________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/contract/data_contract_update_transition.rs#L16
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/contract/data_contract_update_transition.rs:16:9
|
16 | / let mut drive_operations = vec![];
17 | | // We must create the contract
18 | | drive_operations.push(DataContractOperation(
19 | | DataContractOperationType::ApplyContract {
... |
22 | | },
23 | | ));
| |___________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
|
calls to `push` immediately after creation:
packages/rs-drive/src/drive/batch/transitions/contract/data_contract_create_transition.rs#L16
warning: calls to `push` immediately after creation
--> packages/rs-drive/src/drive/batch/transitions/contract/data_contract_create_transition.rs:16:9
|
16 | / let mut drive_operations = vec![];
17 | | // We must create the contract
18 | | drive_operations.push(DataContractOperation(
19 | | DataContractOperationType::ApplyContract {
... |
22 | | },
23 | | ));
| |___________^ help: consider using the `vec![]` macro: `let drive_operations = vec![..];`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push
= note: `#[warn(clippy::vec_init_then_push)]` on by default
|
needlessly taken reference of both operands:
packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs#L310
warning: needlessly taken reference of both operands
--> packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs:310:28
|
310 | .position(|op| &op.path == &path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
help: use the values directly
|
310 | .position(|op| op.path == path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ~~~~~~~ ~~~~
|
needlessly taken reference of both operands:
packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs#L280
warning: needlessly taken reference of both operands
--> packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs:280:28
|
280 | .position(|op| &op.path == &path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
help: use the values directly
|
280 | .position(|op| op.path == path && op.key == KeyInfo::KnownKey(key.to_vec()))
| ~~~~~~~ ~~~~
|
needlessly taken reference of both operands:
packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs#L248
warning: needlessly taken reference of both operands
--> packages/rs-drive/src/drive/batch/grovedb_op_batch/mod.rs:248:16
|
248 | if &op.path == &path && op.key == KeyInfo::KnownKey(key.to_vec()) {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
help: use the values directly
|
248 | if op.path == path && op.key == KeyInfo::KnownKey(key.to_vec()) {
| ~~~~~~~ ~~~~
|
enum `DataContractApplyInfo` is never used:
packages/rs-drive/src/drive/identity/key/insert/mod.rs#L12
warning: enum `DataContractApplyInfo` is never used
--> packages/rs-drive/src/drive/identity/key/insert/mod.rs:12:10
|
12 | pub enum DataContractApplyInfo {
| ^^^^^^^^^^^^^^^^^^^^^
|
field `identity_balance_changes` is never read:
packages/rs-drive/src/drive/batch/drive_op_batch/mod.rs#L52
warning: field `identity_balance_changes` is never read
--> packages/rs-drive/src/drive/batch/drive_op_batch/mod.rs:52:5
|
50 | pub struct DriveOperationContext {
| --------------------- field in this struct
51 | //todo: why is this not being used?
52 | identity_balance_changes: BTreeMap<[u8; 32], i64>,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/mod.rs#L8
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/mod.rs:8:5
|
8 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/v0/mod.rs#L7
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_unique_key/v0/mod.rs:7:5
|
7 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/mod.rs#L8
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/mod.rs:8:5
|
8 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/v0/mod.rs#L7
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_new_non_unique_key/v0/mod.rs:7:5
|
7 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::drive_versions::DriveVersion`:
packages/rs-drive/src/drive/identity/key/insert/insert_key_to_storage/mod.rs#L9
warning: unused import: `dpp::version::drive_versions::DriveVersion`
--> packages/rs-drive/src/drive/identity/key/insert/insert_key_to_storage/mod.rs:9:5
|
9 | use dpp::version::drive_versions::DriveVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity_contract_info_group_path_vec`:
packages/rs-drive/src/drive/identity/key/fetch/mod.rs#L54
warning: unused import: `identity_contract_info_group_path_vec`
--> packages/rs-drive/src/drive/identity/key/fetch/mod.rs:54:56
|
54 | identity_contract_info_group_path_key_purpose_vec, identity_contract_info_group_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `KeyRequestType`:
packages/rs-drive/src/drive/identity/key/fetch/fetch_identity_keys/v0/mod.rs#L5
warning: unused import: `KeyRequestType`
--> packages/rs-drive/src/drive/identity/key/fetch/fetch_identity_keys/v0/mod.rs:5:71
|
5 | IdentityKeysRequest, IdentityPublicKeyResult, KeyKindRequestType, KeyRequestType,
| ^^^^^^^^^^^^^^
|
unused imports: `NoSumTrees`, `SomeSumTrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L14
warning: unused imports: `NoSumTrees`, `SomeSumTrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:14:34
|
14 | use grovedb::EstimatedSumTrees::{NoSumTrees, SomeSumTrees};
| ^^^^^^^^^^ ^^^^^^^^^^^^
|
unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L10
warning: unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:10:56
|
10 | identity_contract_info_group_path_key_purpose_vec, identity_contract_info_group_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | identity_contract_info_root_path, identity_contract_info_root_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `AllItems`, `AllSubtrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L6
warning: unused imports: `AllItems`, `AllSubtrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:6:36
|
6 | use grovedb::EstimatedLayerSizes::{AllItems, AllReference, AllSubtrees};
| ^^^^^^^^ ^^^^^^^^^^^
|
unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L4
warning: unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:4:57
|
4 | use grovedb::EstimatedLayerCount::{ApproximateElements, EstimatedLevel, PotentiallyAtMaxElements};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity_tree_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs#L1
warning: unused import: `identity_tree_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group_key_purpose/v0/mod.rs:1:20
|
1 | use crate::drive::{identity_tree_path, Drive};
| ^^^^^^^^^^^^^^^^^^
|
unused import: `SomeSumTrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L13
warning: unused import: `SomeSumTrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:13:46
|
13 | use grovedb::EstimatedSumTrees::{NoSumTrees, SomeSumTrees};
| ^^^^^^^^^^^^
|
unused imports: `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L10
warning: unused imports: `identity_contract_info_root_path_vec`, `identity_contract_info_root_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:10:44
|
10 | identity_contract_info_group_path_vec, identity_contract_info_root_path,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | identity_contract_info_root_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L8
warning: unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:8:5
|
8 | use crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `AllItems`, `AllReference`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L6
warning: unused imports: `AllItems`, `AllReference`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:6:36
|
6 | use grovedb::EstimatedLayerSizes::{AllItems, AllReference, AllSubtrees};
| ^^^^^^^^ ^^^^^^^^^^^^
|
unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L4
warning: unused imports: `EstimatedLevel`, `PotentiallyAtMaxElements`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:4:57
|
4 | use grovedb::EstimatedLayerCount::{ApproximateElements, EstimatedLevel, PotentiallyAtMaxElements};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity_tree_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs#L1
warning: unused import: `identity_tree_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info_group/v0/mod.rs:1:20
|
1 | use crate::drive::{identity_tree_path, Drive};
| ^^^^^^^^^^^^^^^^^^
|
unused import: `SomeSumTrees`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L15
warning: unused import: `SomeSumTrees`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:15:46
|
15 | use grovedb::EstimatedSumTrees::{NoSumTrees, SomeSumTrees};
| ^^^^^^^^^^^^
|
unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L12
warning: unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:12:5
|
12 | identity_contract_info_group_path_vec, identity_contract_info_root_path,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L10
warning: unused import: `crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:10:5
|
10 | use crate::drive::identity::estimation_costs::KEY_REFERENCE_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `AllItems`, `AllReference`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L8
warning: unused imports: `AllItems`, `AllReference`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:8:36
|
8 | use grovedb::EstimatedLayerSizes::{AllItems, AllReference, AllSubtrees};
| ^^^^^^^^ ^^^^^^^^^^^^
|
unused imports: `ApproximateElements`, `EstimatedLevel`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L6
warning: unused imports: `ApproximateElements`, `EstimatedLevel`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:6:36
|
6 | use grovedb::EstimatedLayerCount::{ApproximateElements, EstimatedLevel, PotentiallyAtMaxElements};
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
unused import: `identity_tree_path`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L3
warning: unused import: `identity_tree_path`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:3:20
|
3 | use crate::drive::{identity_tree_path, Drive};
| ^^^^^^^^^^^^^^^^^^
|
unused import: `AVERAGE_BALANCE_SIZE`:
packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs#L1
warning: unused import: `AVERAGE_BALANCE_SIZE`
--> packages/rs-drive/src/drive/identity/estimation_costs/for_identity_contract_info/v0/mod.rs:1:30
|
1 | use crate::drive::defaults::{AVERAGE_BALANCE_SIZE, DEFAULT_HASH_SIZE_U8};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `HashMap`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L28
warning: unused import: `HashMap`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:28:34
|
28 | use std::collections::{BTreeMap, HashMap};
| ^^^^^^^
|
unused import: `integer_encoding::VarInt`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L27
warning: unused import: `integer_encoding::VarInt`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:27:5
|
27 | use integer_encoding::VarInt;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `Element`, `EstimatedLayerInformation`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L26
warning: unused imports: `Element`, `EstimatedLayerInformation`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:26:15
|
26 | use grovedb::{Element, EstimatedLayerInformation, TransactionArg};
| ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `grovedb::reference_path::ReferencePathType::UpstreamRootHeightReference`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L25
warning: unused import: `grovedb::reference_path::ReferencePathType::UpstreamRootHeightReference`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:25:5
|
25 | use grovedb::reference_path::ReferencePathType::UpstreamRootHeightReference;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `grovedb::batch::KeyInfoPath`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L24
warning: unused import: `grovedb::batch::KeyInfoPath`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:24:5
|
24 | use grovedb::batch::KeyInfoPath;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `IdentityPublicKey`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L22
warning: unused import: `IdentityPublicKey`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:22:21
|
22 | use dpp::identity::{IdentityPublicKey, KeyID, Purpose};
| ^^^^^^^^^^^^^^^^^
|
unused imports: `PathKeyElementInfo`, `PathKeyInfo`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L12
warning: unused imports: `PathKeyElementInfo`, `PathKeyInfo`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:12:38
|
12 | use crate::drive::object_size_info::{PathKeyElementInfo, PathKeyInfo};
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^
|
unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_key_location_within_identity_vec`, `identity_path_vec`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L9
warning: unused imports: `identity_contract_info_group_path_vec`, `identity_contract_info_root_path_vec`, `identity_key_location_within_identity_vec`, `identity_path_vec`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:9:5
|
9 | identity_contract_info_group_path_vec, identity_contract_info_root_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 | identity_key_location_within_identity_vec, identity_path_vec,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::identity::IdentityRootStructure::IdentityContractInfo`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L7
warning: unused import: `crate::drive::identity::IdentityRootStructure::IdentityContractInfo`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:7:5
|
7 | use crate::drive::identity::IdentityRootStructure::IdentityContractInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::grove_operations::BatchInsertTreeApplyType::StatefulBatchInsertTree`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L5
warning: unused import: `crate::drive::grove_operations::BatchInsertTreeApplyType::StatefulBatchInsertTree`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:5:5
|
5 | use crate::drive::grove_operations::BatchInsertTreeApplyType::StatefulBatchInsertTree;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::grove_operations::BatchInsertApplyType::StatefulBatchInsert`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L4
warning: unused import: `crate::drive::grove_operations::BatchInsertApplyType::StatefulBatchInsert`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:4:5
|
4 | use crate::drive::grove_operations::BatchInsertApplyType::StatefulBatchInsert;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::drive::batch::DriveOperation`:
packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs#L3
warning: unused import: `crate::drive::batch::DriveOperation`
--> packages/rs-drive/src/drive/identity/contract_info/insert/mod.rs:3:5
|
3 | use crate::drive::batch::DriveOperation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::identity::KeyType`:
packages/rs-drive/src/drive/identity/mod.rs#L47
warning: unused import: `dpp::identity::KeyType`
--> packages/rs-drive/src/drive/identity/mod.rs:47:5
|
47 | use dpp::identity::KeyType;
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
private item shadows public glob re-export:
packages/rs-drive/src/drive/document/query/query_documents/mod.rs#L1
warning: private item shadows public glob re-export
--> packages/rs-drive/src/drive/document/query/query_documents/mod.rs:1:5
|
1 | use crate::drive::document::query::query_documents::v0::QueryDocumentsOutcomeV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the name `QueryDocumentsOutcomeV0` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-drive/src/drive/document/query/query_documents/mod.rs:13:9
|
13 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-drive/src/drive/document/query/query_documents/mod.rs:1:5
|
1 | use crate::drive::document::query::query_documents::v0::QueryDocumentsOutcomeV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
|
using `clone` on type `Metadata` which implements the `Copy` trait:
packages/wasm-dpp/src/metadata.rs#L23
warning: using `clone` on type `Metadata` which implements the `Copy` trait
--> packages/wasm-dpp/src/metadata.rs:23:9
|
23 | v.0.clone()
| ^^^^^^^^^^^ help: try removing the `clone` call: `v.0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L82
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:82:53
|
82 | IdentityUpdateTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/mod.rs#L5
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/mod.rs:5:1
|
5 | pub mod identity_update_transition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L60
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:60:52
|
60 | IdentityTopUpTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/mod.rs#L4
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/mod.rs:4:1
|
4 | pub mod identity_topup_transition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L36
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:36:56
|
36 | IdentityPublicKeyInCreation::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L48
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:48:61
|
48 | IdentityCreditTransferTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L65
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:65:53
|
65 | IdentityCreateTransition::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/mod.rs#L4
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/mod.rs:4:1
|
4 | pub mod identity_create_transition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
useless conversion to the same type: `js_sys::ArrayIter<'_>`:
packages/wasm-dpp/src/identity/identity.rs#L250
warning: useless conversion to the same type: `js_sys::ArrayIter<'_>`
--> packages/wasm-dpp/src/identity/identity.rs:250:51
|
250 | let public_keys: Vec<IdentityPublicKey> = public_keys
| ___________________________________________________^
251 | | .iter()
252 | | .into_iter()
| |________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
help: consider removing `.into_iter()`
|
250 ~ let public_keys: Vec<IdentityPublicKey> = public_keys
251 + .iter()
|
|
useless conversion to the same type: `js_sys::ArrayIter<'_>`:
packages/wasm-dpp/src/identity/identity.rs#L71
warning: useless conversion to the same type: `js_sys::ArrayIter<'_>`
--> packages/wasm-dpp/src/identity/identity.rs:71:27
|
71 | let public_keys = public_keys
| ___________________________^
72 | | .iter()
73 | | .into_iter()
| |________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
help: consider removing `.into_iter()`
|
71 ~ let public_keys = public_keys
72 + .iter()
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/identity.rs#L50
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/identity.rs:50:37
|
50 | Identity::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
module has the same name as its containing module:
packages/wasm-dpp/src/identity/mod.rs#L30
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/identity/mod.rs:30:1
|
30 | mod identity;
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L40
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:40:46
|
40 | IdentityPublicKey::default_versioned(&platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/identity/identity_factory.rs#L158
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/identity/identity_factory.rs:158:75
|
158 | let asset_lock_proof = create_asset_lock_proof_from_wasm_instance(&asset_lock_proof)?;
| ^^^^^^^^^^^^^^^^^ help: change this to: `asset_lock_proof`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
implementation of inherent method `to_string(&self) -> String` for type `errors::value_error::PlatformValueErrorWasm`:
packages/wasm-dpp/src/errors/value_error.rs#L29
warning: implementation of inherent method `to_string(&self) -> String` for type `errors::value_error::PlatformValueErrorWasm`
--> packages/wasm-dpp/src/errors/value_error.rs:29:5
|
29 | / pub fn to_string(&self) -> String {
30 | | format!("PlatformValueError: {}", self.message)
31 | | }
| |_____^
|
= help: implement trait `Display` for type `errors::value_error::PlatformValueErrorWasm` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string
= note: `#[warn(clippy::inherent_to_string)]` on by default
|
you should consider adding a `Default` implementation for `MissingStateTransitionTypeErrorWasm`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs#L22
warning: you should consider adding a `Default` implementation for `MissingStateTransitionTypeErrorWasm`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs:22:5
|
22 | / pub fn new() -> Self {
23 | | Self {
24 | | inner: MissingStateTransitionTypeError::new(),
25 | | }
26 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
20 + impl Default for MissingStateTransitionTypeErrorWasm {
21 + fn default() -> Self {
22 + Self::new()
23 + }
24 + }
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L280
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:280:17
|
280 | &private_key,
| ^^^^^^^^^^^^ help: change this to: `private_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
using `clone` on type `DocumentTransitionActionType` which implements the `Copy` trait:
packages/wasm-dpp/src/document/factory.rs#L137
warning: using `clone` on type `DocumentTransitionActionType` which implements the `Copy` trait
--> packages/wasm-dpp/src/document/factory.rs:137:18
|
137 | (action_type.clone(), documents_with_refs)
| ^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*action_type`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
very complex type used. Consider factoring parts into `type` definitions:
packages/wasm-dpp/src/document/factory.rs#L117
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/wasm-dpp/src/document/factory.rs:117:24
|
117 | let documents: Vec<(
| ________________________^
118 | | DocumentTransitionActionType,
119 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
120 | | )> = documents_by_action
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
using `clone` on type `Option<Metadata>` which implements the `Copy` trait:
packages/wasm-dpp/src/document/extended_document.rs#L262
warning: using `clone` on type `Option<Metadata>` which implements the `Copy` trait
--> packages/wasm-dpp/src/document/extended_document.rs:262:9
|
262 | self.0.metadata().clone().map(Into::into)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `(*self.0.metadata())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/document/document_facade.rs#L39
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/document/document_facade.rs:39:22
|
39 | factory: Arc::new(document_factory),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `DocumentFactoryWASM`
= note: the trait `Sync` is not implemented for `DocumentFactoryWASM`
= note: required for `Arc<DocumentFactoryWASM>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
|
module has the same name as its containing module:
packages/wasm-dpp/src/data_contract_factory/mod.rs#L1
warning: module has the same name as its containing module
--> packages/wasm-dpp/src/data_contract_factory/mod.rs:1:1
|
1 | mod data_contract_factory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L39
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:39:14
|
39 | Self(Arc::new(inner))
| ^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `DataContractFacade`
= note: the trait `Sync` is not implemented for `DataContractFacade`
= note: required for `Arc<DataContractFacade>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L26
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:26:14
|
26 | Self(Arc::new(facade))
| ^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `DataContractFacade`
= note: the trait `Sync` is not implemented for `DataContractFacade`
= note: required for `Arc<DataContractFacade>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/data_contract/data_contract.rs#L240
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/data_contract/data_contract.rs:240:72
|
240 | .set_document_schema(name, schema_value, !skip_validation, &platform_version)
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
packages/wasm-dpp/src/data_contract/data_contract.rs#L217
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/wasm-dpp/src/data_contract/data_contract.rs:217:17
|
217 | &platform_version,
| ^^^^^^^^^^^^^^^^^ help: change this to: `platform_version`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
usage of an `Arc` that is not `Send` or `Sync`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L48
warning: usage of an `Arc` that is not `Send` or `Sync`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:48:30
|
48 | let data_contracts = Arc::new(
| ______________________________^
49 | | DataContractFacade::new(protocol_version, Some(Box::new(entropy_generator.clone())))
50 | | .with_js_error()?,
51 | | );
| |_________^
|
= note: the trait `Send` is not implemented for `DataContractFacade`
= note: the trait `Sync` is not implemented for `DataContractFacade`
= note: required for `Arc<DataContractFacade>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
|
function `convert_number_to_u64` is never used:
packages/wasm-dpp/src/utils.rs#L253
warning: function `convert_number_to_u64` is never used
--> packages/wasm-dpp/src/utils.rs:253:8
|
253 | pub fn convert_number_to_u64(js_number: js_sys::Number) -> Result<u64, anyhow::Error> {
| ^^^^^^^^^^^^^^^^^^^^^
|
function `try_to_u64` is never used:
packages/wasm-dpp/src/utils.rs#L239
warning: function `try_to_u64` is never used
--> packages/wasm-dpp/src/utils.rs:239:8
|
239 | pub fn try_to_u64(value: JsValue) -> Result<u64, anyhow::Error> {
| ^^^^^^^^^^
|
function `get_class_name` is never used:
packages/wasm-dpp/src/utils.rs#L232
warning: function `get_class_name` is never used
--> packages/wasm-dpp/src/utils.rs:232:8
|
232 | pub fn get_class_name(value: &JsValue) -> String {
| ^^^^^^^^^^^^^^
|
function `to_vec_of_serde_values` is never used:
packages/wasm-dpp/src/utils.rs#L69
warning: function `to_vec_of_serde_values` is never used
--> packages/wasm-dpp/src/utils.rs:69:8
|
69 | pub fn to_vec_of_serde_values(
| ^^^^^^^^^^^^^^^^^^^^^^
|
field `skip_signature` is never read:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L22
warning: field `skip_signature` is never read
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:22:9
|
21 | struct ToObjectOptions {
| --------------- field in this struct
22 | pub skip_signature: Option<bool>,
| ^^^^^^^^^^^^^^
|
function `to_object` is never used:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L286
warning: function `to_object` is never used
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:286:15
|
286 | pub(crate) fn to_object<'a>(
| ^^^^^^^^^
|
method `get_binary_type_of_path` is never used:
packages/wasm-dpp/src/document/extended_document.rs#L351
warning: method `get_binary_type_of_path` is never used
--> packages/wasm-dpp/src/document/extended_document.rs:351:8
|
350 | impl ExtendedDocumentWasm {
| ------------------------- method in this implementation
351 | fn get_binary_type_of_path(&self, path: &String) -> Result<BinaryType, JsValue> {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
method `get_binary_type_of_path` is never used:
packages/wasm-dpp/src/document/mod.rs#L322
warning: method `get_binary_type_of_path` is never used
--> packages/wasm-dpp/src/document/mod.rs:322:8
|
321 | impl DocumentWasm {
| ----------------- method in this implementation
322 | fn get_binary_type_of_path(
| ^^^^^^^^^^^^^^^^^^^^^^^
|
enum `BinaryType` is never used:
packages/wasm-dpp/src/document/mod.rs#L58
warning: enum `BinaryType` is never used
--> packages/wasm-dpp/src/document/mod.rs:58:17
|
58 | pub(super) enum BinaryType {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
packages/wasm-dpp/src/document/extended_document.rs#L193
warning: variable does not need to be mutable
--> packages/wasm-dpp/src/document/extended_document.rs:193:13
|
193 | let mut value: Value = js_value_to_set.with_serde_to_platform_value()?;
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused variable: `platform_version`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L65
warning: unused variable: `platform_version`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:65:13
|
65 | let platform_version = PlatformVersion::first();
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_version`
|
unused variable: `binary_paths_o`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L159
warning: unused variable: `binary_paths_o`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:159:13
|
159 | let binary_paths_o = document_type.binary_paths();
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_paths_o`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L19
warning: unused import: `ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:19:48
|
19 | use dpp::serialization::{PlatformSerializable, ValueConvertible};
| ^^^^^^^^^^^^^^^^
|
unused import: `ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L32
warning: unused import: `ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:32:48
|
32 | use dpp::serialization::{PlatformSerializable, ValueConvertible};
| ^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`:
packages/wasm-dpp/src/document/mod.rs#L39
warning: unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`
--> packages/wasm-dpp/src/document/mod.rs:39:5
|
39 | use dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `util::json_value::JsonValueExt`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L6
warning: unused import: `util::json_value::JsonValueExt`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:6:5
|
6 | util::json_value::JsonValueExt,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Inner`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L27
warning: unused import: `Inner`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:27:13
|
27 | utils::{Inner, IntoWasm, ToSerdeJSONExt, WithJsError},
| ^^^^^
|
unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L10
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:10:5
|
10 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/document/extended_document.rs#L14
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/document/extended_document.rs:14:5
|
14 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L30
warning: unused import: `dpp::serialization::ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:30:5
|
30 | use dpp::serialization::ValueConvertible;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::ValueConvertible`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L9
warning: unused import: `dpp::serialization::ValueConvertible`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:9:5
|
9 | use dpp::serialization::ValueConvertible;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L9
warning: unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:9:5
|
9 | use dpp::ed25519_dalek::ed25519::signature::SignerMut;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `LATEST_VERSION`:
packages/wasm-dpp/src/protocol_version.rs#L1
warning: unused import: `LATEST_VERSION`
--> packages/wasm-dpp/src/protocol_version.rs:1:37
|
1 | use dpp::version::{PlatformVersion, LATEST_VERSION};
| ^^^^^^^^^^^^^^
|
unused import: `JsError`:
packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs#L3
warning: unused import: `JsError`
--> packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs:3:43
|
3 | use wasm_bindgen::{prelude::wasm_bindgen, JsError, JsValue};
| ^^^^^^^
|
unused import: `serde::Serialize`:
packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs#L2
warning: unused import: `serde::Serialize`
--> packages/wasm-dpp/src/state_transition/errors/invalid_state_transition_error.rs:2:5
|
2 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
private item shadows public glob re-export:
packages/wasm-dpp/src/lib.rs#L22
warning: private item shadows public glob re-export
--> packages/wasm-dpp/src/lib.rs:22:1
|
22 | mod state_transition;
| ^^^^^^^^^^^^^^^^^^^^^
|
note: the name `state_transition` in the type namespace is supposed to be publicly re-exported here
--> packages/wasm-dpp/src/lib.rs:7:9
|
7 | pub use document::*;
| ^^^^^^^^^^^
note: but the private item here shadows it
--> packages/wasm-dpp/src/lib.rs:22:1
|
22 | mod state_transition;
| ^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
|
unused imports: `ReplacementType`, `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L27
warning: unused imports: `ReplacementType`, `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:27:56
|
27 | use dpp::platform_value::{string_encoding, BinaryData, ReplacementType, Value};
| ^^^^^^^^^^^^^^^ ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L14
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:14:38
|
14 | identity::IdentityPublicKeyWasm, utils, with_js_error,
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs#L5
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_update_transition/identity_update_transition.rs:5:5
|
5 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ReplacementType`, `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L27
warning: unused imports: `ReplacementType`, `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:27:44
|
27 | use dpp::platform_value::{string_encoding, ReplacementType, Value};
| ^^^^^^^^^^^^^^^ ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L22
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:22:5
|
22 | utils, with_js_error,
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L12
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:12:5
|
12 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::identity_topup_transition::fields::IDENTIFIER_FIELDS`:
packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs#L10
warning: unused import: `dpp::state_transition::identity_topup_transition::fields::IDENTIFIER_FIELDS`
--> packages/wasm-dpp/src/identity/state_transition/identity_topup_transition/identity_topup_transition.rs:10:5
|
10 | use dpp::state_transition::identity_topup_transition::fields::IDENTIFIER_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L17
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:17:29
|
17 | use crate::{buffer::Buffer, utils, with_js_error};
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L11
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:11:5
|
11 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L7
warning: unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:7:5
|
7 | use dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs#L2
warning: unused import: `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_public_key_transitions.rs:2:56
|
2 | use dpp::platform_value::{BinaryData, ReplacementType, Value};
| ^^^^^
|
unused import: `dpp::state_transition::identity_credit_transfer_transition::fields::IDENTIFIER_FIELDS`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L21
warning: unused import: `dpp::state_transition::identity_credit_transfer_transition::fields::IDENTIFIER_FIELDS`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:21:5
|
21 | use dpp::state_transition::identity_credit_transfer_transition::fields::IDENTIFIER_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L14
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:14:29
|
14 | use crate::{buffer::Buffer, utils, with_js_error};
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L3
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:3:5
|
3 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ReplacementType`, `Value`:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L2
warning: unused imports: `ReplacementType`, `Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:2:27
|
2 | use dpp::platform_value::{ReplacementType, Value};
| ^^^^^^^^^^^^^^^ ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L25
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:25:5
|
25 | utils, with_js_error,
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L2
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:2:5
|
2 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::Value`:
packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs#L1
warning: unused import: `dpp::platform_value::Value`
--> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/identity_create_transition.rs:1:5
|
1 | use dpp::platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/identity.rs#L18
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/identity.rs:18:5
|
18 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Value`:
packages/wasm-dpp/src/identity/identity.rs#L12
warning: unused import: `Value`
--> packages/wasm-dpp/src/identity/identity.rs:12:44
|
12 | use dpp::platform_value::{ReplacementType, Value};
| ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/identity.rs#L7
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/identity.rs:7:13
|
7 | use crate::{utils, with_js_error};
| ^^^^^
|
unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L16
warning: unused import: `dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:16:5
|
16 | use dpp::state_transition::public_key_in_creation::v0::BINARY_DATA_FIELDS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Value`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L14
warning: unused import: `Value`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:14:56
|
14 | use dpp::platform_value::{BinaryData, ReplacementType, Value};
| ^^^^^
|
unused import: `utils`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L8
warning: unused import: `utils`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:8:29
|
8 | use crate::{buffer::Buffer, utils, with_js_error};
| ^^^^^
|
unused import: `serde_json::Value as JsonValue`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L3
warning: unused import: `serde_json::Value as JsonValue`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:3:5
|
3 | use serde_json::Value as JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `js_sys::Reflect::delete_property`:
packages/wasm-dpp/src/identity/identity_public_key/mod.rs#L1
warning: unused import: `js_sys::Reflect::delete_property`
--> packages/wasm-dpp/src/identity/identity_public_key/mod.rs:1:5
|
1 | use js_sys::Reflect::delete_property;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::identity::state_transition::asset_lock_proof::AssetLockProof`:
packages/wasm-dpp/src/identity/factory_utils.rs#L7
warning: unused import: `dpp::identity::state_transition::asset_lock_proof::AssetLockProof`
--> packages/wasm-dpp/src/identity/factory_utils.rs:7:5
|
7 | use dpp::identity::state_transition::asset_lock_proof::AssetLockProof;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::identity::state_transition::create_asset_lock_proof_from_wasm_instance`:
packages/wasm-dpp/src/identity/factory_utils.rs#L2
warning: unused import: `crate::identity::state_transition::create_asset_lock_proof_from_wasm_instance`
--> packages/wasm-dpp/src/identity/factory_utils.rs:2:5
|
2 | use crate::identity::state_transition::create_asset_lock_proof_from_wasm_instance;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/value_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/value_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/value_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/value_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/max_identity_public_key_limit_reached_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_revision_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_revision_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::version::PlatformVersion`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs#L7
warning: unused import: `dpp::version::PlatformVersion`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs:7:5
|
7 | use dpp::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `PlatformSerializableWithPlatformVersion`, `PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs#L6
warning: unused imports: `PlatformSerializableWithPlatformVersion`, `PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs:6:26
|
6 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/invalid_identity_public_key_id_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_read_only_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_is_disabled_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_public_key_disabled_at_window_violation_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/identity_already_exists_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/identity_already_exists_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_state_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/identity/duplicated_identity_public_key_id_state_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/invalid_document_revision_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/invalid_document_revision_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/duplicate_unique_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/duplicate_unique_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_mismatch_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_mismatch_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_timestamps_are_equal_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_timestamp_window_violation_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_timestamp_window_violation_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_owner_id_mismatch_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_owner_id_mismatch_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_not_found_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_not_found_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/document/document_already_present_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/document/document_already_present_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_is_readonly_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_already_present_error.rs#L7
warning: unused import: `PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/state/data_contract/data_contract_already_present_error.rs:7:26
|
7 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/signature/signature_should_not_be_present_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/identity_not_found_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/identity_not_found_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_ecdsa_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/signature/basic_bls_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/fee/balance_is_not_enough_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/fee/balance_is_not_enough_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ConsensusError`:
packages/wasm-dpp/src/errors/consensus/consensus_error.rs#L5
warning: unused import: `ConsensusError`
--> packages/wasm-dpp/src/errors/consensus/consensus_error.rs:5:59
|
5 | use dpp::consensus::{ConsensusError as DPPConsensusError, ConsensusError};
| ^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/wrong_public_key_purpose_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/unsupported_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/unsupported_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/state_transition_max_size_exceeded_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/missing_state_transition_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/state_transition/invalid_state_transition_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde::Serialize`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs#L5
warning: unused import: `serde::Serialize`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs:5:5
|
5 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_security_level_not_met_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/public_key_is_disabled_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs#L9
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs:9:5
|
9 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs#L8
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_error.rs:8:5
|
8 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/json_schema_compilation_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_state_transition_signature_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_signature_public_key_security_level_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/invalid_identifier_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/incompatible_protocol_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_public_key_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/missing_master_public_key_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_signature_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_instant_asset_lock_proof_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs#L9
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs:9:5
|
9 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs#L3
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_type_error.rs:3:5
|
3 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::consensus::ConsensusError`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs#L5
warning: unused import: `dpp::consensus::ConsensusError`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs:5:5
|
5 | use dpp::consensus::ConsensusError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs#L4
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_security_level_error.rs:4:5
|
4 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs#L7
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs:7:5
|
7 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::consensus::ConsensusError`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs#L5
warning: unused import: `dpp::consensus::ConsensusError`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs:5:5
|
5 | use dpp::consensus::ConsensusError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs#L4
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_public_key_data_error.rs:4:5
|
4 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs#L6
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs:6:5
|
6 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_key_signature_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_pooling_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs#L7
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs:7:5
|
7 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_output_script_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_credit_withdrawal_transition_core_fee_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_output_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_identity_asset_lock_transaction_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_transaction_output_return_size_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_transaction_height_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/invalid_asset_lock_proof_core_chain_height_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_insufficient_balance_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_insufficient_balance_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_output_not_found_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_out_point_already_exists_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_is_not_found_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_transaction_is_not_found_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/identity_asset_lock_proof_locked_transaction_mismatch_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_id_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/identity/duplicated_identity_public_key_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_document_transition_action_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs#L7
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs:7:5
|
7 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/missing_data_contract_id_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_type_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_type_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_id_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_id_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/invalid_document_transition_action_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/document/inconsistent_compound_index_data_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_indices_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/duplicate_document_transitions_with_ids_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/document/data_contract_not_present_error.rs#L4
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/document/data_contract_not_present_error.rs:4:5
|
4 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/serialized_object_parsing_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs#L6
warning: unused import: `PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs:6:26
|
6 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::bincode::Decode`:
packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs#L2
warning: unused import: `dpp::bincode::Decode`
--> packages/wasm-dpp/src/errors/consensus/basic/decode/protocol_version_parsing_error.rs:2:5
|
2 | use dpp::bincode::Decode;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_json_schema_ref_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_version_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_id_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/invalid_data_contract_id_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/unique_indices_limit_reached_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/undefined_index_property_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/system_property_index_already_present_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_indexed_property_constraint_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_index_property_type_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/invalid_compound_index_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/index_error/duplicate_index_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_re2_pattern_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_data_contract_schema_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/incompatible_data_contract_schema_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/duplicate_index_name_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_unique_indices_changed_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_max_depth_exceed_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_invalid_index_definition_update_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_immutable_properties_update_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `serde::Serialize`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs#L6
warning: unused import: `serde::Serialize`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs:6:5
|
6 | use serde::Serialize;
| ^^^^^^^^^^^^^^^^
|
unused import: `dpp::serialization::PlatformSerializable`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs#L5
warning: unused import: `dpp::serialization::PlatformSerializable`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs:5:5
|
5 | use dpp::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::buffer::Buffer`:
packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs#L1
warning: unused import: `crate::buffer::Buffer`
--> packages/wasm-dpp/src/errors/consensus/basic/data_contract/data_contract_have_new_unique_index_error.rs:1:5
|
1 | use crate::buffer::Buffer;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::document::extended_document::property_names`:
packages/wasm-dpp/src/document/mod.rs#L37
warning: unused import: `dpp::document::extended_document::property_names`
--> packages/wasm-dpp/src/document/mod.rs:37:5
|
37 | use dpp::document::extended_document::property_names;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `IDENTIFIER_FIELDS`:
packages/wasm-dpp/src/document/mod.rs#L32
warning: unused import: `IDENTIFIER_FIELDS`
--> packages/wasm-dpp/src/document/mod.rs:32:71
|
32 | Document, DocumentV0Setters, EXTENDED_DOCUMENT_IDENTIFIER_FIELDS, IDENTIFIER_FIELDS,
| ^^^^^^^^^^^^^^^^^
|
unused imports: `BinaryType`, `DataContractWasm`, `with_js_error`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L33
warning: unused imports: `BinaryType`, `DataContractWasm`, `with_js_error`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:33:5
|
33 | with_js_error, BinaryType, ConversionOptions, DataContractWasm,
| ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
unused imports: `DocumentCreateTransition`, `DocumentDeleteTransition`, `DocumentReplaceTransition`, `json_schema::JsonSchemaExt`, `prelude::Identifier`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L16
warning: unused imports: `DocumentCreateTransition`, `DocumentDeleteTransition`, `DocumentReplaceTransition`, `json_schema::JsonSchemaExt`, `prelude::Identifier`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:16:5
|
16 | prelude::Identifier,
| ^^^^^^^^^^^^^^^^^^^
17 | state_transition::documents_batch_transition::{
18 | document_transition::DocumentTransition, DocumentCreateTransition,
| ^^^^^^^^^^^^^^^^^^^^^^^^
19 | DocumentDeleteTransition, DocumentReplaceTransition,
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
20 | },
21 | util::{json_schema::JsonSchemaExt, json_value::JsonValueExt},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs#L9
warning: unused import: `dpp::data_contract::accessors::v0::DataContractV0Getters`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/document_transition/mod.rs:9:5
|
9 | use dpp::data_contract::accessors::v0::DataContractV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ToSerdeJSONExt`, `lodash::lodash_set`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L26
warning: unused imports: `ToSerdeJSONExt`, `lodash::lodash_set`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:26:5
|
26 | lodash::lodash_set,
| ^^^^^^^^^^^^^^^^^^
27 | utils::{Inner, IntoWasm, ToSerdeJSONExt, WithJsError},
| ^^^^^^^^^^^^^^
|
unused import: `ReplacementType`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L14
warning: unused import: `ReplacementType`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:14:39
|
14 | use dpp::platform_value::{BinaryData, ReplacementType};
| ^^^^^^^^^^^^^^^
|
unused import: `Reflect`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L9
warning: unused import: `Reflect`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:9:21
|
9 | use js_sys::{Array, Reflect};
| ^^^^^^^
|
unused imports: `DataContract`, `StateTransitionFieldTypes`:
packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs#L4
warning: unused imports: `DataContract`, `StateTransitionFieldTypes`
--> packages/wasm-dpp/src/document/state_transition/document_batch_transition/mod.rs:4:15
|
4 | prelude::{DataContract, Identifier},
| ^^^^^^^^^^^^
5 | state_transition::{StateTransitionFieldTypes, StateTransitionLike, StateTransitionType},
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `generate_document_id`:
packages/wasm-dpp/src/document/generate_document_id.rs#L1
warning: unused import: `generate_document_id`
--> packages/wasm-dpp/src/document/generate_document_id.rs:1:21
|
1 | use dpp::document::{generate_document_id, Document};
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
packages/wasm-dpp/src/document/factory.rs#L22
warning: unused import: `std::sync::Arc`
--> packages/wasm-dpp/src/document/factory.rs:22:5
|
22 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`:
packages/wasm-dpp/src/document/factory.rs#L18
warning: unused import: `dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0`
--> packages/wasm-dpp/src/document/factory.rs:18:5
|
18 | use dpp::state_transition::documents_batch_transition::accessors::DocumentsBatchTransitionAccessorsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`:
packages/wasm-dpp/src/document/factory.rs#L16
warning: unused import: `dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper`
--> packages/wasm-dpp/src/document/factory.rs:16:5
|
16 | use dpp::platform_value::btreemap_extensions::BTreeValueMapReplacementPathHelper;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ProtocolError`, `extended_document`:
packages/wasm-dpp/src/document/factory.rs#L4
warning: unused imports: `ProtocolError`, `extended_document`
--> packages/wasm-dpp/src/document/factory.rs:4:51
|
4 | document::{document_factory::DocumentFactory, extended_document},
| ^^^^^^^^^^^^^^^^^
5 | ProtocolError,
| ^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::ReplacementType`:
packages/wasm-dpp/src/document/factory.rs#L2
warning: unused import: `dpp::platform_value::ReplacementType`
--> packages/wasm-dpp/src/document/factory.rs:2:5
|
2 | use dpp::platform_value::ReplacementType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::util::json_schema::JsonSchemaExt`:
packages/wasm-dpp/src/document/extended_document.rs#L8
warning: unused import: `dpp::util::json_schema::JsonSchemaExt`
--> packages/wasm-dpp/src/document/extended_document.rs:8:5
|
8 | use dpp::util::json_schema::JsonSchemaExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `IntoWasm`, `get_class_name`:
packages/wasm-dpp/src/document/document_facade.rs#L7
warning: unused imports: `IntoWasm`, `get_class_name`
--> packages/wasm-dpp/src/document/document_facade.rs:7:13
|
7 | utils::{get_class_name, IntoWasm},
| ^^^^^^^^^^^^^^ ^^^^^^^^
|
unused import: `crate::data_contract::DataContractWasm`:
packages/wasm-dpp/src/document/errors/document_no_revision_error.rs#L3
warning: unused import: `crate::data_contract::DataContractWasm`
--> packages/wasm-dpp/src/document/errors/document_no_revision_error.rs:3:5
|
3 | use crate::data_contract::DataContractWasm;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::with_js_error`:
packages/wasm-dpp/src/document/mod.rs#L16
warning: unused import: `crate::with_js_error`
--> packages/wasm-dpp/src/document/mod.rs:16:5
|
16 | use crate::with_js_error;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::lodash::lodash_set`:
packages/wasm-dpp/src/document/mod.rs#L13
warning: unused import: `crate::lodash::lodash_set`
--> packages/wasm-dpp/src/document/mod.rs:13:5
|
13 | use crate::lodash::lodash_set;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::util::json_schema::JsonSchemaExt`:
packages/wasm-dpp/src/document/mod.rs#L2
warning: unused import: `dpp::util::json_schema::JsonSchemaExt`
--> packages/wasm-dpp/src/document/mod.rs:2:5
|
2 | use dpp::util::json_schema::JsonSchemaExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `DataContract`:
packages/wasm-dpp/src/document/mod.rs#L1
warning: unused import: `DataContract`
--> packages/wasm-dpp/src/document/mod.rs:1:20
|
1 | use dpp::prelude::{DataContract, Identifier};
| ^^^^^^^^^^^^
|
unused import: `dpp::util::entropy_generator::EntropyGenerator`:
packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs#L18
warning: unused import: `dpp::util::entropy_generator::EntropyGenerator`
--> packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs:18:5
|
18 | use dpp::util::entropy_generator::EntropyGenerator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `data_contract::errors::InvalidDataContractError`, `from_dpp_err`:
packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs#L13
warning: unused imports: `data_contract::errors::InvalidDataContractError`, `from_dpp_err`
--> packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs:13:5
|
13 | data_contract::errors::InvalidDataContractError,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 | errors::{from_dpp_err, protocol_error::from_protocol_error},
| ^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs#L2
warning: unused import: `std::sync::Arc`
--> packages/wasm-dpp/src/data_contract_factory/data_contract_factory.rs:2:5
|
2 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused import: `dpp::identity::IdentityFacade`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L21
warning: unused import: `dpp::identity::IdentityFacade`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:21:5
|
21 | use dpp::identity::IdentityFacade;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::identity::identity_facade::IdentityFacadeWasm`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L20
warning: unused import: `crate::identity::identity_facade::IdentityFacadeWasm`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:20:5
|
20 | use crate::identity::identity_facade::IdentityFacadeWasm;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `IntoWasm`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L14
warning: unused import: `IntoWasm`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:14:28
|
14 | get_bool_from_options, IntoWasm, ToSerdeJSONExt, WithJsError, SKIP_VALIDATION_PROPERTY_NAME,
| ^^^^^^^^
|
unused import: `dpp::data_contract::DataContract`:
packages/wasm-dpp/src/data_contract/data_contract_facade.rs#L4
warning: unused import: `dpp::data_contract::DataContract`
--> packages/wasm-dpp/src/data_contract/data_contract_facade.rs:4:5
|
4 | use dpp::data_contract::DataContract;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `with_js_error`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L31
warning: unused import: `with_js_error`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:31:60
|
31 | use crate::{buffer::Buffer, identifier::IdentifierWrapper, with_js_error};
| ^^^^^^^^^^^^^
|
unused import: `Deserialize`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L20
warning: unused import: `Deserialize`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:20:13
|
20 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^^^
|
unused import: `platform_value`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L17
warning: unused import: `platform_value`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:17:43
|
17 | consensus::signature::SignatureError, platform_value, state_transition::StateTransitionLike,
| ^^^^^^^^^^^^^^
|
unused import: `std::hash::Hash`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L4
warning: unused import: `std::hash::Hash`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:4:5
|
4 | use std::hash::Hash;
| ^^^^^^^^^^^^^^^
|
unused import: `std::collections::HashMap`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs#L3
warning: unused import: `std::collections::HashMap`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_update_transition/mod.rs:3:5
|
3 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `with_js_error`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L27
warning: unused import: `with_js_error`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:27:60
|
27 | use crate::{buffer::Buffer, identifier::IdentifierWrapper, with_js_error};
| ^^^^^^^^^^^^^
|
unused import: `TryIntoPlatformVersioned`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L18
warning: unused import: `TryIntoPlatformVersioned`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:18:37
|
18 | use dpp::version::{PlatformVersion, TryIntoPlatformVersioned};
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `JsonStateTransitionSerializationOptions`, `StateTransitionJsonConvert`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L16
warning: unused imports: `JsonStateTransitionSerializationOptions`, `StateTransitionJsonConvert`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:16:29
|
16 | use dpp::state_transition::{JsonStateTransitionSerializationOptions, StateTransitionJsonConvert};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::platform_value::Value`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L11
warning: unused import: `dpp::platform_value::Value`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:11:5
|
11 | use dpp::platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::JsonValue`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L8
warning: unused import: `dpp::data_contract::JsonValue`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:8:5
|
8 | use dpp::data_contract::JsonValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::collections::HashMap`:
packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs#L3
warning: unused import: `std::collections::HashMap`
--> packages/wasm-dpp/src/data_contract/state_transition/data_contract_create_transition/mod.rs:3:5
|
3 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::ProtocolError`:
packages/wasm-dpp/src/data_contract/errors/mod.rs#L9
warning: unused import: `dpp::ProtocolError`
--> packages/wasm-dpp/src/data_contract/errors/mod.rs:9:5
|
9 | use dpp::ProtocolError;
| ^^^^^^^^^^^^^^^^^^
|
unnecessary parentheses around pattern:
packages/wasm-dpp/src/data_contract/data_contract.rs#L283
warning: unnecessary parentheses around pattern
--> packages/wasm-dpp/src/data_contract/data_contract.rs:283:13
|
283 | let (skip_validation) = if let Some(options) = options {
| ^ ^
|
help: remove these parentheses
|
283 - let (skip_validation) = if let Some(options) = options {
283 + let skip_validation = if let Some(options) = options {
|
|
unnecessary parentheses around pattern:
packages/wasm-dpp/src/data_contract/data_contract.rs#L229
warning: unnecessary parentheses around pattern
--> packages/wasm-dpp/src/data_contract/data_contract.rs:229:13
|
229 | let (skip_validation) = if let Some(options) = options {
| ^ ^
|
help: remove these parentheses
|
229 - let (skip_validation) = if let Some(options) = options {
229 + let skip_validation = if let Some(options) = options {
|
|
unnecessary parentheses around method argument:
packages/wasm-dpp/src/data_contract/data_contract.rs#L170
warning: unnecessary parentheses around method argument
--> packages/wasm-dpp/src/data_contract/data_contract.rs:170:13
|
170 | (|path| {
| ^
...
177 | }),
| ^
|
help: remove these parentheses
|
170 ~ |path| {
171 | binary_paths.insert(
...
176 | );
177 ~ },
|
|
consider removing unnecessary double parentheses:
packages/wasm-dpp/src/data_contract/data_contract.rs#L170
warning: consider removing unnecessary double parentheses
--> packages/wasm-dpp/src/data_contract/data_contract.rs:170:13
|
170 | / (|path| {
171 | | binary_paths.insert(
172 | | path.to_owned(),
173 | | platform_value!({
... |
176 | | );
177 | | }),
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
|
unnecessary parentheses around method argument:
packages/wasm-dpp/src/data_contract/data_contract.rs#L164
warning: unnecessary parentheses around method argument
--> packages/wasm-dpp/src/data_contract/data_contract.rs:164:13
|
164 | (|path| {
| ^
165 | binary_paths.insert(path.to_owned(), platform_value!({}));
166 | }),
| ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
164 ~ |path| {
165 | binary_paths.insert(path.to_owned(), platform_value!({}));
166 ~ },
|
|
consider removing unnecessary double parentheses:
packages/wasm-dpp/src/data_contract/data_contract.rs#L164
warning: consider removing unnecessary double parentheses
--> packages/wasm-dpp/src/data_contract/data_contract.rs:164:13
|
164 | / (|path| {
165 | | binary_paths.insert(path.to_owned(), platform_value!({}));
166 | | }),
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
= note: `#[warn(clippy::double_parens)]` on by default
|
unused imports: `bail_js`, `console_log`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L29
warning: unused imports: `bail_js`, `console_log`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:29:13
|
29 | use crate::{bail_js, console_log, with_js_error};
| ^^^^^^^ ^^^^^^^^^^^
|
unused import: `platform_value`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L22
warning: unused import: `platform_value`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:22:11
|
22 | use dpp::{platform_value, ProtocolError};
| ^^^^^^^^^^^^^^
|
unused import: `PlatformSerializable`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L20
warning: unused import: `PlatformSerializable`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:20:26
|
20 | use dpp::serialization::{PlatformSerializable, PlatformSerializableWithPlatformVersion};
| ^^^^^^^^^^^^^^^^^^^^
|
unused imports: `DocumentName`, `JsonValue`:
packages/wasm-dpp/src/data_contract/data_contract.rs#L10
warning: unused imports: `DocumentName`, `JsonValue`
--> packages/wasm-dpp/src/data_contract/data_contract.rs:10:40
|
10 | use dpp::data_contract::{DataContract, DocumentName, JsonValue};
| ^^^^^^^^^^^^ ^^^^^^^^^
|
unused import: `dpp::state_transition::state_transition_factory::StateTransitionFactory`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L11
warning: unused import: `dpp::state_transition::state_transition_factory::StateTransitionFactory`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:11:5
|
11 | use dpp::state_transition::state_transition_factory::StateTransitionFactory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::prelude::DataContract`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L10
warning: unused import: `dpp::prelude::DataContract`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:10:5
|
10 | use dpp::prelude::DataContract;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::identity::IdentityFacade`:
packages/wasm-dpp/src/dash_platform_protocol.rs#L9
warning: unused import: `dpp::identity::IdentityFacade`
--> packages/wasm-dpp/src/dash_platform_protocol.rs:9:5
|
9 | use dpp::identity::IdentityFacade;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
module has the same name as its containing module:
packages/rs-dpp/src/tests/utils/mod.rs#L5
warning: module has the same name as its containing module
--> packages/rs-dpp/src/tests/utils/mod.rs:5:1
|
5 | mod utils;
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
struct update has no effect, all the fields in the struct have already been specified:
packages/rs-dpp/src/tests/fixtures/get_identity_update_transition_fixture.rs#L44
warning: struct update has no effect, all the fields in the struct have already been specified
--> packages/rs-dpp/src/tests/fixtures/get_identity_update_transition_fixture.rs:44:15
|
44 | ..Default::default()
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
= note: `#[warn(clippy::needless_update)]` on by default
|
module has the same name as its containing module:
packages/rs-dpp/src/errors/consensus/basic/json_schema_error/mod.rs#L1
warning: module has the same name as its containing module
--> packages/rs-dpp/src/errors/consensus/basic/json_schema_error/mod.rs:1:1
|
1 | pub mod json_schema_error;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionEmptyError`:
packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_empty_error.rs#L18
warning: you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionEmptyError`
--> packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_empty_error.rs:18:5
|
18 | / pub fn new() -> Self {
19 | | Self {}
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
17 + impl Default for InvalidIdentityUpdateTransitionEmptyError {
18 + fn default() -> Self {
19 + Self::new()
20 + }
21 + }
|
|
you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionDisableKeysError`:
packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_disable_keys_error.rs#L18
warning: you should consider adding a `Default` implementation for `InvalidIdentityUpdateTransitionDisableKeysError`
--> packages/rs-dpp/src/errors/consensus/basic/identity/invalid_identity_update_transition_disable_keys_error.rs:18:5
|
18 | / pub fn new() -> Self {
19 | | Self {}
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
17 + impl Default for InvalidIdentityUpdateTransitionDisableKeysError {
18 + fn default() -> Self {
19 + Self::new()
20 + }
21 + }
|
|
module has the same name as its containing module:
packages/rs-dpp/src/util/cbor_value/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-dpp/src/util/cbor_value/mod.rs:11:1
|
11 | mod cbor_value;
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
useless conversion to the same type: `[u8; 20]`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/v0/mod.rs#L10
warning: useless conversion to the same type: `[u8; 20]`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/v0/mod.rs:10:9
|
10 | / Into::<IdentityPublicKey>::into(self.clone())
11 | | .hash()?
12 | | .try_into()
| |_______________________^
|
= help: consider removing `.try_into()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
this lifetime isn't used in the function definition:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/mod.rs#L9
warning: this lifetime isn't used in the function definition
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/mod.rs:9:36
|
9 | pub fn validate_base_structure<'d>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
this lifetime isn't used in the function definition:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/v0/mod.rs#L23
warning: this lifetime isn't used in the function definition
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/validation/validate_base_structure/v0/mod.rs:23:46
|
23 | pub(super) fn validate_base_structure_v0<'d>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-dpp/src/state_transition/serialization.rs#L7
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-dpp/src/state_transition/serialization.rs:7:32
|
7 | raw_state_transitions: &Vec<Vec<u8>>,
| ^^^^^^^^^^^^^ help: change this to: `&[Vec<u8>]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
field assignment outside of initializer for an instance created with Default::default():
packages/rs-dpp/src/identity/identity_factory.rs#L202
warning: field assignment outside of initializer for an instance created with Default::default()
--> packages/rs-dpp/src/identity/identity_factory.rs:202:9
|
202 | identity_credit_transfer_transition.identity_id = identity_id;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `state_transition::state_transitions::identity::identity_credit_transfer_transition::v0::IdentityCreditTransferTransitionV0 { identity_id: identity_id, recipient_id: recipient_id, amount: amount, ..Default::default() }` and removing relevant reassignments
--> packages/rs-dpp/src/identity/identity_factory.rs:201:9
|
201 | let mut identity_credit_transfer_transition = IdentityCreditTransferTransitionV0::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
large size difference between variants:
packages/rs-dpp/src/identity/state_transition/asset_lock_proof/mod.rs#L22
warning: large size difference between variants
--> packages/rs-dpp/src/identity/state_transition/asset_lock_proof/mod.rs:22:1
|
22 | / pub enum AssetLockProof {
23 | | Instant(#[bincode(with_serde)] InstantAssetLockProof),
| | ----------------------------------------------------- the largest variant contains at least 632 bytes
24 | | Chain(ChainAssetLockProof),
| | -------------------------- the second-largest variant contains at least 44 bytes
25 | | }
| |_^ the entire enum is at least 632 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
23 | Instant(#[bincode(with_serde)] Box<InstantAssetLockProof>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this `impl` can be derived:
packages/rs-dpp/src/identity/identity_public_key/security_level.rs#L32
warning: this `impl` can be derived
--> packages/rs-dpp/src/identity/identity_public_key/security_level.rs:32:1
|
32 | / impl Default for SecurityLevel {
33 | | fn default() -> Self {
34 | | SecurityLevel::MASTER
35 | | }
36 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
25 + #[derive(Default)]
26 | pub enum SecurityLevel {
|
help: ...and mark the default variant
|
26 ~ #[default]
27 ~ MASTER = 0,
|
|
this `impl` can be derived:
packages/rs-dpp/src/identity/identity_public_key/purpose.rs#L39
warning: this `impl` can be derived
--> packages/rs-dpp/src/identity/identity_public_key/purpose.rs:39:1
|
39 | / impl Default for Purpose {
40 | | fn default() -> Self {
41 | | Purpose::AUTHENTICATION
42 | | }
43 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
24 + #[derive(Default)]
25 | pub enum Purpose {
|
help: ...and mark the default variant
|
26 ~ #[default]
27 ~ AUTHENTICATION = 0,
|
|
useless use of `vec!`:
packages/rs-dpp/src/identity/identity_public_key/key_type.rs#L53
warning: useless use of `vec!`
--> packages/rs-dpp/src/identity/identity_public_key/key_type.rs:53:58
|
53 | static ref KEY_TYPE_SIZES: HashMap<KeyType, usize> = vec![
| __________________________________________________________^
54 | | (KeyType::ECDSA_SECP256K1, 33),
55 | | (KeyType::BLS12_381, 48),
56 | | (KeyType::ECDSA_HASH160, 20),
57 | | (KeyType::BIP13_SCRIPT_HASH, 20)
58 | | ]
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
help: you can use an array directly
|
53 ~ static ref KEY_TYPE_SIZES: HashMap<KeyType, usize> = [(KeyType::ECDSA_SECP256K1, 33),
54 + (KeyType::BLS12_381, 48),
55 + (KeyType::ECDSA_HASH160, 20),
56 + (KeyType::BIP13_SCRIPT_HASH, 20)]
|
|
this `impl` can be derived:
packages/rs-dpp/src/identity/identity_public_key/key_type.rs#L46
warning: this `impl` can be derived
--> packages/rs-dpp/src/identity/identity_public_key/key_type.rs:46:1
|
46 | / impl Default for KeyType {
47 | | fn default() -> Self {
48 | | KeyType::ECDSA_SECP256K1
49 | | }
50 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
38 + #[derive(Default)]
39 | pub enum KeyType {
|
help: ...and mark the default variant
|
39 ~ #[default]
40 ~ ECDSA_SECP256K1 = 0,
|
|
module has the same name as its containing module:
packages/rs-dpp/src/identity/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-dpp/src/identity/mod.rs:11:1
|
11 | mod identity;
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-dpp/src/document/specialized_document_factory/v0/mod.rs#L181
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-dpp/src/document/specialized_document_factory/v0/mod.rs:181:24
|
181 | let documents: Vec<(
| ________________________^
182 | | DocumentTransitionActionType,
183 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
184 | | )> = documents_iter.into_iter().collect();
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
called `unwrap` on `owner_id` after checking its variant with `is_some`:
packages/rs-dpp/src/document/document_methods/get_raw_for_document_type/v0/mod.rs#L22
warning: called `unwrap` on `owner_id` after checking its variant with `is_some`
--> packages/rs-dpp/src/document/document_methods/get_raw_for_document_type/v0/mod.rs:22:31
|
21 | if key_path == "$ownerId" && owner_id.is_some() {
| ------------------ the check is happening here
22 | Ok(Some(Vec::from(owner_id.unwrap())))
| ^^^^^^^^^^^^^^^^^
|
= help: try using `if let` or `match`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
|
very complex type used. Consider factoring parts into `type` definitions:
packages/rs-dpp/src/document/document_factory/v0/mod.rs#L172
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-dpp/src/document/document_factory/v0/mod.rs:172:24
|
172 | let documents: Vec<(
| ________________________^
173 | | DocumentTransitionActionType,
174 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
175 | | )> = documents_iter.into_iter().collect();
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
re-implementing `PartialEq::ne` is unnecessary:
packages/rs-dpp/src/data_contract/document_type/v0/validator.rs#L32
warning: re-implementing `PartialEq::ne` is unnecessary
--> packages/rs-dpp/src/data_contract/document_type/v0/validator.rs:32:5
|
32 | / fn ne(&self, other: &Self) -> bool {
33 | | !self.eq(other)
34 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl
= note: `#[warn(clippy::partialeq_ne_impl)]` on by default
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `BTreeMap`:
packages/rs-dpp/src/data_contract/document_type/schema/validate_schema_compatibility/v0/mod.rs#L49
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `BTreeMap`
--> packages/rs-dpp/src/data_contract/document_type/schema/validate_schema_compatibility/v0/mod.rs:49:10
|
49 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
packages/rs-dpp/src/data_contract/document_type/random_document.rs#L30
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-dpp/src/data_contract/document_type/random_document.rs:30:21
|
30 | identities: &Vec<Identity>,
| ^^^^^^^^^^^^^^ help: change this to: `&[Identity]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
unneeded late initialization:
packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs#L534
warning: unneeded late initialization
--> packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs:534:5
|
534 | let field_type: DocumentPropertyType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
= note: `#[warn(clippy::needless_late_init)]` on by default
help: declare `field_type` here
|
536 | let field_type: DocumentPropertyType = match type_value {
| ++++++++++++++++++++++++++++++++++++++
help: remove the assignments from the `match` arms
|
538 ~ DocumentPropertyType::Integer
539 | }
540 | "number" => {
541 ~ DocumentPropertyType::Number
542 | }
543 | "string" => {
544 ~ DocumentPropertyType::String(
545 | inner_properties.get_optional_integer(property_names::MIN_LENGTH)?,
546 | inner_properties.get_optional_integer(property_names::MAX_LENGTH)?,
547 ~ )
548 | }
...
551 | // Return an error if it is not a byte array
552 ~ match inner_properties.get_optional_bool(property_names::BYTE_ARRAY)? {
553 | Some(inner_bool) => {
...
580 | None => DocumentPropertyType::Array(ArrayItemType::Boolean),
581 ~ }
582 | }
...
632 | _ => {
633 ~ DocumentPropertyType::try_from_name(type_value)?
|
help: add a semicolon after the `match` expression
|
635 | };
| +
|
unused variable: `error_message`:
packages/rs-dpp/src/errors/consensus/basic/json_schema_error/json_schema_error_data.rs#L145
warning: unused variable: `error_message`
--> packages/rs-dpp/src/errors/consensus/basic/json_schema_error/json_schema_error_data.rs:145:21
|
145 | error_message,
| ^^^^^^^^^^^^^ help: try ignoring the field: `error_message: _`
|
unused variable: `v0`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs#L16
warning: unused variable: `v0`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs:16:45
|
16 | IdentityPublicKeyInCreation::V0(v0) => self.hash_v0().map(|hash| hash.to_vec()),
| ^^ help: if this is intentional, prefix it with an underscore: `_v0`
|
unused variable: `v0`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs#L10
warning: unused variable: `v0`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs:10:45
|
10 | IdentityPublicKeyInCreation::V0(v0) => self.hash_v0(),
| ^^ help: if this is intentional, prefix it with an underscore: `_v0`
|
= note: `#[warn(unused_variables)]` on by default
|
variable does not need to be mutable:
packages/rs-dpp/src/identity/identity_factory.rs#L174
warning: variable does not need to be mutable
--> packages/rs-dpp/src/identity/identity_factory.rs:174:13
|
174 | let mut identity_create_transition = IdentityCreateTransition::V0(
| ----^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused import: `crate::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/rs-dpp/src/data_contract/v0/accessors/mod.rs#L3
warning: unused import: `crate::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-dpp/src/data_contract/v0/accessors/mod.rs:3:5
|
3 | use crate::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
packages/rs-dpp/src/document/v0/mod.rs#L86
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> packages/rs-dpp/src/document/v0/mod.rs:86:53
|
86 | let datetime: DateTime<Utc> = DateTime::from_utc(naive, Utc);
| ^^^^^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
packages/rs-dpp/src/document/v0/mod.rs#L81
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> packages/rs-dpp/src/document/v0/mod.rs:81:53
|
81 | let datetime: DateTime<Utc> = DateTime::from_utc(naive, Utc);
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused import: `FeatureVersion`:
packages/rs-dpp/src/serialization/serialization_traits.rs#L6
warning: unused import: `FeatureVersion`
--> packages/rs-dpp/src/serialization/serialization_traits.rs:6:22
|
6 | use crate::version::{FeatureVersion, PlatformVersion};
| ^^^^^^^^^^^^^^
|
unused import: `super::get_data_contract_fixture`:
packages/rs-dpp/src/tests/fixtures/get_document_transitions_fixture.rs#L12
warning: unused import: `super::get_data_contract_fixture`
--> packages/rs-dpp/src/tests/fixtures/get_document_transitions_fixture.rs:12:5
|
12 | use super::get_data_contract_fixture;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::util::vec::hex_to_array`:
packages/rs-dpp/src/tests/fixtures/instant_asset_lock_proof_fixture.rs#L13
warning: unused import: `crate::util::vec::hex_to_array`
--> packages/rs-dpp/src/tests/fixtures/instant_asset_lock_proof_fixture.rs:13:5
|
13 | use crate::util::vec::hex_to_array;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::convert::TryFrom`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs#L7
warning: unused import: `std::convert::TryFrom`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs:7:5
|
7 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_value::Value`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs#L6
warning: unused import: `platform_value::Value`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_version_error.rs:6:5
|
6 | use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::convert::TryFrom`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L7
warning: unused import: `std::convert::TryFrom`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:7:5
|
7 | use std::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_value::Value`:
packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs#L6
warning: unused import: `platform_value::Value`
--> packages/rs-dpp/src/errors/consensus/basic/unsupported_protocol_version_error.rs:6:5
|
6 | use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused macro definition: `call_static_method`:
packages/rs-dpp/src/state_transition/mod.rs#L198
warning: unused macro definition: `call_static_method`
--> packages/rs-dpp/src/state_transition/mod.rs:198:14
|
198 | macro_rules! call_static_method {
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
|
unused import: `platform_version::version::PlatformVersion`:
packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs#L5
warning: unused import: `platform_version::version::PlatformVersion`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/public_key_in_creation/methods/hash/mod.rs:5:5
|
5 | use platform_version::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
private item shadows public glob re-export:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs#L3
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
note: the name `v0_methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:8:9
|
8 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
unnecessary `pub(self)`:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/v0/mod.rs#L17
warning: unnecessary `pub(self)`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/v0/mod.rs:17:1
|
17 | pub(self) mod property_names {
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
|
private item shadows public glob re-export:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs#L3
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
note: the name `v0_methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:8:9
|
8 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
unnecessary `pub(self)`:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/mod.rs#L24
warning: unnecessary `pub(self)`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/mod.rs:24:1
|
24 | pub(self) mod property_names {
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
|
private item shadows public glob re-export:
packages/rs-dpp/src/identity/mod.rs#L30
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:30:1
|
30 | mod v0;
| ^^^^^^^
|
note: the name `v0` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:7:9
|
7 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:30:1
|
30 | mod v0;
| ^^^^^^^
|
private item shadows public glob re-export:
packages/rs-dpp/src/identity/mod.rs#L27
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:27:1
|
27 | mod methods;
| ^^^^^^^^^^^^
|
note: the name `methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:7:9
|
7 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:27:1
|
27 | mod methods;
| ^^^^^^^^^^^^
|
unused import: `DashPlatformProtocolInitError`:
packages/rs-dpp/src/identity/identity_facade.rs#L23
warning: unused import: `DashPlatformProtocolInitError`
--> packages/rs-dpp/src/identity/identity_facade.rs:23:13
|
23 | use crate::{DashPlatformProtocolInitError, ProtocolError};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|