Tests #5005
Annotations
10 warnings and 1 notice
Run clechasseur/rs-clippy-check@v3:
packages/rs-platform-value/src/inner_value.rs#L364
warning: elided lifetime has a name
--> packages/rs-platform-value/src/inner_value.rs:364:66
|
364 | pub fn get_array_slice<'a>(&'a self, key: &'a str) -> Result<&[Value], Error> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/data_contract/document_type/index/mod.rs#L19
warning: unused import: `crate::data_contract::errors::DataContractError::RegexError`
--> packages/rs-dpp/src/data_contract/document_type/index/mod.rs:19:5
|
19 | use crate::data_contract::errors::DataContractError::RegexError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/identity/identity_factory.rs#L70
warning: unused import: `platform_value::Value`
--> packages/rs-dpp/src/identity/identity_factory.rs:70:5
|
70 | use platform_value::Value;
| ^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/convertible.rs#L38
warning: unused imports: `BTreeValueMapHelper` and `BTreeValueMapReplacementPathHelper`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/convertible.rs:38:5
|
38 | BTreeValueMapHelper, BTreeValueMapReplacementPathHelper, BTreeValueRemoveFromMapHelper,
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/from_document.rs#L1
warning: unused import: `crate::data_contract::document_type::methods::DocumentTypeV0Methods`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/from_document.rs:1:5
|
1 | use crate::data_contract::document_type::methods::DocumentTypeV0Methods;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/from_document.rs#L21
warning: unexpected `cfg` condition value: `contested-documents`
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_create_transition/v0/from_document.rs:21:15
|
21 | #[cfg(feature = "contested-documents")]
| ^^^^^^^^^^---------------------
| |
| help: there is a expected value with a similar name: `"extended-document"`
|
= note: expected values for `feature` are: `abci`, `all_features`, `all_features_without_client`, `bls-signatures`, `cbor`, `ciborium`, `client`, `core-types`, `core-types-serde-conversion`, `core-types-serialization`, `create-contested-document`, `dash-sdk-features`, `dashcore`, `data-contract-cbor-conversion`, `data-contract-json-conversion`, `data-contract-serde-conversion`, `data-contract-value-conversion`, `data-contracts`, `default`, `document-cbor-conversion`, `document-json-conversion`, `document-serde-conversion`, `document-value-conversion`, `ed25519-dalek`, `extended-document`, `factories`, `fee-distribution`, `fixtures-and-mocks`, `identity-cbor-conversion`, `identity-hashing`, `identity-json-conversion`, `identity-serde-conversion`, `identity-serialization`, `identity-value-conversion`, and `index-serde-conversion` and 22 more
= help: consider adding `contested-documents` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/errors/protocol_error.rs#L21
warning: unused import: `crate::state_transition::errors::StateTransitionError`
--> packages/rs-dpp/src/errors/protocol_error.rs:21:5
|
21 | use crate::state_transition::errors::StateTransitionError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/paths.rs#L2
warning: unused import: `crate::util::type_constants::DEFAULT_HASH_SIZE_U8`
--> packages/rs-drive/src/drive/document/paths.rs:2:5
|
2 | use crate::util::type_constants::DEFAULT_HASH_SIZE_U8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/paths.rs#L3
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-drive/src/drive/document/paths.rs:3:5
|
3 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/paths.rs#L4
warning: unused import: `dpp::data_contract::document_type::methods::DocumentTypeV0Methods`
--> packages/rs-drive/src/drive/document/paths.rs:4:5
|
4 | use dpp::data_contract::document_type::methods::DocumentTypeV0Methods;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Post Setup sccache
100% - 415 hits, 0 misses, 0 errors
|
Loading