=== alexandria_storage-0.5.1 === >>> curl -sSLf https://scarbs.xyz/api/v1/dl/alexandria_storage/0.5.1 -o archive-590463892960120832.tar.zstd >>> tar --zstd -xf archive-590463892960120832.tar.zstd --strip-components 1 >>> maat-check-versions [out] Name Version Source Installed [out] nodejs 23.11.0 ASDF_NODEJS_VERSION true [out] scarb dev-2025-06-17 ASDF_SCARB_VERSION true [out] starknet-foundry 0.45.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 e171aad..d88cf99 100644 [out] --- a/Scarb.toml [out] +++ b/Scarb.toml [out] @@ -16,7 +16,7 @@ edition = "2023_11" [out] description = "Starknet storage utilities" [out] homepage = "https://github.com/keep-starknet-strange/alexandria/tree/main/src/storage" [out] readme = "README.md" [out] -cairo-version = "^2.11.2" [out] +cairo-version = "2.11.4+dev-2025-06-17" # NOTE: added by maat-patch, was: '^2.11.2' [out] re-export-cairo-plugins = [] [out] [out] [dependencies.starknet] [out] @@ -25,3 +25,22 @@ version = "^2.11.2" [out] [tool.fmt] [out] sort-module-level-items = true [out] [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] + [out] +[dev-dependencies] [out] +cairo_test = "2.11.4+dev-2025-06-17" # NOTE: added by maat-patch, was: None [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+dev-2025-06-17" # NOTE: added by maat-patch, was: None [out] +starknet = "2.11.4+dev-2025-06-17" # NOTE: added by maat-patch, was: None [out] +cairo_test = "2.11.4+dev-2025-06-17" # NOTE: added by maat-patch, was: None [out] +snforge_std = "0.45.0" # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = "0.45.0" # NOTE: added by maat-patch, was: None [out] + [out] +[patch."https://github.com/foundry-rs/starknet-foundry.git"] [out] +snforge_std = "0.45.0" # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = "0.45.0" # NOTE: added by maat-patch, was: None >>> scarb fetch [out] warn: patch `starknet` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_scarb_plugin` (`registry+https://scarbs.xyz/`) for source `https://github.com/foundry-rs/starknet-foundry` has not been used [out] warn: patch `assert_macros` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_scarb_plugin` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `cairo_test` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://github.com/foundry-rs/starknet-foundry` has not been used [out] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used >>> scarb tree -q --workspace [out] alexandria_storage v0.5.1 (/mnt/maat-workbench/Scarb.toml) [out] ├── starknet v2.11.4 (std) [out] └── [dev-dependencies] [out] └── cairo_test v2.11.4 (std) >>> SCARB_IGNORE_CAIRO_VERSION=true scarb build --workspace --test [out] warn: patch `snforge_scarb_plugin` (`registry+https://scarbs.xyz/`) for source `https://github.com/foundry-rs/starknet-foundry` has not been used [out] warn: patch `assert_macros` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_scarb_plugin` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://github.com/foundry-rs/starknet-foundry` has not been used [out] warn: patch `cairo_test` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `starknet` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] Compiling test(alexandria_storage_unittest) alexandria_storage v0.5.1 (/mnt/maat-workbench/Scarb.toml) [out] warn: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." [out] --> /mnt/maat-workbench/src/lib.cairo:6:22 [out] pub use list::{List, ListTrait}; [out] ^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." [out] --> /mnt/maat-workbench/src/list.cairo:157:52 [out] impl ListImpl, +Drop, +Store> of ListTrait { [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/src/tests/list_test.cairo:2:11 [out] use core::starknet::storage::StorageAsPointer; [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/src/tests/list_test.cairo:138:15 [out] starknet::contract_address_const::<'hello'>() [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/src/tests/list_test.cairo:359:31 [out] let diff_addr = starknet::contract_address_const::<'bye'>(); [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/src/tests/list_test.cairo:438:31 [out] let diff_addr = starknet::contract_address_const::<'bye'>(); [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] Finished `dev` profile target(s) in 4 seconds >>> SCARB_IGNORE_CAIRO_VERSION=true scarb lint --workspace --deny-warnings [out] error: scarb was not compiled with the `lint` command enabled [out] [out] Stack backtrace: [out] 0: anyhow::kind::Adhoc::new [out] 1: scarb::commands::lint::do_lint [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_IGNORE_CAIRO_VERSION=true SNFORGE_FUZZER_SEED=1 SNFORGE_IGNORE_FORK_TESTS=1 scarb test --workspace [out] Running test alexandria_storage (scarb cairo-test) [out] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://github.com/foundry-rs/starknet-foundry` has not been used [out] warn: patch `starknet` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `assert_macros` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_scarb_plugin` (`registry+https://scarbs.xyz/`) for source `https://github.com/foundry-rs/starknet-foundry` has not been used [out] warn: patch `cairo_test` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: patch `snforge_scarb_plugin` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] Compiling test(alexandria_storage_unittest) alexandria_storage v0.5.1 (/mnt/maat-workbench/Scarb.toml) [out] warn: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." [out] --> /mnt/maat-workbench/src/lib.cairo:6:22 [out] pub use list::{List, ListTrait}; [out] ^^^^^^^^^ [out] [out] warn: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." [out] --> /mnt/maat-workbench/src/list.cairo:157:52 [out] impl ListImpl, +Drop, +Store> of ListTrait { [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/src/tests/list_test.cairo:2:11 [out] use core::starknet::storage::StorageAsPointer; [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/src/tests/list_test.cairo:138:15 [out] starknet::contract_address_const::<'hello'>() [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/src/tests/list_test.cairo:359:31 [out] let diff_addr = starknet::contract_address_const::<'bye'>(); [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/src/tests/list_test.cairo:438:31 [out] let diff_addr = starknet::contract_address_const::<'bye'>(); [out] ^^^^^^^^^^^^^^^^^^^^^^ [out] [out] Finished `dev` profile target(s) in 4 seconds [out] Testing alexandria_storage [out] running 25 tests [out] test alexandria_storage::tests::list_test::test_deploy ... ok (gas usage est.: 195470) [out] test alexandria_storage::tests::list_test::test_get_empty ... ok (gas usage est.: 207990) [out] test alexandria_storage::tests::list_test::test_new_initializes_empty_list ... ok (gas usage est.: 73220) [out] test alexandria_storage::tests::list_test::test_get_index_out_of_bounds ... ok (gas usage est.: 461234) [out] test alexandria_storage::tests::list_test::test_new_then_fill_list ... ok (gas usage est.: 257286) [out] test alexandria_storage::tests::list_test::test_append_few ... ok (gas usage est.: 644328) [out] test alexandria_storage::tests::list_test::test_fetch_empty_list ... ok (gas usage est.: 18140) [out] test alexandria_storage::tests::list_test::test_get_out_of_bounds ... ok (gas usage est.: 431414) [out] test alexandria_storage::tests::list_test::test_fetch_existing_list ... ok (gas usage est.: 340718) [out] test alexandria_storage::tests::list_test::test_is_empty ... ok (gas usage est.: 523814) [out] test alexandria_storage::tests::list_test::test_get_index_pass ... ok (gas usage est.: 1340174) [out] test alexandria_storage::tests::list_test::test_set_pass ... ok (gas usage est.: 1817592) [out] test alexandria_storage::tests::list_test::test_set_out_of_bounds ... ok (gas usage est.: 257940) [out] test alexandria_storage::tests::list_test::test_array_clean_with_empty_array ... ok (gas usage est.: 430070) [out] test alexandria_storage::tests::list_test::test_array_pass ... ok (gas usage est.: 1867416) [out] test alexandria_storage::tests::list_test::test_array_empty ... ok (gas usage est.: 211640) [out] test alexandria_storage::tests::list_test::test_array_get_value_after_clean ... ok (gas usage est.: 862988) [out] test alexandria_storage::tests::list_test::test_append_array_empty ... ok (gas usage est.: 345870) [out] test alexandria_storage::tests::list_test::test_pop_front_pass ... ok (gas usage est.: 1884644) [out] test alexandria_storage::tests::list_test::test_array_clean ... ok (gas usage est.: 997262) [out] test alexandria_storage::tests::list_test::test_pop_front_empty ... ok (gas usage est.: 206670) [out] test alexandria_storage::tests::list_test::test_get_pass ... ok (gas usage est.: 1354284) [out] test alexandria_storage::tests::list_test::test_append_span_existing_list ... ok (gas usage est.: 1954332) [out] test alexandria_storage::tests::list_test::test_pop_append ... ok (gas usage est.: 1276956) [out] test alexandria_storage::tests::list_test::test_append_get_many ... ok (gas usage est.: 218958334) [out] test result: ok. 25 passed; 0 failed; 0 ignored; 0 filtered out; >>> SCARB_IGNORE_CAIRO_VERSION=true maat-test-ls [err] 0.004205529s 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] [out] ============================== [out] Analysis completed, server is idle. [out] [out] ============================== [out] # Analyzed Crates [out] --- [out] ```json [out] { [out] "name": "alexandria_storage", [out] "source_paths": [ [out] "/mnt/maat-workbench/src/lib.cairo" [out] ], [out] "settings": { [out] "name": "alexandria_storage", [out] "edition": "2023_11", [out] "version": "0.5.1", [out] "cfg_set": [ [out] [ [out] "target", [out] "lib" [out] ], [out] [ [out] "target", [out] "test" [out] ], [out] "test" [out] ], [out] "dependencies": { [out] "alexandria_storage": { [out] "discriminator": "alexandria_storage 0.5.1 (path+file:///mnt/maat-workbench/Scarb.toml)" [out] }, [out] "core": { [out] "discriminator": null [out] } [out] }, [out] "experimental_features": { [out] "negative_impls": false, [out] "associated_item_constraints": false, [out] "coupons": false, [out] "user_defined_inline_macros": false [out] } [out] }, [out] "linter_configuration": {}, [out] "plugins": { [out] "builtin_plugins": [ [out] "CairoTest", [out] "Starknet" [out] ] [out] } [out] } [out] [out] { [out] "name": "core", [out] "source_paths": [ [out] "/mnt/maat-cache/scarb/registry/std/7ff977b30/core/src/lib.cairo" [out] ], [out] "settings": { [out] "name": "core", [out] "edition": "2024_07", [out] "version": "2.11.4", [out] "cfg_set": [ [out] [ [out] "target", [out] "lib" [out] ], [out] [ [out] "target", [out] "test" [out] ] [out] ], [out] "dependencies": { [out] "core": { [out] "discriminator": null [out] } [out] }, [out] "experimental_features": { [out] "negative_impls": true, [out] "associated_item_constraints": true, [out] "coupons": true, [out] "user_defined_inline_macros": false [out] } [out] }, [out] "linter_configuration": {}, [out] "plugins": { [out] "builtin_plugins": [ [out] "Executable", [out] "CairoTest" [out] ] [out] } [out] } [out] ``` [out] [out] ============================== [out] file:///mnt/maat-workbench/src/lib.cairo (1) [out] (W) Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." [Ln 5, Col 21] [out] file:///mnt/maat-workbench/src/list.cairo (2) [out] (W) Plugin diagnostic: Manual `unwrap_or` detected. Consider using `unwrap_or()` instead. [Ln 259, Col 24] [out] (W) Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." [Ln 156, Col 51] [out] file:///mnt/maat-workbench/src/tests/list_test.cairo (4) [out] (W) Usage of deprecated feature `"corelib-internal-use"` with no `#[feature("corelib-internal-use")]` attribute. Note: "Use `starknet` directly" [Ln 1, Col 10] [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 137, Col 14] [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 358, Col 30] [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 437, Col 30] [out] total: 0 errors, 7 warnings, 0 infos, 0 hints [out] [out] ============================== [out] CairoLS process exited with code: 0