[INFO] fetching crate cairo-lang-starknet 2.4.0-rc6... [INFO] checking cairo-lang-starknet-2.4.0-rc6 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate cairo-lang-starknet 2.4.0-rc6 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate cairo-lang-starknet 2.4.0-rc6 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cairo-lang-starknet 2.4.0-rc6 [INFO] finished tweaking crates.io crate cairo-lang-starknet 2.4.0-rc6 [INFO] tweaked toml for crates.io crate cairo-lang-starknet 2.4.0-rc6 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 237 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cairo-felt v0.8.7 (latest: v0.9.1) [INFO] [stderr] Adding env_logger v0.10.2 (latest: v0.11.3) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.6) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding libredox v0.0.1 (latest: v0.1.3) [INFO] [stderr] Adding matrixmultiply v0.2.4 (latest: v0.3.8) [INFO] [stderr] Adding ndarray v0.13.1 (latest: v0.15.6) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.5) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.18) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.9) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding proc-macro-crate v2.0.0 (latest: v3.1.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding serde_derive_internals v0.26.0 (latest: v0.29.0) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding sprs v0.7.1 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding toml_edit v0.20.7 (latest: v0.22.9) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-log v0.2.15 [INFO] [stderr] Downloaded test-log-macros v0.2.15 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded test-case-core v3.3.1 [INFO] [stderr] Downloaded test-case-macros v3.3.1 [INFO] [stderr] Downloaded test-case v3.3.1 [INFO] [stderr] Downloaded starknet-ff v0.3.7 [INFO] [stderr] Downloaded smol_str v0.2.1 [INFO] [stderr] Downloaded starknet-curve v0.4.2 [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded indoc v2.0.5 [INFO] [stderr] Downloaded dyn-clone v1.0.17 [INFO] [stderr] Downloaded unescaper v0.1.4 [INFO] [stderr] Downloaded lalrpop-util v0.20.2 [INFO] [stderr] Downloaded path-clean v1.0.1 [INFO] [stderr] Downloaded salsa-macros v0.16.0 [INFO] [stderr] Downloaded lalrpop v0.20.2 [INFO] [stderr] Downloaded good_lp v1.7.0 [INFO] [stderr] Downloaded cairo-felt v0.8.7 [INFO] [stderr] Downloaded salsa v0.16.1 [INFO] [stderr] Downloaded cairo-lang-project v2.6.3 [INFO] [stderr] Downloaded cairo-lang-compiler v2.6.3 [INFO] [stderr] Downloaded cairo-lang-lowering v2.6.3 [INFO] [stderr] Downloaded cairo-lang-defs v2.6.3 [INFO] [stderr] Downloaded cairo-lang-diagnostics v2.6.3 [INFO] [stderr] Downloaded genco-macros v0.17.8 [INFO] [stderr] Downloaded genco v0.17.8 [INFO] [stderr] Downloaded xshell-macros v0.2.6 [INFO] [stderr] Downloaded xshell v0.2.6 [INFO] [stderr] Downloaded cairo-lang-syntax-codegen v2.6.3 [INFO] [stderr] Downloaded colored v2.1.0 [INFO] [stderr] Downloaded cairo-lang-parser v2.6.3 [INFO] [stderr] Downloaded cairo-lang-plugins v2.6.3 [INFO] [stderr] Downloaded cairo-lang-proc-macros v2.6.3 [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded cairo-lang-semantic v2.6.3 [INFO] [stderr] Downloaded cairo-lang-sierra-generator v2.6.3 [INFO] [stderr] Downloaded cairo-lang-casm v2.6.3 [INFO] [stderr] Downloaded cairo-lang-sierra-ap-change v2.6.3 [INFO] [stderr] Downloaded sprs v0.7.1 [INFO] [stderr] Downloaded minilp v0.2.2 [INFO] [stderr] Downloaded cairo-lang-sierra-gas v2.6.3 [INFO] [stderr] Downloaded cairo-felt v0.9.1 [INFO] [stderr] Downloaded const-fnv1a-hash v1.1.0 [INFO] [stderr] Downloaded cairo-lang-sierra-to-casm v2.6.3 [INFO] [stderr] Downloaded schemars v0.8.16 [INFO] [stderr] Downloaded starknet-crypto v0.6.2 [INFO] [stderr] Downloaded cairo-lang-sierra-type-size v2.6.3 [INFO] [stderr] Downloaded starknet-crypto-codegen v0.3.3 [INFO] [stderr] Downloaded cairo-lang-eq-solver v2.6.3 [INFO] [stderr] Downloaded pico-args v0.5.0 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.6 [INFO] [stderr] Downloaded cairo-lang-sierra v2.6.3 [INFO] [stderr] Downloaded cairo-lang-debug v2.6.3 [INFO] [stderr] Downloaded cairo-lang-filesystem v2.6.3 [INFO] [stderr] Downloaded cairo-lang-syntax v2.6.3 [INFO] [stderr] Downloaded cairo-lang-utils v2.6.3 [INFO] [stderr] Downloaded schemars_derive v0.8.16 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.32 [INFO] [stderr] Downloaded const_format v0.2.32 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded indent v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5901eaead9c233208fff4a2dbb8e51a3d2b4a0daf46b96286c78ddd4c2ad23cb [INFO] running `Command { std: "docker" "start" "-a" "5901eaead9c233208fff4a2dbb8e51a3d2b4a0daf46b96286c78ddd4c2ad23cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5901eaead9c233208fff4a2dbb8e51a3d2b4a0daf46b96286c78ddd4c2ad23cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5901eaead9c233208fff4a2dbb8e51a3d2b4a0daf46b96286c78ddd4c2ad23cb", kill_on_drop: false }` [INFO] [stdout] 5901eaead9c233208fff4a2dbb8e51a3d2b4a0daf46b96286c78ddd4c2ad23cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f82e7c4673dbdca2353403353b7620f717866c8f371067f4dd04ab47fc88eb7 [INFO] running `Command { std: "docker" "start" "-a" "3f82e7c4673dbdca2353403353b7620f717866c8f371067f4dd04ab47fc88eb7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling genco-macros v0.17.8 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking relative-path v1.9.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling xshell-macros v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking xshell v0.2.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking indent v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling cairo-lang-utils v2.6.3 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling cairo-lang-debug v2.6.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking sprs v0.7.1 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling cairo-lang-proc-macros v2.6.3 [INFO] [stderr] Compiling test-log-macros v0.2.15 [INFO] [stderr] Checking minilp v0.2.2 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking good_lp v1.7.0 [INFO] [stderr] Checking test-log v0.2.15 [INFO] [stderr] Checking genco v0.17.8 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking cairo-lang-syntax-codegen v2.6.3 [INFO] [stderr] Checking unescaper v0.1.4 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking salsa v0.16.1 [INFO] [stderr] Checking cairo-felt v0.9.1 [INFO] [stderr] Checking cairo-felt v0.8.7 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Compiling cairo-lang-sierra v2.6.3 [INFO] [stderr] Checking cairo-lang-eq-solver v2.6.3 [INFO] [stderr] Checking cairo-lang-casm v2.6.3 [INFO] [stderr] Checking cairo-lang-filesystem v2.6.3 [INFO] [stderr] Checking cairo-lang-diagnostics v2.6.3 [INFO] [stderr] Checking cairo-lang-syntax v2.6.3 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking cairo-lang-project v2.6.3 [INFO] [stderr] Compiling starknet-ff v0.3.7 [INFO] [stderr] Compiling starknet-curve v0.4.2 [INFO] [stderr] Compiling starknet-crypto-codegen v0.3.3 [INFO] [stderr] Checking cairo-lang-sierra-type-size v2.6.3 [INFO] [stderr] Checking cairo-lang-sierra-gas v2.6.3 [INFO] [stderr] Checking cairo-lang-sierra-ap-change v2.6.3 [INFO] [stderr] Checking cairo-lang-sierra-to-casm v2.6.3 [INFO] [stderr] Checking cairo-lang-parser v2.6.3 [INFO] [stderr] Checking cairo-lang-defs v2.6.3 [INFO] [stderr] Checking starknet-crypto v0.6.2 [INFO] [stderr] Checking cairo-lang-plugins v2.6.3 [INFO] [stderr] Checking cairo-lang-semantic v2.6.3 [INFO] [stderr] Checking cairo-lang-lowering v2.6.3 [INFO] [stderr] Checking cairo-lang-sierra-generator v2.6.3 [INFO] [stderr] Checking cairo-lang-compiler v2.6.3 [INFO] [stderr] Checking cairo-lang-starknet v2.4.0-rc6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_defs::plugin::PluginSuite` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_defs::plugin::PluginSuite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PluginSuite` in `plugin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_semantic::plugin::PluginSuite; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils` [INFO] [stdout] --> src/abi_test.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_module; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.3/src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils` [INFO] [stdout] --> src/contract_test.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use cairo_lang_semantic::test_utils::{get_crate_semantic_diagnostics, setup_test_crate}; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.3/src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils` [INFO] [stdout] --> src/plugin/test.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use cairo_lang_semantic::test_utils::setup_test_module; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.3/src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_defs::db::get_all_path_leafs` [INFO] [stdout] --> src/plugin/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cairo_lang_defs::db::get_all_path_leafs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_all_path_leaves` [INFO] [stdout] | no `get_all_path_leafs` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_defs::db::get_all_path_leafs` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cairo_lang_defs::db::get_all_path_leafs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_all_path_leaves` [INFO] [stdout] | no `get_all_path_leafs` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_test_utils` [INFO] [stdout] --> src/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cairo_lang_test_utils::test_lock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | use cairo_lang_utils::test_lock; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_test_utils` [INFO] [stdout] --> src/casm_contract_class_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cairo_lang_test_utils::compare_contents_or_fix_with_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use cairo_lang_utils::compare_contents_or_fix_with_path; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] --> src/abi_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo_lang_test_utils::parse_test_file::TestRunnerResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use cairo_lang_utils::parse_test_file::TestRunnerResult; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_test_utils` [INFO] [stdout] --> src/contract_class_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cairo_lang_test_utils::compare_contents_or_fix_with_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use cairo_lang_utils::compare_contents_or_fix_with_path; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_plugins` [INFO] [stdout] --> src/plugin/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_plugins::test_utils::expand_module_text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_plugins` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_utils::test_utils::expand_module_text; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] --> src/plugin/test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cairo_lang_test_utils::parse_test_file::{TestFileRunner, TestRunnerResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | use cairo_lang_utils::parse_test_file::{TestFileRunner, TestRunnerResult}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_test_utils` [INFO] [stdout] --> src/abi_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo_lang_test_utils::{get_direct_or_file_content, verify_diagnostics_expectation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use cairo_lang_utils::{get_direct_or_file_content, verify_diagnostics_expectation}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_test_utils` [INFO] [stdout] --> src/plugin/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cairo_lang_test_utils::{get_direct_or_file_content, verify_diagnostics_expectation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 | use cairo_lang_utils::{get_direct_or_file_content, verify_diagnostics_expectation}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] --> src/plugin/test.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | cairo_lang_test_utils::test_file_test_with_runner!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] --> src/plugin/test.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | cairo_lang_test_utils::test_file_test_with_runner!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] --> src/plugin/test.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | cairo_lang_test_utils::test_file_test_with_runner!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] --> src/abi_test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | cairo_lang_test_utils::test_file_test!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_defs::plugin::PluginSuite` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_defs::plugin::PluginSuite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PluginSuite` in `plugin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_semantic::plugin::PluginSuite; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_defs::db::get_all_path_leafs` [INFO] [stdout] --> src/plugin/events.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cairo_lang_defs::db::get_all_path_leafs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_all_path_leaves` [INFO] [stdout] | no `get_all_path_leafs` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cairo_lang_defs::db::get_all_path_leafs` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cairo_lang_defs::db::get_all_path_leafs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `get_all_path_leaves` [INFO] [stdout] | no `get_all_path_leafs` in `db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/derive/event.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | item_ast: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - item_ast: &ast::Item, [INFO] [stdout] 17 + item_ast: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/event.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast, diagnostics), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast, diagnostics), [INFO] [stdout] 21 + Item::Struct(struct_ast) => handle_struct(db, struct_ast, diagnostics), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/event.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] 22 + Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/derive/store.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | item_ast: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - item_ast: &ast::Item, [INFO] [stdout] 14 + item_ast: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/store.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast), [INFO] [stdout] 18 + Item::Struct(struct_ast) => handle_struct(db, struct_ast), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/store.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] 19 + Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/derive/mod.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn handle_derive(db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - pub fn handle_derive(db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] 41 + pub fn handle_derive(db: &dyn SyntaxGroup, item_ast: Item) -> PluginResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/entry_point.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | &ast::Item::FreeFunction(item_function.clone()), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - &ast::Item::FreeFunction(item_function.clone()), [INFO] [stdout] 36 + &Item::FreeFunction(item_function.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/events.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | item: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - item: &ast::Item, [INFO] [stdout] 72 + item: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/events.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | ast::Item::Struct(strct) => ( [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ast::Item::Struct(strct) => ( [INFO] [stdout] 76 + Item::Struct(strct) => ( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/events.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | ast::Item::Enum(enm) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - ast::Item::Enum(enm) => { [INFO] [stdout] 81 + Item::Enum(enm) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/events.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | ast::Item::Use(item) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - ast::Item::Use(item) => { [INFO] [stdout] 90 + Item::Use(item) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | item: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - item: &ast::Item, [INFO] [stdout] 69 + item: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ast::Item::Impl(item_impl) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - ast::Item::Impl(item_impl) => { [INFO] [stdout] 73 + Item::Impl(item_impl) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] 76 + Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | item: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 231 - item: &ast::Item, [INFO] [stdout] 231 + item: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | ast::Item::FreeFunction(item_function) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 235 - ast::Item::FreeFunction(item_function) => { [INFO] [stdout] 235 + Item::FreeFunction(item_function) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | ast::Item::Impl(item_impl) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 243 - ast::Item::Impl(item_impl) => { [INFO] [stdout] 243 + Item::Impl(item_impl) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 246 - ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] 246 + Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | ast::Item::ImplAlias(alias_ast) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - ast::Item::ImplAlias(alias_ast) => { [INFO] [stdout] 265 + Item::ImplAlias(alias_ast) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 287 - ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] 287 + Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | matches!(item, ast::Item::Struct(struct_ast) if struct_ast.name(db).text(db) == STORAGE_STRUCT_NAME) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 131 - matches!(item, ast::Item::Struct(struct_ast) if struct_ast.name(db).text(db) == STORAGE_STRUCT_NAME) [INFO] [stdout] 131 + matches!(item, Item::Struct(struct_ast) if struct_ast.name(db).text(db) == STORAGE_STRUCT_NAME) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | item: ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 240 - item: ast::Item, [INFO] [stdout] 240 + item: Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | ast::Item::Use(item) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 244 - ast::Item::Use(item) => { [INFO] [stdout] 244 + Item::Use(item) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | ast::Item::Constant(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 253 - ast::Item::Constant(item) => Some(item.name(db)), [INFO] [stdout] 253 + Item::Constant(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | ast::Item::Module(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 254 - ast::Item::Module(item) => Some(item.name(db)), [INFO] [stdout] 254 + Item::Module(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | ast::Item::Impl(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 255 - ast::Item::Impl(item) => Some(item.name(db)), [INFO] [stdout] 255 + Item::Impl(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | ast::Item::Struct(item) if item.name(db).text(db) == STORAGE_STRUCT_NAME => None, [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 257 - ast::Item::Struct(item) if item.name(db).text(db) == STORAGE_STRUCT_NAME => None, [INFO] [stdout] 257 + Item::Struct(item) if item.name(db).text(db) == STORAGE_STRUCT_NAME => None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | ast::Item::Struct(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 258 - ast::Item::Struct(item) => Some(item.name(db)), [INFO] [stdout] 258 + Item::Struct(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | ast::Item::Enum(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 259 - ast::Item::Enum(item) => Some(item.name(db)), [INFO] [stdout] 259 + Item::Enum(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | ast::Item::TypeAlias(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 260 - ast::Item::TypeAlias(item) => Some(item.name(db)), [INFO] [stdout] 260 + Item::TypeAlias(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | ast::Item::ExternFunction(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - ast::Item::ExternFunction(_) [INFO] [stdout] 262 + Item::ExternFunction(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | | ast::Item::ExternType(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - | ast::Item::ExternType(_) [INFO] [stdout] 263 + | Item::ExternType(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | | ast::Item::Trait(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 264 - | ast::Item::Trait(_) [INFO] [stdout] 264 + | Item::Trait(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | | ast::Item::FreeFunction(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - | ast::Item::FreeFunction(_) [INFO] [stdout] 265 + | Item::FreeFunction(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | | ast::Item::ImplAlias(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 266 - | ast::Item::ImplAlias(_) [INFO] [stdout] 266 + | Item::ImplAlias(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/derive/event.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | item_ast: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - item_ast: &ast::Item, [INFO] [stdout] 17 + item_ast: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | | ast::Item::Missing(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 267 - | ast::Item::Missing(_) [INFO] [stdout] 267 + | Item::Missing(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | | ast::Item::InlineMacro(_) => None, [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 268 - | ast::Item::InlineMacro(_) => None, [INFO] [stdout] 268 + | Item::InlineMacro(_) => None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/mod.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] 33 + fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: Item) -> PluginResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/event.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast, diagnostics), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast, diagnostics), [INFO] [stdout] 21 + Item::Struct(struct_ast) => handle_struct(db, struct_ast, diagnostics), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/event.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 22 - ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] 22 + Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/derive/store.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | item_ast: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - item_ast: &ast::Item, [INFO] [stdout] 14 + item_ast: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/store.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - ast::Item::Struct(struct_ast) => handle_struct(db, struct_ast), [INFO] [stdout] 18 + Item::Struct(struct_ast) => handle_struct(db, struct_ast), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/derive/store.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - ast::Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] 19 + Item::Enum(enum_ast) => handle_enum(db, enum_ast, diagnostics), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | ast::Item::Module(module_ast) => handle_module(db, module_ast), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - ast::Item::Module(module_ast) => handle_module(db, module_ast), [INFO] [stdout] 35 + Item::Module(module_ast) => handle_module(db, module_ast), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/derive/mod.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn handle_derive(db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - pub fn handle_derive(db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] 41 + pub fn handle_derive(db: &dyn SyntaxGroup, item_ast: Item) -> PluginResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | ast::Item::Trait(trait_ast) => handle_trait(db, trait_ast), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - ast::Item::Trait(trait_ast) => handle_trait(db, trait_ast), [INFO] [stdout] 36 + Item::Trait(trait_ast) => handle_trait(db, trait_ast), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/entry_point.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | &ast::Item::FreeFunction(item_function.clone()), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - &ast::Item::FreeFunction(item_function.clone()), [INFO] [stdout] 36 + &Item::FreeFunction(item_function.clone()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/events.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | item: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - item: &ast::Item, [INFO] [stdout] 72 + item: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | ast::Item::Impl(impl_ast) if impl_ast.has_attr(db, EMBEDDABLE_ATTR) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - ast::Item::Impl(impl_ast) if impl_ast.has_attr(db, EMBEDDABLE_ATTR) => { [INFO] [stdout] 37 + Item::Impl(impl_ast) if impl_ast.has_attr(db, EMBEDDABLE_ATTR) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | ast::Item::Struct(struct_ast) if struct_ast.has_attr(db, STORAGE_ATTR) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - ast::Item::Struct(struct_ast) if struct_ast.has_attr(db, STORAGE_ATTR) => { [INFO] [stdout] 40 + Item::Struct(struct_ast) if struct_ast.has_attr(db, STORAGE_ATTR) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/events.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | ast::Item::Struct(strct) => ( [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ast::Item::Struct(strct) => ( [INFO] [stdout] 76 + Item::Struct(strct) => ( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] 43 + Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/events.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | ast::Item::Enum(enm) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - ast::Item::Enum(enm) => { [INFO] [stdout] 81 + Item::Enum(enm) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] 43 + ast::Item::Struct(_) | Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/events.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | ast::Item::Use(item) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - ast::Item::Use(item) => { [INFO] [stdout] 90 + Item::Use(item) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] 46 + Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | item: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - item: &ast::Item, [INFO] [stdout] 69 + item: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | ast::Item::Impl(item_impl) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - ast::Item::Impl(item_impl) => { [INFO] [stdout] 73 + Item::Impl(item_impl) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] 76 + Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | item: &ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 231 - item: &ast::Item, [INFO] [stdout] 231 + item: &Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | ast::Item::FreeFunction(item_function) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 235 - ast::Item::FreeFunction(item_function) => { [INFO] [stdout] 235 + Item::FreeFunction(item_function) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | ast::Item::Impl(item_impl) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 243 - ast::Item::Impl(item_impl) => { [INFO] [stdout] 243 + Item::Impl(item_impl) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 246 - ast::Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] 246 + Item::Struct(item_struct) if item_struct.name(db).text(db) == STORAGE_STRUCT_NAME => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | ast::Item::ImplAlias(alias_ast) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - ast::Item::ImplAlias(alias_ast) => { [INFO] [stdout] 265 + Item::ImplAlias(alias_ast) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 287 - ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] 287 + Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | matches!(item, ast::Item::Struct(struct_ast) if struct_ast.name(db).text(db) == STORAGE_STRUCT_NAME) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 131 - matches!(item, ast::Item::Struct(struct_ast) if struct_ast.name(db).text(db) == STORAGE_STRUCT_NAME) [INFO] [stdout] 131 + matches!(item, Item::Struct(struct_ast) if struct_ast.name(db).text(db) == STORAGE_STRUCT_NAME) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | item: ast::Item, [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 240 - item: ast::Item, [INFO] [stdout] 240 + item: Item, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | ast::Item::Use(item) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 244 - ast::Item::Use(item) => { [INFO] [stdout] 244 + Item::Use(item) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | ast::Item::Constant(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 253 - ast::Item::Constant(item) => Some(item.name(db)), [INFO] [stdout] 253 + Item::Constant(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | ast::Item::Module(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 254 - ast::Item::Module(item) => Some(item.name(db)), [INFO] [stdout] 254 + Item::Module(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | ast::Item::Impl(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 255 - ast::Item::Impl(item) => Some(item.name(db)), [INFO] [stdout] 255 + Item::Impl(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | ast::Item::Struct(item) if item.name(db).text(db) == STORAGE_STRUCT_NAME => None, [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 257 - ast::Item::Struct(item) if item.name(db).text(db) == STORAGE_STRUCT_NAME => None, [INFO] [stdout] 257 + Item::Struct(item) if item.name(db).text(db) == STORAGE_STRUCT_NAME => None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | ast::Item::Struct(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 258 - ast::Item::Struct(item) => Some(item.name(db)), [INFO] [stdout] 258 + Item::Struct(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | ast::Item::Enum(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 259 - ast::Item::Enum(item) => Some(item.name(db)), [INFO] [stdout] 259 + Item::Enum(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | ast::Item::TypeAlias(item) => Some(item.name(db)), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 260 - ast::Item::TypeAlias(item) => Some(item.name(db)), [INFO] [stdout] 260 + Item::TypeAlias(item) => Some(item.name(db)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | ast::Item::ExternFunction(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - ast::Item::ExternFunction(_) [INFO] [stdout] 262 + Item::ExternFunction(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | | ast::Item::ExternType(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - | ast::Item::ExternType(_) [INFO] [stdout] 263 + | Item::ExternType(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | | ast::Item::Trait(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 264 - | ast::Item::Trait(_) [INFO] [stdout] 264 + | Item::Trait(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | | ast::Item::FreeFunction(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - | ast::Item::FreeFunction(_) [INFO] [stdout] 265 + | Item::FreeFunction(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | | ast::Item::ImplAlias(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 266 - | ast::Item::ImplAlias(_) [INFO] [stdout] 266 + | Item::ImplAlias(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | | ast::Item::Missing(_) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 267 - | ast::Item::Missing(_) [INFO] [stdout] 267 + | Item::Missing(_) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | | ast::Item::InlineMacro(_) => None, [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 268 - | ast::Item::InlineMacro(_) => None, [INFO] [stdout] 268 + | Item::InlineMacro(_) => None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in module `ast` [INFO] [stdout] --> src/plugin/mod.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 33 | fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] | ^^^^ not found in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] 33 + fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: Item) -> PluginResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | ast::Item::Module(module_ast) => handle_module(db, module_ast), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - ast::Item::Module(module_ast) => handle_module(db, module_ast), [INFO] [stdout] 35 + Item::Module(module_ast) => handle_module(db, module_ast), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | ast::Item::Trait(trait_ast) => handle_trait(db, trait_ast), [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - ast::Item::Trait(trait_ast) => handle_trait(db, trait_ast), [INFO] [stdout] 36 + Item::Trait(trait_ast) => handle_trait(db, trait_ast), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | ast::Item::Impl(impl_ast) if impl_ast.has_attr(db, EMBEDDABLE_ATTR) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - ast::Item::Impl(impl_ast) if impl_ast.has_attr(db, EMBEDDABLE_ATTR) => { [INFO] [stdout] 37 + Item::Impl(impl_ast) if impl_ast.has_attr(db, EMBEDDABLE_ATTR) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | ast::Item::Struct(struct_ast) if struct_ast.has_attr(db, STORAGE_ATTR) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - ast::Item::Struct(struct_ast) if struct_ast.has_attr(db, STORAGE_ATTR) => { [INFO] [stdout] 40 + Item::Struct(struct_ast) if struct_ast.has_attr(db, STORAGE_ATTR) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] 43 + Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - ast::Item::Struct(_) | ast::Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] 43 + ast::Item::Struct(_) | Item::Enum(_) if derive_needed(&item_ast, db) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Item` in `ast` [INFO] [stdout] --> src/plugin/mod.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | ^^^^ could not find `Item` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use crate::abi::Item; [INFO] [stdout] | [INFO] [stdout] help: if you import `Item`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - ast::Item::InlineMacro(inline_macro_ast) [INFO] [stdout] 46 + Item::InlineMacro(inline_macro_ast) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `generate_code` has 3 parameters but the declaration in trait `cairo_lang_defs::plugin::MacroPlugin::generate_code` has 4 [INFO] [stdout] --> src/plugin/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `generate_code` from trait: `fn(&Self, &dyn SyntaxGroup, cairo_lang_syntax::node::ast::ModuleItem, &MacroPluginMetadata<'_>) -> PluginResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `generate_code` has 3 parameters but the declaration in trait `cairo_lang_defs::plugin::MacroPlugin::generate_code` has 4 [INFO] [stdout] --> src/plugin/mod.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | fn generate_code(&self, db: &dyn SyntaxGroup, item_ast: ast::Item) -> PluginResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `generate_code` from trait: `fn(&Self, &dyn SyntaxGroup, cairo_lang_syntax::node::ast::ModuleItem, &MacroPluginMetadata<'_>) -> PluginResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `StructId` in the current scope [INFO] [stdout] --> src/abi.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | let struct_name = struct_id.name(db.upcast()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `StructId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 170 | let struct_name = struct_id.ne(db.upcast()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `EnumId` in the current scope [INFO] [stdout] --> src/abi.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | let enm_name = enum_id.name(db.upcast()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `EnumId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 230 | let enm_name = enum_id.ne(db.upcast()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for reference `&TraitFunctionId` in the current scope [INFO] [stdout] --> src/abi.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | self.add_entry_point_name(function.name(db.upcast()).into())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 261 | self.add_entry_point_name(function.ne(db.upcast()).into())?; [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `ImplDefId` in the current scope [INFO] [stdout] --> src/abi.rs:296:37 [INFO] [stdout] | [INFO] [stdout] 296 | let impl_name = impl_def_id.name(db.upcast()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `ImplDefId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 296 | let impl_name = impl_def_id.ne(db.upcast()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `ImplAliasId` in the current scope [INFO] [stdout] --> src/abi.rs:347:65 [INFO] [stdout] | [INFO] [stdout] 347 | self.add_embedded_impl(db, impl_def, Some(impl_alias_id.name(db.upcast()).into()))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `ImplAliasId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 347 | self.add_embedded_impl(db, impl_def, Some(impl_alias_id.ne(db.upcast()).into()))?; [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `cairo_lang_defs::ids::FunctionWithBodyId` in the current scope [INFO] [stdout] --> src/abi.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | let name: String = function_with_body_id.name(db.upcast()).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `cairo_lang_defs::ids::FunctionWithBodyId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let name: String = function_with_body_id.ne(db.upcast()).into(); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `cairo_lang_defs::ids::FunctionWithBodyId` in the current scope [INFO] [stdout] --> src/abi.rs:396:42 [INFO] [stdout] | [INFO] [stdout] 396 | let name = function_with_body_id.name(db.upcast()).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `cairo_lang_defs::ids::FunctionWithBodyId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 396 | let name = function_with_body_id.ne(db.upcast()).into(); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for enum `cairo_lang_defs::ids::FunctionWithBodyId` in the current scope [INFO] [stdout] --> src/abi.rs:418:42 [INFO] [stdout] | [INFO] [stdout] 418 | let name = function_with_body_id.name(db.upcast()).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `cairo_lang_defs::ids::FunctionWithBodyId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 418 | let name = function_with_body_id.ne(db.upcast()).into(); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `ParamId` in the current scope [INFO] [stdout] --> src/abi.rs:460:48 [INFO] [stdout] | [INFO] [stdout] 460 | inputs.push(Input { name: param.id.name(db.upcast()).into(), ty: param.ty.format(db) }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `ParamId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 460 | inputs.push(Input { name: param.id.ne(db.upcast()).into(), ty: param.ty.format(db) }); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `TraitFunctionId` in the current scope [INFO] [stdout] --> src/abi.rs:487:46 [INFO] [stdout] | [INFO] [stdout] 487 | let name: String = trait_function_id.name(db.upcast()).into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `TraitFunctionId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 487 | let name: String = trait_function_id.ne(db.upcast()).into(); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/abi.rs:527:65 [INFO] [stdout] | [INFO] [stdout] 527 | let concrete_member = &concrete_members[name.clone()]; [INFO] [stdout] | ^^^^^^^^^^^^ expected `&_`, found `SmolStr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `SmolStr` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 527 | let concrete_member = &concrete_members[&name.clone()]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 65 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cairo-lang-starknet` (lib test) due to 66 previous errors [INFO] [stdout] Some errors have detailed explanations: E0050, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hint: Serialize` is not satisfied [INFO] [stdout] --> src/casm_contract_class.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Clone, Default, Debug, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `Hint`, which is required by `Vec<(usize, Vec)>: Serialize` [INFO] [stdout] ... [INFO] [stdout] 96 | pub hints: Vec<(usize, Vec)>, [INFO] [stdout] | ---------------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 226 others [INFO] [stdout] = note: required for `Vec` to implement `Serialize` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `Vec<(usize, Vec)>` to implement `Serialize` [INFO] [stdout] note: required by a bound in `abi::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.197/src/ser/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1859 | fn serialize_field( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1865 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hint: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/casm_contract_class.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub hints: Vec<(usize, Vec)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Hint`, which is required by `Vec<(usize, Vec)>: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 231 others [INFO] [stdout] = note: required for `Vec` to implement `Deserialize<'_>` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `Vec<(usize, Vec)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.197/src/de/mod.rs:1726:12 [INFO] [stdout] | [INFO] [stdout] 1724 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1725 | where [INFO] [stdout] 1726 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hint: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/casm_contract_class.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub hints: Vec<(usize, Vec)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Hint`, which is required by `Vec<(usize, Vec)>: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 231 others [INFO] [stdout] = note: required for `Vec` to implement `Deserialize<'_>` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `Vec<(usize, Vec)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.197/src/de/mod.rs:1865:12 [INFO] [stdout] | [INFO] [stdout] 1863 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1864 | where [INFO] [stdout] 1865 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hint: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/casm_contract_class.rs:90:59 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Clone, Default, Debug, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Hint`, which is required by `Vec<(usize, Vec)>: Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 231 others [INFO] [stdout] = note: required for `Vec` to implement `Deserialize<'_>` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `Vec<(usize, Vec)>` to implement `Deserialize<'_>` [INFO] [stdout] note: required by a bound in `abi::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.197/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `compute_runtime_costs` and `skip_non_linear_solver_comparisons` in initializer of `MetadataComputationConfig` [INFO] [stdout] --> src/casm_contract_class.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 335 | let metadata_computation_config = MetadataComputationConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `compute_runtime_costs` and `skip_non_linear_solver_comparisons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/casm_contract_class.rs:346:79 [INFO] [stdout] | [INFO] [stdout] 346 | cairo_lang_sierra_to_casm::compiler::compile(&program, &metadata, gas_usage_check)?; [INFO] [stdout] | -------------------------------------------- ^^^^^^^^^^^^^^^ expected `SierraToCasmConfig`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-sierra-to-casm-2.6.3/src/compiler.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn compile( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/casm_contract_class.rs:436:50 [INFO] [stdout] | [INFO] [stdout] 436 | metadata.gas_info.function_costs[function.id.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `&_`, found `FunctionId` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `cairo_lang_sierra::ids::FunctionId` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 436 | metadata.gas_info.function_costs[&function.id.clone()], [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `name` found for struct `SubmoduleId` in the current scope [INFO] [stdout] --> src/contract.rs:261:47 [INFO] [stdout] | [INFO] [stdout] 261 | let contract_name = contract.submodule_id.name(db.upcast()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.3/src/ids.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn name(&self, db: &dyn DefsGroup) -> SmolStr; [INFO] [stdout] | ---- the method is available for `SubmoduleId` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NamedLanguageElementId` which provides `name` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use cairo_lang_defs::ids::NamedLanguageElementId; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name [INFO] [stdout] | [INFO] [stdout] 261 | let contract_name = contract.submodule_id.ne(db.upcast()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | extract_matches!(db.constant_semantic_data(constant_id).unwrap().value, Expr::Literal) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----------------------------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `id_arena::Id` [INFO] [stdout] | expected `Id`, found `Expr` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `id_arena::Id` [INFO] [stdout] found enum `cairo_lang_semantic::Expr` [INFO] [stdout] = note: this error originates in the macro `extract_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract_class.rs:204:69 [INFO] [stdout] | [INFO] [stdout] 204 | sierra_program = Arc::new(replace_sierra_ids_in_program(db, &sierra_program)); [INFO] [stdout] | ----------------------------- ^^^^^^^^^^^^^^^ expected `&Program`, found `&Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Program` [INFO] [stdout] found reference `&Arc` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-sierra-generator-2.6.3/src/replace_ids.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn replace_sierra_ids_in_program( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract_class.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | sierra_program = Arc::new(replace_sierra_ids_in_program(db, &sierra_program)); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SierraProgramWithDebug`, found `Program` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/sync.rs:392:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract_class.rs:206:52 [INFO] [stdout] | [INFO] [stdout] 206 | let replacer = CanonicalReplacer::from_program(&sierra_program); [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^^^ expected `&Program`, found `&Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Program` [INFO] [stdout] found reference `&Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-sierra-generator-2.6.3/src/canonical_id_replacer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_program(program: &cairo_lang_sierra::program::Program) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/contract_class.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | let sierra_program = replacer.apply(&sierra_program); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ expected `&Program`, found `&Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Program` [INFO] [stdout] found reference `&Arc` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-sierra-generator-2.6.3/src/replace_ids.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/inline_macros/get_dep_component.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | let diagnostics = vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PluginGeneratedFile` has no field named `diagnostics_mappings` [INFO] [stdout] --> src/inline_macros/get_dep_component.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `PluginGeneratedFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `diagnostics_mappings` on type `PatchBuilder<'_>` [INFO] [stdout] --> src/inline_macros/get_dep_component.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 102 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `db`, `code`, `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/inline_macros/selector.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | let diagnostics = vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PluginGeneratedFile` has no field named `diagnostics_mappings` [INFO] [stdout] --> src/inline_macros/selector.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | diagnostics_mappings: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `PluginGeneratedFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/event.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/event.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/event.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/event.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/event.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/event.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/derive/store.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PluginGeneratedFile` has no field named `diagnostics_mappings` [INFO] [stdout] --> src/plugin/derive/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `PluginGeneratedFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `diagnostics_mappings` on type `PatchBuilder<'_>` [INFO] [stdout] --> src/plugin/derive/mod.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 66 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `db`, `code`, `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 95 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:140:42 [INFO] [stdout] | [INFO] [stdout] 140 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/dispatcher.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PluginGeneratedFile` has no field named `diagnostics_mappings` [INFO] [stdout] --> src/plugin/dispatcher.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `PluginGeneratedFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `diagnostics_mappings` on type `PatchBuilder<'_>` [INFO] [stdout] --> src/plugin/dispatcher.rs:328:43 [INFO] [stdout] | [INFO] [stdout] 328 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `db`, `code`, `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/embeddable.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/embeddable.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/embeddable.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PluginGeneratedFile` has no field named `diagnostics_mappings` [INFO] [stdout] --> src/plugin/embeddable.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `PluginGeneratedFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `diagnostics_mappings` on type `PatchBuilder<'_>` [INFO] [stdout] --> src/plugin/embeddable.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `db`, `code`, `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | return Err(vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | return Err(vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 255 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 374 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/entry_point.rs:392:26 [INFO] [stdout] | [INFO] [stdout] 392 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/events.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/events.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/events.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:116:55 [INFO] [stdout] | [INFO] [stdout] 116 | let first_generic_param_diagnostic = |stable_ptr| PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | return Err(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:333:26 [INFO] [stdout] | [INFO] [stdout] 333 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/component.rs:345:26 [INFO] [stdout] | [INFO] [stdout] 345 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:462:30 [INFO] [stdout] | [INFO] [stdout] 462 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:507:26 [INFO] [stdout] | [INFO] [stdout] 507 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:645:42 [INFO] [stdout] | [INFO] [stdout] 645 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:657:38 [INFO] [stdout] | [INFO] [stdout] 657 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/contract.rs:668:30 [INFO] [stdout] | [INFO] [stdout] 668 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | diagnostics: vec![PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `PluginGeneratedFile` has no field named `diagnostics_mappings` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `PluginGeneratedFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `diagnostics_mappings` on type `PatchBuilder<'_>` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | diagnostics_mappings: builder.diagnostics_mappings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `db`, `code`, `code_mappings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/storage.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/storage.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/storage.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/storage.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/utils.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `severity` in initializer of `cairo_lang_defs::plugin::PluginDiagnostic` [INFO] [stdout] --> src/plugin/utils.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | diagnostics.push(PluginDiagnostic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `severity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terminal` [INFO] [stdout] --> src/plugin/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use cairo_lang_syntax::node::{ast, Terminal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cairo_lang_syntax::node::helpers::QueryAttrs` [INFO] [stdout] --> src/plugin/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_syntax::node::helpers::QueryAttrs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GetIdentifier` [INFO] [stdout] --> src/plugin/starknet_module/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use cairo_lang_syntax::node::helpers::{GetIdentifier, QueryAttrs}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terminal` [INFO] [stdout] --> src/plugin/events.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use cairo_lang_syntax::node::{ast, Terminal, TypedSyntaxNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GetIdentifier` [INFO] [stdout] --> src/plugin/events.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use cairo_lang_syntax::node::helpers::{GetIdentifier, QueryAttrs}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `TypeLongId::Coupon(_)` and `TypeLongId::FixedSizeArray { .. }` not covered [INFO] [stdout] --> src/abi.rs:601:15 [INFO] [stdout] | [INFO] [stdout] 601 | match db.lookup_intern_type(type_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ patterns `TypeLongId::Coupon(_)` and `TypeLongId::FixedSizeArray { .. }` not covered [INFO] [stdout] | [INFO] [stdout] note: `TypeLongId` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.3/src/types.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum TypeLongId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | Coupon(FunctionId), [INFO] [stdout] | ------ not covered [INFO] [stdout] 43 | FixedSizeArray { [INFO] [stdout] | -------------- not covered [INFO] [stdout] = note: the matched value is of type `TypeLongId` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 612 ~ }, [INFO] [stdout] 613 + TypeLongId::Coupon(_) | TypeLongId::FixedSizeArray { .. } => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_syntax::node::ast::GenericParam::NegativeImpl(_)` not covered [INFO] [stdout] --> src/plugin/utils.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | match self { [INFO] [stdout] | ^^^^ pattern `&cairo_lang_syntax::node::ast::GenericParam::NegativeImpl(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `cairo_lang_syntax::node::ast::GenericParam` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-syntax-2.6.3/src/node/ast.rs:14868:1 [INFO] [stdout] | [INFO] [stdout] 14868 | pub enum GenericParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14873 | NegativeImpl(GenericParamNegativeImpl), [INFO] [stdout] | ------------ not covered [INFO] [stdout] = note: the matched value is of type `&cairo_lang_syntax::node::ast::GenericParam` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 177 ~ ast::GenericParam::ImplAnonymous(i) => Some(i.trait_path(db)), [INFO] [stdout] 178 ~ &cairo_lang_syntax::node::ast::GenericParam::NegativeImpl(_) => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 147 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0050, E0063, E0277, E0308, E0412, E0432, E0433, E0560... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cairo-lang-starknet` (lib) due to 148 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3f82e7c4673dbdca2353403353b7620f717866c8f371067f4dd04ab47fc88eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f82e7c4673dbdca2353403353b7620f717866c8f371067f4dd04ab47fc88eb7", kill_on_drop: false }` [INFO] [stdout] 3f82e7c4673dbdca2353403353b7620f717866c8f371067f4dd04ab47fc88eb7