=== alexandria_merkle_tree-0.5.1 === >>> curl -sSLf https://scarbs.xyz/api/v1/dl/alexandria_merkle_tree/0.5.1 -o archive-599299439242633216.tar.zstd >>> tar --zstd -xf archive-599299439242633216.tar.zstd --strip-components 1 >>> maat-check-versions [out] Name Version Source Installed [out] nodejs 23.11.0 ASDF_NODEJS_VERSION true [out] scarb 2.12.0-rc.1 ASDF_SCARB_VERSION true [out] starknet-foundry 0.46.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 8971943..5c19859 100644 [out] --- a/Scarb.toml [out] +++ b/Scarb.toml [out] @@ -16,7 +16,7 @@ edition = "2023_11" [out] description = "Merkle tree related stuff" [out] homepage = "https://github.com/keep-starknet-strange/alexandria/tree/main/src/merkle_tree" [out] readme = "README.md" [out] -cairo-version = "^2.11.2" [out] +cairo-version = "2.12.0-rc.1" # NOTE: added by maat-patch, was: '^2.11.2' [out] re-export-cairo-plugins = [] [out] [out] [dependencies.alexandria_math] [out] @@ -25,3 +25,22 @@ version = "^0.5.1" [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.12.0-rc.1" # 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.12.0-rc.1" # NOTE: added by maat-patch, was: None [out] +starknet = "2.12.0-rc.1" # NOTE: added by maat-patch, was: None [out] +cairo_test = "2.12.0-rc.1" # NOTE: added by maat-patch, was: None [out] +snforge_std = "0.46.0" # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = "0.46.0" # NOTE: added by maat-patch, was: None [out] + [out] +[patch."https://github.com/foundry-rs/starknet-foundry.git"] [out] +snforge_std = "0.46.0" # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = "0.46.0" # NOTE: added by maat-patch, was: None >>> scarb fetch [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 `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] 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_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 `assert_macros` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used >>> scarb tree -q --workspace [out] alexandria_merkle_tree v0.5.1 (/mnt/maat-workbench/Scarb.toml) [out] ├── alexandria_math v0.5.1 [out] └── [dev-dependencies] [out] └── cairo_test v2.12.0-rc.1 (std) >>> SCARB_IGNORE_CAIRO_VERSION=true scarb build --workspace --test [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://github.com/foundry-rs/starknet-foundry` 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] warn: patch `snforge_std` (`registry+https://scarbs.xyz/`) for source `https://scarbs.xyz/` has not been used [out] warn: the required Cairo version of package alexandria_math is not compatible with current version [out] Cairo version required: ^2.11.2 [out] Cairo version of Scarb: 2.12.0-rc.1 [out] [out] Compiling test(alexandria_merkle_tree_unittest) alexandria_merkle_tree v0.5.1 (/mnt/maat-workbench/Scarb.toml) [err] [err] thread '' panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-lang-sierra-to-casm-2.12.0-rc.1/src/invocations/mod.rs:186:13: [err] assertion failed: `Deferred(Const)` does not match `OutputVarReferenceInfo::ZeroSized` [err] stack backtrace: [err] 0: __rustc::rust_begin_unwind [err] 1: core::panicking::panic_fmt [err] 2: cairo_lang_sierra_to_casm::invocations::validate_output_var_refs [err] 3: as core::iter::traits::iterator::Iterator>::next [err] 4: as core::iter::traits::iterator::Iterator>::next [err] 5: cairo_lang_sierra_to_casm::invocations::CompiledInvocationBuilder::build [err] 6: cairo_lang_sierra_to_casm::invocations::const_type::build [err] 7: cairo_lang_sierra_to_casm::invocations::compile_invocation [err] 8: cairo_lang_sierra_to_casm::compiler::compile [err] 9: cairo_lang_runnable_utils::builder::RunnableBuilder::new [err] 10: ::estimate_size [err] 11: salsa::derived::slot::Slot::execute [err] 12: ::priv_should_specialize::__shim [err] 13: cairo_lang_lowering::optimizations::const_folding::ConstFoldingContext::visit_statement [err] 14: cairo_lang_lowering::inline::apply_inlining [err] 15: cairo_lang_lowering::optimizations::strategy::OptimizationStrategyId::apply_strategy [err] 16: ::execute [err] 17: salsa::derived::slot::Slot::execute [err] 18: ::lowered_body::__shim [err] 19: ::execute [err] 20: salsa::derived::slot::Slot::execute [err] 21: ::lowered_body::__shim [err] 22: cairo_lang_sierra_generator::function_generator::priv_function_with_body_sierra_data [err] 23: salsa::derived::slot::Slot::execute [err] 24: ::priv_function_with_body_sierra_data::__shim [err] 25: salsa::derived::slot::Slot::execute [err] 26: ::function_with_body_sierra::__shim [err] 27: rayon_core::scope::scope::{{closure}} [err] 28: cairo_lang_compiler::warmup_db_blocking::{{closure}}::{{closure}}::handle_func_inner [err] 29: as rayon_core::job::Job>::execute [err] 30: rayon_core::registry::WorkerThread::wait_until_cold [err] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [err] [err] thread '' panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-lang-sierra-to-casm-2.12.0-rc.1/src/invocations/mod.rs:186:13: [err] assertion failed: `Deferred(Const)` does not match `OutputVarReferenceInfo::ZeroSized` [err] stack backtrace: [err] 0: __rustc::rust_begin_unwind [err] 1: core::panicking::panic_fmt [err] 2: cairo_lang_sierra_to_casm::invocations::validate_output_var_refs [err] 3: as core::iter::traits::iterator::Iterator>::next [err] 4: as core::iter::traits::iterator::Iterator>::next [err] 5: cairo_lang_sierra_to_casm::invocations::CompiledInvocationBuilder::build [err] 6: cairo_lang_sierra_to_casm::invocations::const_type::build [err] 7: cairo_lang_sierra_to_casm::invocations::compile_invocation [err] 8: cairo_lang_sierra_to_casm::compiler::compile [err] 9: cairo_lang_runnable_utils::builder::RunnableBuilder::new [err] 10: ::estimate_size [err] 11: salsa::derived::slot::Slot::execute [err] 12: ::priv_should_specialize::__shim [err] 13: cairo_lang_lowering::optimizations::const_folding::ConstFoldingContext::visit_statement [err] 14: cairo_lang_lowering::inline::apply_inlining [err] 15: cairo_lang_lowering::optimizations::strategy::OptimizationStrategyId::apply_strategy [err] 16: ::execute [err] 17: salsa::derived::slot::Slot::execute [err] 18: ::lowered_body::__shim [err] 19: ::execute [err] 20: salsa::derived::slot::Slot::execute [err] 21: ::lowered_body::__shim [err] 22: cairo_lang_sierra_generator::function_generator::priv_function_with_body_sierra_data [err] 23: salsa::derived::slot::Slot::execute [err] 24: ::priv_function_with_body_sierra_data::__shim [err] 25: salsa::derived::slot::Slot::execute [err] 26: ::function_with_body_sierra::__shim [err] 27: rayon_core::scope::scope::{{closure}} [err] 28: cairo_lang_compiler::warmup_db_blocking::{{closure}}::{{closure}}::handle_func_inner [err] 29: as rayon_core::job::Job>::execute [err] 30: rayon_core::registry::WorkerThread::wait_until_cold [err] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [err] [err] thread 'main' panicked at scarb/src/ops/compile.rs:214:14: [err] Compiler thread has panicked.: Any { .. } [err] stack backtrace: [err] 0: __rustc::rust_begin_unwind [err] 1: core::panicking::panic_fmt [err] 2: core::result::unwrap_failed [err] 3: std::thread::scoped::scope [err] 4: scarb::ops::compile::process [err] 5: scarb::ops::compile::compile [err] 6: scarb::commands::run [err] 7: scarb::main [err] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Process finished with exit code 101 >>> SCARB_IGNORE_CAIRO_VERSION=true scarb lint --workspace --deny-warnings [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 `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://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_std` (`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: the required Cairo version of package alexandria_math is not compatible with current version [out] Cairo version required: ^2.11.2 [out] Cairo version of Scarb: 2.12.0-rc.1 [out] [out] Linting alexandria_merkle_tree v0.5.1 (/mnt/maat-workbench/Scarb.toml) >>> SCARB_IGNORE_CAIRO_VERSION=true SNFORGE_FUZZER_SEED=1 SNFORGE_IGNORE_FORK_TESTS=1 scarb test --workspace [out] Running test alexandria_merkle_tree (scarb cairo-test) [out] warn: patch `cairo_test` (`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] 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 `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://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 [out] warn: the required Cairo version of package alexandria_math is not compatible with current version [out] Cairo version required: ^2.11.2 [out] Cairo version of Scarb: 2.12.0-rc.1 [out] [out] Compiling test(alexandria_merkle_tree_unittest) alexandria_merkle_tree v0.5.1 (/mnt/maat-workbench/Scarb.toml) [err] [err] thread 'scarb compile alexandria_merkle_tree-2dro80f1m8da6' panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-lang-sierra-to-casm-2.12.0-rc.1/src/invocations/mod.rs:186:13: [err] assertion failed: `Deferred(Const)` does not match `OutputVarReferenceInfo::ZeroSized` [err] stack backtrace: [err] 0: __rustc::rust_begin_unwind [err] 1: core::panicking::panic_fmt [err] 2: cairo_lang_sierra_to_casm::invocations::validate_output_var_refs [err] 3: as core::iter::traits::iterator::Iterator>::next [err] 4: as core::iter::traits::iterator::Iterator>::next [err] 5: cairo_lang_sierra_to_casm::invocations::CompiledInvocationBuilder::build [err] 6: cairo_lang_sierra_to_casm::invocations::const_type::build [err] 7: cairo_lang_sierra_to_casm::invocations::compile_invocation [err] 8: cairo_lang_sierra_to_casm::compiler::compile [err] 9: cairo_lang_runnable_utils::builder::RunnableBuilder::new [err] 10: ::estimate_size [err] 11: salsa::derived::slot::Slot::execute [err] 12: ::priv_should_specialize::__shim [err] 13: cairo_lang_lowering::optimizations::const_folding::ConstFoldingContext::visit_statement [err] 14: cairo_lang_lowering::inline::apply_inlining [err] 15: cairo_lang_lowering::optimizations::strategy::OptimizationStrategyId::apply_strategy [err] 16: ::execute [err] 17: salsa::derived::slot::Slot::execute [err] 18: ::lowered_body::__shim [err] 19: ::execute [err] 20: salsa::derived::slot::Slot::execute [err] 21: ::lowered_body::__shim [err] 22: cairo_lang_sierra_generator::function_generator::priv_function_with_body_sierra_data [err] 23: salsa::derived::slot::Slot::execute [err] 24: ::priv_function_with_body_sierra_data::__shim [err] 25: salsa::derived::slot::Slot::execute [err] 26: ::function_with_body_sierra::__shim [err] 27: salsa::derived::slot::Slot::execute [err] 28: ::get_sierra_program_for_functions::__shim [err] 29: cairo_lang_compiler::get_sierra_program_for_functions [err] 30: cairo_lang_test_plugin::compile_test_prepared_db [err] 31: ::compile [err] 32: scarb::compiler::repository::CompilerRepository::compile [err] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [err] [err] thread '' panicked at /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-lang-sierra-to-casm-2.12.0-rc.1/src/invocations/mod.rs:186:13: [err] assertion failed: `Deferred(Const)` does not match `OutputVarReferenceInfo::ZeroSized` [err] stack backtrace: [err] 0: __rustc::rust_begin_unwind [err] 1: core::panicking::panic_fmt [err] 2: cairo_lang_sierra_to_casm::invocations::validate_output_var_refs [err] 3: as core::iter::traits::iterator::Iterator>::next [err] 4: as core::iter::traits::iterator::Iterator>::next [err] 5: cairo_lang_sierra_to_casm::invocations::CompiledInvocationBuilder::build [err] 6: cairo_lang_sierra_to_casm::invocations::const_type::build [err] 7: cairo_lang_sierra_to_casm::invocations::compile_invocation [err] 8: cairo_lang_sierra_to_casm::compiler::compile [err] 9: cairo_lang_runnable_utils::builder::RunnableBuilder::new [err] 10: ::estimate_size [err] 11: salsa::derived::slot::Slot::execute [err] 12: ::priv_should_specialize::__shim [err] 13: cairo_lang_lowering::optimizations::const_folding::ConstFoldingContext::visit_statement [err] 14: cairo_lang_lowering::inline::apply_inlining [err] 15: cairo_lang_lowering::optimizations::strategy::OptimizationStrategyId::apply_strategy [err] 16: ::execute [err] 17: salsa::derived::slot::Slot::execute [err] 18: ::lowered_body::__shim [err] 19: ::execute [err] 20: salsa::derived::slot::Slot::execute [err] 21: ::lowered_body::__shim [err] 22: cairo_lang_sierra_generator::function_generator::priv_function_with_body_sierra_data [err] 23: salsa::derived::slot::Slot::execute [err] 24: ::priv_function_with_body_sierra_data::__shim [err] 25: salsa::derived::slot::Slot::execute [err] 26: ::function_with_body_sierra::__shim [err] 27: rayon_core::scope::scope::{{closure}} [err] 28: cairo_lang_compiler::warmup_db_blocking::{{closure}}::{{closure}}::handle_func_inner [err] 29: as rayon_core::job::Job>::execute [err] 30: rayon_core::registry::WorkerThread::wait_until_cold [err] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [err] [err] thread 'main' panicked at scarb/src/ops/compile.rs:214:14: [err] Compiler thread has panicked.: Any { .. } [err] stack backtrace: [err] 0: __rustc::rust_begin_unwind [err] 1: core::panicking::panic_fmt [err] 2: core::result::unwrap_failed [err] 3: std::thread::scoped::scope [err] 4: scarb::ops::compile::process [err] 5: scarb::ops::compile::compile [err] 6: scarb::commands::run [err] 7: scarb::main [err] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [err] Error: `scarb metadata` exited with error [err] [err] Stack backtrace: [err] 0: anyhow::error:: for anyhow::Error>::from [err] 1: scarb_cairo_test::main [err] 2: std::sys::backtrace::__rust_begin_short_backtrace [err] 3: main [err] 4: __libc_start_call_main [err] 5: __libc_start_main_impl [err] 6: _start Process finished with exit code 1 >>> SCARB_IGNORE_CAIRO_VERSION=true maat-test-ls [err] 0.004715726s 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_math", [out] "source_paths": [ [out] "/mnt/maat-cache/scarb/registry/src/scarbs.xyz-9djtpev4jug5q/alexandria_math-0.5.1/src/lib.cairo" [out] ], [out] "settings": { [out] "name": "alexandria_math", [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] ], [out] "dependencies": { [out] "alexandria_math": { [out] "discriminator": "alexandria_math 0.5.1 (registry+https://scarbs.xyz/)" [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] "include_compiler_generated_files": false [out] }, [out] "plugins": {} [out] } [out] [out] { [out] "name": "alexandria_merkle_tree", [out] "source_paths": [ [out] "/mnt/maat-workbench/src/lib.cairo" [out] ], [out] "settings": { [out] "name": "alexandria_merkle_tree", [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_math": { [out] "discriminator": "alexandria_math 0.5.1 (registry+https://scarbs.xyz/)" [out] }, [out] "alexandria_merkle_tree": { [out] "discriminator": "alexandria_merkle_tree 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] "include_compiler_generated_files": false [out] }, [out] "plugins": { [out] "builtin_plugins": [ [out] "AssertMacros", [out] "CairoTest" [out] ] [out] } [out] } [out] [out] { [out] "name": "core", [out] "source_paths": [ [out] "/mnt/maat-cache/scarb/registry/std/v2.12.0-rc.1/core/src/lib.cairo" [out] ], [out] "settings": { [out] "name": "core", [out] "edition": "2024_07", [out] "version": "2.12.0-rc.1", [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] "include_compiler_generated_files": false [out] }, [out] "plugins": { [out] "builtin_plugins": [ [out] "AssertMacros", [out] "Executable", [out] "CairoTest" [out] ] [out] } [out] } [out] ``` [out] [out] ============================== [out] total: 0 errors, 0 warnings, 0 infos, 0 hints [out] [out] ============================== [out] CairoLS process exited with code: 0