Tests #2543
Annotations
2 errors and 4 warnings
packages/rs-dpp/src/errors/consensus/codes.rs#L31
error[E0004]: non-exhaustive patterns: `&errors::consensus::basic::basic_error::BasicError::ContestedUniqueIndexOnMutableDocumentTypeError(_)` not covered
--> packages/rs-dpp/src/errors/consensus/codes.rs:31:15
|
31 | match self {
| ^^^^ pattern `&errors::consensus::basic::basic_error::BasicError::ContestedUniqueIndexOnMutableDocumentTypeError(_)` not covered
|
note: `errors::consensus::basic::basic_error::BasicError` defined here
--> packages/rs-dpp/src/errors/consensus/basic/basic_error.rs:77:10
|
77 | pub enum BasicError {
| ^^^^^^^^^^
...
381 | ContestedUniqueIndexOnMutableDocumentTypeError(ContestedUniqueIndexOnMutableDocumentTypeError),
| ---------------------------------------------- not covered
= note: the matched value is of type `&errors::consensus::basic::basic_error::BasicError`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
158 ~ Self::OverflowError(_) => 10700,
159 ~ &errors::consensus::basic::basic_error::BasicError::ContestedUniqueIndexOnMutableDocumentTypeError(_) => todo!(),
|
|
|
|
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;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
This job failed
Loading