=== avnu-labs/avnu-contracts-v2-29a31b6e3 === >>> git clone --depth 1 --no-tags https://github.com/avnu-labs/avnu-contracts-v2 . [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 0.43.0 ASDF_STARKNET-FOUNDRY_VERSION true >>> maat-patch [err] Installed 1 package in 2ms [out] diff --git a/Scarb.toml b/Scarb.toml [out] index 152e7d6..0709b49 100644 [out] --- a/Scarb.toml [out] +++ b/Scarb.toml [out] @@ -4,7 +4,7 @@ version = "1.0.0" [out] description = "Best execution on Starknet. No fluff." [out] homepage = "https://app.avnu.fi/" [out] edition = "2024_07" [out] -cairo-version = "2.9.1" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: '2.9.1' [out] [out] [dependencies] [out] starknet = "2.9.1" [out] @@ -19,3 +19,20 @@ sierra = true [out] [tool.fmt] [out] sort-module-level-items = true [out] max-line-length = 150 [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [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 = "0.43.0" # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = "0.43.0" # NOTE: added by maat-patch, was: None [out] + [out] +[patch."https://github.com/foundry-rs/starknet-foundry.git"] [out] +snforge_std = "0.43.0" # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = "0.43.0" # NOTE: added by maat-patch, was: None >>> scarb fetch [out] Updating git repository https://github.com/foundry-rs/starknet-foundry [out] warn: `edition` field not set in `[package]` section for package `cheatnet_testing_contracts` [out] warn: `edition` field not set in `[package]` section for package `basic_package` [out] warn: `edition` field not set in `[package]` section for package `empty_lib` [out] warn: `edition` field not set in `[package]` section for package `build_fails` [out] warn: `edition` field not set in `[package]` section for package `build_fails_no_casm` [out] warn: `edition` field not set in `[package]` section for package `cast_addition` [out] warn: `edition` field not set in `[package]` section for package `cast_fibonacci` [out] warn: `edition` field not set in `[package]` section for package `build_fails_no_sierra` [out] warn: `edition` field not set in `[package]` section for package `map` [out] warn: `edition` field not set in `[package]` section for package `constructor_with_params` [out] warn: `edition` field not set in `[package]` section for package `main_workspace` [out] warn: `edition` field not set in `[package]` section for package `package1` [out] warn: `edition` field not set in `[package]` section for package `package2` [out] warn: `edition` field not set in `[package]` section for package `script1` [out] warn: `edition` field not set in `[package]` section for package `script2` [out] warn: `edition` field not set in `[package]` section for package `call_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `old_sncast_std` [out] warn: `edition` field not set in `[package]` section for package `invoke_script` [out] warn: `edition` field not set in `[package]` section for package `declare_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `missing_field_script` [out] warn: `edition` field not set in `[package]` section for package `misc_script` [out] warn: `edition` field not set in `[package]` section for package `deploy_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `map` [out] warn: `edition` field not set in `[package]` section for package `map_script` [out] warn: `edition` field not set in `[package]` section for package `panic_decoding` [out] warn: `edition` field not set in `[package]` section for package `fuzzing` [out] warn: `edition` field not set in `[package]` section for package `fibonacci2` [out] warn: `edition` field not set in `[package]` section for package `subtraction` [out] warn: `edition` field not set in `[package]` section for package `file_reading` [out] warn: `edition` field not set in `[package]` section for package `simple_package` [out] warn: `edition` field not set in `[package]` section for package `hello_workspaces` [out] warn: `edition` field not set in `[package]` section for package `addition` [out] warn: `edition` field not set in `[package]` section for package `fibonacci` [out] warn: `edition` field not set in `[package]` section for package `env` [out] warn: `edition` field not set in `[package]` section for package `collection_without_lib` [out] warn: `edition` field not set in `[package]` section for package `component_macros` [out] warn: `edition` field not set in `[package]` section for package `empty` [out] warn: `edition` field not set in `[package]` section for package `diagnostics_and_plugins` [out] warn: `edition` field not set in `[package]` section for package `should_panic_test` [out] warn: `edition` field not set in `[package]` section for package `contract_printing` [out] warn: `edition` field not set in `[package]` section for package `collection_with_lib` [out] warn: `edition` field not set in `[package]` section for package `erc20_package` [out] warn: `edition` field not set in `[package]` section for package `trace_resources` [out] warn: `edition` field not set in `[package]` section for package `steps` [out] warn: `edition` field not set in `[package]` section for package `trace_info` [out] warn: `edition` field not set in `[package]` section for package `forking` [out] warn: `edition` field not set in `[package]` section for package `exit_first` >>> 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] Updating git repository https://github.com/foundry-rs/starknet-foundry [out] warn: `edition` field not set in `[package]` section for package `cheatnet_testing_contracts` [out] warn: `edition` field not set in `[package]` section for package `basic_package` [out] warn: `edition` field not set in `[package]` section for package `empty_lib` [out] warn: `edition` field not set in `[package]` section for package `build_fails` [out] warn: `edition` field not set in `[package]` section for package `build_fails_no_casm` [out] warn: `edition` field not set in `[package]` section for package `cast_addition` [out] warn: `edition` field not set in `[package]` section for package `cast_fibonacci` [out] warn: `edition` field not set in `[package]` section for package `build_fails_no_sierra` [out] warn: `edition` field not set in `[package]` section for package `map` [out] warn: `edition` field not set in `[package]` section for package `constructor_with_params` [out] warn: `edition` field not set in `[package]` section for package `main_workspace` [out] warn: `edition` field not set in `[package]` section for package `package1` [out] warn: `edition` field not set in `[package]` section for package `package2` [out] warn: `edition` field not set in `[package]` section for package `script1` [out] warn: `edition` field not set in `[package]` section for package `script2` [out] warn: `edition` field not set in `[package]` section for package `call_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `old_sncast_std` [out] warn: `edition` field not set in `[package]` section for package `invoke_script` [out] warn: `edition` field not set in `[package]` section for package `declare_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `missing_field_script` [out] warn: `edition` field not set in `[package]` section for package `misc_script` [out] warn: `edition` field not set in `[package]` section for package `deploy_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `map` [out] warn: `edition` field not set in `[package]` section for package `map_script` [out] warn: `edition` field not set in `[package]` section for package `panic_decoding` [out] warn: `edition` field not set in `[package]` section for package `fuzzing` [out] warn: `edition` field not set in `[package]` section for package `fibonacci2` [out] warn: `edition` field not set in `[package]` section for package `subtraction` [out] warn: `edition` field not set in `[package]` section for package `file_reading` [out] warn: `edition` field not set in `[package]` section for package `simple_package` [out] warn: `edition` field not set in `[package]` section for package `hello_workspaces` [out] warn: `edition` field not set in `[package]` section for package `addition` [out] warn: `edition` field not set in `[package]` section for package `fibonacci` [out] warn: `edition` field not set in `[package]` section for package `env` [out] warn: `edition` field not set in `[package]` section for package `collection_without_lib` [out] warn: `edition` field not set in `[package]` section for package `component_macros` [out] warn: `edition` field not set in `[package]` section for package `empty` [out] warn: `edition` field not set in `[package]` section for package `diagnostics_and_plugins` [out] warn: `edition` field not set in `[package]` section for package `should_panic_test` [out] warn: `edition` field not set in `[package]` section for package `contract_printing` [out] warn: `edition` field not set in `[package]` section for package `collection_with_lib` [out] warn: `edition` field not set in `[package]` section for package `erc20_package` [out] warn: `edition` field not set in `[package]` section for package `trace_resources` [out] warn: `edition` field not set in `[package]` section for package `steps` [out] warn: `edition` field not set in `[package]` section for package `trace_info` [out] warn: `edition` field not set in `[package]` section for package `forking` [out] warn: `edition` field not set in `[package]` section for package `exit_first` [out] Compiling test(avnu_unittest) avnu v1.0.0 (/mnt/maat-workbench/Scarb.toml) [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/src/adapters/vstrk_adapter.cairo:15:37 [out] use starknet::{ContractAddress, contract_address_const}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] Compiling test(avnu_tests) avnu_tests v1.0.0 (/mnt/maat-workbench/Scarb.toml) [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/jediswap_adapter_test.cairo:6:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/myswap_adapter_test.cairo:4:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/sithswap_adapter_test.cairo:4:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/tenkswap_adapter_test.cairo:4:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/components/fee_test.cairo:4:15 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/components/helper.cairo:4:15 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/exchange_test.cairo:8:27 [out] use starknet::class_hash::class_hash_const; [out] ^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/exchange_test.cairo:10:33 [out] use starknet::{ContractAddress, contract_address_const}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/helper.cairo:13:44 [out] use starknet::{ClassHash, ContractAddress, contract_address_const}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:8:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:39:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:84:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:110:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"corelib-internal-use"` with no `#[feature("corelib-internal-use")]` attribute. Note: "Use `starknet` directly" [out] --> /mnt/maat-workbench/tests/mocks/old_exchange.cairo:54:15 [out] use core::starknet::syscalls::replace_class_syscall; [out] ^^^^^^^^ [out] [out] Finished `dev` profile target(s) in 17 seconds >>> 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 avnu (scarb cairo-test) [out] Updating git repository https://github.com/foundry-rs/starknet-foundry [out] warn: `edition` field not set in `[package]` section for package `cheatnet_testing_contracts` [out] warn: `edition` field not set in `[package]` section for package `basic_package` [out] warn: `edition` field not set in `[package]` section for package `empty_lib` [out] warn: `edition` field not set in `[package]` section for package `build_fails` [out] warn: `edition` field not set in `[package]` section for package `build_fails_no_casm` [out] warn: `edition` field not set in `[package]` section for package `cast_addition` [out] warn: `edition` field not set in `[package]` section for package `cast_fibonacci` [out] warn: `edition` field not set in `[package]` section for package `build_fails_no_sierra` [out] warn: `edition` field not set in `[package]` section for package `map` [out] warn: `edition` field not set in `[package]` section for package `constructor_with_params` [out] warn: `edition` field not set in `[package]` section for package `main_workspace` [out] warn: `edition` field not set in `[package]` section for package `package1` [out] warn: `edition` field not set in `[package]` section for package `package2` [out] warn: `edition` field not set in `[package]` section for package `script1` [out] warn: `edition` field not set in `[package]` section for package `script2` [out] warn: `edition` field not set in `[package]` section for package `call_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `old_sncast_std` [out] warn: `edition` field not set in `[package]` section for package `invoke_script` [out] warn: `edition` field not set in `[package]` section for package `declare_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `missing_field_script` [out] warn: `edition` field not set in `[package]` section for package `misc_script` [out] warn: `edition` field not set in `[package]` section for package `deploy_test_scripts` [out] warn: `edition` field not set in `[package]` section for package `map` [out] warn: `edition` field not set in `[package]` section for package `map_script` [out] warn: `edition` field not set in `[package]` section for package `panic_decoding` [out] warn: `edition` field not set in `[package]` section for package `fuzzing` [out] warn: `edition` field not set in `[package]` section for package `fibonacci2` [out] warn: `edition` field not set in `[package]` section for package `subtraction` [out] warn: `edition` field not set in `[package]` section for package `file_reading` [out] warn: `edition` field not set in `[package]` section for package `simple_package` [out] warn: `edition` field not set in `[package]` section for package `hello_workspaces` [out] warn: `edition` field not set in `[package]` section for package `addition` [out] warn: `edition` field not set in `[package]` section for package `fibonacci` [out] warn: `edition` field not set in `[package]` section for package `env` [out] warn: `edition` field not set in `[package]` section for package `collection_without_lib` [out] warn: `edition` field not set in `[package]` section for package `component_macros` [out] warn: `edition` field not set in `[package]` section for package `empty` [out] warn: `edition` field not set in `[package]` section for package `diagnostics_and_plugins` [out] warn: `edition` field not set in `[package]` section for package `should_panic_test` [out] warn: `edition` field not set in `[package]` section for package `contract_printing` [out] warn: `edition` field not set in `[package]` section for package `collection_with_lib` [out] warn: `edition` field not set in `[package]` section for package `erc20_package` [out] warn: `edition` field not set in `[package]` section for package `trace_resources` [out] warn: `edition` field not set in `[package]` section for package `steps` [out] warn: `edition` field not set in `[package]` section for package `trace_info` [out] warn: `edition` field not set in `[package]` section for package `forking` [out] warn: `edition` field not set in `[package]` section for package `exit_first` [out] Compiling test(avnu_unittest) avnu v1.0.0 (/mnt/maat-workbench/Scarb.toml) [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/src/adapters/vstrk_adapter.cairo:15:37 [out] use starknet::{ContractAddress, contract_address_const}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] Compiling test(avnu_tests) avnu_tests v1.0.0 (/mnt/maat-workbench/Scarb.toml) [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/jediswap_adapter_test.cairo:6:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/myswap_adapter_test.cairo:4:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/sithswap_adapter_test.cairo:4:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/adapters/tenkswap_adapter_test.cairo:4:20 [out] use starknet::{contract_address_const, get_caller_address}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/components/fee_test.cairo:4:15 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/components/helper.cairo:4:15 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/exchange_test.cairo:8:27 [out] use starknet::class_hash::class_hash_const; [out] ^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/exchange_test.cairo:10:33 [out] use starknet::{ContractAddress, contract_address_const}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/helper.cairo:13:44 [out] use starknet::{ClassHash, ContractAddress, contract_address_const}; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:8:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:39:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:84:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [out] --> /mnt/maat-workbench/tests/mocks/mock_amm.cairo:110:19 [out] use starknet::contract_address_const; [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"corelib-internal-use"` with no `#[feature("corelib-internal-use")]` attribute. Note: "Use `starknet` directly" [out] --> /mnt/maat-workbench/tests/mocks/old_exchange.cairo:54:15 [out] use core::starknet::syscalls::replace_class_syscall; [out] ^^^^^^^^ [out] [out] Finished `dev` profile target(s) in 17 seconds [out] Testing avnu [out] running 85 tests [out] test avnu_tests::adapters::jediswap_adapter_test::Swap::should_call_jediswap ... ok (gas usage est.: 1032030) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_when_sell_token_amount_is_0 ... ok (gas usage est.: 1268990) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_panic_if_initialize_called_with_too_high_fees_bps ... ok (gas usage est.: 1057020) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_caller_balance_is_too_low ... ok (gas usage est.: 1385070) [out] test avnu_tests::adapters::jediswap_adapter_test::Swap::should_fail_when_invalid_additional_swap_params ... ok (gas usage est.: 784400) [out] test avnu_tests::adapters::myswap_adapter_test::Swap::should_call_myswap ... ok (gas usage est.: 993240) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_when_caller_balance_is_too_low ... ok (gas usage est.: 1381690) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_panic_if_initialize_called_twice_by_owner ... ok (gas usage est.: 1202010) [out] test avnu_tests::adapters::myswap_adapter_test::Swap::should_fail_when_invalid_additional_swap_params ... ok (gas usage est.: 780580) [out] test avnu_tests::adapters::sithswap_adapter_test::Swap::should_call_sithswap ... ok (gas usage est.: 1037230) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_panic_if_initialize_called_twice_by_anyone ... ok (gas usage est.: 1202510) [out] test avnu_tests::adapters::sithswap_adapter_test::Swap::should_fail_when_invalid_additional_swap_params ... ok (gas usage est.: 779860) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees ... ok (gas usage est.: 4281360) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_fee_recipient_is_empty ... ok (gas usage est.: 3137990) [out] test avnu_tests::adapters::tenkswap_adapter_test::Swap::should_call_tenkswap ... ok (gas usage est.: 1032030) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_panic_if_owner_only_function_called_before_initialize ... ok (gas usage est.: 996140) [out] test avnu_tests::adapters::tenkswap_adapter_test::Swap::should_fail_when_invalid_additional_swap_params ... ok (gas usage est.: 784400) [out] test avnu_tests::components::fee_test::GetSetFeesRecipient::should_set_fees_recipient ... ok (gas usage est.: 530040) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_when_routes_is_empty ... ok (gas usage est.: 1691610) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_panic_if_old_function_called_after_upgrade ... ok (gas usage est.: 965170) [out] test avnu_tests::components::fee_test::GetSetFeesRecipient::set_fees_recipient_should_fail_for_unauthorized_access ... ok (gas usage est.: 344310) [out] test avnu_tests::components::fee_test::GetSetFeeBps::should_set_fees_bps_0 ... ok (gas usage est.: 444670) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees_and_integrator_is_whitelisted ... ok (gas usage est.: 4082970) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_when_first_sell_token_is_not_sell_token ... ok (gas usage est.: 1962490) [out] test avnu_tests::components::fee_test::GetSetFeeBps::should_set_fees_bps_1 ... ok (gas usage est.: 527650) [out] test avnu_tests::components::fee_test::GetSetFeeBps::should_set_swap_exact_fees_bps ... ok (gas usage est.: 527850) [out] test avnu_tests::components::fee_test::GetSetFeeBps::set_fees_bps_0_should_fail_for_unathorized_access ... ok (gas usage est.: 343710) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_call_swap_when_fees_after_upgrade_before_initialize ... ok (gas usage est.: 3680710) [out] test avnu_tests::components::fee_test::GetSetFeeBps::set_fees_bps_1_should_fail_for_unathorized_access ... ok (gas usage est.: 343710) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_when_last_buy_token_is_not_buy_token ... ok (gas usage est.: 2579480) [out] test avnu_tests::components::fee_test::GetSetFeeBps::set_swap_exact_fees_bps_should_fail_for_unathorized_access ... ok (gas usage est.: 343710) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_integrator_fees_are_too_high ... ok (gas usage est.: 2763440) [out] test avnu_tests::components::fee_test::GetSetFeeBps::set_fees_bps_0_should_fail_for_too_high_bps ... ok (gas usage est.: 344740) [out] test avnu_tests::components::fee_test::GetSetFeeBps::set_fees_bps_1_should_fail_for_too_high_bps ... ok (gas usage est.: 344740) [out] test avnu_tests::components::fee_test::GetSetFeeBps::set_swap_exact_token_fees_bps_should_fail_for_too_high_bps ... ok (gas usage est.: 344740) [out] test avnu_tests::components::fee_test::GetTokenFeeConfig::should_return_default_config_value_when_token_config_not_stored ... ok (gas usage est.: 336130) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_fail_when_not_enough_sell_token ... ok (gas usage est.: 2709360) [out] test avnu_tests::components::fee_test::SetTokenFeeConfig::should_set_token_fee_config ... ok (gas usage est.: 462760) [out] test avnu_tests::components::fee_test::SetTokenFeeConfig::should_fail_when_caller_is_not_the_owner ... ok (gas usage est.: 347890) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_call_swap_when_fees_after_upgrade_after_initialize ... ok (gas usage est.: 4461470) [out] test avnu_tests::math::sqrt_ratio_test::ComputeSqrtRatioLimit::should_return_min_when_u256_sub_Overflow ... ok (gas usage est.: 10840) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_fail_when_beneficiary_is_not_the_caller ... ok (gas usage est.: 1137880) [out] test avnu_tests::math::sqrt_ratio_test::ComputeSqrtRatioLimit::should_return_max_when_u256_add_Overflow ... ok (gas usage est.: 10940) [out] test avnu_tests::math::sqrt_ratio_test::ComputeSqrtRatioLimit::should_return_value_when_token0 ... ok (gas usage est.: 10840) [out] test avnu_tests::components::fee_test::IsIntegratorWhitelisted::should_return_false_when_not_whitelisted ... ok (gas usage est.: 336850) [out] test avnu_tests::math::sqrt_ratio_test::ComputeSqrtRatioLimit::should_return_value_when_token1 ... ok (gas usage est.: 10840) [out] test avnu_tests::components::fee_test::SetWhitelistedIntegrator::should_whitelist_integrator ... ok (gas usage est.: 555570) [out] test avnu_tests::components::fee_test::GetFees::fee_on_buy_complex_integrator_fees_less ... ok (gas usage est.: 666910) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees_and_multiple_routes ... ok (gas usage est.: 5166030) [out] test avnu_tests::components::fee_test::SetWhitelistedIntegrator::should_fail_when_caller_is_not_the_owner ... ok (gas usage est.: 347450) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::upgrade_class_check_storage_without_initialization ... ok (gas usage est.: 1225970) [out] test avnu_tests::components::fee_test::GetFees::fee_on_sell_complex_integrator_fees_less ... ok (gas usage est.: 666700) [out] test avnu_tests::components::fee_test::GetFees::fee_on_buy_simple_no_integrator ... ok (gas usage est.: 415870) [out] test avnu_tests::components::fee_test::GetFees::fee_on_buy_simple_integrator_fees_more ... ok (gas usage est.: 541510) [out] test avnu_tests::components::fee_test::GetFees::fee_on_sell_simple_no_integrator ... ok (gas usage est.: 541390) [out] test avnu_tests::components::fee_test::GetFees::fee_on_buy_complex_no_integrator ... ok (gas usage est.: 541590) [out] test avnu_tests::components::fee_test::GetFees::fee_on_sell_complex_integrator_fees_more ... ok (gas usage est.: 666520) [out] test avnu_tests::components::fee_test::GetFees::fee_on_sell_complex_no_integrator ... ok (gas usage est.: 541380) [out] test avnu_tests::components::fee_test::CollectFees::should_throw_collect_fee_exchange_and_high_integrator_fees ... ok (gas usage est.: 573590) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::upgrade_class_check_storage_with_initialization ... ok (gas usage est.: 1608660) [out] test avnu_tests::components::fee_test::GetFees::fee_on_buy_simple_integrator_fees_less ... ok (gas usage est.: 541690) [out] test avnu_tests::exchange_test::GetAdapterClassHash::should_return_adapter_class_hash ... ok (gas usage est.: 598850) [out] test avnu_tests::components::fee_test::GetFees::fee_on_sell_simple_integrator_fees_less ... ok (gas usage est.: 666710) [out] test avnu_tests::exchange_test::SetAdapterClassHash::should_set_adapter_class ... ok (gas usage est.: 809520) [out] test avnu_tests::exchange_test::UpgradeClassAndMigration::should_not_panic_if_owner_only_function_called_after_initialize ... ok (gas usage est.: 1324270) [out] test avnu_tests::exchange_test::SetAdapterClassHash::should_fail_when_caller_is_not_the_owner ... ok (gas usage est.: 610090) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_last_buy_token_is_not_buy_token ... ok (gas usage est.: 2582860) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_multiple_routes ... ok (gas usage est.: 8257140) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap ... ok (gas usage est.: 3318090) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_fail_when_exchange_is_unknown ... ok (gas usage est.: 2010530) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_routes_is_empty ... ok (gas usage est.: 1694990) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees_and_integrator_is_whitelisted_policy_feeonsell ... ok (gas usage est.: 4312700) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_route_percent_is_higher_than_100 ... ok (gas usage est.: 1829740) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_residual_tokens ... ok (gas usage est.: 3103300) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_fail_when_insufficient_tokens_received ... ok (gas usage est.: 2707620) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_fail_when_beneficiary_is_not_the_caller ... ok (gas usage est.: 1141260) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_sell_token_amount_is_0 ... ok (gas usage est.: 1272370) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_route_percent_is_higher_is_0 ... ok (gas usage est.: 1828770) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_throw_error_when_first_sell_token_is_not_sell_token ... ok (gas usage est.: 1965870) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees_and_integrator_is_whitelisted_policy_feeonsell_2 ... ok (gas usage est.: 4748560) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees_on_sell ... ok (gas usage est.: 4623140) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_swap_when_setting_buy_token ... ok (gas usage est.: 5373270) [out] test avnu_tests::exchange_test::MultiRouteSwap::should_call_swap_when_fees_and_multiple_routes_policy_feeonsell ... ok (gas usage est.: 5408740) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_swap_when_setting_buy_token_when_no_fees ... ok (gas usage est.: 4960630) [out] test avnu_tests::exchange_test::SwapExactTokenTo::should_throw_error_when_residual_tokens ... ok (gas usage est.: 3552370) [out] test result: ok. 85 passed; 0 failed; 0 ignored; 0 filtered out; [out] [out] running 0 tests [out] test result: ok. 0 passed; 0 failed; 0 ignored; 0 filtered out; >>> maat-test-ls [err] 0.004018616s WARN cairo_language_server::config: client does not support `workspace/configuration` requests, config will not be reloaded [out] Opening file:///mnt/maat-workbench/src/lib.cairo [out] Opening file:///mnt/maat-workbench/tests/lib.cairo [out] [out] ============================== [out] Analysis completed, server is idle. [out] [out] ============================== [out] # Analyzed Crates [out] [out] - `avnu`: `["/mnt/maat-workbench/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: None, [out] edition: V2023_01, [out] version: None, [out] cfg_set: None, [out] dependencies: {}, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `core`: `["/mnt/maat-cache/scarb/registry/std/v2.11.4/core/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: None, [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 2, [out] minor: 11, [out] patch: 4, [out] }, [out] ), [out] cfg_set: None, [out] dependencies: {}, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: true, [out] associated_item_constraints: true, [out] coupons: true, [out] }, [out] } [out] ``` [out] [out] [out] ============================== [out] file:///mnt/maat-workbench/src/adapters/ekubo_adapter.cairo (6) [out] (E) Identifier not found. [Ln 75, Col 8] [out] (E) Identifier not found. [Ln 76, Col 8] [out] (E) Identifier not found. [Ln 77, Col 8] [out] (E) Identifier not found. [Ln 78, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 101, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 141, Col 8] [out] file:///mnt/maat-workbench/src/adapters/haiko_adapter.cairo (4) [out] (E) Identifier not found. [Ln 26, Col 8] [out] (E) Identifier not found. [Ln 27, Col 8] [out] (E) Identifier not found. [Ln 28, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 40, Col 8] [out] file:///mnt/maat-workbench/src/adapters/haiko_replicating_solver_adapter.cairo (3) [out] (E) Identifier not found. [Ln 35, Col 8] [out] (E) Identifier not found. [Ln 36, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 45, Col 8] [out] file:///mnt/maat-workbench/src/adapters/myswap_adapter.cairo (3) [out] (E) Identifier not found. [Ln 9, Col 8] [out] (E) Identifier not found. [Ln 10, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 19, Col 8] [out] file:///mnt/maat-workbench/src/adapters/myswapv2_adapter.cairo (4) [out] (E) Identifier not found. [Ln 19, Col 8] [out] (E) Identifier not found. [Ln 20, Col 8] [out] (E) Identifier not found. [Ln 21, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 35, Col 8] [out] file:///mnt/maat-workbench/src/adapters/nostra_adapter.cairo (3) [out] (E) Identifier not found. [Ln 11, Col 8] [out] (E) Identifier not found. [Ln 12, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 21, Col 8] [out] file:///mnt/maat-workbench/src/adapters/nostrav2_adapter.cairo (3) [out] (E) Identifier not found. [Ln 17, Col 8] [out] (E) Identifier not found. [Ln 18, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 27, Col 8] [out] file:///mnt/maat-workbench/src/adapters/starkdefi_adapter.cairo (3) [out] (E) Identifier not found. [Ln 19, Col 8] [out] (E) Identifier not found. [Ln 20, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 29, Col 8] [out] file:///mnt/maat-workbench/src/adapters/tenkswap_adapter.cairo (3) [out] (E) Identifier not found. [Ln 11, Col 8] [out] (E) Identifier not found. [Ln 12, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 21, Col 8] [out] file:///mnt/maat-workbench/src/adapters/vstrk_adapter.cairo (3) [out] (E) Identifier not found. [Ln 13, Col 8] [out] (W) Usage of deprecated feature `"deprecated-starknet-consts"` with no `#[feature("deprecated-starknet-consts")]` attribute. Note: "Use `TryInto::try_into` in const context instead." [Ln 14, Col 36] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 22, Col 8] [out] file:///mnt/maat-workbench/src/components/fee.cairo (30) [out] (E) Identifier not found. [Ln 33, Col 8] [out] (E) Identifier not found. [Ln 34, Col 8] [out] (E) Identifier not found. [Ln 35, Col 8] [out] (E) Identifier not found. [Ln 36, Col 8] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 79, Col 47] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 89, Col 47] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 100, Col 47] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 111, Col 47] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 122, Col 47] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 132, Col 47] [out] (E) Unexpected type for tuple pattern. "" is not a tuple. [Ln 215, Col 20] [out] (E) Identifier not found. [Ln 216, Col 23] [out] (E) Method `transfer` not found on type ``. Did you import the correct trait and impl? [Ln 219, Col 22] [out] (E) Identifier not found. [Ln 221, Col 16] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::zeroable::Zeroable::is_zero and core::num::traits::zero::Zero::is_zero. Consider adding type annotations or explicitly refer to the impl function. [Ln 213, Col 32] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::zeroable::Zeroable::is_zero and core::num::traits::zero::Zero::is_zero. Consider adding type annotations or explicitly refer to the impl function. [Ln 213, Col 60] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 74, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 78, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 84, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 88, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 95, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 99, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 106, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 110, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 117, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 121, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 127, Col 8] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 131, Col 8] [out] (E) Variable not dropped. [Ln 193, 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] note: Cannot infer trait core::traits::Destruct::. First generic argument must be known. [out] (E) Variable was previously moved. [Ln 204, Col 59] [out] note: Candidate impl core::traits::SnapshotCopy:: has an unused generic parameter. [out] file:///mnt/maat-workbench/src/exchange.cairo (73) [out] (E) Identifier not found. [Ln 0, Col 4] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 3, 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 76, Col 13] [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 78, Col 17] [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 80, Col 20] [out] (E) Identifier not found. [Ln 41, Col 8] [out] (E) Identifier not found. [Ln 42, Col 8] [out] (E) Identifier not found. [Ln 43, Col 8] [out] (E) Identifier not found. [Ln 44, Col 8] [out] (E) Identifier not found. [Ln 45, Col 8] [out] (E) Identifier not found. [Ln 46, Col 8] [out] (E) Identifier not found. [Ln 47, Col 8] [out] (E) Identifier not found. [Ln 48, Col 8] [out] (E) Wrong number of arguments. Expected 6, found: 2 [Ln 157, Col 25] [out] (E) Wrong number of arguments. Expected 6, found: 5 [Ln 161, Col 21] [out] (E) Method `assert_only_owner` not found on type ``. Did you import the correct trait and impl? [Ln 169, Col 25] [out] (E) Method `get_fees` not found on type ``. Did you import the correct trait and impl? [Ln 198, Col 17] [out] (E) Unexpected type for tuple pattern. "" is not a tuple. [Ln 196, Col 16] [out] (E) Method `collect_fees` not found on type ``. Did you import the correct trait and impl? [Ln 201, Col 25] [out] (E) Identifier not found. [Ln 200, Col 15] [out] (E) Identifier not found. [Ln 208, Col 47] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 210, Col 62] [out] (E) Method `collect_fees` not found on type ``. Did you import the correct trait and impl? [Ln 211, Col 29] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 210, Col 24] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 213, Col 31] [out] (E) Method `transfer` not found on type ``. Did you import the correct trait and impl? [Ln 218, Col 22] [out] (E) Trait `core::traits::Into::` has multiple implementations, in: `avnu::exchange::Exchange::EventFeeEventIntoEvent`, `avnu::exchange::Exchange::EventOwnableEventIntoEvent` [Ln 228, Col 17] [out] (E) Method `transfer` not found on type ``. Did you import the correct trait and impl? [Ln 270, Col 22] [out] (E) Method `get_fees_recipient` not found on type ``. Did you import the correct trait and impl? [Ln 275, Col 46] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::zeroable::Zeroable::is_zero and core::num::traits::zero::Zero::is_zero. Consider adding type annotations or explicitly refer to the impl function. [Ln 276, Col 39] [out] (E) Method `transfer` not found on type ``. Did you import the correct trait and impl? [Ln 277, Col 26] [out] (E) Trait `core::traits::Into::` has multiple implementations, in: `avnu::exchange::Exchange::EventFeeEventIntoEvent`, `avnu::exchange::Exchange::EventOwnableEventIntoEvent` [Ln 282, Col 17] [out] (E) Desnap operator can only be applied on snapshots [Ln 326, Col 19] [out] (E) Desnap operator can only be applied on snapshots [Ln 327, Col 19] [out] (E) Trait has no implementation in context: core::ops::index::IndexView::>, core::felt252>. [Ln 324, Col 38] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 339, Col 48] [out] (E) Method `transferFrom` not found on type ``. Did you import the correct trait and impl? [Ln 341, Col 23] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 360, Col 58] [out] (E) Method `get_swap_exact_token_to_fees_bps` not found on type ``. Did you import the correct trait and impl? [Ln 363, Col 43] [out] (E) Unexpected type for tuple pattern. "" is not a tuple. [Ln 364, Col 16] [out] (E) Identifier not found. [Ln 365, Col 19] [out] (E) Identifier not found. [Ln 374, Col 66] [out] (E) Unexpected type for tuple pattern. "" is not a tuple. [Ln 375, Col 20] [out] (E) Identifier not found. [Ln 378, Col 23] [out] (E) Identifier not found. [Ln 379, Col 23] [out] (E) Identifier not found. [Ln 380, Col 86] [out] (E) Identifier not found. [Ln 385, Col 42] [out] (E) Identifier not found. [Ln 386, Col 46] [out] (E) Identifier not found. [Ln 387, Col 47] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 389, Col 50] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 374, Col 20] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 363, Col 16] [out] (E) Desnap operator can only be applied on snapshots [Ln 408, Col 61] [out] (E) Desnap operator can only be applied on snapshots [Ln 409, Col 61] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 421, Col 42] [out] (E) Method `balanceOf` not found on type ``. Did you import the correct trait and impl? [Ln 439, Col 93] [out] (E) Unexpected type for tuple pattern. "" is not a tuple. [Ln 440, Col 16] [out] (E) Identifier not found. [Ln 441, Col 19] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::zeroable::Zeroable::is_zero and core::num::traits::zero::Zero::is_zero. Consider adding type annotations or explicitly refer to the impl function. [Ln 445, Col 39] [out] (E) Method `swap` not found on type ``. Did you import the correct trait and impl? [Ln 449, Col 17] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 439, Col 16] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 73, Col 4] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 73, Col 4] [out] (W) Unused variable. Consider ignoring by prefixing with `_`. [Ln 109, Col 8] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 174, Col 8] [out] (E) Cannot infer trait core::serde::Serde::. First generic argument must be known. [Ln 242, Col 8] [out] (E) Trait `core::traits::Into::` has multiple implementations, in: `IntoImp`, `avnu::exchange::Exchange::EventFeeEventIntoEvent` [Ln 39, Col 0] [out] (E) Invalid drop trait implementation, Candidate impl core::traits::SnapshotDrop:: has an unused generic parameter. [Ln 86, Col 30] [out] (E) Cannot infer trait core::traits::PartialEq::. First generic argument must be known. [Ln 86, Col 36] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 86, Col 13] [out] (E) Type annotations needed. Failed to infer ?0. [Ln 86, Col 13] [out] (E) Invalid drop trait implementation, Candidate impl core::starknet::storage::storage_base::FlattenedStorageDrop:: has an unused generic parameter. [Ln 73, Col 4] [out] (E) Invalid copy trait implementation, Candidate impl core::starknet::storage::storage_base::FlattenedStorageCopy:: has an unused generic parameter. [Ln 73, Col 4] [out] total: 106 errors, 32 warnings, 0 infos, 0 hints [out] [out] ============================== [out] CairoLS process exited with code: 0