=== dojoengine/origami-caadee171 === >>> git clone --depth 1 --no-tags https://github.com/dojoengine/origami . [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 badfe66..4fec219 100644 [out] --- a/Scarb.toml [out] +++ b/Scarb.toml [out] @@ -18,3 +18,14 @@ dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.5.0" } [out] cubit = { git = "https://github.com/bengineer42/cubit", branch = "bump-cairo-gt-2.8" } [out] starknet = "^2.10.1" [out] cairo_test = "^2.10.1" [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 [out] diff --git a/crates/algebra/Scarb.toml b/crates/algebra/Scarb.toml [out] index 8f84218..18a02f7 100644 [out] --- a/crates/algebra/Scarb.toml [out] +++ b/crates/algebra/Scarb.toml [out] @@ -7,7 +7,16 @@ homepage = "https://github.com/dojoengine/origami/tree/main/crates/algebra" [out] [out] # TODO: update to edition 2024_07, some traits are deprecated and others no longer accessible. [out] # Mostly related to `AddEq` -> `AddAssign` and so on. [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] cubit.workspace = true [out] cairo_test.workspace = true [out] + [out] +[dev-dependencies] [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] diff --git a/crates/defi/Scarb.toml b/crates/defi/Scarb.toml [out] index f3edd6d..696c076 100644 [out] --- a/crates/defi/Scarb.toml [out] +++ b/crates/defi/Scarb.toml [out] @@ -4,8 +4,17 @@ version.workspace = true [out] edition.workspace = true [out] description = "DeFi library for Dojo based games." [out] homepage = "https://github.com/dojoengine/origami/tree/main/crates/defi" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] cubit.workspace = true [out] starknet.workspace = true [out] cairo_test.workspace = true [out] + [out] +[dev-dependencies] [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] diff --git a/crates/map/Scarb.toml b/crates/map/Scarb.toml [out] index 04fb073..b22302a 100644 [out] --- a/crates/map/Scarb.toml [out] +++ b/crates/map/Scarb.toml [out] @@ -4,6 +4,15 @@ version.workspace = true [out] edition.workspace = true [out] description = "Maps library for Dojo based games." [out] homepage = "https://github.com/dojoengine/origami/tree/main/crates/map" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] cairo_test.workspace = true [out] + [out] +[dev-dependencies] [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] diff --git a/crates/random/Scarb.toml b/crates/random/Scarb.toml [out] index afd4125..a35a010 100644 [out] --- a/crates/random/Scarb.toml [out] +++ b/crates/random/Scarb.toml [out] @@ -4,6 +4,15 @@ version.workspace = true [out] edition.workspace = true [out] description = "Random generator library for Dojo based games." [out] homepage = "https://github.com/dojoengine/origami/tree/main/crates/random" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] cairo_test.workspace = true [out] + [out] +[dev-dependencies] [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] diff --git a/crates/rating/Scarb.toml b/crates/rating/Scarb.toml [out] index 2e7ba57..81f8dce 100644 [out] --- a/crates/rating/Scarb.toml [out] +++ b/crates/rating/Scarb.toml [out] @@ -4,6 +4,15 @@ version.workspace = true [out] edition.workspace = true [out] description = "Rating related algorithm library for Dojo based games." [out] homepage = "https://github.com/dojoengine/origami/tree/main/crates/rating" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] cairo_test.workspace = true [out] + [out] +[dev-dependencies] [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] diff --git a/crates/security/Scarb.toml b/crates/security/Scarb.toml [out] index d2204bf..fc37e7d 100644 [out] --- a/crates/security/Scarb.toml [out] +++ b/crates/security/Scarb.toml [out] @@ -4,6 +4,15 @@ version.workspace = true [out] edition.workspace = true [out] description = "Security library for Dojo based games." [out] homepage = "https://github.com/dojoengine/origami/tree/main/crates/security" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: None [out] [out] [dependencies] [out] cairo_test.workspace = true [out] + [out] +[dev-dependencies] [out] + [out] +[scripts] [out] +test = "scarb cairo-test" # NOTE: added by maat-patch, was: None [out] + [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' >>> scarb fetch >>> 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(origami_algebra_unittest) origami_algebra v1.1.2 (/mnt/maat-workbench/crates/algebra/Scarb.toml) [out] Compiling test(origami_defi_unittest) origami_defi v1.1.2 (/mnt/maat-workbench/crates/defi/Scarb.toml) [out] Compiling test(origami_map_unittest) origami_map v1.1.2 (/mnt/maat-workbench/crates/map/Scarb.toml) [out] Compiling test(origami_random_unittest) origami_random v1.1.2 (/mnt/maat-workbench/crates/random/Scarb.toml) [out] Compiling test(origami_rating_unittest) origami_rating v1.1.2 (/mnt/maat-workbench/crates/rating/Scarb.toml) [out] Compiling test(origami_security_unittest) origami_security v1.1.2 (/mnt/maat-workbench/crates/security/Scarb.toml) [out] Finished `dev` profile target(s) in 24 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 origami_algebra (scarb cairo-test) [out] Compiling test(origami_algebra_unittest) origami_algebra v1.1.2 (/mnt/maat-workbench/crates/algebra/Scarb.toml) [out] Finished `dev` profile target(s) in 4 seconds [out] Testing origami_algebra [out] running 21 tests [out] test origami_algebra::vec2::tests::test_new ... ok (gas usage est.: 11060) [out] test origami_algebra::vector::tests::test_vector_dot_product ... ok (gas usage est.: 15380) [out] test origami_algebra::matrix::tests::test_matrix_transpose ... ok (gas usage est.: 55310) [out] test origami_algebra::matrix::tests::test_matrix_square_multiplication ... ok (gas usage est.: 181710) [out] test origami_algebra::vec2::tests::test_splat ... ok (gas usage est.: 3600) [out] test origami_algebra::matrix::tests::test_matrix_get ... ok (gas usage est.: 7700) [out] test origami_algebra::matrix::tests::test_matrix_addition ... ok (gas usage est.: 76620) [out] test origami_algebra::vec2::tests::test_select ... ok (gas usage est.: 26780) [out] test origami_algebra::matrix::tests::test_matrix_rectangle_multiplication ... ok (gas usage est.: 244990) [out] test origami_algebra::matrix::tests::test_matrix_determinant_3x3 ... ok (gas usage est.: 356680) [out] test origami_algebra::matrix::tests::test_matrix_subtraction ... ok (gas usage est.: 77920) [out] test origami_algebra::matrix::tests::test_matrix_determinant_2x2 ... ok (gas usage est.: 26970) [out] test origami_algebra::vec2::tests::test_dot ... ok (gas usage est.: 68650) [out] test origami_algebra::vec2::tests::test_xx ... ok (gas usage est.: 5830) [out] test origami_algebra::matrix::tests::test_matrix_inverse_2x2 ... ok (gas usage est.: 252200) [out] test origami_algebra::vec2::tests::test_yx ... ok (gas usage est.: 9660) [out] test origami_algebra::vec2::tests::test_dot_into_vec ... ok (gas usage est.: 77310) [out] test origami_algebra::vec2::tests::test_xy ... ok (gas usage est.: 9660) [out] test origami_algebra::vec2::tests::test_yy ... ok (gas usage est.: 13290) [out] test origami_algebra::vector::tests::test_vector_get ... ok (gas usage est.: 3870) [out] test origami_algebra::matrix::tests::test_matrix_inverse_3x3 ... ok (gas usage est.: 1414480) [out] test result: ok. 21 passed; 0 failed; 0 ignored; 0 filtered out; [out] Running test origami_defi (scarb cairo-test) [out] Compiling test(origami_defi_unittest) origami_defi v1.1.2 (/mnt/maat-workbench/crates/defi/Scarb.toml) [out] Finished `dev` profile target(s) in 4 seconds [out] Testing origami_defi [out] running 15 tests [out] test origami_defi::auction::gda::tests::continuous::test_price_1 ... ok (gas usage est.: 408750) [out] test origami_defi::auction::vrgda::tests::linear::test_pricing_basic ... ok (gas usage est.: 68970) [out] test origami_defi::auction::gda::tests::discrete::test_price_3 ... ok (gas usage est.: 395920) [out] test origami_defi::auction::vrgda::tests::logistic::test_target_price ... ok (gas usage est.: 597950) [out] test origami_defi::auction::gda::tests::continuous::test_price_2 ... ok (gas usage est.: 408750) [out] test origami_defi::auction::vrgda::tests::linear::test_pricing_basic_reverse ... ok (gas usage est.: 69170) [out] test origami_defi::auction::gda::tests::discrete::test_price_4 ... ok (gas usage est.: 381140) [out] price 1288520754392000521816 target price 1280572973596917000000 [out] test origami_defi::auction::vrgda::tests::logistic::test_pricing_basic ... ok (gas usage est.: 1141920) [out] test origami_defi::auction::gda::tests::continuous::test_price_3 ... ok (gas usage est.: 408750) [out] test origami_defi::auction::vrgda::tests::logistic::test_pricing_basic_reverse ... ok (gas usage est.: 590690) [out] test origami_defi::auction::gda::tests::continuous::test_price_4 ... ok (gas usage est.: 408750) [out] test origami_defi::auction::gda::tests::discrete::test_price_1 ... ok (gas usage est.: 366360) [out] test origami_defi::auction::gda::tests::discrete::test_initial_price ... ok (gas usage est.: 294040) [out] test origami_defi::auction::helpers::tests::test_days_convertions ... ok (gas usage est.: 37150) [out] test origami_defi::auction::gda::tests::discrete::test_price_2 ... ok (gas usage est.: 373780) [out] test result: ok. 15 passed; 0 failed; 0 ignored; 0 filtered out; [out] Running test origami_map (scarb cairo-test) [out] Compiling test(origami_map_unittest) origami_map v1.1.2 (/mnt/maat-workbench/crates/map/Scarb.toml) [out] Finished `dev` profile target(s) in 6 seconds [out] Testing origami_map [out] running 75 tests [out] test origami_map::hex::tests::test_row_col ... ok (gas usage est.: 300) [out] test origami_map::helpers::bitmap::tests::test_bitmap_set ... ok (gas usage est.: 35640) [out] test origami_map::finders::astar::test::test_astar_search_small ... ok (gas usage est.: 993760) [out] test origami_map::finders::dfs::test::test_dfs_maze ... ok (gas usage est.: 1227320) [out] test origami_map::hex::tests::test_hex_tile_neighbors ... ok (gas usage est.: 5700) [out] test origami_map::helpers::bitmap::tests::test_bitmap_set_unchanged ... ok (gas usage est.: 35640) [out] test origami_map::finders::astar::test::test_astar_search_impossible ... ok (gas usage est.: 579036) [out] test origami_map::finders::dijkstra::test::test_dijkstra_search_small ... ok (gas usage est.: 952730) [out] test origami_map::helpers::bitmap::tests::test_bitmap_unset ... ok (gas usage est.: 33240) [out] test origami_map::finders::dijkstra::test::test_dijkstra_search_impossible ... ok (gas usage est.: 562496) [out] test origami_map::hex::tests::test_is_neighbor ... ok (gas usage est.: 128480) [out] test origami_map::finders::astar::test::test_astar_search_medium ... ok (gas usage est.: 2627432) [out] test origami_map::helpers::bitmap::tests::test_bitmap_unset_unchanged ... ok (gas usage est.: 33240) [out] test origami_map::finders::dijkstra::test::test_dijkstra_search_medium ... ok (gas usage est.: 2509734) [out] test origami_map::hex::tests::test_tiles_within_range ... ok (gas usage est.: 11817290) [out] test origami_map::finders::astar::test::test_astar_search_large ... ok (gas usage est.: 19592860) [out] test origami_map::helpers::bitmap::tests::test_bitmap_least_significant_bit_null ... ok (gas usage est.: 3670) [out] test origami_map::map::tests::test_map_new ... ok (gas usage est.: 1200) [out] test origami_map::finders::dijkstra::test::test_dijkstra_search_large ... ok (gas usage est.: 24989510) [out] test origami_map::helpers::bitmap::tests::test_bitmap_least_significant_bit ... ok (gas usage est.: 43598) [out] test origami_map::map::tests::test_map_new_empty ... ok (gas usage est.: 119376) [out] test origami_map::finders::astar::test::test_astar_search_issue ... ok (gas usage est.: 35337192) [out] test origami_map::generators::digger::tests::test_digger_dig_corridor ... ok (gas usage est.: 1738942) [out] test origami_map::helpers::power::tests::test_two_power_exp_0 ... ok (gas usage est.: 2000) [out] test origami_map::finders::bfs::test::test_bfs_search_small ... ok (gas usage est.: 744200) [out] test origami_map::generators::digger::tests::test_digger_dig_maze_order_0 ... ok (gas usage est.: 4621488) [out] test origami_map::helpers::power::tests::test_two_power_exp_1 ... ok (gas usage est.: 2770) [out] test origami_map::map::tests::test_map_maze ... ok (gas usage est.: 33093670) [out] test origami_map::finders::bfs::test::test_bfs_search_impossible ... ok (gas usage est.: 443396) [out] test origami_map::generators::digger::tests::test_digger_dig_maze_order_1 ... ok (gas usage est.: 4729584) [out] test origami_map::helpers::power::tests::test_two_power_exp_255 ... ok (gas usage est.: 2770) [out] test origami_map::finders::bfs::test::test_bfs_search_medium ... ok (gas usage est.: 1763224) [out] test origami_map::helpers::heap::tests::test_heap_new ... ok (gas usage est.: 18220) [out] test origami_map::finders::bfs::test::test_bfs_single_cell_path ... ok (gas usage est.: 330044) [out] test origami_map::generators::mazer::tests::test_mazer_generate_order_0 ... ok (gas usage est.: 32538290) [out] test origami_map::helpers::heap::tests::test_heap_add ... ok (gas usage est.: 42280) [out] test origami_map::finders::bfs::test::test_bfs_maze ... ok (gas usage est.: 1508530) [out] test origami_map::helpers::heap::tests::test_heap_contains ... ok (gas usage est.: 46190) [out] test origami_map::map::tests::test_map_cave ... ok (gas usage est.: 141338088) [out] test origami_map::generators::mazer::tests::test_mazer_generate_order_1 ... ok (gas usage est.: 32720924) [out] test origami_map::finders::bfs::test::test_bfs_long_straight_path ... ok (gas usage est.: 687640) [out] test origami_map::helpers::heap::tests::test_heap_not_contains ... ok (gas usage est.: 29660) [out] test origami_map::generators::mazer::tests::test_mazer_generate_order_2 ... ok (gas usage est.: 104334) [out] test origami_map::finders::bfs::test::test_bfs_all_obstacles ... ok (gas usage est.: 171312) [out] test origami_map::helpers::heap::tests::test_heap_pop_front_sorted ... ok (gas usage est.: 150680) [out] test origami_map::map::tests::test_map_random_walk ... ok (gas usage est.: 37474712) [out] test origami_map::finders::greedy::test::test_greedy_search_small ... ok (gas usage est.: 927840) [out] test origami_map::helpers::heap::tests::test_heap_pop_front_reversed ... ok (gas usage est.: 159120) [out] test origami_map::finders::greedy::test::test_greedy_search_impossible ... ok (gas usage est.: 552126) [out] test origami_map::helpers::heap::tests::test_heap_swap ... ok (gas usage est.: 106690) [out] test origami_map::map::tests::test_map_compute_distribution ... ok (gas usage est.: 39906080) [out] test origami_map::generators::caver::tests::test_caver_generate ... ok (gas usage est.: 95179772) [out] test origami_map::finders::greedy::test::test_greedy_search_large ... ok (gas usage est.: 9000808) [out] test origami_map::helpers::heap::tests::test_heap_get ... ok (gas usage est.: 92680) [out] test origami_map::finders::dfs::test::test_dfs_search_small ... ok (gas usage est.: 694650) [out] test origami_map::helpers::heap::tests::test_heap_at ... ok (gas usage est.: 90920) [out] test origami_map::map::tests::test_map_search_path ... ok (gas usage est.: 37149696) [out] test origami_map::finders::dfs::test::test_dfs_search_impossible ... ok (gas usage est.: 460046) [out] test origami_map::helpers::heap::tests::test_heap_add_pop_add ... ok (gas usage est.: 100070) [out] test origami_map::finders::finder::test::test_finder_euclidean ... ok (gas usage est.: 13180) [out] test origami_map::generators::caver::tests::test_caver_new_seed_generate ... ok (gas usage est.: 94974002) [out] test origami_map::finders::dfs::test::test_dfs_search_medium ... ok (gas usage est.: 1096592) [out] test origami_map::finders::finder::test::test_finder_check_corner ... ok (gas usage est.: 57860) [out] test origami_map::finders::finder::test::test_finder_manhattan ... ok (gas usage est.: 1670) [out] test origami_map::finders::dfs::test::test_dfs_single_cell_path ... ok (gas usage est.: 150862) [out] test origami_map::finders::finder::test::test_finder_check_edge ... ok (gas usage est.: 74100) [out] test origami_map::generators::walker::tests::test_walker_generate ... ok (gas usage est.: 31980452) [out] test origami_map::generators::spreader::tests::test_spreader_generate_large ... ok (gas usage est.: 15035620) [out] test origami_map::helpers::bitmap::tests::test_bitmap_popcount_large ... ok (gas usage est.: 221124) [out] test origami_map::finders::finder::test::test_finder_check_inside ... ok (gas usage est.: 91880) [out] test origami_map::helpers::bitmap::tests::test_bitmap_popcount_small ... ok (gas usage est.: 37922) [out] test origami_map::generators::spreader::tests::test_spreader_generate_small ... ok (gas usage est.: 1363674) [out] test origami_map::helpers::bitmap::tests::test_bitmap_get ... ok (gas usage est.: 16320) [out] test origami_map::finders::finder::test::test_finder_path_with_parents ... ok (gas usage est.: 113890) [out] test origami_map::finders::finder::test::test_finder_path_with_heap ... ok (gas usage est.: 327770) [out] test result: ok. 75 passed; 0 failed; 0 ignored; 0 filtered out; [out] Running test origami_random (scarb cairo-test) [out] Compiling test(origami_random_unittest) origami_random v1.1.2 (/mnt/maat-workbench/crates/random/Scarb.toml) [out] Finished `dev` profile target(s) in 4 seconds [out] Testing origami_random [out] running 8 tests [out] test origami_random::dice::tests::test_dice_new_roll ... ok (gas usage est.: 82012) [out] test origami_random::deck::tests::test_deck_new_withdraw ... ok (gas usage est.: 163658) [out] test origami_random::deck::tests::test_deck_new_draw ... ok (gas usage est.: 176160) [out] test origami_random::deck::tests::test_deck_new_discard ... ok (gas usage est.: 227542) [out] test origami_random::deck::tests::test_deck_new_draw_revert_no_card_left ... ok (gas usage est.: 19120) [out] test origami_random::dice::tests::test_dice_new_roll_overflow ... ok (gas usage est.: 14852) [out] test origami_random::deck::tests::test_deck_new_remove ... ok (gas usage est.: 150812) [out] test origami_random::deck::tests::test_deck_from_bitmap ... ok (gas usage est.: 211197) [out] test result: ok. 8 passed; 0 failed; 0 ignored; 0 filtered out; [out] Running test origami_rating (scarb cairo-test) [out] Compiling test(origami_rating_unittest) origami_rating v1.1.2 (/mnt/maat-workbench/crates/rating/Scarb.toml) [out] Finished `dev` profile target(s) in 4 seconds [out] Testing origami_rating [out] running 6 tests [out] test origami_rating::elo::tests::test_elo_change_negative_02 ... ok (gas usage est.: 179320) [out] test origami_rating::elo::tests::test_elo_change_positive_01 ... ok (gas usage est.: 193480) [out] test origami_rating::elo::tests::test_elo_change_positive_02 ... ok (gas usage est.: 179000) [out] test origami_rating::elo::tests::test_elo_change_negative_01 ... ok (gas usage est.: 193800) [out] test origami_rating::elo::tests::test_elo_change_positive_03 ... ok (gas usage est.: 193480) [out] test origami_rating::elo::tests::test_elo_change_draw ... ok (gas usage est.: 193480) [out] test result: ok. 6 passed; 0 failed; 0 ignored; 0 filtered out; [out] Running test origami_security (scarb cairo-test) [out] Compiling test(origami_security_unittest) origami_security v1.1.2 (/mnt/maat-workbench/crates/security/Scarb.toml) [out] Finished `dev` profile target(s) in 4 seconds [out] Testing origami_security [out] running 2 tests [out] test origami_security::commitment::tests::test_security_commit_revert_zero ... ok (gas usage est.: 1000) [out] test origami_security::commitment::tests::test_security_commit_reveal ... ok (gas usage est.: 13622) [out] test result: ok. 2 passed; 0 failed; 0 ignored; 0 filtered out; >>> maat-test-ls [err] 0.003778535s WARN cairo_language_server::config: client does not support `workspace/configuration` requests, config will not be reloaded [out] Opening file:///mnt/maat-workbench/crates/algebra/src/lib.cairo [out] Opening file:///mnt/maat-workbench/crates/defi/src/lib.cairo [out] Opening file:///mnt/maat-workbench/crates/map/src/lib.cairo [out] Opening file:///mnt/maat-workbench/crates/random/src/lib.cairo [out] Opening file:///mnt/maat-workbench/crates/rating/src/lib.cairo [out] Opening file:///mnt/maat-workbench/crates/security/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: "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] - `cubit`: `["/mnt/maat-cache/scarb/registry/git/checkouts/cubit-79j4nvhjjm5qc/32a20af/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "cubit", [out] ), [out] edition: V2023_10, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 3, [out] patch: 0, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "cubit": DependencySettings { [out] discriminator: Some( [out] "cubit 1.3.0 (git+https://github.com/bengineer42/cubit?branch=bump-cairo-gt-2.8#32a20af893b3e26e6f5cf436c509457d6500ca5c)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `origami_algebra`: `["/mnt/maat-workbench/crates/algebra/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "origami_algebra", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 1, [out] patch: 2, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "cubit": DependencySettings { [out] discriminator: Some( [out] "cubit 1.3.0 (git+https://github.com/bengineer42/cubit?branch=bump-cairo-gt-2.8#32a20af893b3e26e6f5cf436c509457d6500ca5c)", [out] ), [out] }, [out] "origami_algebra": DependencySettings { [out] discriminator: Some( [out] "origami_algebra 1.1.2 (path+file:///mnt/maat-workbench/crates/algebra/Scarb.toml)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `origami_defi`: `["/mnt/maat-workbench/crates/defi/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "origami_defi", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 1, [out] patch: 2, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "cubit": DependencySettings { [out] discriminator: Some( [out] "cubit 1.3.0 (git+https://github.com/bengineer42/cubit?branch=bump-cairo-gt-2.8#32a20af893b3e26e6f5cf436c509457d6500ca5c)", [out] ), [out] }, [out] "origami_defi": DependencySettings { [out] discriminator: Some( [out] "origami_defi 1.1.2 (path+file:///mnt/maat-workbench/crates/defi/Scarb.toml)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `origami_map`: `["/mnt/maat-workbench/crates/map/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "origami_map", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 1, [out] patch: 2, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "origami_map": DependencySettings { [out] discriminator: Some( [out] "origami_map 1.1.2 (path+file:///mnt/maat-workbench/crates/map/Scarb.toml)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `origami_random`: `["/mnt/maat-workbench/crates/random/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "origami_random", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 1, [out] patch: 2, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "origami_random": DependencySettings { [out] discriminator: Some( [out] "origami_random 1.1.2 (path+file:///mnt/maat-workbench/crates/random/Scarb.toml)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `origami_rating`: `["/mnt/maat-workbench/crates/rating/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "origami_rating", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 1, [out] patch: 2, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "origami_rating": DependencySettings { [out] discriminator: Some( [out] "origami_rating 1.1.2 (path+file:///mnt/maat-workbench/crates/rating/Scarb.toml)", [out] ), [out] }, [out] }, [out] experimental_features: ExperimentalFeaturesConfig { [out] negative_impls: false, [out] associated_item_constraints: false, [out] coupons: false, [out] }, [out] } [out] ``` [out] - `origami_security`: `["/mnt/maat-workbench/crates/security/src/lib.cairo"]` [out] ```rust [out] CrateSettings { [out] name: Some( [out] "origami_security", [out] ), [out] edition: V2024_07, [out] version: Some( [out] Version { [out] major: 1, [out] minor: 1, [out] patch: 2, [out] }, [out] ), [out] cfg_set: Some( [out] CfgSet( [out] target: "lib", [out] target: "test", [out] test, [out] ), [out] ), [out] dependencies: { [out] "core": DependencySettings { [out] discriminator: None, [out] }, [out] "origami_security": DependencySettings { [out] discriminator: Some( [out] "origami_security 1.1.2 (path+file:///mnt/maat-workbench/crates/security/Scarb.toml)", [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/crates/algebra/src/matrix.cairo (8) [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 59, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 75, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 106, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 134, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 178, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 210, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 252, Col 12] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 242, Col 8] [out] file:///mnt/maat-workbench/crates/algebra/src/vec2.cairo (26) [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 114, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 116, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 120, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 121, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 131, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 133, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 137, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 138, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 154, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 156, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 161, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 163, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 178, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 182, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 197, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 199, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 203, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 205, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 216, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 218, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 229, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 231, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 242, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 244, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 255, Col 15] [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 257, Col 15] [out] file:///mnt/maat-workbench/crates/algebra/src/vector.cairo (2) [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 62, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 82, Col 8] [out] file:///mnt/maat-workbench/crates/map/src/finders/dfs.cairo (1) [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 81, Col 8] [out] file:///mnt/maat-workbench/crates/map/src/finders/finder.cairo (1) [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 112, Col 8] [out] file:///mnt/maat-workbench/crates/map/src/helpers/bitmap.cairo (2) [out] (W) Plugin diagnostic: You seem to be trying to use `&` for parity check. Consider using `DivRem::div_rem()` instead. [Ln 114, Col 12] [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 15, Col 15] [out] file:///mnt/maat-workbench/crates/map/src/helpers/heap.cairo (2) [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 218, Col 14] [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 259, Col 14] [out] file:///mnt/maat-workbench/crates/map/src/helpers/printer.cairo (4) [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 20, Col 18] [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 17, Col 14] [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 70, Col 18] [out] (W) Plugin diagnostic: using [`<`, `<=`, `>=`, `>`] exit conditions is inefficient. Consider switching to `!=` or using ArrayTrait::multi_pop_front. [Ln 67, Col 14] [out] file:///mnt/maat-workbench/crates/map/src/hex.cairo (6) [out] (W) Plugin diagnostic: Unnecessary comparison with a boolean value. Use the variable directly. [Ln 113, Col 58] [out] (W) Plugin diagnostic: Each `if`-statement adds one level of nesting, which makes code look more complex than it really is. [Ln 78, Col 12] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 112, Col 20] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 103, Col 16] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 96, Col 12] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 91, Col 8] [out] file:///mnt/maat-workbench/crates/map/src/map.cairo (1) [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 166, Col 8] [out] file:///mnt/maat-workbench/crates/random/src/deck.cairo (10) [out] (W) Plugin diagnostic: you seem to be trying to use `loop` for iterating over a span. Consider using `for in` [Ln 145, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 84, Col 8] [out] (W) Plugin diagnostic: This operation results in the value being erased (e.g., multiplication by 0). Consider replacing the entire expression with 0. [Ln 179, Col 27] [out] (W) Plugin diagnostic: This operation results in the value being erased (e.g., multiplication by 0). Consider replacing the entire expression with 0. [Ln 179, Col 38] [out] (W) Plugin diagnostic: This operation results in the value being erased (e.g., multiplication by 0). Consider replacing the entire expression with 0. [Ln 179, Col 58] [out] (W) Plugin diagnostic: This operation results in the value being erased (e.g., multiplication by 0). Consider replacing the entire expression with 0. [Ln 179, Col 68] [out] (W) Plugin diagnostic: This operation doesn't change the value and can be simplified. [Ln 179, Col 48] [out] (W) Plugin diagnostic: This operation doesn't change the value and can be simplified. [Ln 179, Col 68] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 211, Col 8] [out] (W) Plugin diagnostic: you seem to be trying to use `loop`. Consider replacing this `loop` with a `while` loop for clarity and conciseness [Ln 227, Col 8] [out] total: 0 errors, 63 warnings, 0 infos, 0 hints [out] [out] ============================== [out] CairoLS process exited with code: 0