perf(dashmate)!: speedup dashmate command #2832
Annotations
11 warnings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: mozilla-actions/[email protected], strophy/actions-cache@opendal-update. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs#L29
warning: unused import: `crate::consensus::basic::data_contract::InvalidDocumentTypeRequiredSecurityLevelError`
--> packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs:29:5
|
29 | use crate::consensus::basic::data_contract::InvalidDocumentTypeRequiredSecurityLevelError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
packages/rs-drive/src/drive/prove/prove_multiple_state_transition_results/v0/mod.rs#L3
warning: unused import: `crate::error::query::QuerySyntaxError`
--> packages/rs-drive/src/drive/prove/prove_multiple_state_transition_results/v0/mod.rs:3:5
|
3 | use crate::error::query::QuerySyntaxError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/mod.rs#L10
warning: function `create_feature_flag_data_trigger` is never used
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/mod.rs:10:8
|
10 | pub fn create_feature_flag_data_trigger(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/v0/mod.rs#L35
warning: function `create_feature_flag_data_trigger_v0` is never used
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/data_triggers/triggers/feature_flags/v0/mod.rs:35:15
|
35 | pub(super) fn create_feature_flag_data_trigger_v0(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
packages/rs-drive-abci/src/execution/check_tx/v0/mod.rs#L156
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> packages/rs-drive-abci/src/execution/check_tx/v0/mod.rs:156:13
|
156 | &platform_ref,
| ^^^^^^^^^^^^^ help: change this to: `platform_ref`
|
= 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
|
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs#L10
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:10:1
|
10 | 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
|
packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs#L40
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs:40:32
|
40 | 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
= note: `#[warn(clippy::ptr_arg)]` on by default
|
packages/rs-drive-abci/src/execution/platform_events/voting/clean_up_after_contested_resources_vote_polls_end/v0/mod.rs#L22
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/voting/clean_up_after_contested_resources_vote_polls_end/v0/mod.rs:22:21
|
22 | vote_polls: Vec<(
| _____________________^
23 | | &ContestedDocumentResourceVotePollWithContractInfo,
24 | | &TimestampMillis,
25 | | &BTreeMap<ResourceVoteChoice, Vec<Identifier>>,
26 | | )>,
| |__________^
|
= 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
|
packages/rs-drive-abci/src/execution/platform_events/voting/clean_up_after_contested_resources_vote_polls_end/mod.rs#L22
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/voting/clean_up_after_contested_resources_vote_polls_end/mod.rs:22:21
|
22 | vote_polls: Vec<(
| _____________________^
23 | | &ContestedDocumentResourceVotePollWithContractInfo,
24 | | &TimestampMillis,
25 | | &BTreeMap<ResourceVoteChoice, Vec<Identifier>>,
26 | | )>,
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
packages/rs-drive-abci/src/execution/platform_events/voting/clean_up_after_vote_polls_end/v0/mod.rs#L26
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive-abci/src/execution/platform_events/voting/clean_up_after_vote_polls_end/v0/mod.rs:26:34
|
26 | let mut contested_polls: Vec<(
| __________________________________^
27 | | &ContestedDocumentResourceVotePollWithContractInfo,
28 | | &TimestampMillis,
29 | | &BTreeMap<ResourceVoteChoice, Vec<Identifier>>,
30 | | )> = Vec::new();
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
This job succeeded
Loading