Tests #2545
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: mozilla-actions/[email protected], strophy/actions-cache@opendal-update. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs#L27
warning: unused import: `crate::consensus::basic::data_contract::ContestedUniqueIndexOnMutableDocumentTypeError`
--> packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs:27:5
|
27 | use crate::consensus::basic::data_contract::ContestedUniqueIndexOnMutableDocumentTypeError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
packages/rs-dpp/src/voting/contender_structs/contender/mod.rs#L4
warning: unused import: `crate::document::serialization_traits::DocumentPlatformConversionMethodsV0`
--> packages/rs-dpp/src/voting/contender_structs/contender/mod.rs:4:5
|
4 | use crate::document::serialization_traits::DocumentPlatformConversionMethodsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
packages/rs-drive/src/drive/operations/apply_batch_low_level_drive_operations/v0/mod.rs#L4
warning: unused import: `crate::fee::op::LowLevelDriveOperation::GroveOperation`
--> packages/rs-drive/src/drive/operations/apply_batch_low_level_drive_operations/v0/mod.rs:4:5
|
4 | use crate::fee::op::LowLevelDriveOperation::GroveOperation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L34
warning: unused import: `std::process::id`
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:34:5
|
34 | use std::process::id;
| ^^^^^^^^^^^^^^^^
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L36
warning: unused import: `std::sync::Arc`
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:36:5
|
36 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L436
warning: unused variable: `key`
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:436:46
|
436 | ... .map(|(mut path, key, document)| {
| ^^^ help: if this is intentional, prefix it with an underscore: `_key`
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L465
warning: variable does not need to be mutable
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:465:30
|
465 | for (mut path, first_key, element) in
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L482
warning: accessing first element with `identity_bytes.get(0)`
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:482:43
|
482 | ... match identity_bytes.get(0) {
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `identity_bytes.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
|
packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs#L381
warning: unused variable: `contract`
--> packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs:381:22
|
381 | let (contract, document_type_name) = match vote {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
|
= note: `#[warn(unused_variables)]` on by default
|
packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs#L381
warning: unused variable: `document_type_name`
--> packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs:381:32
|
381 | let (contract, document_type_name) = match vote {
| ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_type_name`
|
This job succeeded
Loading