=== xoroshiro-1.1.0 === >>> curl -sSLf https://scarbs.xyz/api/v1/dl/xoroshiro/1.1.0 -o archive-600372617426280448.tar.zstd >>> tar --zstd -xf archive-600372617426280448.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.11.4 ASDF_SCARB_VERSION true [out] starknet-foundry nightly-2025-07-15 ASDF_STARKNET-FOUNDRY_VERSION true >>> maat-patch [err] Installed 1 package in 2ms [out] diff --git a/Scarb.toml b/Scarb.toml [out] index 2244b05..6f96769 100644 [out] --- a/Scarb.toml [out] +++ b/Scarb.toml [out] @@ -26,7 +26,7 @@ keywords = [ [out] license-file = "LICENSE" [out] readme = "README.md" [out] repository = "https://github.com/milancermak/xoroshiro-cairo" [out] -cairo-version = "^2.7.0" [out] +cairo-version = "2.11.4" # NOTE: added by maat-patch, was: '^2.7.0' [out] [out] [dependencies.starknet] [out] version = ">=2.7.0" [out] @@ -38,3 +38,22 @@ sort-module-level-items = true [out] [tool.snforge] [out] max_n_steps = 200000000 [out] [out] +[tool.scarb] [out] +allow-prebuilt-plugins = ["snforge_std"] # NOTE: maat-patch added 'snforge_std' [out] + [out] +[dev-dependencies] [out] +snforge_std = {version = "0.46.0+nightly-2025-07-15", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] + [out] +[scripts] [out] +test = "snforge test --fuzzer-seed 1" # 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 = {version = "0.46.0+nightly-2025-07-15", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = {version = "0.46.0+nightly-2025-07-15", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] + [out] +[patch."https://github.com/foundry-rs/starknet-foundry.git"] [out] +snforge_std = {version = "0.46.0+nightly-2025-07-15", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None [out] +snforge_scarb_plugin = {version = "0.46.0+nightly-2025-07-15", registry = "https://scarbs.dev/"} # NOTE: added by maat-patch, was: None >>> 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 snforge_scarb_plugin v0.46.0+nightly-2025-07-15 (registry+https://scarbs.dev/) [out] Updating crates.io index [out] Downloading crates ... [out] Downloaded scarb-stable-hash v1.0.0 [out] Downloaded smallvec v1.15.0 [out] Downloaded zerovec-derive v0.11.1 [out] Downloaded winnow v0.7.10 [out] Downloaded heck v0.4.1 [out] Downloaded icu_properties_data v2.0.1 [out] Downloaded icu_properties v2.0.1 [out] Downloaded data-encoding v2.9.0 [out] Downloaded num-integer v0.1.46 [out] Downloaded zerovec v0.11.2 [out] Downloaded serde_derive v1.0.219 [out] Downloaded zerofrom v0.1.6 [out] Downloaded zerotrie v0.2.2 [out] Downloaded zerofrom-derive v0.1.6 [out] Downloaded thiserror-impl v2.0.12 [out] Downloaded yoke-derive v0.8.0 [out] Downloaded tracing-core v0.1.33 [out] Downloaded xxhash-rust v0.8.15 [out] Downloaded toml_edit v0.22.26 [out] Downloaded tracing v0.1.41 [out] Downloaded itertools v0.14.0 [out] Downloaded idna v1.0.3 [out] Downloaded cairo-lang-parser v2.12.0-rc.1 [out] Downloaded serde v1.0.219 [out] Downloaded proc-macro2 v1.0.95 [out] Downloaded syn v2.0.101 [out] Downloaded memchr v2.7.4 [out] Downloaded linkme-impl v0.3.33 [out] Downloaded cairo-lang-quote v0.1.0-rc.0 [out] Downloaded unicode-ident v1.0.18 [out] Downloaded triomphe v0.1.14 [out] Downloaded toml_write v0.1.1 [out] Downloaded parking_lot_core v0.9.10 [out] Downloaded oorandom v11.1.5 [out] Downloaded idna_adapter v1.2.1 [out] Downloaded cairo-lang-utils v2.12.0-rc.1 [out] Downloaded serde_spanned v0.6.8 [out] Downloaded parking_lot v0.12.3 [out] Downloaded num-bigint v0.4.6 [out] Downloaded rust-analyzer-salsa v0.17.0-pre.6 [out] Downloaded lock_api v0.4.12 [out] Downloaded litemap v0.8.0 [out] Downloaded cairo-lang-syntax-codegen v2.12.0-rc.1 [out] Downloaded writeable v0.6.1 [out] Downloaded unescaper v0.1.6 [out] Downloaded toml_datetime v0.6.9 [out] Downloaded potential_utf v0.1.2 [out] Downloaded pin-project-lite v0.2.16 [out] Downloaded linkme v0.3.33 [out] Downloaded indoc v2.0.5 [out] Downloaded cfg-if v1.0.0 [out] Downloaded xshell-macros v0.2.7 [out] Downloaded url v2.5.4 [out] Downloaded tracing-attributes v0.1.28 [out] Downloaded libc v0.2.172 [out] Downloaded toml v0.8.22 [out] Downloaded rust-analyzer-salsa-macros v0.17.0-pre.6 [out] Downloaded quote v1.0.40 [out] Downloaded percent-encoding v2.3.1 [out] Downloaded path-clean v1.0.1 [out] Downloaded cairo-lang-primitive-token v1.0.0 [out] Downloaded xshell v0.2.7 [out] Downloaded utf8_iter v1.0.4 [out] Downloaded tinystr v0.8.1 [out] Downloaded thiserror v2.0.12 [out] Downloaded synstructure v0.13.2 [out] Downloaded smol_str v0.3.2 [out] Downloaded relative-path v1.9.3 [out] Downloaded semver v1.0.26 [out] Downloaded num-traits v0.2.19 [out] Downloaded stable_deref_trait v1.2.0 [out] Downloaded scopeguard v1.2.0 [out] Downloaded rustc-hash v1.1.0 [out] Downloaded once_cell v1.21.3 [out] Downloaded icu_normalizer v2.0.0 [out] Downloaded icu_locale_core v2.0.0 [out] Downloaded icu_collections v2.0.0 [out] Downloaded hashbrown v0.15.3 [out] Downloaded colored v3.0.0 [out] Downloaded cairo-lang-macro-stable v2.0.0-rc.0 [out] Downloaded cairo-lang-filesystem v2.12.0-rc.1 [out] Downloaded cairo-lang-debug v2.12.0-rc.1 [out] Downloaded genco v0.17.10 [out] Downloaded form_urlencoded v1.2.1 [out] Downloaded cfg_aliases v0.2.1 [out] Downloaded either v1.15.0 [out] Downloaded displaydoc v0.2.5 [out] Downloaded cairo-lang-syntax v2.12.0-rc.1 [out] Downloaded borsh v1.5.7 [out] Downloaded genco-macros v0.17.10 [out] Downloaded foldhash v0.1.5 [out] Downloaded cairo-lang-macro v0.2.0-rc.1 [out] Downloaded cairo-lang-diagnostics v2.12.0-rc.1 [out] Downloaded bumpalo v3.17.0 [out] Downloaded equivalent v1.0.2 [out] Downloaded cairo-lang-macro-attributes v0.2.0-rc.1 [out] Downloaded allocator-api2 v0.2.21 [out] Downloaded yoke v0.8.0 [out] Downloaded indexmap v2.9.0 [out] Downloaded icu_provider v2.0.0 [out] Downloaded icu_normalizer_data v2.0.0 [out] Downloaded autocfg v1.4.0 [out] Compiling cairo-lang-syntax v2.12.0-rc.1 [out] error[E0658]: use of unstable library feature `unsigned_is_multiple_of` [out] --> /opt/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-lang-syntax-2.12.0-rc.1/src/node/element_list.rs:47:43 [out] | [out] 47 | !self.node.get_children(db).len().is_multiple_of(2) [out] | ^^^^^^^^^^^^^^ [out] | [out] = note: see issue #128101 for more information [out] For more information about this error, try `rustc --explain E0658`. [out] error: could not compile `cairo-lang-syntax` (lib) due to 1 previous error [out] error: process did not exit successfully: exit status: 101 [out] [out] Stack backtrace: [out] 0: anyhow::kind::Adhoc::new [out] 1: anyhow::__private::format_err.100642 [out] 2: scarb::compiler::plugin::proc_macro::compilation::run_cargo [out] 3: std::sys::backtrace::__rust_begin_short_backtrace [out] 4: core::ops::function::FnOnce::call_once{{vtable.shim}} [out] 5: std::sys::pal::unix::thread::Thread::new::thread_start [out] 6: start_thread [out] 7: __clone [out] error: could not compile `snforge_scarb_plugin` due to previous error [out] [out] Stack backtrace: [out] 0: anyhow::kind::Adhoc::new [out] 1: anyhow::__private::format_err.100642 [out] 2: std::sys::backtrace::__rust_begin_short_backtrace [out] 3: core::ops::function::FnOnce::call_once{{vtable.shim}} [out] 4: std::sys::pal::unix::thread::Thread::new::thread_start [out] 5: start_thread [out] 6: __clone Process finished with exit code 1 >>> scarb lint --workspace --deny-warnings [err] error: unexpected argument '--deny-warnings' found [err] [err] tip: a similar argument exists: '--no-warnings' [err] [err] Usage: scarb lint --workspace --no-warnings [err] [err] For more information, try '--help'. Process finished with exit code 2 >>> SNFORGE_FUZZER_SEED=1 SNFORGE_IGNORE_FORK_TESTS=1 scarb test --workspace [out] Running test xoroshiro (snforge test --fuzzer-seed 1) [out] [ERROR] On Scarb versions < 2.12.0, the `snforge_std` package must be replaced with `snforge_std_compatibility`. Please update it in Scarb.toml Process finished with exit code 2 >>> maat-test-ls [err] 0.004300116s 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] - `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] - `xoroshiro`: `["/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] [out] [out] ============================== [out] file:///mnt/maat-workbench/src/xoroshiro.cairo (5) [out] (W) Usage of deprecated feature `"corelib-internal-use"` with no `#[feature("corelib-internal-use")]` attribute. Note: "Use `starknet` directly" [Ln 7, Col 14] [out] (E) Identifier not found. [Ln 78, Col 8] [out] (E) Ambiguous method call. More than one applicable trait function with a suitable self type was found: core::option::OptionTrait::unwrap and core::result::ResultTrait::unwrap. Consider adding type annotations or explicitly refer to the impl function. [Ln 83, Col 44] [out] (E) Method `contract_class` not found on type ``. Did you import the correct trait and impl? [Ln 83, Col 53] [out] (E) Method `deploy` not found on type ``. Did you import the correct trait and impl? [Ln 84, Col 52] [out] total: 4 errors, 1 warnings, 0 infos, 0 hints [out] [out] ============================== [out] CairoLS process exited with code: 0