Skip to content

feat(platform)!: token support [WIP] #5078

feat(platform)!: token support [WIP]

feat(platform)!: token support [WIP] #5078

Triggered via pull request January 23, 2025 02:16
Status Failure
Total duration 19m 17s
Artifacts 4

tests.yml

on: pull_request
Build JS packages  /  Build JS
5m 7s
Build JS packages / Build JS
Matrix: Build Docker images
Determine changed packages
52s
Determine changed packages
Rust crates security audit
58s
Rust crates security audit
JS dependency versions check
10s
JS dependency versions check
JS NPM security audit
16s
JS NPM security audit
JS code security audit  /  Run Code QL
2m 51s
JS code security audit / Run Code QL
Packages functional tests  /  Run functional tests
Packages functional tests / Run functional tests
Matrix: Test Suite
Waiting for pending jobs
Matrix: Dashmate E2E tests
Waiting for pending jobs
Matrix: JS packages
Matrix: Rust packages
Fit to window
Zoom out
Zoom in

Annotations

24 errors, 70 warnings, and 31 notices
Build Docker images (Drive, drive, drive-abci) / Build Drive image
buildx failed with: ERROR: failed to solve: process "/bin/bash -o pipefail -e -x -c set -ex; source /root/env && if [[ \"${CARGO_BUILD_PROFILE}\" == \"release\" ]] ; then mv .cargo/config-release.toml .cargo/config.toml && export OUT_DIRECTORY=release ; else export FEATURES_FLAG=\"--features=console,grovedbg\" ; export OUT_DIRECTORY=debug ; fi && echo \"// $(date) \" >> /platform/packages/dapi-grpc/build.rs && cargo build --profile \"${CARGO_BUILD_PROFILE}\" --package drive-abci ${FEATURES_FLAG} --locked && cp target/${OUT_DIRECTORY}/drive-abci /artifacts/ && if [[ -x /usr/bin/sccache ]]; then sccache --show-stats; fi && rm -rf /platform" did not complete successfully: exit code: 101
cannot find trait `DocumentsBatchTransitionMethodsV1` in this scope: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L436
error[E0405]: cannot find trait `DocumentsBatchTransitionMethodsV1` in this scope --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:436:6 | 436 | impl DocumentsBatchTransitionMethodsV1 for BatchTransitionV1 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/v0/mod.rs:26:1 | 26 | pub trait DocumentsBatchTransitionMethodsV0: DocumentsBatchTransitionAccessorsV0 { | -------------------------------------------------------------------------------- similarly named trait `DocumentsBatchTransitionMethodsV0` defined here | help: a trait with a similar name exists | 436 | impl DocumentsBatchTransitionMethodsV0 for BatchTransitionV1 { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: consider importing this trait | 5 + use crate::state_transition::batch_transition::methods::v1::DocumentsBatchTransitionMethodsV1; |
Rust packages (drive) / Linting
Clippy has exited with exit code 101
Rust packages (drive) / Tests
Process completed with exit code 101.
cannot find trait `DocumentsBatchTransitionMethodsV1` in this scope: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L436
error[E0405]: cannot find trait `DocumentsBatchTransitionMethodsV1` in this scope --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:436:6 | 436 | impl DocumentsBatchTransitionMethodsV1 for BatchTransitionV1 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/v0/mod.rs:26:1 | 26 | pub trait DocumentsBatchTransitionMethodsV0: DocumentsBatchTransitionAccessorsV0 { | -------------------------------------------------------------------------------- similarly named trait `DocumentsBatchTransitionMethodsV0` defined here | help: a trait with a similar name exists | 436 | impl DocumentsBatchTransitionMethodsV0 for BatchTransitionV1 { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: consider importing this trait | 5 + use crate::state_transition::batch_transition::methods::v1::DocumentsBatchTransitionMethodsV1; |
Rust packages (drive-abci) / Linting
Clippy has exited with exit code 101
Rust packages (drive-abci) / Check each feature
Process completed with exit code 101.
Rust packages (token-history-contract) / Unused dependencies
Unable to process file command 'output' successfully.
Rust packages (token-history-contract) / Unused dependencies
Invalid format './packages/token-history-contract'
Build JS packages / Build JS
Unable to download artifact(s): Artifact not found for name: js-build-44f44e8b38b34ca01acd569d3207b7c84b687def Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
JS packages (@dashevo/wasm-dpp) / Tests
Process completed with exit code 2.
Rust packages (dpp) / Check each feature
Process completed with exit code 1.
JS packages (@dashevo/token-history-contract) / Tests
Process completed with exit code 33.
JS code security audit / Run Code QL
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L34
warning: unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:34:68 | 34 | ...1, TokenBurnTransition, TokenConfigUpdateTransition, TokenDestroyFrozenFundsTransition, TokenEmergencyActionTransition, TokenFreezeTransition, TokenMintTransition, TokenTransferTransition, TokenUnfreezeTransitio... | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::balances::credits::TokenAmount`: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L46
warning: unused import: `crate::balances::credits::TokenAmount` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:46:5 | 46 | use crate::balances::credits::TokenAmount; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem`: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs#L3
warning: unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs:3:5 | 3 | use crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L25
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:25:9 | 25 | / if old.conventions != new.conventions 26 | | || old.conventions_change_rules != new.conventions_change_rules 27 | | { 28 | | if !old.conventions_change_rules.can_change_to( ... | 45 | | } 46 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if = note: `#[warn(clippy::collapsible_if)]` on by default help: collapse nested if block | 25 ~ if (old.conventions != new.conventions || old.conventions_change_rules != new.conventions_change_rules) && !old.conventions_change_rules.can_change_to( 26 + &new.conventions_change_rules, 27 + contract_owner_id, 28 + self.main_control_group(), 29 + groups, 30 + action_taker, 31 + goal, 32 + ) { 33 + return SimpleConsensusValidationResult::new_with_error( 34 + DataContractTokenConfigurationUpdateError::new( 35 + "update".to_string(), 36 + "conventions or conventionsRules".to_string(), 37 + self.clone(), 38 + new_config.clone(), 39 + ) 40 + .into(), 41 + ); 42 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L62
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:62:9 | 62 | / if old.max_supply != new.max_supply 63 | | || old.max_supply_change_rules != new.max_supply_change_rules 64 | | { 65 | | if !old.max_supply_change_rules.can_change_to( ... | 82 | | } 83 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 62 ~ if (old.max_supply != new.max_supply || old.max_supply_change_rules != new.max_supply_change_rules) && !old.max_supply_change_rules.can_change_to( 63 + &new.max_supply_change_rules, 64 + contract_owner_id, 65 + self.main_control_group(), 66 + groups, 67 + action_taker, 68 + goal, 69 + ) { 70 + return SimpleConsensusValidationResult::new_with_error( 71 + DataContractTokenConfigurationUpdateError::new( 72 + "update".to_string(), 73 + "maxSupply or maxSupplyChangeRules".to_string(), 74 + self.clone(), 75 + new_config.clone(), 76 + ) 77 + .into(), 78 + ); 79 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L86
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:86:9 | 86 | / if old.new_tokens_destination_identity != new.new_tokens_destination_identity 87 | | || old.new_tokens_destination_identity_rules 88 | | != new.new_tokens_destination_identity_rules 89 | | { ... | 108 | | } 109 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 86 ~ if (old.new_tokens_destination_identity != new.new_tokens_destination_identity || old.new_tokens_destination_identity_rules 87 + != new.new_tokens_destination_identity_rules) && !old.new_tokens_destination_identity_rules.can_change_to( 88 + &new.new_tokens_destination_identity_rules, 89 + contract_owner_id, 90 + self.main_control_group(), 91 + groups, 92 + action_taker, 93 + goal, 94 + ) { 95 + return SimpleConsensusValidationResult::new_with_error( 96 + DataContractTokenConfigurationUpdateError::new( 97 + "update".to_string(), 98 + "newTokensDestinationIdentity or newTokensDestinationIdentityRules" 99 + .to_string(), 100 + self.clone(), 101 + new_config.clone(), 102 + ) 103 + .into(), 104 + ); 105 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L112
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:112:9 | 112 | / if old.minting_allow_choosing_destination != new.minting_allow_choosing_destination 113 | | || old.minting_allow_choosing_destination_rules 114 | | != new.minting_allow_choosing_destination_rules 115 | | { ... | 134 | | } 135 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 112 ~ if (old.minting_allow_choosing_destination != new.minting_allow_choosing_destination || old.minting_allow_choosing_destination_rules 113 + != new.minting_allow_choosing_destination_rules) && !old.minting_allow_choosing_destination_rules.can_change_to( 114 + &new.minting_allow_choosing_destination_rules, 115 + contract_owner_id, 116 + self.main_control_group(), 117 + groups, 118 + action_taker, 119 + goal, 120 + ) { 121 + return SimpleConsensusValidationResult::new_with_error( 122 + DataContractTokenConfigurationUpdateError::new( 123 + "update".to_string(), 124 + "mintingAllowChoosingDestination or mintingAllowChoosingDestinationRules" 125 + .to_string(), 126 + self.clone(), 127 + new_config.clone(), 128 + ) 129 + .into(), 130 + ); 131 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L138
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:138:9 | 138 | / if old.manual_minting_rules != new.manual_minting_rules { 139 | | if !old.manual_minting_rules.can_change_to( 140 | | &new.manual_minting_rules, 141 | | contract_owner_id, ... | 156 | | } 157 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 138 ~ if old.manual_minting_rules != new.manual_minting_rules && !old.manual_minting_rules.can_change_to( 139 + &new.manual_minting_rules, 140 + contract_owner_id, 141 + self.main_control_group(), 142 + groups, 143 + action_taker, 144 + goal, 145 + ) { 146 + return SimpleConsensusValidationResult::new_with_error( 147 + DataContractTokenConfigurationUpdateError::new( 148 + "update".to_string(), 149 + "manualMintingRules".to_string(), 150 + self.clone(), 151 + new_config.clone(), 152 + ) 153 + .into(), 154 + ); 155 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L160
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:160:9 | 160 | / if old.manual_burning_rules != new.manual_burning_rules { 161 | | if !old.manual_burning_rules.can_change_to( 162 | | &new.manual_burning_rules, 163 | | contract_owner_id, ... | 178 | | } 179 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 160 ~ if old.manual_burning_rules != new.manual_burning_rules && !old.manual_burning_rules.can_change_to( 161 + &new.manual_burning_rules, 162 + contract_owner_id, 163 + self.main_control_group(), 164 + groups, 165 + action_taker, 166 + goal, 167 + ) { 168 + return SimpleConsensusValidationResult::new_with_error( 169 + DataContractTokenConfigurationUpdateError::new( 170 + "update".to_string(), 171 + "manualBurningRules".to_string(), 172 + self.clone(), 173 + new_config.clone(), 174 + ) 175 + .into(), 176 + ); 177 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L182
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:182:9 | 182 | / if old.freeze_rules != new.freeze_rules { 183 | | if !old.freeze_rules.can_change_to( 184 | | &new.freeze_rules, 185 | | contract_owner_id, ... | 200 | | } 201 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 182 ~ if old.freeze_rules != new.freeze_rules && !old.freeze_rules.can_change_to( 183 + &new.freeze_rules, 184 + contract_owner_id, 185 + self.main_control_group(), 186 + groups, 187 + action_taker, 188 + goal, 189 + ) { 190 + return SimpleConsensusValidationResult::new_with_error( 191 + DataContractTokenConfigurationUpdateError::new( 192 + "update".to_string(), 193 + "freezeRules".to_string(), 194 + self.clone(), 195 + new_config.clone(), 196 + ) 197 + .into(), 198 + ); 199 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L204
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:204:9 | 204 | / if old.unfreeze_rules != new.unfreeze_rules { 205 | | if !old.unfreeze_rules.can_change_to( 206 | | &new.unfreeze_rules, 207 | | contract_owner_id, ... | 222 | | } 223 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 204 ~ if old.unfreeze_rules != new.unfreeze_rules && !old.unfreeze_rules.can_change_to( 205 + &new.unfreeze_rules, 206 + contract_owner_id, 207 + self.main_control_group(), 208 + groups, 209 + action_taker, 210 + goal, 211 + ) { 212 + return SimpleConsensusValidationResult::new_with_error( 213 + DataContractTokenConfigurationUpdateError::new( 214 + "update".to_string(), 215 + "unfreezeRules".to_string(), 216 + self.clone(), 217 + new_config.clone(), 218 + ) 219 + .into(), 220 + ); 221 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L226
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:226:9 | 226 | / if old.destroy_frozen_funds_rules != new.destroy_frozen_funds_rules { 227 | | if !old.destroy_frozen_funds_rules.can_change_to( 228 | | &new.destroy_frozen_funds_rules, 229 | | contract_owner_id, ... | 244 | | } 245 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 226 ~ if old.destroy_frozen_funds_rules != new.destroy_frozen_funds_rules && !old.destroy_frozen_funds_rules.can_change_to( 227 + &new.destroy_frozen_funds_rules, 228 + contract_owner_id, 229 + self.main_control_group(), 230 + groups, 231 + action_taker, 232 + goal, 233 + ) { 234 + return SimpleConsensusValidationResult::new_with_error( 235 + DataContractTokenConfigurationUpdateError::new( 236 + "update".to_string(), 237 + "destroyFrozenFundsRules".to_string(), 238 + self.clone(), 239 + new_config.clone(), 240 + ) 241 + .into(), 242 + ); 243 + } |
this `if` statement can be collapsed: packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L248
warning: this `if` statement can be collapsed --> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:248:9 | 248 | / if old.emergency_action_rules != new.emergency_action_rules { 249 | | if !old.emergency_action_rules.can_change_to( 250 | | &new.emergency_action_rules, 251 | | contract_owner_id, ... | 266 | | } 267 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 248 ~ if old.emergency_action_rules != new.emergency_action_rules && !old.emergency_action_rules.can_change_to( 249 + &new.emergency_action_rules, 250 + contract_owner_id, 251 + self.main_control_group(), 252 + groups, 253 + action_taker, 254 + goal, 255 + ) { 256 + return SimpleConsensusValidationResult::new_with_error( 257 + DataContractTokenConfigurationUpdateError::new( 258 + "update".to_string(), 259 + "emergencyActionRules".to_string(), 260 + self.clone(), 261 + new_config.clone(), 262 + ) 263 + .into(), 264 + ); 265 + } |
unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L34
warning: unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:34:68 | 34 | ...1, TokenBurnTransition, TokenConfigUpdateTransition, TokenDestroyFrozenFundsTransition, TokenEmergencyActionTransition, TokenFreezeTransition, TokenMintTransition, TokenTransferTransition, TokenUnfreezeTransitio... | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::balances::credits::TokenAmount`: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L46
warning: unused import: `crate::balances::credits::TokenAmount` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:46:5 | 46 | use crate::balances::credits::TokenAmount; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem`: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs#L3
warning: unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs:3:5 | 3 | use crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `crate::util::type_constants::DEFAULT_HASH_SIZE_U8`: 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
unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`: 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `dpp::data_contract::document_type::methods::DocumentTypeV0Methods`: 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `dpp::data_contract::document_type::DocumentTypeRef`: packages/rs-drive/src/drive/document/paths.rs#L5
warning: unused import: `dpp::data_contract::document_type::DocumentTypeRef` --> packages/rs-drive/src/drive/document/paths.rs:5:5 | 5 | use dpp::data_contract::document_type::DocumentTypeRef; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
function `contract_documents_primary_key_path` is never used: packages/rs-drive/src/drive/document/paths.rs#L41
warning: function `contract_documents_primary_key_path` is never used --> packages/rs-drive/src/drive/document/paths.rs:41:15 | 41 | pub(crate) fn contract_documents_primary_key_path<'a>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused import: `identity::identity_public_key::accessors::v0::IdentityPublicKeyGettersV0`: packages/rs-drive/src/drive/identity/key/fetch/mod.rs#L16
warning: unused import: `identity::identity_public_key::accessors::v0::IdentityPublicKeyGettersV0` --> packages/rs-drive/src/drive/identity/key/fetch/mod.rs:16:9 | 16 | identity::identity_public_key::accessors::v0::IdentityPublicKeyGettersV0, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `crate::util::object_size_info::DataContractOwnedResolvedInfo`: packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs#L13
warning: unused import: `crate::util::object_size_info::DataContractOwnedResolvedInfo` --> packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs:13:5 | 13 | use crate::util::object_size_info::DataContractOwnedResolvedInfo; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `platform_version::version::PlatformVersion`: packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs#L22
warning: unused import: `platform_version::version::PlatformVersion` --> packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs:22:5 | 22 | use platform_version::version::PlatformVersion; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `std::sync::Arc`: packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs#L24
warning: unused import: `std::sync::Arc` --> packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs:24:5 | 24 | use std::sync::Arc; | ^^^^^^^^^^^^^^
unused import: `serialization_traits::DocumentPlatformConversionMethodsV0`: packages/rs-drive/src/query/mod.rs#L29
warning: unused import: `serialization_traits::DocumentPlatformConversionMethodsV0` --> packages/rs-drive/src/query/mod.rs:29:13 | 29 | serialization_traits::DocumentPlatformConversionMethodsV0, Document, DocumentV0Getters, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
bound is defined in more than one place: packages/wasm-dpp/src/utils.rs#L25
warning: bound is defined in more than one place --> packages/wasm-dpp/src/utils.rs:25:24 | 25 | fn with_serde_into<D: DeserializeOwned>(&self) -> Result<D, JsValue> | ^ 26 | where 27 | D: for<'de> serde::de::Deserialize<'de> + 'static; | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `#[warn(clippy::multiple_bound_locations)]` on by default
methods `with_serde_to_platform_value_map` and `with_serde_into` are never used: packages/wasm-dpp/src/utils.rs#L24
warning: methods `with_serde_to_platform_value_map` and `with_serde_into` are never used --> packages/wasm-dpp/src/utils.rs:24:8 | 19 | pub trait ToSerdeJSONExt { | -------------- methods in this trait ... 24 | fn with_serde_to_platform_value_map(&self) -> Result<BTreeMap<String, Value>, JsValue>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 25 | fn with_serde_into<D: DeserializeOwned>(&self) -> Result<D, JsValue> | ^^^^^^^^^^^^^^^
methods `into_inner` and `inner_mut` are never used: packages/wasm-dpp/src/utils.rs#L287
warning: methods `into_inner` and `inner_mut` are never used --> packages/wasm-dpp/src/utils.rs:287:8 | 284 | pub(crate) trait Inner { | ----- methods in this trait ... 287 | fn into_inner(self) -> Self::InnerItem; | ^^^^^^^^^^ 288 | fn inner(&self) -> &Self::InnerItem; 289 | fn inner_mut(&mut self) -> &mut Self::InnerItem; | ^^^^^^^^^
unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut`: packages/wasm-dpp/src/document/state_transition/batch_transition/mod.rs#L28
warning: unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut` --> packages/wasm-dpp/src/document/state_transition/batch_transition/mod.rs:28:5 | 28 | use dpp::ed25519_dalek::ed25519::signature::SignerMut; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
field `0` is never read: packages/wasm-dpp/src/identity/identity_facade.rs#L274
warning: field `0` is never read --> packages/wasm-dpp/src/identity/identity_facade.rs:274:34 | 274 | pub struct NonConsensusErrorWasm(NonConsensusError); | --------------------- ^^^^^^^^^^^^^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default
trait `AssetLockProofLike` is never used: packages/wasm-dpp/src/identity/state_transition/asset_lock_proof/mod.rs#L48
warning: trait `AssetLockProofLike` is never used --> packages/wasm-dpp/src/identity/state_transition/asset_lock_proof/mod.rs:48:11 | 48 | pub trait AssetLockProofLike { | ^^^^^^^^^^^^^^^^^^
field `identity_id` is never read: packages/wasm-dpp/src/identity/state_transition/identity_create_transition/to_object.rs#L21
warning: field `identity_id` is never read --> packages/wasm-dpp/src/identity/state_transition/identity_create_transition/to_object.rs:21:9 | 19 | pub struct ToObject { | -------- field in this struct 20 | pub transition_type: u8, 21 | pub identity_id: Identifier, | ^^^^^^^^^^^
field `vote` is never read: packages/wasm-dpp/src/voting/state_transition/masternode_vote_transition/to_object.rs#L21
warning: field `vote` is never read --> packages/wasm-dpp/src/voting/state_transition/masternode_vote_transition/to_object.rs:21:9 | 18 | pub struct ToObject { | -------- field in this struct ... 21 | pub vote: Vote, | ^^^^
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
very complex type used. Consider factoring parts into `type` definitions: packages/wasm-dpp/src/document/factory.rs#L153
warning: very complex type used. Consider factoring parts into `type` definitions --> packages/wasm-dpp/src/document/factory.rs:153:24 | 153 | let documents: Vec<( | ________________________^ 154 | | DocumentTransitionActionType, 155 | | Vec<(Document, DocumentTypeRef, Bytes32)>, 156 | | )> = 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
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Client.ts#L10
Dependency cycle via ./Platform:1
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Client.ts#L166
Assignment to function parameter 'options'
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Fetcher/Fetcher.ts#L143
Returning an awaited value that is not a promise is not allowed
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.spec.ts#L5
Using exported name 'Client' as identifier for default export
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L5
Using exported name 'Client' as identifier for default export
JS packages (dash) / Linting: packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L8
Using exported name 'createAssetLockTransaction' as identifier for default export
sccache stats
100% - 290 hits, 0 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
100% - 174 hits, 0 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
100% - 226 hits, 0 misses, 0 errors
sccache stats
100% - 190 hits, 0 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
100% - 215 hits, 1 misses, 0 errors
sccache stats
100% - 452 hits, 0 misses, 0 errors
sccache stats
100% - 196 hits, 0 misses, 0 errors
sccache stats
99% - 407 hits, 4 misses, 0 errors
sccache stats
100% - 445 hits, 0 misses, 1 errors
sccache stats
95% - 523 hits, 26 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
100% - 853 hits, 0 misses, 0 errors
sccache stats
100% - 823 hits, 0 misses, 1 errors
sccache stats
100% - 428 hits, 0 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
100% - 195 hits, 0 misses, 0 errors
sccache stats
100% - 38 hits, 0 misses, 0 errors
sccache stats
100% - 209 hits, 0 misses, 0 errors
sccache stats
100% - 42 hits, 0 misses, 0 errors
sccache stats
100% - 60 hits, 0 misses, 0 errors
sccache stats
100% - 218 hits, 0 misses, 0 errors
sccache stats
100% - 202 hits, 0 misses, 0 errors
sccache stats
100% - 202 hits, 1 misses, 0 errors
sccache stats
100% - 202 hits, 1 misses, 0 errors
sccache stats
85% - 301 hits, 48 misses, 5 errors
sccache stats
99% - 835 hits, 6 misses, 0 errors

Artifacts

Produced during runtime
Name Size
dashpay~platform~0Q3HW1.dockerbuild
76.8 KB
dashpay~platform~6DSKTI.dockerbuild
86.8 KB
dashpay~platform~M02E3O.dockerbuild
29.8 KB
js-build-44f44e8b38b34ca01acd569d3207b7c84b687def
18.3 MB