=== starkware-libs/starknet-staking-0e9a58415 === >>> git clone --depth 1 --no-tags https://github.com/starkware-libs/starknet-staking . [err] Cloning into '.'... >>> maat-check-versions [out] Name Version Source Installed [out] nodejs 23.11.0 ASDF_NODEJS_VERSION true [out] scarb 2.11.4 ASDF_SCARB_VERSION true [out] starknet-foundry nightly-2025-06-18 ASDF_STARKNET-FOUNDRY_VERSION true >>> maat-patch [err] Installed 1 package in 2ms [out] diff --git a/Scarb.toml b/Scarb.toml [out] index 968fb55..478a2f6 100644 [out] --- a/Scarb.toml [out] +++ b/Scarb.toml [out] @@ -27,3 +27,14 @@ block_id.tag = "latest" [out] [out] [workspace.tool.scarb] [out] allow-prebuilt-plugins = ["snforge_std"] [out] + [out] +[patch.scarbs-xyz] [out] +assert_macros = "2.11.4" # NOTE: added by maat-patch, was: None [out] +starknet = "2.11.4" # NOTE: added by maat-patch, was: None [out] +cairo_test = "2.11.4" # NOTE: added by maat-patch, was: None [out] +snforge_std = {version = "0.45.0+nightly-2025-06-18", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = {version = "0.45.0+nightly-2025-06-18", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] + [out] +[patch."https://github.com/foundry-rs/starknet-foundry.git"] [out] +snforge_std = {version = "0.45.0+nightly-2025-06-18", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = {version = "0.45.0+nightly-2025-06-18", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] diff --git a/workspace/apps/staking/contracts/Scarb.toml b/workspace/apps/staking/contracts/Scarb.toml [out] index 21baf50..8d937cf 100644 [out] --- a/workspace/apps/staking/contracts/Scarb.toml [out] +++ b/workspace/apps/staking/contracts/Scarb.toml [out] @@ -2,6 +2,7 @@ [out] name = "staking" [out] version = "1.14.5" [out] edition = "2023_11" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] starknet.workspace = true [out] @@ -35,6 +36,7 @@ sort-module-level-items = true [out] [tool] [out] snforge.workspace = true [out] scarb.workspace = true [out] +scarb.allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] [out] [features] [out] fork_test = [] >>> scarb fetch [out] Updating git repository https://github.com/starkware-libs/starkware-starknet-utils [out] Downloading snforge_std v0.41.0 [out] Downloading openzeppelin_account v1.0.0 [out] Downloading openzeppelin_finance v1.0.0 [out] Downloading openzeppelin_presets v1.0.0 [out] Downloading openzeppelin_governance v1.0.0 [out] Downloading openzeppelin_utils v1.0.0 [out] Downloading snforge_scarb_plugin v0.41.0 [out] Downloading openzeppelin v1.0.0 [out] Downloading openzeppelin_security v1.0.0 [out] Downloading openzeppelin_access v1.0.0 [out] Downloading openzeppelin_upgrades v1.0.0 [out] Downloading openzeppelin_merkle_tree v1.0.0 [out] Downloading openzeppelin_introspection v1.0.0 [out] Downloading openzeppelin_testing v3.0.0 [out] Downloading openzeppelin_token v1.0.0 >>> scarb tree -q --workspace [out] error: no such command: `tree` [out] [out] Stack backtrace: [out] 0: anyhow::kind::Adhoc::new [out] 1: anyhow::__private::format_err.100642 [out] 2: scarb::commands::run [out] 3: scarb::main [out] 4: std::sys::backtrace::__rust_begin_short_backtrace [out] 5: main [out] 6: __libc_start_call_main [out] 7: __libc_start_main_impl [out] 8: _start Process finished with exit code 1 >>> scarb build --workspace --test [out] Compiling test(contracts_unittest) staking v1.14.5 (/mnt/maat-workbench/workspace/apps/staking/contracts/Scarb.toml) [out] warn: external contracts not found for selectors: `starkware_utils::erc20_mocks::DualCaseERC20Mock` [out] warn: Unused import: `staking::attestation::test::start_cheat_block_hash_global` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo:3:18 [out] use snforge_std::start_cheat_block_hash_global; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:21:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:28:5 [out] advance_epoch_global(); [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:45:42 [out] cheat_target_attestation_block_hash(:cfg, :block_hash); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:85:5 [out] assert_panic_with_error(:result, expected_error: Error::BLOCK_HASH_UNWRAP_FAILED.describe()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:44:22 [out] let block_hash = Zero::zero(); [out] ^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:44:22 [out] let block_hash = Zero::zero(); [out] ^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:5 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:5 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:41 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:41 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:41 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:41 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:56 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:41:56 [out] advance_block_number_global(blocks: block_offset + MIN_ATTESTATION_WINDOW.into() - 1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:34:24-40:5 [out] let block_offset = calculate_block_offset( [out] ________________________^ [out] | ... [out] | ); [out] |_____^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:34:24-40:5 [out] let block_offset = calculate_block_offset( [out] ________________________^ [out] | ... [out] | ); [out] |_____^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:38:20 [out] epoch_len: cfg.staking_contract_info.epoch_info.epoch_len_in_blocks().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:38:20 [out] epoch_len: cfg.staking_contract_info.epoch_info.epoch_len_in_blocks().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:38:20 [out] epoch_len: cfg.staking_contract_info.epoch_info.epoch_len_in_blocks().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:38:20 [out] epoch_len: cfg.staking_contract_info.epoch_info.epoch_len_in_blocks().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:37:25 [out] staker_address: cfg.test_info.staker_address.into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:37:25 [out] staker_address: cfg.test_info.staker_address.into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:36:19 [out] epoch_id: cfg.staking_contract_info.epoch_info.current_epoch().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:36:19 [out] epoch_id: cfg.staking_contract_info.epoch_info.current_epoch().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:36:19 [out] epoch_id: cfg.staking_contract_info.epoch_info.current_epoch().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:36:19 [out] epoch_id: cfg.staking_contract_info.epoch_info.current_epoch().into(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:16:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:22:5 [out] advance_epoch_global(); [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:16:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:22:5 [out] advance_epoch_global(); [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:16:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo[proc_test][proc___internal_config_statement]:16:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] warn: Unused import: `staking::constants::WEEK` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/constants.cairo:3:33 [out] use starkware_utils::constants::WEEK; [out] ^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/constants.cairo:4:22 [out] use starkware_utils::types::time::time::TimeDelta; [out] ^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/event_test_utils.cairo:11:22 [out] use starkware_utils::types::time::time::{TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::V1_PREV_CONTRACT_VERSION` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3:64 [out] use staking::constants::{MIN_ATTESTATION_WINDOW, STRK_IN_FRIS, V1_PREV_CONTRACT_VERSION}; [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::MAINNET_POOL_CLASS_HASH_V0` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:5:52 [out] use staking::flow_test::utils::MainnetClassHashes::MAINNET_POOL_CLASS_HASH_V0; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::upgrade_implementation` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:9:5 [out] upgrade_implementation, [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::StakingError` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:15:31 [out] use staking::staking::errors::Error as StakingError; [out] ^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::UPGRADE_GOVERNOR` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:19:54 [out] use staking::test_utils::constants::{EPOCH_DURATION, UPGRADE_GOVERNOR}; [out] ^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::calculate_block_offset` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:21:5 [out] calculate_block_offset, calculate_pool_member_rewards, calculate_pool_rewards, [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::declare_pool_contract` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:22:52 [out] calculate_strk_pool_rewards_with_pool_balance, declare_pool_contract, declare_pool_eic_contract, [out] ^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::declare_pool_eic_contract` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:22:75 [out] calculate_strk_pool_rewards_with_pool_balance, declare_pool_contract, declare_pool_eic_contract, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::Index` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:26:42 [out] use staking::types::{Amount, Commission, Index, InternalStakerInfoLatest}; [out] ^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::ClassHash` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:28:16 [out] use starknet::{ClassHash, ContractAddress, Store}; [out] ^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::EICData` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:29:62 [out] use starkware_utils::components::replaceability::interface::{EICData, ImplementationData}; [out] ^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::ImplementationData` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:29:71 [out] use starkware_utils::components::replaceability::interface::{EICData, ImplementationData}; [out] ^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::flows::set_account_as_upgrade_governor` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:34:69 [out] TokenTrait, assert_panic_with_error, cheat_caller_address_once, set_account_as_upgrade_governor, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:32:22 [out] use starkware_utils::types::time::time::Time; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?37. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1679:46 [out] assert!(pool_member_info.unpool_time.is_none()); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?26. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1736:44 [out] assert!(delegator_info.unpool_time.is_some()); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?8. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1782:42 [out] assert!(staker_info.unstake_time.is_some()); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?7. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1829:42 [out] assert!(staker_info.unstake_time.is_some()); [out] ^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:75:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:135:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:210:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:296:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:423:9 [out] system.staker_exit_intent(staker: staker2); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:369:9 [out] system.staker_exit_intent(staker: staker1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:509:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:596:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:663:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1303:13 [out] let delegator_info = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1352:13 [out] let staker_info = system.staker_info_v1(:staker); [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1443:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1586:9 [out] system.staker_exit_intent(staker: staker1); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1815:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1866:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1953:13 [out] let delegator_info_second_pool = system.pool_member_info_v1(:delegator, pool: second_pool); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:1951:13 [out] let delegator_info_first_pool = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2070:45-2072:30 [out] let unclaimed_rewards_after_claim = system [out] _____________________________________________^ [out] | .pool_member_info_v1(:delegator, :pool) [out] | .unclaimed_rewards; [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2066:33 [out] let unclaimed_rewards = system.pool_member_info_v1(:delegator, :pool).unclaimed_rewards; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2152:13 [out] let delegator_info_second_pool = system.pool_member_info_v1(:delegator, pool: second_pool); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2149:13 [out] let delegator_info_first_pool = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2209:13 [out] let staker_info = system.staker_info_v1(:staker); [out] ^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2261:28 [out] let stake_amount = staker_info.amount_own / 2; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2421:36-2423:30 [out] let calculates_rewards_3 = system [out] ____________________________________^ [out] | .pool_member_info_v1(delegator: delegator_3, :pool) [out] | .unclaimed_rewards; [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2418:36-2420:30 [out] let calculates_rewards_2 = system [out] ____________________________________^ [out] | .pool_member_info_v1(delegator: delegator_2, :pool) [out] | .unclaimed_rewards; [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2415:36-2417:30 [out] let calculates_rewards_1 = system [out] ____________________________________^ [out] | .pool_member_info_v1(delegator: delegator_1, :pool) [out] | .unclaimed_rewards; [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2525:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2513:13 [out] let pool_member_info = system [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2733:36-2735:30 [out] let calculated_rewards_2 = system [out] ____________________________________^ [out] | .pool_member_info_v1(delegator: delegator_2, :pool) [out] | .unclaimed_rewards; [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2730:36-2732:30 [out] let calculated_rewards_1 = system [out] ____________________________________^ [out] | .pool_member_info_v1(delegator: delegator_1, :pool) [out] | .unclaimed_rewards; [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2833:13 [out] let pool_member_info = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2814:13 [out] let delegator_info = self.delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:2907:13 [out] let delegator_info = self.delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3047:13 [out] let delegator_info = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3077:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3161:9 [out] system.staker_exit_intent(staker: staker2); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3228:13 [out] let delegator_info = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3308:9 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3397:9 [out] system.staker_exit_intent(staker: second_staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3385:9 [out] system.staker_exit_intent(staker: first_staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::flows::BasicStakeFlowDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3496:13 [out] let third_delegator_info = self.third_delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3494:13 [out] let second_delegator_info = self.second_delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3492:13 [out] let first_delegator_info = self.first_delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3781:13-3783:23 [out] system [out] _____________^ [out] | .pool_member_info_v1(delegator: second_delegator, pool: to_pool) [out] | .amount == stake_amount [out] |_______________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3778:13 [out] system.pool_member_info(delegator: second_delegator, :pool).amount == stake_amount / 2, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3764:13-3766:23 [out] system [out] _____________^ [out] | .pool_member_info_v1(delegator: first_delegator, pool: to_pool) [out] | .amount == stake_amount, [out] |_______________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3847:17 [out] assert!(system.pool_member_info_v1(:delegator, :pool).amount == delegate_amount); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3930:13 [out] let third_delegator_info = self.third_delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3963:13-3965:30 [out] system [out] _____________^ [out] | .pool_member_info(delegator: second_delegator, :pool) [out] | .unpool_amount == second_delegator_info [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3956:13-3958:23 [out] system [out] _____________^ [out] | .pool_member_info(delegator: second_delegator, :pool) [out] | .amount == second_delegator_info [out] |_______________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3928:13 [out] let second_delegator_info = self.second_delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3938:13-3940:30 [out] system [out] _____________^ [out] | .pool_member_info(delegator: first_delegator, :pool) [out] | .unpool_amount == first_delegator_info [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3936:17 [out] assert!(system.pool_member_info(delegator: first_delegator, :pool).amount.is_zero()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:3926:13 [out] let first_delegator_info = self.first_delegator_info.unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4026:17 [out] assert!(system.pool_member_info_v1(:delegator, :pool).unclaimed_rewards.is_non_zero()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4025:17 [out] assert!(system.pool_member_info_v1(:delegator, :pool).amount == stake_amount); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4019:17 [out] assert!(system.pool_member_info_v1(:delegator, :pool).amount.is_zero()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4089:45 [out] strk_epoch_rewards_after_set == system.staker_info_v1(:staker).unclaimed_rewards_own, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4134:17 [out] assert!(system.pool_member_info_v1(:delegator, :pool).unclaimed_rewards.is_zero()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4186:13 [out] let pool_member_info = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo:4180:13 [out] let pool_member_info = system.pool_member_info_v1(:delegator, :pool); [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] warn: Unused import: `staking::flow_test::test::SystemFactoryTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:5:81 [out] RewardSupplierTrait, StakingTrait, SystemConfigTrait, SystemDelegatorTrait, SystemFactoryTrait, [out] ^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::test::SystemReplaceabilityV1Trait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:6:5 [out] SystemReplaceabilityV1Trait, SystemStakerTrait, SystemTrait, test_flow_local, test_flow_mainnet, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::test::test_flow_mainnet` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:6:83 [out] SystemReplaceabilityV1Trait, SystemStakerTrait, SystemTrait, test_flow_local, test_flow_mainnet, [out] ^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::test::Error` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:8:31 [out] use staking::staking::errors::Error; [out] ^^^^^ [out] [out] warn: Unused import: `staking::flow_test::test::Describable` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:10:30 [out] use starkware_utils::errors::Describable; [out] ^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::test::assert_panic_with_error` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:13:55 [out] use starkware_utils_testing::test_utils::{TokenTrait, assert_panic_with_error}; [out] ^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo:12:22 [out] use starkware_utils::types::time::time::Time; [out] ^^^^^ [out] [out] error[E0002]: Method `div` not found on type ``. Consider importing one of the following traits: `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:32:69 [out] system.advance_time(time: system.staking.get_exit_wait_window().div(divider: 2)); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:52:5 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:96:5 [out] system.staker_exit_intent(staker: second_staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:91:5 [out] system.staker_exit_intent(staker: first_staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:89:5 [out] system.staker_exit_intent(staker: staker_A); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:88:5 [out] system.staker_exit_intent(staker: staker_B); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:59:5 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo[proc_test][proc___internal_config_statement]:52:5 [out] system.staker_exit_intent(:staker); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] warn: Unused import: `staking::flow_test::utils::CheatSpan` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:12:5 [out] CheatSpan, ContractClassTrait, DeclareResultTrait, cheat_caller_address, [out] ^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::utils::cheat_caller_address` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:12:56 [out] CheatSpan, ContractClassTrait, DeclareResultTrait, cheat_caller_address, [out] ^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::utils::IStakingPoolDispatcherTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:33:29 [out] IStakingPoolDispatcher, IStakingPoolDispatcherTrait, IStakingPoolSafeDispatcher, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::flow_test::utils::IStakingPoolSafeDispatcherTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:34:5 [out] IStakingPoolSafeDispatcherTrait, IStakingSafeDispatcher, IStakingSafeDispatcherTrait, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:65:22 [out] use starkware_utils::types::time::time::{Time, TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?7. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:204:66 [out] let contract_address_salt: felt252 = Time::now().seconds.into(); [out] ^^^^ [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:470:66 [out] let contract_address_salt: felt252 = Time::now().seconds.into(); [out] ^^^^ [out] [out] error: Type annotations needed. Failed to infer ?8. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:602:66 [out] let contract_address_salt: felt252 = Time::now().seconds.into(); [out] ^^^^ [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:701:66 [out] let contract_address_salt: felt252 = Time::now().seconds.into(); [out] ^^^^ [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:955:73 [out] start_cheat_block_timestamp_global(block_timestamp: Time::now().add(delta: time).into()) [out] ^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:318:13 [out] self.dispatcher_v0_for_tests().contract_parameters().min_stake [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::flow_test::utils::StakingRolesDrop`, `staking::flow_test::utils::StakingConfigDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:320:13 [out] self.dispatcher().contract_parameters_v1().min_stake [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::flow_test::utils::StakingRolesDrop`, `staking::flow_test::utils::StakingConfigDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:326:13 [out] self.dispatcher_v0_for_tests().contract_parameters().token_address [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::flow_test::utils::StakingRolesDrop`, `staking::flow_test::utils::StakingConfigDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:328:13 [out] self.dispatcher().contract_parameters_v1().token_address [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::flow_test::utils::StakingRolesDrop`, `staking::flow_test::utils::StakingConfigDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:787:29 [out] fn basic_stake_flow_cfg(cfg: StakingInitConfig) -> SystemConfig { [out] ^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::flow_test::utils::StakingRolesDrop`, `staking::flow_test::utils::StakingConfigDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:1152:33 [out] let token_address = self.staking.dispatcher().contract_parameters_v1().token_address; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `+Drop`, `staking::flow_test::utils::StakingRolesDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo:1241:13 [out] let staker_info = self.staker_info_v1(:staker); [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:3:22 [out] use starkware_utils::types::time::time::Timestamp; [out] ^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:166:10 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:166:16 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:166:27 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:166:34 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:166:57 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:166:40 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:98:26 [out] use starkware_utils::types::time::time::Timestamp; [out] ^^^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::pool::interface::Events::PoolMemberExitIntentDebug`, `staking::pool::interface::Events::PoolMemberExitActionDebug` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:100:14 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^ [out] [out] error: Trait `core::traits::PartialEq::<>` has multiple implementations, in: `staking::pool::interface::Events::PoolMemberExitIntentPartialEq`, `staking::pool::interface::Events::PoolMemberExitActionPartialEq` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:100:27 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:100:38 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo:100:38 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:7:22 [out] use starkware_utils::types::time::time::Timestamp; [out] ^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:21:10 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:21:16 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:21:27 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:21:34 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:21:57 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:21:40 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:58:20 [out] fn to_internal(self: PoolMemberInfo) -> InternalPoolMemberInfoV1 { [out] ^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo:68:32-72:13 [out] reward_checkpoint: PoolMemberCheckpointTrait::new( [out] ________________________________^ [out] | ... [out] | ), [out] |_____________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:10:22 [out] use starkware_utils::types::time::time::Timestamp; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?7. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:129:30 [out] unpool_time: Option::None, [out] ^^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:18:10 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:18:16 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:18:27 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:18:34 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:18:57 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:18:40 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:39:10 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:39:16 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:39:27 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:39:34 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:39:57 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:39:40 [out] #[derive(Drop, PartialEq, Serde, Copy, starknet::Store, Debug)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:85:13 [out] let pool_member_info: PoolMemberInfo = library_dispatcher.pool_member_info(pool_member); [out] ^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:95:32-99:13 [out] reward_checkpoint: PoolMemberCheckpointTrait::new( [out] ________________________________^ [out] | ... [out] | ), [out] |_____________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:162:20 [out] fn to_internal(self: PoolMemberInfoV1) -> InternalPoolMemberInfoV1 { [out] ^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo:172:32-176:13 [out] reward_checkpoint: PoolMemberCheckpointTrait::new( [out] ________________________________^ [out] | ... [out] | ), [out] |_____________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] warn: Unused import: `staking::pool::pool::Pool::StakerInfoV1Trait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:27:38 [out] IStakingPoolDispatcherTrait, StakerInfoV1Trait, [out] ^^^^^^^^^^^^^^^^^ [out] [out] warn: Plugin diagnostic: Failed to generate ABI: Got unexpected type. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:1:1 [out] #[starknet::contract] [out] ^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:45:26 [out] use starkware_utils::types::time::time::{Time, Timestamp}; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?8. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:233:48 [out] pool_member_info.unpool_time = Option::None; [out] ^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:266:18 [out] .expect_with_err(Error::MISSING_UNDELEGATE_INTENT); [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?11. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:353:50 [out] assert!(pool_member_info.unpool_time.is_some(), "{}", Error::MISSING_UNDELEGATE_INTENT); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:609:78 [out] self.internal_pool_member_info(:pool_member).unpool_time.is_none(), [out] ^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:190:17 [out] let pool_member_info = self.internal_pool_member_info(:pool_member); [out] ^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:193:50 [out] caller_address == pool_member || caller_address == pool_member_info.reward_address, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:301:17 [out] let mut pool_member_info = self.internal_pool_member_info(:pool_member); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:321:59 [out] pool_member_info._unclaimed_rewards_from_v0 = Zero::zero(); [out] ^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:408:30 [out] Option::Some(pool_member_info) => { [out] ^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:417:21 [out] self.increase_next_epoch_balance(:pool_member, :amount); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:490:17 [out] let pool_member_info = self.internal_pool_member_info(:pool_member); [out] ^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:502:29 [out] commission: self.get_commission_from_staking_contract(), [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:688:17 [out] self.internal_pool_member_info(:pool_member)._deprecated_amount [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:723:24 [out] return self.internal_pool_member_info(:pool_member)._deprecated_amount; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:739:24 [out] return self.internal_pool_member_info(:pool_member)._deprecated_amount; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo:900:13 [out] staking_dispatcher.contract_parameters_v1().token_address [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::pool::pool::Pool::ContractStateDrop`, `staking::pool::pool::Pool::EventDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] warn: Unused import: `staking::pool::pool_member_balance_trace::mock::MockTrace::VecIndex` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool_member_balance_trace/mock.cairo:24:65 [out] use super::{Epoch, PoolMemberBalance, PoolMemberCheckpoint, VecIndex}; [out] ^^^^^^^^ [out] [out] warn: Unused import: `staking::pool::test::POOL_MEMBER_UNCLAIMED_REWARDS` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo:8:5 [out] POOL_MEMBER_UNCLAIMED_REWARDS, STRK_TOKEN_NAME, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::pool::test::BASE_VALUE` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo:26:25 [out] use staking::constants::BASE_VALUE; [out] ^^^^^^^^^^ [out] [out] warn: Unused import: `staking::pool::test::set_account_as_upgrade_governor` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo:59:5 [out] set_account_as_upgrade_governor, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo:56:22 [out] use starkware_utils::types::time::time::Time; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:33:22 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:30:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:62:14 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window) [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] warn[E0001]: Unused variable. Consider ignoring by prefixing with `_`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:25:9 [out] let staking_dispatcher = IStakingDispatcher { contract_address: staking_contract }; [out] ^^^^^^^^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?39. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:59:51 [out] unpool_amount: Zero::zero(), unpool_time: Option::None, ..pool_member_info_before_switch, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?8. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:48:22 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:38:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?12. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:29:70 [out] start_cheat_block_timestamp_global(block_timestamp: unstake_time.into()); [out] ^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:18:22 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?6. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:21:22 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?6. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:20:22 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:18:22 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?8. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:25:34 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?7. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:20:26 [out] unpool_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?14. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:31:70 [out] start_cheat_block_timestamp_global(block_timestamp: unstake_time.into()); [out] ^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:33:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:17:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:32:5 [out] assert_panic_with_error(:result, expected_error: GenericError::AMOUNT_IS_ZERO.describe()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:34:9 [out] let pool_member_info_after_add = pool_dispatcher.pool_member_info_v1(:pool_member); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:28:9 [out] let pool_member_info_before_add = pool_dispatcher.pool_member_info_v1(:pool_member); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:36:17 [out] amount: pool_member_info_before_add.amount + delegate_amount, ..pool_member_info_before_add, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:23:9 [out] let pool_member_info = cfg.pool_member_info; [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:23:9 [out] let pool_member_info_before_add = pool_dispatcher.pool_member_info_v1(:pool_member); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:45:17 [out] amount: pool_member_info_before_add.amount + delegate_amount, ..pool_member_info_before_add, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:21:9 [out] let pool_member_info = cfg.pool_member_info; [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:25:89 [out] let staking_contract = deploy_staking_contract(:token_address, :btc_token_address, :cfg); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:23:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:18:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:92:9 [out] let pool_member_info = pool_dispatcher.pool_member_info_v1(:pool_member); [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:82:10 [out] :cfg, :pool_contract, rewards: pool_rewards_for_epoch, :pool_balance, [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:59:10 [out] :cfg, :pool_contract, rewards: pool_rewards_for_epoch, :pool_balance, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:78:34-80:5 [out] let pool_rewards_for_epoch = calculate_pool_rewards( [out] __________________________________^ [out] | :staker_address, :staking_contract, :minting_curve_contract, [out] | ); [out] |_____^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:66:9 [out] let pool_member_info = pool_dispatcher.pool_member_info_v1(:pool_member); [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:34:10 [out] :cfg, :pool_contract, rewards: pool_rewards_for_epoch, :pool_balance, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:55:34-57:5 [out] let pool_rewards_for_epoch = calculate_pool_rewards( [out] __________________________________^ [out] | :staker_address, :staking_contract, :minting_curve_contract, [out] | ); [out] |_____^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:43:9 [out] let pool_member_info = pool_dispatcher.pool_member_info_v1(:pool_member); [out] ^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:20:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:30:34-32:5 [out] let pool_rewards_for_epoch = calculate_pool_rewards( [out] __________________________________^ [out] | :staker_address, :staking_contract, :minting_curve_contract, [out] | ); [out] |_____^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:18:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:25:44 [out] let to_pool = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:18:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:24:9 [out] let mut expected_pool_member_info: InternalPoolMemberInfoLatest = cfg.pool_member_info; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:27:35 [out] let option_pool_member_info = pool_dispatcher.get_internal_pool_member_info(:pool_member); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:33:28 [out] assert!(rewards * 2 == pool_dispatcher.pool_member_info_v1(:pool_member).unclaimed_rewards); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:28:24 [out] assert!(rewards == pool_dispatcher.pool_member_info_v1(:pool_member).unclaimed_rewards); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement]:24:24 [out] let pool_balance = pool_dispatcher.pool_member_info_v1(:pool_member).amount; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo:37:22 [out] use starkware_utils::types::time::time::Time; [out] ^^^^^ [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement]:20:39 [out] let block_timestamp = Time::now().add(delta: Time::seconds(count: 1)); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement]:24:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement]:14:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] warn: Unused import: `staking::staking::eic_v1_v2::StakingEICV1toV2::Mutable` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:14:34 [out] use starknet::storage::{Map, Mutable, StorageBase, StoragePathEntry, StoragePointerReadAccess}; [out] ^^^^^^^ [out] [out] warn: Unused import: `staking::staking::eic_v1_v2::StakingEICV1toV2::StorageBase` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:14:43 [out] use starknet::storage::{Map, Mutable, StorageBase, StoragePathEntry, StoragePointerReadAccess}; [out] ^^^^^^^^^^^ [out] [out] warn: Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:30:21 [out] btc_tokens: IterableMap, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:16:26 [out] use starkware_utils::iterable_map::{ [out] ^^^^^^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:67:29 [out] self.btc_tokens.write(token_address, true); [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:22:5 [out] #[storage] [out] ^^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseDrop:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:22:5 [out] #[storage] [out] ^^^^^^^^^^ [out] [out] error: Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseCopy:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo:22:5 [out] #[storage] [out] ^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:9:22 [out] use starkware_utils::types::time::time::{TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:12:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:12:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?3. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:12:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?3. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:12:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:81:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:81:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?3. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:81:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?3. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:81:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Trait `core::serde::Serde::<>` has multiple implementations, in: `staking::staking::interface::StakingContractInfoV1Serde`, `staking::staking::interface::StakerInfoV1Serde` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:168:1 [out] #[starknet::interface] [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::staking::interface::StakingContractInfoV1Debug`, `staking::staking::interface::StakerInfoV1Debug` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:421:16 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^ [out] [out] error: Trait `core::traits::PartialEq::<>` has multiple implementations, in: `staking::staking::interface::StakingContractInfoV1PartialEq`, `staking::staking::interface::StakerInfoV1PartialEq` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:421:29 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^^^^^ [out] [out] error: Trait `core::serde::Serde::<>` has multiple implementations, in: `staking::staking::interface::StakingContractInfoV1Serde`, `staking::staking::interface::StakerInfoV1Serde` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:421:40 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:432:10 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:432:17 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:432:28 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:432:34 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:432:41 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:432:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:467:22 [out] fn get_pool_info(self: StakerInfoV1) -> StakerPoolInfoV1 { [out] ^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:213:26 [out] use starkware_utils::types::time::time::Timestamp; [out] ^^^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::staking::interface::Events::StakeOwnBalanceChangedDebug`, `staking::staking::interface::Events::StakeDelegatedBalanceChangedDebug` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:267:14 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^ [out] [out] error: Trait `core::traits::PartialEq::<>` has multiple implementations, in: `staking::staking::interface::Events::StakeOwnBalanceChangedPartialEq`, `staking::staking::interface::Events::StakeDelegatedBalanceChangedPartialEq` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:267:27 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:267:38 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:267:38 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:394:26 [out] use starkware_utils::types::time::time::TimeDelta; [out] ^^^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::staking::interface::ConfigEvents::MinimumStakeChangedDebug`, `staking::staking::interface::ConfigEvents::ExitWaitWindowChangedDebug` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:401:14 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^ [out] [out] error: Trait `core::traits::PartialEq::<>` has multiple implementations, in: `staking::staking::interface::ConfigEvents::MinimumStakeChangedPartialEq`, `staking::staking::interface::ConfigEvents::ExitWaitWindowChangedPartialEq` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:401:27 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:401:38 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo:401:38 [out] #[derive(Debug, Drop, PartialEq, starknet::Event)] [out] ^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:6:22 [out] use starkware_utils::types::time::time::{TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:37:10 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:37:17 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:37:28 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:37:34 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:37:41 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:37:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::staking::interface_v0::StakerInfoDebug`, `staking::staking::interface_v0::StakerPoolInfoDebug` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:88:16 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^ [out] [out] error: Trait `core::traits::PartialEq::<>` has multiple implementations, in: `staking::staking::interface_v0::StakerInfoPartialEq`, `staking::staking::interface_v0::StakerPoolInfoPartialEq` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:88:29 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^^^^^ [out] [out] error: Trait `core::serde::Serde::<>` has multiple implementations, in: `staking::staking::interface_v0::StakerInfoSerde`, `staking::staking::interface_v0::StakerPoolInfoSerde` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:88:40 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo:50:22 [out] fn get_pool_info(self: StakerInfo) -> StakerPoolInfo { [out] ^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] warn: Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:428:23 [out] pub(crate) pools: IterableMap, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:13:22 [out] use starkware_utils::iterable_map::{ [out] ^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:17:22 [out] use starkware_utils::types::time::time::{Time, TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:40:26 [out] unpool_time: Zero::zero(), amount: Zero::zero(), staker_address: Zero::zero(), [out] ^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:57:26 [out] self.unpool_time.is_zero() == self.amount.is_zero() [out] ^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:464:20 [out] self.pools.read(pool_contract) [out] ^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:469:35 [out] for (pool_contract, _) in self.pools { [out] ^^^^^^^^^^ [out] [out] error[E0002]: Method `len` could not be called on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::array::ArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::<>` and `@core::array::Array::`. [out] Candidate `core::array::SpanTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::<>` and `core::array::Span::`. [out] Candidate `core::byte_array::ByteArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::<>` and `@core::byte_array::ByteArray`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:477:20 [out] self.pools.len() > 0 [out] ^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:484:47 [out] for (pool_contract, token_address) in self.pools { [out] ^^^^^^^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:495:40 [out] for (_, pool_token_address) in self.pools { [out] ^^^^^^^^^^ [out] [out] error[E0002]: Method `len` could not be called on type `core::starknet::storage::PendingStoragePath::>>`. [out] Candidate `core::array::ArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::>>` and `@core::array::Array::`. [out] Candidate `core::array::SpanTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::>>` and `core::array::Span::`. [out] Candidate `core::byte_array::ByteArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::>>` and `@core::byte_array::ByteArray`. [out] Candidate `core::array::ArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::StoragePath::>>` and `@core::array::Array::`. [out] Candidate `core::array::SpanTrait::len` inference failed with: Type mismatch: `core::starknet::storage::StoragePath::>>` and `core::array::Span::`. [out] Candidate `core::byte_array::ByteArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::StoragePath::>>` and `@core::byte_array::ByteArray`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:525:20 [out] self.pools.len() > 0 [out] ^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::>>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>>. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:532:40 [out] for (_, pool_token_address) in self.pools { [out] ^^^^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:545:20 [out] self.pools.write(pool_contract, token_address); [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:648:31 [out] unstake_time: Option::None, [out] ^^^^^^ [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:679:21 [out] Time::now().add(delta: exit_wait_window) [out] ^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::staking::objects::UndelegateIntentValueDebug`, `staking::staking::objects::EpochInfoDebug` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:29:10 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Trait `core::traits::PartialEq::<>` has multiple implementations, in: `staking::staking::objects::UndelegateIntentValuePartialEq`, `staking::staking::objects::EpochInfoPartialEq` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:29:17 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^ [out] [out] error: Trait `core::serde::Serde::<>` has multiple implementations, in: `staking::staking::objects::UndelegateIntentKeySerde`, `staking::staking::objects::UndelegateIntentValueSerde` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:29:34 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Trait `core::starknet::storage_access::Store::<>` has multiple implementations, in: `staking::staking::objects::UndelegateIntentKeyStore`, `staking::staking::objects::UndelegateIntentValueStore` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:29:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:423:1 [out] #[starknet::storage_node] [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?3. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:423:1 [out] #[starknet::storage_node] [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:562:10 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:562:17 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:562:28 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:562:34 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:562:41 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:562:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Cannot infer trait core::fmt::Debug::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:575:10 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:575:17 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:575:28 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::serde::Serde::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:575:34 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^ [out] [out] error: Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:575:41 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^ [out] [out] error: Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:575:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Candidate impl core::starknet::storage::StoragePointerDrop:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:29:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Invalid copy trait implementation, Candidate impl core::starknet::storage::StoragePointerCopy:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:29:47 [out] #[derive(Debug, PartialEq, Drop, Serde, Copy, starknet::Store)] [out] ^^^^^^^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseDrop:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:423:1 [out] #[starknet::storage_node] [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseCopy:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:423:1 [out] #[starknet::storage_node] [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Invalid drop trait implementation, Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:423:1 [out] #[starknet::storage_node] [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Invalid copy trait implementation, Candidate impl core::starknet::storage::PendingStoragePathCopy:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:423:1 [out] #[starknet::storage_node] [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:444:9 [out] self.commission.read() [out] ^^^^^^^^^^^^^^^ [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:448:9 [out] self.commission.read().expect_with_err(Error::COMMISSION_NOT_SET) [out] ^^^^^^^^^^^^^^^ [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:454:9 [out] self.commission_commitment.read() [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:458:9 [out] self.commission_commitment.read().expect_with_err(Error::COMMISSION_COMMITMENT_NOT_SET) [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:692:13 [out] fn into(self: InternalStakerInfoLatest) -> StakerInfoV1 { [out] ^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo:703:33 [out] amount: Zero::zero(), [out] ^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/pause_test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:26:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/pause_test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/pause_test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:26:5-29:9 [out] staking_pool_dispatcher [out] _____^ [out] | ... [out] | ); [out] |_________^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] warn: Unused import: `staking::staking::staking::Staking::DEFAULT_EXIT_WAIT_WINDOW` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:11:9 [out] DEFAULT_EXIT_WAIT_WINDOW, MAX_EXIT_WAIT_WINDOW, STAKING_V2_PREV_CONTRACT_VERSION, [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::STRK_TOKEN_ADDRESS` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:12:25 [out] STARTING_EPOCH, STRK_TOKEN_ADDRESS, [out] ^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::InternalStakerInfoConvertTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:28:9 [out] InternalStakerInfoConvertTrait, InternalStakerInfoLatestTrait, InternalStakerInfoTrait, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::InternalStakerInfoTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:28:72 [out] InternalStakerInfoConvertTrait, InternalStakerInfoLatestTrait, InternalStakerInfoTrait, [out] ^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::StakerBalance` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:34:41 [out] MutableStakerBalanceTraceTrait, StakerBalance, StakerBalanceTrace, StakerBalanceTraceTrait, [out] ^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::StakerBalanceTraceTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:34:76 [out] MutableStakerBalanceTraceTrait, StakerBalance, StakerBalanceTrace, StakerBalanceTraceTrait, [out] ^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::Index` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:38:36 [out] Amount, Commission, Epoch, Index, InternalStakerInfoLatest, InternalStakerPoolInfoLatest, [out] ^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::InternalStakerPoolInfoLatest` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:38:69 [out] Amount, Commission, Epoch, Index, InternalStakerInfoLatest, InternalStakerPoolInfoLatest, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::staking::Staking::PendingStoragePath` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:47:23 [out] Map, Mutable, PendingStoragePath, StoragePath, StoragePathEntry, StoragePointerReadAccess, [out] ^^^^^^^^^^^^^^^^^^ [out] [out] warn: Plugin diagnostic: Failed to generate ABI: Got unexpected type. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1:1 [out] #[starknet::contract] [out] ^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:119:27 [out] exit_wait_window: TimeDelta, [out] ^^^^^^^^^ [out] [out] warn: Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:146:21 [out] btc_tokens: IterableMap, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:57:26 [out] use starkware_utils::iterable_map::{ [out] ^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:63:26 [out] use starkware_utils::types::time::time::{Time, TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:209:31 [out] self.exit_wait_window.write(DEFAULT_EXIT_WAIT_WINDOW); [out] ^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:219:25 [out] self.btc_tokens.write(btc_token_address, true); [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:314:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:376:44 [out] let unstake_time = Time::now().add(delta: self.exit_wait_window.read()); [out] ^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:381:39 [out] for (_, token_address) in self.internal_staker_pool_info(:staker_address).pools() { [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?1. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:418:18 [out] .expect_with_err(Error::MISSING_UNSTAKE_INTENT); [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:466:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:541:51 [out] for (pool_contract, token_address) in internal_staker_pool_info.pools() { [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:564:57 [out] exit_wait_window: self.exit_wait_window.read(), [out] ^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::storage_base::StorageBase::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:578:47 [out] for (token_address, is_active) in self.btc_tokens { [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?14. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:609:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?11. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:653:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?11. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:674:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::storage_base::StorageBase::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:719:47 [out] for (token_address, is_active) in self.btc_tokens { [out] ^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:790:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?10. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:870:41 [out] if staker_info.unstake_time.is_none() { [out] ^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?6. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:891:17 [out] Time::now() >= undelegate_intent.unpool_time, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?25. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:953:49 [out] assert!(to_staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1045:57 [out] let old_exit_window = self.exit_wait_window.read(); [out] ^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1046:35 [out] self.exit_wait_window.write(exit_wait_window); [out] ^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1085:33 [out] self.btc_tokens.read(token_address).is_none(), "{}", Error::TOKEN_ALREADY_EXISTS, [out] ^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::option::OptionTrait::is_none and staking::staking::objects::VersionedInternalStakerInfoTrait::is_none. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1085:53 [out] self.btc_tokens.read(token_address).is_none(), "{}", Error::TOKEN_ALREADY_EXISTS, [out] ^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1087:29 [out] self.btc_tokens.write(token_address, false); [out] ^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1098:63 [out] let is_active_opt: Option = self.btc_tokens.read(token_address); [out] ^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1101:29 [out] self.btc_tokens.write(token_address, true); [out] ^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1107:63 [out] let is_active_opt: Option = self.btc_tokens.read(token_address); [out] ^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1110:29 [out] self.btc_tokens.write(token_address, false); [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?13. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1132:46 [out] assert!(staker_info.unstake_time.is_none(), "{}", Error::UNSTAKE_IN_PROGRESS); [out] ^^^^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1369:51 [out] for (pool_contract, token_address) in staker_pool_info.pools() { [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1413:70 [out] let contract_address_salt: felt252 = Time::now().seconds.into(); [out] ^^^^ [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1512:41 [out] if staker_info.unstake_time.is_none() { [out] ^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1538:82 [out] .compute_unpool_time(exit_wait_window: self.exit_wait_window.read()); [out] ^^^^ [out] [out] error: Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1578:51 [out] for (pool_contract, token_address) in staker_pool_info.pools() { [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1803:36 [out] || self.btc_tokens.read(token_address).is_some() [out] ^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1808:36 [out] || self.btc_tokens.read(token_address) == Option::Some(true) [out] ^^^^ [out] [out] error: Type annotations needed. Failed to infer ?24. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:81:5 [out] #[storage] [out] ^^^^^^^^^^ [out] [out] error: Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:368:9-410:9 [out] fn unstake_intent(ref self: ContractState) -> Timestamp { [out] _________^ [out] | ... [out] | } [out] |_________^ [out] [out] error: Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:823:9-879:9 [out] fn remove_from_delegation_pool_intent( [out] _________^ [out] | ... [out] | } [out] |_________^ [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1042:9-1053:9 [out] fn set_exit_wait_window(ref self: ContractState, exit_wait_window: TimeDelta) { [out] _________^ [out] | ... [out] | } [out] |_________^ [out] [out] error: Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseDrop:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:81:5 [out] #[storage] [out] ^^^^^^^^^^ [out] [out] error: Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseCopy:: has an unused generic parameter. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:81:5 [out] #[storage] [out] ^^^^^^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:349:17 [out] let mut staker_info = self.internal_staker_info(:staker_address); [out] ^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:362:36 [out] let token_dispatcher = self.token_dispatcher.read(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:501:17 [out] let mut staker_info: StakerInfoV1 = internal_staker_info.into(); [out] ^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:512:34 [out] let commission = staker_pool_info.commission(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:756:17 [out] let internal_staker_info = self.internal_staker_info(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1246:13 [out] undelegate_intent: UndelegateIntentValue, [out] ^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::staking::staking::Staking::ContractStateDrop`, `staking::staking::staking::Staking::EventDrop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1325:17 [out] ref staker_info: InternalStakerInfoLatest, [out] ^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1334:13 [out] self.emit(Events::StakerRewardClaimed { staker_address, reward_address, amount }); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo:1386:13 [out] staker_info: InternalStakerInfoLatest, [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] warn: Unused import: `staking::staking::test::MAINNET_SECURITY_COUNSEL_ADDRESS` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:4:57 [out] EPOCH_DURATION, EPOCH_LENGTH, EPOCH_STARTING_BLOCK, MAINNET_SECURITY_COUNSEL_ADDRESS, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::STARTING_BLOCK_OFFSET` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:7:47 [out] STAKER_ADDRESS, STAKER_UNCLAIMED_REWARDS, STARTING_BLOCK_OFFSET, STRK_TOKEN_NAME, UNPOOL_TIME, [out] ^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::BASE_VALUE` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:33:5 [out] BASE_VALUE, DEFAULT_EXIT_WAIT_WINDOW, MAX_EXIT_WAIT_WINDOW, STAKING_V2_PREV_CONTRACT_VERSION, [out] ^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::STRK_TOKEN_ADDRESS` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:34:5 [out] STRK_TOKEN_ADDRESS, V1_PREV_CONTRACT_VERSION, [out] ^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::EpochInfo` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:62:27 [out] AttestationInfoTrait, EpochInfo, EpochInfoTrait, InternalStakerInfoLatestTestTrait, [out] ^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::DAY` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:80:33 [out] use starkware_utils::constants::DAY; [out] ^^^ [out] [out] warn: Unused import: `staking::staking::test::MutableTraceTrait` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:85:37 [out] use starkware_utils::trace::trace::{MutableTraceTrait, Trace}; [out] ^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::Trace` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:85:56 [out] use starkware_utils::trace::trace::{MutableTraceTrait, Trace}; [out] ^^^^^ [out] [out] warn: Unused import: `staking::staking::test::calculate_pool_member_rewards` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:92:14 [out] approve, calculate_pool_member_rewards, calculate_staker_own_rewards_including_commission, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::staking::test::declare_staking_eic_contract_v0_v1` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:95:5 [out] declare_staking_eic_contract_v0_v1, declare_staking_eic_contract_v1_v2, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:82:22 [out] use starkware_utils::iterable_map::{ [out] ^^^^^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo:86:22 [out] use starkware_utils::types::time::time::{Time, TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:44:26 [out] state.btc_tokens.read(cfg.staking_contract_info.btc_token_address) == Option::Some(true), [out] ^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:24:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:24:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:32:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:33:39 [out] block_timestamp: unstake_time.add(delta: Time::seconds(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:48:39 [out] block_timestamp: unstake_time.add(delta: Time::seconds(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:39:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:44:39 [out] block_timestamp: unstake_time.add(delta: Time::seconds(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:67:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:135:10 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?5. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:26:5 [out] assert_panic_with_error(:result, expected_error: GenericError::STAKER_NOT_EXISTS.describe()); [out] ^^^^^^^^^^^^^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:34:14 [out] .add(delta: staking_dispatcher.contract_parameters_v1().exit_wait_window) [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] warn[E0001]: Unused variable. Consider ignoring by prefixing with `_`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:20:9 [out] let staking_dispatcher = IStakingDispatcher { contract_address: staking_contract }; [out] ^^^^^^^^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?59. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:79:56 [out] assert!(actual_undelegate_intent_value.unpool_time.is_non_zero()); [out] ^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?10. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:13 [out] assert!(old_exit_window == staking_dispatcher.contract_parameters_v1().exit_wait_window); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:33:34 [out] unpool_time: Time::now().add(delta: exit_wait_window), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:43:34 [out] unpool_time: Time::now().add(delta: exit_wait_window), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] warn[E0001]: Unused variable. Consider ignoring by prefixing with `_`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:21:9 [out] let exit_wait_window = staking_dispatcher.contract_parameters_v1().exit_wait_window; [out] ^^^^^^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:22 [out] unpool_time: Zero::zero(), amount: Zero::zero(), staker_address: Zero::zero(), [out] ^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:22 [out] unpool_time: Zero::zero(), amount: Zero::zero(), staker_address: Zero::zero(), [out] ^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:15:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:16:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:25:14 [out] .add(delta: exit_wait_window), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:29:36 [out] let unstake_time = Time::now().add(delta: Time::weeks(count: 1)); [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:45:38 [out] block_timestamp: Time::now().add(delta: exit_wait_window).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:15:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?4. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:21:35 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:15:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:55:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Type annotations needed. Failed to infer ?2. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:15:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:34:39 [out] block_timestamp: unstake_time.add(delta: Time::seconds(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Type annotations needed. Failed to infer ?7. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:25:5 [out] new_exit_window.seconds += 1; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Type annotations needed. Failed to infer ?6. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:22 [out] unpool_time: Zero::zero(), amount: 1, staker_address: Zero::zero(), [out] ^^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Type annotations needed. Failed to infer ?8. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:23:23 [out] unstake_time: Option::None, [out] ^^^^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:33:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:37:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:35:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:37:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:37:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error[E0002]: Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:39:38 [out] block_timestamp: Time::now().add(delta: Time::days(count: 1)).into(), [out] ^^^ [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:17:19 [out] let mut spy = snforge_std::spy_events(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:37:5-42:9 [out] state [out] _____^ [out] | ... [out] | ); [out] |_________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:29:9 [out] let mut expected_staker_info = cfg.staker_info.clone(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:37:5-42:9 [out] state [out] _____^ [out] | ... [out] | ); [out] |_________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:32:10 [out] :cfg, :reward_supplier, expected_reward: unclaimed_rewards_own, :token_address, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:34:41-35:60 [out] let staker_balance_before_rewards = token_dispatcher [out] _________________________________________^ [out] | .balance_of(account: cfg.staker_info.reward_address); [out] |____________________________________________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:21:60 [out] let reward_supplier = deploy_reward_supplier_contract(:cfg); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:30:50 [out] expected_staker_info.unclaimed_rewards_own = Zero::zero(); [out] ^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:33:9 [out] let updated_staker_info = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:34:13 [out] assert!(expected_staker_info == updated_staker_info); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:23:9 [out] let expected_staker_info = StakerInfoV1 { [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:33:31 [out] let updated_staker_info = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:21:9 [out] let staker_info_before = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:24:21 [out] amount_own: staker_info_before.amount_own + increase_amount, ..staker_info_before, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:36:9 [out] let mut expected_staker_info = staker_info_before; [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:45:13 [out] assert!(expected_staker_info == updated_staker_info); [out] ^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:16:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:62:9 [out] let staker_info_after_claim = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:50:42 [out] cheat_target_attestation_block_hash(:cfg, :block_hash); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:31:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:14:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:23:5 [out] assert_panic_with_error(:result, expected_error: GenericError::STAKER_NOT_EXISTS.describe()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:29:35-31:23 [out] .get_total_stake() == staking_dispatcher [out] ___________________________________^ [out] | .staker_info_v1(:staker_address) [out] | .amount_own, [out] |_______________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the divergence here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:5 [out] assert!(staking_dispatcher.get_total_stake() == Zero::zero()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:33:44 [out] let to_pool = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:23:89 [out] let staking_contract = deploy_staking_contract(:token_address, :btc_token_address, :cfg); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable was previously moved. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:64:13 [out] assert!(staker_info == expected_staker_info); [out] ^^^^^^^^^^^ [out] note: variable was previously used here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:62:79 [out] unclaimed_rewards_own, pool_info: Option::Some(expected_pool_info), ..staker_info, [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:46:9 [out] let staker_info = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:47:26 [out] let staker_rewards = compute_rewards_rounded_down(amount: staker_info.amount_own, :interest); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:87:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:14:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:32:5 [out] assert_panic_with_error(:result, expected_error: GenericError::STAKER_NOT_EXISTS.describe()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:39:9 [out] let staker_info = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:47:9 [out] let staker_info = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:25:30 [out] assert!(new_min_stake == staking_dispatcher.contract_parameters_v1().min_stake); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:30 [out] assert!(old_min_stake == staking_dispatcher.contract_parameters_v1().min_stake); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:16:9 [out] let new_exit_window = MAX_EXIT_WAIT_WINDOW; [out] ^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:17:5-19:5 [out] cheat_caller_address_once( [out] _____^ [out] | contract_address: staking_contract, caller_address: cfg.test_info.token_admin, [out] | ); [out] |_____^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:25:36 [out] assert!(new_reward_supplier == staking_dispatcher.contract_parameters_v1().reward_supplier); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:36 [out] assert!(old_reward_supplier == staking_dispatcher.contract_parameters_v1().reward_supplier); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:9 [out] let mut expected_staker_info: StakerInfoV1 = cfg.staker_info.into(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:22:23 [out] let staker_info = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:50 [out] let mut expected_staker_info: StakerInfoV1 = cfg.staker_info.into(); [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:19:45 [out] pool_contract: strk_pool_contract, :cfg, :token_address, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:27:32 [out] let btc_delegated_amount = strk_delegated_amount * 2; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:22:9 [out] let mut expected_staker_info: StakerInfoV1 = cfg.staker_info.into(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:26:30 [out] let option_staker_info = staking_dispatcher.get_staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:76:9-78:30 [out] pool_dispatcher [out] _________^ [out] | .pool_member_info_v1(:pool_member) [out] | .unclaimed_rewards == expected_pool_rewards, [out] |______________________________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:32:9 [out] let staker_info_before = staking_dispatcher.staker_info_v1(:staker_address); [out] ^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:51:5-56:5 [out] fund( [out] _____^ [out] | ... [out] | ); [out] |_____^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:48:13 [out] assert!(pool_dispatcher.pool_member_info_v1(:pool_member).unclaimed_rewards.is_zero()); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:41:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:22 [out] unpool_time: UNPOOL_TIME, amount: 1, staker_address: Zero::zero(), [out] ^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:62 [out] unpool_time: UNPOOL_TIME, amount: 1, staker_address: Zero::zero(), [out] ^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:18:9 [out] let mut expected_internal_staker_info = cfg.staker_info; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:21:32 [out] let internal_staker_info = staking_dispatcher.internal_staker_info(:staker_address); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:34:27 [out] let btc_total_stake = pool_dispatcher.pool_member_info_v1(:pool_member).amount; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:31:28 [out] let strk_total_stake = staking_dispatcher.staker_info_v1(:staker_address).amount_own; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:17:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:26:25-27:66 [out] let pool_contract = staking_dispatcher [out] _________________________^ [out] | .set_open_for_delegation(token_address: btc_token_address); [out] |__________________________________________________________________^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:14:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement]:13:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `__internal_config_statement` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:25:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:25:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:20:13 [out] let mut cfg: StakingInitConfig = Default::default(); [out] ^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:34 [out] cfg.test_info.stake_amount = cfg.staking_contract_info.min_stake - 1; [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:28:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:28:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:37:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:36:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:31:5-36:9 [out] staking_pool_dispatcher [out] _____^ [out] | ... [out] | ); [out] |_________^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:26:50 [out] let pool_contract = stake_with_pool_enabled(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:25:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:25:41 [out] stake_for_testing_using_dispatcher(:cfg, :token_address, :staking_contract); [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:29:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:37:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:36:5 [out] staking_dispatcher.unstake_intent(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:24:9 [out] let exit_wait_window = cfg.staking_contract_info.exit_wait_window; [out] ^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:26:5 [out] cheat_caller_address_once(contract_address: staking_contract, caller_address: non_token_admin); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:21:5 [out] general_contract_system_deployment(ref :cfg); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo[proc_test][proc___internal_config_statement][proc_should_panic]:24:36 [out] cfg.test_info.staker_address = Zero::zero(); [out] ^^^^^^^^^^^^ [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] note: this error originates in the attribute macro: `should_panic` [out] [out] warn: Unused import: `staking::test_utils::ContractState` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1:14 [out] use Staking::ContractState; [out] ^^^^^^^^^^^^^ [out] [out] warn: Unused import: `staking::test_utils::IStaking` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:37:5 [out] IStaking, IStakingDispatcher, IStakingDispatcherTrait, IStakingPauseDispatcher, [out] ^^^^^^^^ [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:55:22 [out] use starkware_utils::types::time::time::{TimeDelta, Timestamp}; [out] ^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?7. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:750:14 [out] time.serialize(ref serialized_enum); [out] ^^^^^^^^^ [out] [out] error: Type annotations needed. Failed to infer ?0. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:950:27 [out] unstake_time: Option::None, [out] ^^^^^^ [out] [out] error: Trait `core::fmt::Debug::<>` has multiple implementations, in: `staking::test_utils::StakingContractInfoCfgDebug`, `core::fmt::DebugByteArray` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1029:16 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^ [out] [out] error: Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1029:29 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^^^^^ [out] [out] error: Trait `core::serde::Serde::<>` has multiple implementations, in: `staking::test_utils::StakingContractInfoCfgSerde`, `staking::test_utils::CheckpointSerde` [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1029:40 [out] #[derive(Copy, Debug, Drop, PartialEq, Serde)] [out] ^^^^^ [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:244:9 [out] ref cfg: StakingInitConfig, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:254:5-265:5 [out] initialize_staking_state( [out] _____^ [out] | ... [out] | ) [out] |_____^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::test_utils::TestInfoDrop`, `staking::test_utils::RewardSupplierInfoV1Drop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:374:73 [out] token_address: ContractAddress, btc_token_address: ContractAddress, cfg: StakingInitConfig, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:388:41 [out] let (staking_contract_address, _) = staking_contract.deploy(@calldata).unwrap(); [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::test_utils::TestInfoDrop`, `staking::test_utils::RewardSupplierInfoV1Drop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:453:47 [out] pub(crate) fn deploy_reward_supplier_contract(cfg: StakingInitConfig) -> ContractAddress { [out] ^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::test_utils::TestInfoDrop`, `staking::test_utils::RewardSupplierInfoV1Drop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:543:5 [out] cfg: StakingInitConfig, token_address: ContractAddress, staking_contract: ContractAddress, [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:557:9-561:9 [out] cheat_caller_address( [out] _________^ [out] | ... [out] | ); [out] |_________^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:571:5 [out] cfg: StakingInitConfig, token_address: ContractAddress, staking_contract: ContractAddress, [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:599:37 [out] pool_contract: ContractAddress, cfg: StakingInitConfig, token_address: ContractAddress, [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:650:5 [out] cfg: StakingInitConfig, pool_contract: ContractAddress, rewards: Amount, pool_balance: Amount, [out] ^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::test_utils::TestInfoDrop`, `staking::test_utils::RewardSupplierInfoV1Drop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:781:54 [out] pub(crate) fn general_contract_system_deployment(ref cfg: StakingInitConfig) { [out] ^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:789:29-793:5 [out] let btc_token_address = deploy_mock_erc20_contract( [out] _____________________________^ [out] | ... [out] | ); [out] |_____^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::test_utils::TestInfoDrop`, `staking::test_utils::RewardSupplierInfoV1Drop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1045:5 [out] staker_info: StakerInfo, global_index: Index, [out] ^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1067:32 [out] unclaimed_rewards_own: staker_info.unclaimed_rewards_own + staker_rewards, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1075:5 [out] pool_member_info: PoolMemberInfo, updated_index: Index, [out] ^^^^^^^^^^^^^^^^ [out] note: the variable needs to be dropped due to the potential panic here: [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1086:28 [out] unclaimed_rewards: pool_member_info.unclaimed_rewards + rewards, [out] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1155:34 [out] fn get_staker_commission_rewards(staker_info: StakerInfoV1, pool_rewards: Amount) -> Amount { [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1164:21 [out] fn get_total_amount(staker_info: StakerInfoV1) -> Amount { [out] ^^^^^^^^^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1250:53 [out] pub(crate) fn advance_block_into_attestation_window(cfg: StakingInitConfig, stake: Amount) { [out] ^^^ [out] note: Trait `core::traits::Drop::<>` has multiple implementations, in: `staking::test_utils::TestInfoDrop`, `staking::test_utils::RewardSupplierInfoV1Drop` [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error: Variable not dropped. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:1262:51 [out] pub(crate) fn cheat_target_attestation_block_hash(cfg: StakingInitConfig, block_hash: felt252) { [out] ^^^ [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] [out] error[E0006]: Identifier not found. [out] --> /mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo:69:26 [out] use starkware_utils::types::time::time::Timestamp; [out] ^^^^^ [out] [out] error: could not compile `staking` due to previous error [out] [out] Stack backtrace: [out] 0: anyhow::kind::Adhoc::new [out] 1: anyhow::__private::format_err.100642 [out] 2: std::sys::backtrace::__rust_begin_short_backtrace [out] 3: core::ops::function::FnOnce::call_once{{vtable.shim}} [out] 4: std::sys::pal::unix::thread::Thread::new::thread_start [out] 5: start_thread [out] 6: __clone Process finished with exit code 1 >>> scarb lint --workspace --deny-warnings [err] error: unexpected argument '--deny-warnings' found [err] [err] tip: a similar argument exists: '--no-warnings' [err] [err] Usage: scarb lint --workspace --no-warnings [err] [err] For more information, try '--help'. Process finished with exit code 2 >>> SNFORGE_FUZZER_SEED=1 SNFORGE_IGNORE_FORK_TESTS=1 scarb test --workspace [out] Running test staking (SNFORGE_BACKTRACE=1 snforge test) [out] [ERROR] Package snforge_std version does not meet the minimum required version >=0.44.0. Please upgrade snforge_std in Scarb.toml Process finished with exit code 2 >>> maat-test-ls [err] 0.003920078s WARN cairo_language_server::config: client does not support `workspace/configuration` requests, config will not be reloaded [out] Opening file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/lib.cairo [out] [out] ============================== [out] Analysis completed, server is idle. [out] [out] ============================== [out] # Analyzed Crates [out] [out] - `core`: `["/mnt/maat-cache/scarb/registry/std/v2.11.4/core/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "core", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 2, [out] minor: 11, [out] patch: 4, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: true, [out] associated_item_constraints: true, [out] coupons: true, [out] }, [out] } [out] ``` [out] - `openzeppelin`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin": DependencySettings { [out] discriminator: Some( [out] "openzeppelin 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_access": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_access 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_account": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_account 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_finance": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_finance 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_governance": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_governance 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_merkle_tree": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_merkle_tree 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_presets": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_presets 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_security": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_security 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_token": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_token 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_upgrades": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_upgrades 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_access`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_access-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_access", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_access": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_access 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_account`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_account-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_account", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_account": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_account 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_finance`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_finance-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_finance", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_access": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_access 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_finance": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_finance 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_token": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_token 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_governance`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_governance-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_governance", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_access": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_access 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_account": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_account 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_governance": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_governance 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_token": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_token 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_introspection`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_introspection-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_introspection", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_merkle_tree`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_merkle_tree-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_merkle_tree", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_merkle_tree": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_merkle_tree 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_presets`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_presets-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_presets", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_access": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_access 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_account": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_account 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_finance": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_finance 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_presets": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_presets 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_token": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_token 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_upgrades": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_upgrades 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_security`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_security-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_security", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_security": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_security 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_testing`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_testing-3.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_testing", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 3, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_testing": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_testing 3.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "snforge_std": DependencySettings { [out] discriminator: Some( [out] "snforge_std 0.41.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_token`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_token-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_token", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_access": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_access 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_account": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_account 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_introspection": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_introspection 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_token": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_token 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_upgrades`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_upgrades-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_upgrades", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_upgrades": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_upgrades 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `openzeppelin_utils`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/openzeppelin_utils-1.0.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "openzeppelin_utils", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin_utils": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_utils 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `snforge_std`: `["/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/snforge_std-0.41.0/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "snforge_std", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 0, [out] minor: 41, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "snforge_std": DependencySettings { [out] discriminator: Some( [out] "snforge_std 0.41.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `staking`: `["/mnt/maat-workbench/workspace/apps/staking/contracts/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "staking", [out] ), [out] edition: V2023_11, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 14, [out] patch: 5, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin": DependencySettings { [out] discriminator: Some( [out] "openzeppelin 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "snforge_std": DependencySettings { [out] discriminator: Some( [out] "snforge_std 0.41.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "staking": DependencySettings { [out] discriminator: Some( [out] "staking 1.14.5 (path+file:///mnt/maat-workbench/workspace/apps/staking/contracts/Scarb.toml)", [out] ), [out] }, [out] "starkware_utils": DependencySettings { [out] discriminator: Some( [out] "starkware_utils 1.0.0 (git+https://github.com/starkware-libs/starkware-starknet-utils?branch=main#1b8f31a4f6d565d28d00974a70c5b22e5e86b25e)", [out] ), [out] }, [out] "starkware_utils_testing": DependencySettings { [out] discriminator: Some( [out] "starkware_utils_testing 1.0.0 (git+https://github.com/starkware-libs/starkware-starknet-utils?branch=main#1b8f31a4f6d565d28d00974a70c5b22e5e86b25e)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `starkware_utils`: `["/mnt/maat-cache/scarb/registry/git/checkouts/starkware-starknet-utils-co5ag083kk1bq/1b8f31a/packages/utils/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "starkware_utils", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "starknet-contract", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin": DependencySettings { [out] discriminator: Some( [out] "openzeppelin 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "starkware_utils": DependencySettings { [out] discriminator: Some( [out] "starkware_utils 1.0.0 (git+https://github.com/starkware-libs/starkware-starknet-utils?branch=main#1b8f31a4f6d565d28d00974a70c5b22e5e86b25e)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `starkware_utils_testing`: `["/mnt/maat-cache/scarb/registry/git/checkouts/starkware-starknet-utils-co5ag083kk1bq/1b8f31a/packages/testing/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "starkware_utils_testing", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 0, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "openzeppelin": DependencySettings { [out] discriminator: Some( [out] "openzeppelin 1.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "openzeppelin_testing": DependencySettings { [out] discriminator: Some( [out] "openzeppelin_testing 3.0.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "snforge_std": DependencySettings { [out] discriminator: Some( [out] "snforge_std 0.41.0 (registry+https://scarbs.xyz/)", [out] ), [out] }, [out] "starkware_utils": DependencySettings { [out] discriminator: Some( [out] "starkware_utils 1.0.0 (git+https://github.com/starkware-libs/starkware-starknet-utils?branch=main#1b8f31a4f6d565d28d00974a70c5b22e5e86b25e)", [out] ), [out] }, [out] "starkware_utils_testing": DependencySettings { [out] discriminator: Some( [out] "starkware_utils_testing 1.0.0 (git+https://github.com/starkware-libs/starkware-starknet-utils?branch=main#1b8f31a4f6d565d28d00974a70c5b22e5e86b25e)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] [out] [out] ============================== [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/attestation/test.cairo (47) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 33, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 71, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 170, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 197, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 198, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 207, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 234, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 247, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 248, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 260, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 274, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 286, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 316, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 338, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 356, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 357, Col 0] [out] (W) Unused import: `staking::attestation::test::start_cheat_block_hash_global` [Ln 2, Col 17] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 64, Col 12] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 194, Col 12] [out] (E) Variable not dropped. [Ln 44, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 106, Col 41] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 78, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 176, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 213, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 292, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 292, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/constants.cairo (2) [out] (W) Unused import: `staking::constants::WEEK` [Ln 2, Col 32] [out] (E) Identifier not found. [Ln 3, Col 21] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/event_test_utils.cairo (1) [out] (E) Identifier not found. [Ln 10, Col 21] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/flows.cairo (78) [out] (W) Unused import: `staking::flow_test::flows::V1_PREV_CONTRACT_VERSION` [Ln 2, Col 63] [out] (W) Unused import: `staking::flow_test::flows::MAINNET_POOL_CLASS_HASH_V0` [Ln 4, Col 51] [out] (W) Unused import: `staking::flow_test::flows::upgrade_implementation` [Ln 8, Col 4] [out] (W) Unused import: `staking::flow_test::flows::StakingError` [Ln 14, Col 30] [out] (W) Unused import: `staking::flow_test::flows::UPGRADE_GOVERNOR` [Ln 18, Col 53] [out] (W) Unused import: `staking::flow_test::flows::calculate_block_offset` [Ln 20, Col 4] [out] (W) Unused import: `staking::flow_test::flows::declare_pool_contract` [Ln 21, Col 51] [out] (W) Unused import: `staking::flow_test::flows::declare_pool_eic_contract` [Ln 21, Col 74] [out] (W) Unused import: `staking::flow_test::flows::Index` [Ln 25, Col 41] [out] (W) Unused import: `staking::flow_test::flows::ClassHash` [Ln 27, Col 15] [out] (W) Unused import: `staking::flow_test::flows::EICData` [Ln 28, Col 61] [out] (W) Unused import: `staking::flow_test::flows::ImplementationData` [Ln 28, Col 70] [out] (W) Unused import: `staking::flow_test::flows::set_account_as_upgrade_governor` [Ln 33, Col 68] [out] (E) Identifier not found. [Ln 31, Col 21] [out] (E) Type annotations needed. Failed to infer ?37. [Ln 1678, Col 45] [out] (E) Type annotations needed. Failed to infer ?26. [Ln 1735, Col 43] [out] (E) Type annotations needed. Failed to infer ?8. [Ln 1781, Col 41] [out] (E) Type annotations needed. Failed to infer ?7. [Ln 1828, Col 41] [out] (E) Variable not dropped. [Ln 74, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 134, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 209, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 295, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 422, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 368, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 508, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 595, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 662, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1302, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1351, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1442, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1585, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1814, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1865, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1952, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1950, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2069, Col 44] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2065, Col 32] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2151, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2148, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2208, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2420, Col 35] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2417, Col 35] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2414, Col 35] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2524, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2512, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2732, Col 35] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2729, Col 35] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2832, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2813, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2906, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3046, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3076, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3160, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3227, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3307, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3396, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3384, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3495, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3493, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3491, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3780, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3777, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3763, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3846, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3929, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3962, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3955, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3927, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3937, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3935, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3925, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4025, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4024, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4018, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4088, Col 44] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4133, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4185, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4179, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/test.cairo (45) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 14, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 20, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 26, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 32, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 38, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 44, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 50, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 56, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 62, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 68, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 74, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 80, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 87, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 93, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 99, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 105, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 111, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 117, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 123, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 129, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 135, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 141, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 152, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 153, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 195, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 256, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 334, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 464, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 591, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 690, Col 0] [out] (W) Unused import: `staking::flow_test::test::SystemFactoryTrait` [Ln 4, Col 80] [out] (W) Unused import: `staking::flow_test::test::SystemReplaceabilityV1Trait` [Ln 5, Col 4] [out] (W) Unused import: `staking::flow_test::test::test_flow_mainnet` [Ln 5, Col 82] [out] (W) Unused import: `staking::flow_test::test::Error` [Ln 7, Col 30] [out] (W) Unused import: `staking::flow_test::test::Describable` [Ln 9, Col 29] [out] (W) Unused import: `staking::flow_test::test::assert_panic_with_error` [Ln 12, Col 54] [out] (E) Identifier not found. [Ln 11, Col 21] [out] (E) Method `div` not found on type ``. Consider importing one of the following traits: `starkware_utils::time::time::Time`. [Ln 217, Col 68] [out] (E) Variable not dropped. [Ln 298, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 420, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 415, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 543, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 542, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 640, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 732, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/flow_test/utils.cairo (18) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1721, Col 0] [out] (W) Unused import: `staking::flow_test::utils::CheatSpan` [Ln 11, Col 4] [out] (W) Unused import: `staking::flow_test::utils::cheat_caller_address` [Ln 11, Col 55] [out] (W) Unused import: `staking::flow_test::utils::IStakingPoolDispatcherTrait` [Ln 32, Col 28] [out] (W) Unused import: `staking::flow_test::utils::IStakingPoolSafeDispatcherTrait` [Ln 33, Col 4] [out] (E) Identifier not found. [Ln 64, Col 21] [out] (E) Type annotations needed. Failed to infer ?7. [Ln 203, Col 65] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 469, Col 65] [out] (E) Type annotations needed. Failed to infer ?8. [Ln 601, Col 65] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 700, Col 65] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 954, Col 72] [out] (E) Variable not dropped. [Ln 317, Col 12] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 319, Col 12] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 325, Col 12] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 327, Col 12] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 786, Col 28] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1151, Col 32] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1240, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/minting_curve/test.cairo (10) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 15, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 41, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 67, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 68, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 83, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 84, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 99, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 100, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 115, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 130, Col 0] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface_v0.cairo (8) [out] (E) Identifier not found. [Ln 6, Col 21] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 20, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 20, Col 15] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 20, Col 26] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 20, Col 33] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 20, Col 56] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 20, Col 39] [out] (E) Variable not dropped. [Ln 57, Col 19] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/interface.cairo (13) [out] (E) Identifier not found. [Ln 2, Col 21] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 165, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 165, Col 15] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 165, Col 26] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 165, Col 33] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 165, Col 56] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 165, Col 39] [out] (E) Identifier not found. [Ln 97, Col 25] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 99, Col 13] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 99, Col 20] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 99, Col 26] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 99, Col 37] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 99, Col 37] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/objects.cairo (17) [out] (W) Plugin diagnostic: Leaving `panic` in the code is discouraged. [Ln 207, Col 17] [out] (E) Identifier not found. [Ln 9, Col 21] [out] (E) Type annotations needed. Failed to infer ?7. [Ln 128, Col 29] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 17, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 17, Col 15] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 17, Col 26] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 17, Col 33] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 17, Col 56] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 17, Col 39] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 38, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 38, Col 15] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 38, Col 26] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 38, Col 33] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 38, Col 56] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 38, Col 39] [out] (E) Variable not dropped. [Ln 84, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 161, Col 19] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool_member_balance_trace/mock.cairo (1) [out] (W) Unused import: `staking::pool::pool_member_balance_trace::mock::MockTrace::VecIndex` [Ln 23, Col 64] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool_member_balance_trace/test.cairo (21) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 10, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 41, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 42, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 54, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 55, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 62, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 76, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 90, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 91, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 98, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 113, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 127, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 142, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 148, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 154, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 173, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 192, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 193, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 200, Col 0] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 157, Col 12] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 161, Col 12] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/pool.cairo (16) [out] (W) Unused import: `staking::pool::pool::Pool::StakerInfoV1Trait` [Ln 26, Col 37] [out] (W) Plugin diagnostic: Failed to generate ABI: Got unexpected type. [Ln 0, Col 0] [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 793, Col 18] [out] (E) Identifier not found. [Ln 44, Col 25] [out] (E) Type annotations needed. Failed to infer ?8. [Ln 232, Col 47] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 265, Col 17] [out] (E) Type annotations needed. Failed to infer ?11. [Ln 352, Col 49] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 608, Col 77] [out] (E) Variable not dropped. [Ln 189, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 300, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 407, Col 29] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 489, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 687, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 722, Col 23] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 738, Col 23] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 899, Col 12] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/pool/test.cairo (107) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 71, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 91, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 172, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 203, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 251, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 290, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 330, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 344, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 345, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 359, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 383, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 384, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 400, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 401, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 420, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 467, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 468, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 493, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 567, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 592, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 688, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 765, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 802, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 894, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 927, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 990, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1042, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1043, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1056, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1057, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1083, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1162, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1220, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1246, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1247, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1269, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1346, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1365, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1391, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1392, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1403, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1424, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1444, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1462, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1479, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1515, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1547, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1548, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1570, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1571, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1595, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1622, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1623, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1634, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1655, Col 0] [out] (W) Unused import: `staking::pool::test::POOL_MEMBER_UNCLAIMED_REWARDS` [Ln 7, Col 4] [out] (W) Unused import: `staking::pool::test::BASE_VALUE` [Ln 25, Col 24] [out] (W) Unused import: `staking::pool::test::set_account_as_upgrade_governor` [Ln 58, Col 4] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 340, Col 12] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 374, Col 12] [out] (E) Identifier not found. [Ln 55, Col 21] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 114, Col 21] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 708, Col 9] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 854, Col 13] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 817, Col 8] [out] (E) Type annotations needed. Failed to infer ?39. [Ln 976, Col 50] [out] (E) Type annotations needed. Failed to infer ?8. [Ln 1121, Col 21] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1297, Col 9] [out] (E) Type annotations needed. Failed to infer ?12. [Ln 1384, Col 69] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 1411, Col 21] [out] (E) Type annotations needed. Failed to infer ?6. [Ln 1435, Col 21] [out] (E) Type annotations needed. Failed to infer ?6. [Ln 1454, Col 21] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 1470, Col 21] [out] (E) Type annotations needed. Failed to infer ?8. [Ln 1494, Col 33] [out] (E) Type annotations needed. Failed to infer ?7. [Ln 1525, Col 25] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1563, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1588, Col 37] [out] (E) Type annotations needed. Failed to infer ?14. [Ln 1616, Col 69] [out] (E) Variable not dropped. [Ln 179, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 227, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 221, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 216, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 303, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 301, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 333, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 348, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 362, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 387, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 404, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 435, Col 88] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 506, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 575, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 674, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 664, Col 9] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 641, Col 9] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 648, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 616, Col 9] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 625, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 602, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 773, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1005, Col 43] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1046, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1170, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1648, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1678, Col 27] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1673, Col 23] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1669, Col 23] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/reward_supplier/test.cairo (23) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 47, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 73, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 107, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 149, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 168, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 257, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 258, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 278, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 279, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 303, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 332, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 358, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 393, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 394, Col 0] [out] (E) Identifier not found. [Ln 36, Col 21] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 159, Col 38] [out] (E) Variable not dropped. [Ln 61, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 261, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 282, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 307, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 335, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 361, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 397, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/eic_v1_v2.cairo (8) [out] (W) Unused import: `staking::staking::eic_v1_v2::StakingEICV1toV2::Mutable` [Ln 13, Col 33] [out] (W) Unused import: `staking::staking::eic_v1_v2::StakingEICV1toV2::StorageBase` [Ln 13, Col 42] [out] (W) Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [Ln 29, Col 20] [out] (E) Identifier not found. [Ln 15, Col 25] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 66, Col 28] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 21, Col 4] [out] (E) Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseDrop:: has an unused generic parameter. [Ln 21, Col 4] [out] (E) Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseCopy:: has an unused generic parameter. [Ln 21, Col 4] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface_v0.cairo (13) [out] (E) Identifier not found. [Ln 5, Col 21] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 36, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 36, Col 16] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 36, Col 27] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 36, Col 33] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 36, Col 40] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 36, Col 46] [out] (E) Invalid copy trait implementation, Candidate impl core::traits::SnapshotCopy:: has an unused generic parameter. [Ln 87, Col 9] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 87, Col 15] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 87, Col 22] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 87, Col 28] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 87, Col 39] [out] (E) Variable not dropped. [Ln 49, Col 21] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/interface.cairo (34) [out] (E) Identifier not found. [Ln 8, Col 21] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 11, Col 0] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 11, Col 0] [out] (E) Type annotations needed. Failed to infer ?3. [Ln 11, Col 0] [out] (E) Type annotations needed. Failed to infer ?3. [Ln 11, Col 0] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 80, Col 0] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 80, Col 0] [out] (E) Type annotations needed. Failed to infer ?3. [Ln 80, Col 0] [out] (E) Type annotations needed. Failed to infer ?3. [Ln 80, Col 0] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 167, Col 0] [out] (E) Invalid copy trait implementation, Candidate impl core::traits::SnapshotCopy:: has an unused generic parameter. [Ln 420, Col 9] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 420, Col 15] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 420, Col 22] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 420, Col 28] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 420, Col 39] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 431, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 431, Col 16] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 431, Col 27] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 431, Col 33] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 431, Col 40] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 431, Col 46] [out] (E) Identifier not found. [Ln 212, Col 25] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 266, Col 13] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 266, Col 20] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 266, Col 26] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 266, Col 37] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 266, Col 37] [out] (E) Identifier not found. [Ln 393, Col 25] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 400, Col 13] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 400, Col 20] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 400, Col 26] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 400, Col 37] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 400, Col 37] [out] (E) Variable not dropped. [Ln 466, Col 21] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/objects.cairo (67) [out] (W) Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [Ln 427, Col 22] [out] (E) Identifier not found. [Ln 12, Col 21] [out] (E) Identifier not found. [Ln 16, Col 21] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 39, Col 25] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 56, Col 25] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 463, Col 19] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 468, Col 34] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Method `len` could not be called on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 476, Col 19] [out] Candidate `core::array::ArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::<>` and `@core::array::Array::`. [out] Candidate `core::array::SpanTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::<>` and `core::array::Span::`. [out] Candidate `core::byte_array::ByteArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::<>` and `@core::byte_array::ByteArray`. [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 483, Col 46] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 494, Col 39] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Method `len` could not be called on type `core::starknet::storage::PendingStoragePath::>>`. [Ln 524, Col 19] [out] Candidate `core::array::ArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::>>` and `@core::array::Array::`. [out] Candidate `core::array::SpanTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::>>` and `core::array::Span::`. [out] Candidate `core::byte_array::ByteArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::PendingStoragePath::>>` and `@core::byte_array::ByteArray`. [out] Candidate `core::array::ArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::StoragePath::>>` and `@core::array::Array::`. [out] Candidate `core::array::SpanTrait::len` inference failed with: Type mismatch: `core::starknet::storage::StoragePath::>>` and `core::array::Span::`. [out] Candidate `core::byte_array::ByteArrayTrait::len` inference failed with: Type mismatch: `core::starknet::storage::StoragePath::>>` and `@core::byte_array::ByteArray`. [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::>>`. [Ln 531, Col 39] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>>. [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>>. [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 544, Col 19] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 647, Col 30] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 678, Col 20] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 28, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 28, Col 16] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 28, Col 27] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 28, Col 33] [out] (E) Invalid copy trait implementation, Candidate impl core::traits::SnapshotCopy:: has an unused generic parameter. [Ln 28, Col 40] [out] (E) Cannot infer trait core::starknet::storage_access::StorePacking::. First generic argument must be known. [Ln 28, Col 46] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 28, Col 46] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 422, Col 0] [out] (E) Type annotations needed. Failed to infer ?3. [Ln 422, Col 0] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 561, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 561, Col 16] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 561, Col 27] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 561, Col 33] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 561, Col 40] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 561, Col 46] [out] (E) Cannot infer trait core::fmt::Debug::. First generic argument must be known. [Ln 574, Col 9] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 574, Col 16] [out] (E) Invalid drop trait implementation, Cannot infer trait core::traits::Drop::. First generic argument must be known. [Ln 574, Col 27] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 574, Col 33] [out] (E) Invalid copy trait implementation, Cannot infer trait core::traits::Copy::. First generic argument must be known. [Ln 574, Col 40] [out] (E) Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known. [Ln 574, Col 46] [out] (E) Invalid drop trait implementation, Candidate impl core::starknet::storage::StoragePointerDrop:: has an unused generic parameter. [Ln 28, Col 46] [out] (E) Invalid copy trait implementation, Candidate impl core::starknet::storage::StoragePointerCopy:: has an unused generic parameter. [Ln 28, Col 46] [out] (E) Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseDrop:: has an unused generic parameter. [Ln 422, Col 0] [out] (E) Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseCopy:: has an unused generic parameter. [Ln 422, Col 0] [out] (E) Invalid drop trait implementation, Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [Ln 422, Col 0] [out] (E) Invalid copy trait implementation, Candidate impl core::starknet::storage::PendingStoragePathCopy:: has an unused generic parameter. [Ln 422, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 179, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 197, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 198, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 203, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 204, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 209, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 210, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 218, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 243, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 268, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 269, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 281, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 282, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 294, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 295, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 308, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 309, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 320, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 341, Col 4] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 378, Col 4] [out] (E) Variable not dropped. [Ln 443, Col 8] [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] (E) Variable not dropped. [Ln 447, Col 8] [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] (E) Variable not dropped. [Ln 453, Col 8] [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] (E) Variable not dropped. [Ln 457, Col 8] [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] note: Candidate impl core::starknet::storage::PendingStoragePathDrop:: has an unused generic parameter. [out] (E) Variable not dropped. [Ln 691, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/pause_test.cairo (41) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 19, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 55, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 96, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 97, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 110, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 111, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 124, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 125, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 135, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 136, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 147, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 148, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 159, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 160, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 171, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 172, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 183, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 184, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 195, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 196, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 208, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 209, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 220, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 221, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 232, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 233, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 244, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 245, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 256, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 257, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 271, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 272, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 283, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 284, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 302, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 303, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 314, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 315, Col 0] [out] (E) Variable not dropped. [Ln 168, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 199, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 265, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staker_balance_trace/test.cairo (22) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 7, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 27, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 28, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 36, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 37, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 44, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 56, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 68, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 69, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 76, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 89, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 102, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 114, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 122, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 131, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 145, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 154, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 163, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 172, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 181, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 200, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 201, Col 0] [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/staking.cairo (64) [out] (W) Unused import: `staking::staking::staking::Staking::DEFAULT_EXIT_WAIT_WINDOW` [Ln 10, Col 8] [out] (W) Unused import: `staking::staking::staking::Staking::STRK_TOKEN_ADDRESS` [Ln 11, Col 24] [out] (W) Unused import: `staking::staking::staking::Staking::InternalStakerInfoConvertTrait` [Ln 27, Col 8] [out] (W) Unused import: `staking::staking::staking::Staking::InternalStakerInfoTrait` [Ln 27, Col 71] [out] (W) Unused import: `staking::staking::staking::Staking::StakerBalance` [Ln 33, Col 40] [out] (W) Unused import: `staking::staking::staking::Staking::StakerBalanceTraceTrait` [Ln 33, Col 75] [out] (W) Unused import: `staking::staking::staking::Staking::Index` [Ln 37, Col 35] [out] (W) Unused import: `staking::staking::staking::Staking::InternalStakerPoolInfoLatest` [Ln 37, Col 68] [out] (W) Unused import: `staking::staking::staking::Staking::PendingStoragePath` [Ln 46, Col 22] [out] (W) Plugin diagnostic: Failed to generate ABI: Got unexpected type. [Ln 0, Col 0] [out] (W) Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [Ln 118, Col 26] [out] (W) Plugin diagnostic: Missing `ValidStorageTypeTrait` for member type. Inference failed with: `Cannot infer trait core::starknet::storage_access::Store::. First generic argument must be known.`. Possible solutions: implement `Store`, mark type with `#[storage_node]`, or use valid args for `Vec` or `Map` library types. To suppress this warning, use `#[allow(starknet::invalid_storage_member_types)]`. [Ln 145, Col 20] [out] (W) Plugin diagnostic: Each `if`-statement adds one level of nesting, which makes code look more complex than it really is. [Ln 677, Col 12] [out] (W) Plugin diagnostic: Consider using else if instead of else { if ... } [Ln 1269, Col 16] [out] (W) Plugin diagnostic: Consider using else if instead of else { if ... } [Ln 1267, Col 12] [out] (E) Identifier not found. [Ln 56, Col 25] [out] (E) Identifier not found. [Ln 62, Col 25] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 208, Col 30] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 218, Col 24] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 313, Col 45] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 375, Col 43] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 380, Col 38] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Type annotations needed. Failed to infer ?1. [Ln 417, Col 17] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 465, Col 45] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 540, Col 50] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 563, Col 56] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::storage_base::StorageBase::<>`. [Ln 577, Col 46] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Type annotations needed. Failed to infer ?14. [Ln 608, Col 45] [out] (E) Type annotations needed. Failed to infer ?11. [Ln 652, Col 45] [out] (E) Type annotations needed. Failed to infer ?11. [Ln 673, Col 45] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::storage_base::StorageBase::<>`. [Ln 718, Col 46] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Type annotations needed. Failed to infer ?5. [Ln 789, Col 45] [out] (E) Type annotations needed. Failed to infer ?10. [Ln 869, Col 40] [out] (E) Type annotations needed. Failed to infer ?6. [Ln 890, Col 16] [out] (E) Type annotations needed. Failed to infer ?25. [Ln 952, Col 48] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1044, Col 56] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 1045, Col 34] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1084, Col 32] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::option::OptionTrait::is_none and staking::staking::objects::VersionedInternalStakerInfoTrait::is_none. Consider adding type annotations or explicitly refer to the impl function. [Ln 1084, Col 52] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 1086, Col 28] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1097, Col 62] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 1100, Col 28] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1106, Col 62] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapWriteAccess::write and core::starknet::storage::StoragePointerWriteAccess::write. Consider adding type annotations or explicitly refer to the impl function. [Ln 1109, Col 28] [out] (E) Type annotations needed. Failed to infer ?13. [Ln 1131, Col 45] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 1368, Col 50] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Type annotations needed. Failed to infer ?2. [Ln 1412, Col 69] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 1511, Col 40] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1537, Col 81] [out] (E) Could not find implementation of trait `IntoIterator` on type `core::starknet::storage::PendingStoragePath::<>`. [Ln 1577, Col 50] [out] Candidate `core::iter::traits::collect::IntoIterator::into_iter` inference failed with: Trait has no implementation in context: core::iter::traits::collect::IntoIterator::>>. [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1802, Col 35] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 1807, Col 35] [out] (E) Type annotations needed. Failed to infer ?24. [Ln 80, Col 4] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 367, Col 8] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 822, Col 8] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 1041, Col 8] [out] (E) Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseDrop:: has an unused generic parameter. [Ln 80, Col 4] [out] (E) Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::StorageBaseCopy:: has an unused generic parameter. [Ln 80, Col 4] [out] (E) Variable not dropped. [Ln 348, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 500, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 755, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1245, Col 12] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1324, Col 16] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1385, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/staking/test.cairo (319) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 102, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 140, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 194, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 237, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 238, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 259, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 260, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 282, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 283, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 293, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 294, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 327, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 347, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 384, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 432, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 433, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 445, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 446, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 461, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 462, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 475, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 476, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 492, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 525, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 526, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 540, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 609, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 610, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 624, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 625, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 636, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 668, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 707, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 761, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 762, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 775, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 776, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 798, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 854, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 962, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 992, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1017, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1078, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1136, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1292, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1367, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1431, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1458, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1459, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1484, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1610, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1687, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1715, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1798, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1799, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1814, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1859, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1860, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1879, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1880, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1894, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1895, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1911, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1912, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1926, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 1997, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2045, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2102, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2103, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2126, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2127, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2152, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2153, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2178, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2212, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2213, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2242, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2243, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2266, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2294, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2295, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2307, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2391, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2430, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2479, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2526, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2527, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2549, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2550, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2573, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2574, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2594, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2595, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2617, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2618, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2644, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2645, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2667, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2689, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2690, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2702, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2726, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2727, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2739, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2752, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2753, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2767, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2791, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2792, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2804, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2820, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2821, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2830, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2850, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2891, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2892, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2901, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2922, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2923, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2933, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2978, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 2997, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3023, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3039, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3082, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3113, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3203, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3242, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3254, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3261, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3270, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3290, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3302, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3303, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3311, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3329, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3341, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3361, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3376, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3377, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3386, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3387, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3410, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3411, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3420, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3421, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3432, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3472, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3488, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3489, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3502, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3524, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3560, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3582, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3583, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3592, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3593, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3602, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3618, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3661, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3683, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3684, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3696, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3697, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3712, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3731, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3765, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3766, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3778, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3807, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3931, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3932, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3954, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3955, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3981, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 3982, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4006, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4007, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4033, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4034, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4060, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4061, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4089, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4139, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4169, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4211, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4223, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4246, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4271, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4303, Col 0] [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 4338, Col 0] [out] (W) Unused import: `staking::staking::test::MAINNET_SECURITY_COUNSEL_ADDRESS` [Ln 3, Col 56] [out] (W) Unused import: `staking::staking::test::STARTING_BLOCK_OFFSET` [Ln 6, Col 46] [out] (W) Unused import: `staking::staking::test::BASE_VALUE` [Ln 32, Col 4] [out] (W) Unused import: `staking::staking::test::STRK_TOKEN_ADDRESS` [Ln 33, Col 4] [out] (W) Unused import: `staking::staking::test::EpochInfo` [Ln 61, Col 26] [out] (W) Unused import: `staking::staking::test::DAY` [Ln 79, Col 32] [out] (W) Unused import: `staking::staking::test::MutableTraceTrait` [Ln 84, Col 36] [out] (W) Unused import: `staking::staking::test::Trace` [Ln 84, Col 55] [out] (W) Unused import: `staking::staking::test::calculate_pool_member_rewards` [Ln 91, Col 13] [out] (W) Unused import: `staking::staking::test::declare_staking_eic_contract_v0_v1` [Ln 94, Col 4] [out] (W) Plugin diagnostic: Leaving `panic` in the code is discouraged. [Ln 3337, Col 8] [out] (E) Identifier not found. [Ln 81, Col 21] [out] (E) Identifier not found. [Ln 85, Col 21] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::starknet::storage::map::StorageMapReadAccess::read and core::starknet::storage::StoragePointerReadAccess::read. Consider adding type annotations or explicitly refer to the impl function. [Ln 136, Col 25] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 310, Col 38] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 650, Col 9] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 682, Col 9] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 729, Col 9] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 821, Col 38] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 892, Col 38] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1046, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1112, Col 38] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1193, Col 9] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1261, Col 9] [out] (E) Type annotations needed. Failed to infer ?5. [Ln 1308, Col 4] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 1391, Col 13] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 1377, Col 8] [out] (E) Type annotations needed. Failed to infer ?59. [Ln 1553, Col 55] [out] (E) Type annotations needed. Failed to infer ?10. [Ln 2710, Col 12] [out] (E) Type annotations needed. Failed to infer ?1. [Ln 2760, Col 4] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 2956, Col 33] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 2966, Col 33] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 2944, Col 8] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 3273, Col 21] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 3293, Col 21] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 3306, Col 21] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 3316, Col 22] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 3347, Col 22] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3447, Col 13] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3451, Col 35] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3467, Col 37] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 3480, Col 22] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 3494, Col 22] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 3507, Col 22] [out] (E) Type annotations needed. Failed to infer ?4. [Ln 3535, Col 34] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 3565, Col 22] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3852, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3947, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3974, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 3999, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 4026, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 4053, Col 37] [out] (E) Method `add` not found on type ``. Consider importing one of the following traits: `starknet::secp256_trait::Secp256PointTrait`, `core::ec::EcStateTrait`, `starkware_utils::time::time::Time`. [Ln 4082, Col 37] [out] (E) Type annotations needed. Failed to infer ?2. [Ln 4144, Col 22] [out] (E) Variable not dropped. [Ln 148, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 143, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 221, Col 4] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 213, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 216, Col 9] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 205, Col 59] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 245, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 267, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 285, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 370, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 371, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 360, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 358, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 410, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 419, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 391, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 456, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 498, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 592, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 580, Col 41] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 772, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 795, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 794, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 983, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 966, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1011, Col 34] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 995, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1472, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1467, Col 49] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1633, Col 43] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1806, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1827, Col 88] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1887, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1906, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable was previously moved. [Ln 1980, Col 12] [out] note: Cannot infer trait core::traits::Copy::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1962, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2232, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2384, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2311, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2459, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2516, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2568, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2682, Col 29] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2675, Col 29] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2670, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2693, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2733, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2745, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2782, Col 35] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2775, Col 35] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2770, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2795, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2812, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2807, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2859, Col 44] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2913, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2904, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 2926, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3004, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3004, Col 40] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3179, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3135, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3151, Col 12] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3234, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3264, Col 21] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 3369, Col 8] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4113, Col 26] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4110, Col 27] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4096, Col 40] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4173, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4214, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4226, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4249, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 4274, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/test_utils.cairo (26) [out] (W) Unused import: `staking::test_utils::ContractState` [Ln 0, Col 13] [out] (W) Unused import: `staking::test_utils::IStaking` [Ln 36, Col 4] [out] (W) Plugin diagnostic: Leaving `panic` in the code is discouraged. [Ln 725, Col 13] [out] (E) Identifier not found. [Ln 54, Col 21] [out] (E) Type annotations needed. Failed to infer ?7. [Ln 749, Col 13] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 949, Col 26] [out] (E) Invalid copy trait implementation, Candidate impl core::traits::SnapshotCopy:: has an unused generic parameter. [Ln 1028, Col 9] [out] (E) Cannot infer trait core::to_byte_array::AppendFormattedToByteArray::. First generic argument must be known. [Ln 1028, Col 15] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 1028, Col 22] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 1028, Col 28] [out] (E) Cannot infer trait core::metaprogramming::TupleSnapForward::. First generic argument must be known. [Ln 1028, Col 39] [out] (E) Identifier not found. [Ln 68, Col 25] [out] (E) Variable not dropped. [Ln 243, Col 8] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 373, Col 72] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 452, Col 46] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 542, Col 4] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 570, Col 4] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 598, Col 36] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 649, Col 4] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 780, Col 53] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1044, Col 4] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1074, Col 4] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1154, Col 33] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1163, Col 20] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1249, Col 52] [out] note: Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] (E) Variable not dropped. [Ln 1261, Col 50] [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] note: Cannot infer trait core::traits::Drop::. First generic argument must be known. [out] file:///mnt/maat-workbench/workspace/apps/staking/contracts/src/utils.cairo (1) [out] (E) Plugin diagnostic: Unsupported attribute. [Ln 129, Col 4] [out] total: 927 errors, 75 warnings, 0 infos, 0 hints [out] [out] ============================== [out] CairoLS process exited with code: SIGTERM