[INFO] fetching crate cairo-lang-lowering 2.4.0-rc6...
[INFO] checking cairo-lang-lowering-2.4.0-rc6 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate cairo-lang-lowering 2.4.0-rc6 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate cairo-lang-lowering 2.4.0-rc6 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cairo-lang-lowering 2.4.0-rc6
[INFO] finished tweaking crates.io crate cairo-lang-lowering 2.4.0-rc6
[INFO] tweaked toml for crates.io crate cairo-lang-lowering 2.4.0-rc6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cairo-lang-filesystem v2.6.2
[INFO] [stderr]   Downloaded cairo-lang-utils v2.6.2
[INFO] [stderr]   Downloaded env_logger v0.11.3
[INFO] [stderr]   Downloaded indoc v2.0.4
[INFO] [stderr]   Downloaded id-arena v2.2.1
[INFO] [stderr]   Downloaded cairo-lang-plugins v2.6.2
[INFO] [stderr]   Downloaded genco v0.17.8
[INFO] [stderr]   Downloaded cairo-lang-parser v2.6.2
[INFO] [stderr]   Downloaded cairo-lang-semantic v2.6.2
[INFO] [stderr]   Downloaded salsa v0.16.1
[INFO] [stderr]   Downloaded cairo-lang-syntax v2.6.2
[INFO] [stderr]   Downloaded cairo-lang-proc-macros v2.6.2
[INFO] [stderr]   Downloaded unescaper v0.1.4
[INFO] [stderr]   Downloaded cairo-lang-defs v2.6.2
[INFO] [stderr]   Downloaded genco-macros v0.17.8
[INFO] [stderr]   Downloaded relative-path v1.9.2
[INFO] [stderr]   Downloaded xshell v0.2.5
[INFO] [stderr]   Downloaded cairo-lang-debug v2.6.2
[INFO] [stderr]   Downloaded path-clean v1.0.1
[INFO] [stderr]   Downloaded cairo-lang-diagnostics v2.6.2
[INFO] [stderr]   Downloaded xshell-macros v0.2.5
[INFO] [stderr]   Downloaded cairo-lang-syntax-codegen v2.6.2
[INFO] [stderr]   Downloaded indent v0.1.1
[INFO] [stderr]   Downloaded salsa-macros v0.16.0
[INFO] [stderr]   Downloaded test-log-macros v0.2.15
[INFO] [stderr]   Downloaded env_filter v0.1.0
[INFO] [stderr]   Downloaded test-log v0.2.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4eb3b4810ee26236c7ad94b269efe2ff44a3c6531bccb1357b8054fa9aa0e77e
[INFO] running `Command { std: "docker" "start" "-a" "4eb3b4810ee26236c7ad94b269efe2ff44a3c6531bccb1357b8054fa9aa0e77e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4eb3b4810ee26236c7ad94b269efe2ff44a3c6531bccb1357b8054fa9aa0e77e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4eb3b4810ee26236c7ad94b269efe2ff44a3c6531bccb1357b8054fa9aa0e77e", kill_on_drop: false }`
[INFO] [stdout] 4eb3b4810ee26236c7ad94b269efe2ff44a3c6531bccb1357b8054fa9aa0e77e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b71675a351f40bf4c67b6463e6e7957b7656a0bfb170ed3dba553dcd2eac568
[INFO] running `Command { std: "docker" "start" "-a" "4b71675a351f40bf4c67b6463e6e7957b7656a0bfb170ed3dba553dcd2eac568", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]    Compiling genco-macros v0.17.8
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking path-clean v1.0.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling xshell-macros v0.2.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking relative-path v1.9.2
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking xshell v0.2.5
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]     Checking indent v0.1.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling cairo-lang-utils v2.6.2
[INFO] [stderr]    Compiling cairo-lang-debug v2.6.2
[INFO] [stderr]    Compiling salsa-macros v0.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling cairo-lang-proc-macros v2.6.2
[INFO] [stderr]    Compiling test-log-macros v0.2.15
[INFO] [stderr]     Checking test-log v0.2.15
[INFO] [stderr]     Checking salsa v0.16.1
[INFO] [stderr]     Checking genco v0.17.8
[INFO] [stderr]     Checking thiserror v1.0.57
[INFO] [stderr]     Checking unescaper v0.1.4
[INFO] [stderr]     Checking cairo-lang-syntax-codegen v2.6.2
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking cairo-lang-filesystem v2.6.2
[INFO] [stderr]     Checking cairo-lang-syntax v2.6.2
[INFO] [stderr]     Checking cairo-lang-diagnostics v2.6.2
[INFO] [stderr]     Checking cairo-lang-parser v2.6.2
[INFO] [stderr]     Checking cairo-lang-defs v2.6.2
[INFO] [stderr]     Checking cairo-lang-plugins v2.6.2
[INFO] [stderr]     Checking cairo-lang-semantic v2.6.2
[INFO] [stderr]     Checking cairo-lang-lowering v2.4.0-rc6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/borrow_check/test.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/inline/test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/lower/usage_test.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/lower/generated_test.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/optimizations/branch_inversion_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/optimizations/match_optimizer_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/optimizations/reorder_statements_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/borrow_check/test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 3 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[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/inline/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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/lower/usage_test.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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] 9 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[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/lower/generated_test.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] 6 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[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/optimizations/branch_inversion_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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/optimizations/match_optimizer_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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/optimizations/reorder_statements_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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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] 7 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/test.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cairo_lang_semantic::test_utils::{setup_test_expr, setup_test_function};
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/borrow_check/test.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/inline/test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/lower/usage_test.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/lower/generated_test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/optimizations/branch_inversion_test.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/optimizations/match_optimizer_test.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/optimizations/reorder_statements_test.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/test.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/test.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | 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[E0308]: mismatched types
[INFO] [stdout]    --> src/db.rs:299:48
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[element].clone()
[INFO] [stdout]     |                                                ^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[&element].clone()
[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/fmt.rs:248:72
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:249:36
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let variant_name = self.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 249 |         let variant_name = self.id.ne(ctx.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/fmt.rs:290:68
[INFO] [stdout]     |
[INFO] [stdout] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:291:44
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let variant_name = self.variant.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 291 |         let variant_name = self.variant.id.ne(ctx.db.upcast());
[INFO] [stdout]     |                                            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/db.rs:299:48
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[element].clone()
[INFO] [stdout]     |                                                ^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[&element].clone()
[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/fmt.rs:248:72
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:249:36
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let variant_name = self.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 249 |         let variant_name = self.id.ne(ctx.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/fmt.rs:290:68
[INFO] [stdout]     |
[INFO] [stdout] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:291:44
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let variant_name = self.variant.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 291 |         let variant_name = self.variant.id.ne(ctx.db.upcast());
[INFO] [stdout]     |                                            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]    --> src/inline/mod.rs:300:60
[INFO] [stdout]     |
[INFO] [stdout] 300 |                     .and_then(|()| inline_data.diagnostics.is_diagnostic_free());
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<LoweringDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for reference `&MemberId` in the current scope
[INFO] [stdout]    --> src/lower/block_builder.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     [member_id.name(ctx.db.upcast())]
[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] 130 |                     [member_id.ne(ctx.db.upcast())]
[INFO] [stdout]     |                                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lower/lower_if.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 67 |     match analyze_condition(ctx, expr.condition) {
[INFO] [stdout]    |           -----------------      ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                 found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lower/lower_if.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn analyze_condition(ctx: &LoweringContext<'_, '_>, expr_id: semantic::ExprId) -> IfCondition {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^                                -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:81:59
[INFO] [stdout]     |
[INFO] [stdout] 81  |     let condition = lower_expr_to_var_usage(ctx, builder, expr.condition)?;
[INFO] [stdout]     |                     -----------------------               ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lower/mod.rs:476:4
[INFO] [stdout]     |
[INFO] [stdout] 476 | fn lower_expr_to_var_usage(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 479 |     expr_id: semantic::ExprId,
[INFO] [stdout]     |     -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:153:55
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 .get_location(ctx.function_body.exprs[expr.condition].stable_ptr().untyped()),
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]    --> src/lower/usage.rs:183:71
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.pattern, current);
[INFO] [stdout]     |                                                                       ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.patterns, current);
[INFO] [stdout]     |                                                                       ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/usage.rs:188:49
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 self.handle_expr(function_body, expr.condition, current);
[INFO] [stdout]     |                      -----------                ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lower/usage.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn handle_expr(&mut self, function_body: &FunctionBody, expr_id: ExprId, current: &mut Usage) {
[INFO] [stdout]     |        ^^^^^^^^^^^                                          ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]    --> src/inline/mod.rs:300:60
[INFO] [stdout]     |
[INFO] [stdout] 300 |                     .and_then(|()| inline_data.diagnostics.is_diagnostic_free());
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<LoweringDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for reference `&MemberId` in the current scope
[INFO] [stdout]    --> src/lower/block_builder.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     [member_id.name(ctx.db.upcast())]
[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] 130 |                     [member_id.ne(ctx.db.upcast())]
[INFO] [stdout]     |                                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lower/lower_if.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 67 |     match analyze_condition(ctx, expr.condition) {
[INFO] [stdout]    |           -----------------      ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                 found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lower/lower_if.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn analyze_condition(ctx: &LoweringContext<'_, '_>, expr_id: semantic::ExprId) -> IfCondition {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^                                -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:81:59
[INFO] [stdout]     |
[INFO] [stdout] 81  |     let condition = lower_expr_to_var_usage(ctx, builder, expr.condition)?;
[INFO] [stdout]     |                     -----------------------               ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lower/mod.rs:476:4
[INFO] [stdout]     |
[INFO] [stdout] 476 | fn lower_expr_to_var_usage(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 479 |     expr_id: semantic::ExprId,
[INFO] [stdout]     |     -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:153:55
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 .get_location(ctx.function_body.exprs[expr.condition].stable_ptr().untyped()),
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]    --> src/lower/usage.rs:183:71
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.pattern, current);
[INFO] [stdout]     |                                                                       ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.patterns, current);
[INFO] [stdout]     |                                                                       ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     db.function_declaration_diagnostics(semantic_function_id)
[INFO] [stdout] 70 | |         .is_diagnostic_free()
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/usage.rs:188:49
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 self.handle_expr(function_body, expr.condition, current);
[INFO] [stdout]     |                      -----------                ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lower/usage.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn handle_expr(&mut self, function_body: &FunctionBody, expr_id: ExprId, current: &mut Usage) {
[INFO] [stdout]     |        ^^^^^^^^^^^                                          ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:71:75
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .and_then(|()| db.function_body_diagnostics(semantic_function_id).is_diagnostic_free())?;
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH>`
[INFO] [stdout]    --> src/lower/mod.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]     = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]               ahash::random_state::RandomState
[INFO] [stdout]               RandomState
[INFO] [stdout]               BuildHasherDefault<H>
[INFO] [stdout]     = note: required for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, _>` to implement `FromIterator<(MemberId, &Id<cairo_lang_semantic::Pattern>)>`
[INFO] [stdout] help: consider giving `required_members` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members: UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH> = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                                     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     db.function_declaration_diagnostics(semantic_function_id)
[INFO] [stdout] 70 | |         .is_diagnostic_free()
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:721:9
[INFO] [stdout]     |
[INFO] [stdout] 721 |     let semantic::Expr::Literal(const_expr_literal) = const_expr else {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   ---------- this expression has type `&Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `Id<Expr>`, found `Expr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:914:48
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[expr.body];
[INFO] [stdout]     |                                                ^^^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[&expr.body];
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1015:58
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1114:58
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1198:50
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                  ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                  ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1281:72
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().pattern].clone();
[INFO] [stdout]      |                                                                        ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().patterns].clone();
[INFO] [stdout]      |                                                                        ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH>`
[INFO] [stdout]     --> src/lower/mod.rs:1436:9
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |         ^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]      = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]                ahash::random_state::RandomState
[INFO] [stdout]                RandomState
[INFO] [stdout]                BuildHasherDefault<H>
[INFO] [stdout]      = note: required for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, _>` to implement `FromIterator<(MemberId, Id<cairo_lang_semantic::Expr>)>`
[INFO] [stdout] help: consider giving `member_expr` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr: UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH> = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |                    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashSet<objects::blocks::BlockId, BH>`
[INFO] [stdout]   --> src/optimizations/match_optimizer.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks = UnorderedHashSet::default();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]    = note: required for `UnorderedHashSet<objects::blocks::BlockId, _>` to implement `std::default::Default`
[INFO] [stdout] help: consider giving `target_blocks` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks: UnorderedHashSet<objects::blocks::BlockId, BH> = UnorderedHashSet::default();
[INFO] [stdout]    |                              ++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:71:75
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .and_then(|()| db.function_body_diagnostics(semantic_function_id).is_diagnostic_free())?;
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH>`
[INFO] [stdout]    --> src/lower/mod.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]     = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]               ahash::random_state::RandomState
[INFO] [stdout]               RandomState
[INFO] [stdout]               BuildHasherDefault<H>
[INFO] [stdout]     = note: required for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, _>` to implement `FromIterator<(MemberId, &Id<cairo_lang_semantic::Pattern>)>`
[INFO] [stdout] help: consider giving `required_members` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members: UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH> = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                                     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:721:9
[INFO] [stdout]     |
[INFO] [stdout] 721 |     let semantic::Expr::Literal(const_expr_literal) = const_expr else {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   ---------- this expression has type `&Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `Id<Expr>`, found `Expr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:914:48
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[expr.body];
[INFO] [stdout]     |                                                ^^^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[&expr.body];
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1015:58
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1114:58
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1198:50
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                  ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                  ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1281:72
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().pattern].clone();
[INFO] [stdout]      |                                                                        ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().patterns].clone();
[INFO] [stdout]      |                                                                        ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH>`
[INFO] [stdout]     --> src/lower/mod.rs:1436:9
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |         ^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]      = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]                ahash::random_state::RandomState
[INFO] [stdout]                RandomState
[INFO] [stdout]                BuildHasherDefault<H>
[INFO] [stdout]      = note: required for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, _>` to implement `FromIterator<(MemberId, Id<cairo_lang_semantic::Expr>)>`
[INFO] [stdout] help: consider giving `member_expr` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr: UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH> = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |                    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashSet<objects::blocks::BlockId, BH>`
[INFO] [stdout]   --> src/optimizations/match_optimizer.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks = UnorderedHashSet::default();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]    = note: required for `UnorderedHashSet<objects::blocks::BlockId, _>` to implement `std::default::Default`
[INFO] [stdout] help: consider giving `target_blocks` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks: UnorderedHashSet<objects::blocks::BlockId, BH> = UnorderedHashSet::default();
[INFO] [stdout]    |                              ++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/usage.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |         match pattern {
[INFO] [stdout]     |               ^^^^^^^ pattern `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Pattern` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/pattern.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub enum Pattern {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     FixedSizeArray(PatternFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Pattern`
[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] 244 ~             Pattern::Missing(_) => {},
[INFO] [stdout] 245 +             &cairo_lang_semantic::Pattern::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/mod.rs:491:11
[INFO] [stdout]     |
[INFO] [stdout] 491 |     match &expr {
[INFO] [stdout]     |           ^^^^^ patterns `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Expr` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/objects.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub enum Expr {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     While(ExprWhile),
[INFO] [stdout]     |     ----- not covered
[INFO] [stdout] ...
[INFO] [stdout] 137 |     FixedSizeArray(ExprFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Expr`
[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] 516 ~         },
[INFO] [stdout] 517 +         &cairo_lang_semantic::Expr::While(_) | &cairo_lang_semantic::Expr::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `DiagnosticsBuilder` in the current scope
[INFO] [stdout]    --> src/test.rs:189:43
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let mut builder = DiagnosticsBuilder::new();
[INFO] [stdout]     |                                           ^^^ function or associated item not found in `DiagnosticsBuilder<_>`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/core/src/cmp.rs:263:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_defs::ids::LanguageElementId`
[INFO] [stdout]  --> src/test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_defs::ids::LanguageElementId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_defs::ids::LanguageElementId`
[INFO] [stdout]  --> src/lower/usage_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_defs::ids::LanguageElementId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0283, E0308, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cairo-lang-lowering` (lib) due to 26 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/usage.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |         match pattern {
[INFO] [stdout]     |               ^^^^^^^ pattern `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Pattern` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/pattern.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub enum Pattern {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     FixedSizeArray(PatternFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Pattern`
[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] 244 ~             Pattern::Missing(_) => {},
[INFO] [stdout] 245 +             &cairo_lang_semantic::Pattern::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/mod.rs:491:11
[INFO] [stdout]     |
[INFO] [stdout] 491 |     match &expr {
[INFO] [stdout]     |           ^^^^^ patterns `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Expr` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/objects.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub enum Expr {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     While(ExprWhile),
[INFO] [stdout]     |     ----- not covered
[INFO] [stdout] ...
[INFO] [stdout] 137 |     FixedSizeArray(ExprFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Expr`
[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] 516 ~         },
[INFO] [stdout] 517 +         &cairo_lang_semantic::Expr::While(_) | &cairo_lang_semantic::Expr::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 51 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0283, E0308, E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cairo-lang-lowering` (lib test) due to 52 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4b71675a351f40bf4c67b6463e6e7957b7656a0bfb170ed3dba553dcd2eac568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b71675a351f40bf4c67b6463e6e7957b7656a0bfb170ed3dba553dcd2eac568", kill_on_drop: false }`
[INFO] [stdout] 4b71675a351f40bf4c67b6463e6e7957b7656a0bfb170ed3dba553dcd2eac568
[INFO] checking cairo-lang-lowering-2.4.0-rc6 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate cairo-lang-lowering 2.4.0-rc6 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate cairo-lang-lowering 2.4.0-rc6 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cairo-lang-lowering 2.4.0-rc6
[INFO] finished tweaking crates.io crate cairo-lang-lowering 2.4.0-rc6
[INFO] tweaked toml for crates.io crate cairo-lang-lowering 2.4.0-rc6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 79229e1153a3f08fa960f0577b72df53ba10da587255bf5e24f41e43406a2a02
[INFO] running `Command { std: "docker" "start" "-a" "79229e1153a3f08fa960f0577b72df53ba10da587255bf5e24f41e43406a2a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79229e1153a3f08fa960f0577b72df53ba10da587255bf5e24f41e43406a2a02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79229e1153a3f08fa960f0577b72df53ba10da587255bf5e24f41e43406a2a02", kill_on_drop: false }`
[INFO] [stdout] 79229e1153a3f08fa960f0577b72df53ba10da587255bf5e24f41e43406a2a02
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b0753223d996def01ea2066b3fbae5714045b5c4a439ce0cdb8bf04bc1c0088
[INFO] running `Command { std: "docker" "start" "-a" "3b0753223d996def01ea2066b3fbae5714045b5c4a439ce0cdb8bf04bc1c0088", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]    Compiling genco-macros v0.17.8
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking path-clean v1.0.1
[INFO] [stderr]    Compiling xshell-macros v0.2.5
[INFO] [stderr]     Checking relative-path v1.9.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking xshell v0.2.5
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]     Checking indent v0.1.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling indexmap v2.2.5
[INFO] [stderr]    Compiling cairo-lang-utils v2.6.2
[INFO] [stderr]    Compiling cairo-lang-debug v2.6.2
[INFO] [stderr]    Compiling salsa-macros v0.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling cairo-lang-proc-macros v2.6.2
[INFO] [stderr]    Compiling test-log-macros v0.2.15
[INFO] [stderr]     Checking test-log v0.2.15
[INFO] [stderr]     Checking salsa v0.16.1
[INFO] [stderr]     Checking thiserror v1.0.57
[INFO] [stderr]     Checking unescaper v0.1.4
[INFO] [stderr]     Checking genco v0.17.8
[INFO] [stderr]     Checking cairo-lang-syntax-codegen v2.6.2
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking cairo-lang-filesystem v2.6.2
[INFO] [stderr]     Checking cairo-lang-diagnostics v2.6.2
[INFO] [stderr]     Checking cairo-lang-syntax v2.6.2
[INFO] [stderr]     Checking cairo-lang-parser v2.6.2
[INFO] [stderr]     Checking cairo-lang-defs v2.6.2
[INFO] [stderr]     Checking cairo-lang-plugins v2.6.2
[INFO] [stderr]     Checking cairo-lang-semantic v2.6.2
[INFO] [stderr]     Checking cairo-lang-lowering v2.4.0-rc6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/borrow_check/test.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/inline/test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/lower/usage_test.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/lower/generated_test.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/optimizations/branch_inversion_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/optimizations/match_optimizer_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/optimizations/reorder_statements_test.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_semantic::test_utils::setup_test_function;
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/borrow_check/test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 3 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[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/inline/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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/lower/usage_test.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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] 9 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[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/lower/generated_test.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] 6 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[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/optimizations/branch_inversion_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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/optimizations/match_optimizer_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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/optimizations/reorder_statements_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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]  --> src/test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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] 7 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_semantic::test_utils`
[INFO] [stdout]  --> src/test.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cairo_lang_semantic::test_utils::{setup_test_expr, setup_test_function};
[INFO] [stdout]   |                          ^^^^^^^^^^ could not find `test_utils` in `cairo_lang_semantic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/borrow_check/test.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/inline/test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/lower/usage_test.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/lower/generated_test.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/optimizations/branch_inversion_test.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/optimizations/match_optimizer_test.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/optimizations/reorder_statements_test.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/test.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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[E0433]: failed to resolve: use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   --> src/test.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | 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[E0308]: mismatched types
[INFO] [stdout]    --> src/db.rs:299:48
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[element].clone()
[INFO] [stdout]     |                                                ^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[&element].clone()
[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/fmt.rs:248:72
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:249:36
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let variant_name = self.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 249 |         let variant_name = self.id.ne(ctx.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/fmt.rs:290:68
[INFO] [stdout]     |
[INFO] [stdout] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:291:44
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let variant_name = self.variant.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 291 |         let variant_name = self.variant.id.ne(ctx.db.upcast());
[INFO] [stdout]     |                                            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]    --> src/inline/mod.rs:300:60
[INFO] [stdout]     |
[INFO] [stdout] 300 |                     .and_then(|()| inline_data.diagnostics.is_diagnostic_free());
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<LoweringDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for reference `&MemberId` in the current scope
[INFO] [stdout]    --> src/lower/block_builder.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     [member_id.name(ctx.db.upcast())]
[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] 130 |                     [member_id.ne(ctx.db.upcast())]
[INFO] [stdout]     |                                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lower/lower_if.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 67 |     match analyze_condition(ctx, expr.condition) {
[INFO] [stdout]    |           -----------------      ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                 found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lower/lower_if.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn analyze_condition(ctx: &LoweringContext<'_, '_>, expr_id: semantic::ExprId) -> IfCondition {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^                                -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:81:59
[INFO] [stdout]     |
[INFO] [stdout] 81  |     let condition = lower_expr_to_var_usage(ctx, builder, expr.condition)?;
[INFO] [stdout]     |                     -----------------------               ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lower/mod.rs:476:4
[INFO] [stdout]     |
[INFO] [stdout] 476 | fn lower_expr_to_var_usage(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 479 |     expr_id: semantic::ExprId,
[INFO] [stdout]     |     -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/db.rs:299:48
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[element].clone()
[INFO] [stdout]     |                                                ^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 299 |             multi_lowering.generated_lowerings[&element].clone()
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:153:55
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 .get_location(ctx.function_body.exprs[expr.condition].stable_ptr().untyped()),
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]    --> src/lower/usage.rs:183:71
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.pattern, current);
[INFO] [stdout]     |                                                                       ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.patterns, current);
[INFO] [stdout]     |                                                                       ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/usage.rs:188:49
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 self.handle_expr(function_body, expr.condition, current);
[INFO] [stdout]     |                      -----------                ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lower/usage.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn handle_expr(&mut self, function_body: &FunctionBody, expr_id: ExprId, current: &mut Usage) {
[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/fmt.rs:248:72
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 248 |         let enum_name = self.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:249:36
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let variant_name = self.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 249 |         let variant_name = self.id.ne(ctx.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/fmt.rs:290:68
[INFO] [stdout]     |
[INFO] [stdout] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).name(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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] 290 |             self.variant.concrete_enum_id.enum_id(ctx.db.upcast()).ne(ctx.db.upcast());
[INFO] [stdout]     |                                                                    ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for struct `cairo_lang_defs::ids::VariantId` in the current scope
[INFO] [stdout]    --> src/fmt.rs:291:44
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let variant_name = self.variant.id.name(ctx.db.upcast());
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-defs-2.6.2/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::VariantId` 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] 291 |         let variant_name = self.variant.id.ne(ctx.db.upcast());
[INFO] [stdout]     |                                            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     db.function_declaration_diagnostics(semantic_function_id)
[INFO] [stdout] 70 | |         .is_diagnostic_free()
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]    --> src/inline/mod.rs:300:60
[INFO] [stdout]     |
[INFO] [stdout] 300 |                     .and_then(|()| inline_data.diagnostics.is_diagnostic_free());
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<LoweringDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `name` found for reference `&MemberId` in the current scope
[INFO] [stdout]    --> src/lower/block_builder.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     [member_id.name(ctx.db.upcast())]
[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] 130 |                     [member_id.ne(ctx.db.upcast())]
[INFO] [stdout]     |                                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lower/lower_if.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 67 |     match analyze_condition(ctx, expr.condition) {
[INFO] [stdout]    |           -----------------      ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]    |           |
[INFO] [stdout]    |           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                 found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lower/lower_if.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn analyze_condition(ctx: &LoweringContext<'_, '_>, expr_id: semantic::ExprId) -> IfCondition {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^                                -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:81:59
[INFO] [stdout]     |
[INFO] [stdout] 81  |     let condition = lower_expr_to_var_usage(ctx, builder, expr.condition)?;
[INFO] [stdout]     |                     -----------------------               ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/lower/mod.rs:476:4
[INFO] [stdout]     |
[INFO] [stdout] 476 | fn lower_expr_to_var_usage(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 479 |     expr_id: semantic::ExprId,
[INFO] [stdout]     |     -------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/lower_if.rs:153:55
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 .get_location(ctx.function_body.exprs[expr.condition].stable_ptr().untyped()),
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]    --> src/lower/usage.rs:183:71
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.pattern, current);
[INFO] [stdout]     |                                                                       ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 183 |                     Self::handle_pattern(&function_body.patterns, arm.patterns, current);
[INFO] [stdout]     |                                                                       ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/usage.rs:188:49
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 self.handle_expr(function_body, expr.condition, current);
[INFO] [stdout]     |                      -----------                ^^^^^^^^^^^^^^ expected `Id<Expr>`, found `Condition`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Condition`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lower/usage.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn handle_expr(&mut self, function_body: &FunctionBody, expr_id: ExprId, current: &mut Usage) {
[INFO] [stdout]     |        ^^^^^^^^^^^                                          ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:71:75
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .and_then(|()| db.function_body_diagnostics(semantic_function_id).is_diagnostic_free())?;
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH>`
[INFO] [stdout]    --> src/lower/mod.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]     = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]               ahash::random_state::RandomState
[INFO] [stdout]               RandomState
[INFO] [stdout]               BuildHasherDefault<H>
[INFO] [stdout]     = note: required for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, _>` to implement `FromIterator<(MemberId, &Id<cairo_lang_semantic::Pattern>)>`
[INFO] [stdout] help: consider giving `required_members` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members: UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH> = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                                     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:721:9
[INFO] [stdout]     |
[INFO] [stdout] 721 |     let semantic::Expr::Literal(const_expr_literal) = const_expr else {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   ---------- this expression has type `&Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `Id<Expr>`, found `Expr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:914:48
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[expr.body];
[INFO] [stdout]     |                                                ^^^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[&expr.body];
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1015:58
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1114:58
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1198:50
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                  ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                  ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1281:72
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().pattern].clone();
[INFO] [stdout]      |                                                                        ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().patterns].clone();
[INFO] [stdout]      |                                                                        ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH>`
[INFO] [stdout]     --> src/lower/mod.rs:1436:9
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |         ^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]      = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]                ahash::random_state::RandomState
[INFO] [stdout]                RandomState
[INFO] [stdout]                BuildHasherDefault<H>
[INFO] [stdout]      = note: required for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, _>` to implement `FromIterator<(MemberId, Id<cairo_lang_semantic::Expr>)>`
[INFO] [stdout] help: consider giving `member_expr` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr: UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH> = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |                    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashSet<objects::blocks::BlockId, BH>`
[INFO] [stdout]   --> src/optimizations/match_optimizer.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks = UnorderedHashSet::default();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]    = note: required for `UnorderedHashSet<objects::blocks::BlockId, _>` to implement `std::default::Default`
[INFO] [stdout] help: consider giving `target_blocks` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks: UnorderedHashSet<objects::blocks::BlockId, BH> = UnorderedHashSet::default();
[INFO] [stdout]    |                              ++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     db.function_declaration_diagnostics(semantic_function_id)
[INFO] [stdout] 70 | |         .is_diagnostic_free()
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_diagnostic_free` found for struct `Diagnostics` in the current scope
[INFO] [stdout]   --> src/lower/mod.rs:71:75
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .and_then(|()| db.function_body_diagnostics(semantic_function_id).is_diagnostic_free())?;
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^^^ method not found in `Diagnostics<SemanticDiagnostic>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH>`
[INFO] [stdout]    --> src/lower/mod.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]     = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]               ahash::random_state::RandomState
[INFO] [stdout]               RandomState
[INFO] [stdout]               BuildHasherDefault<H>
[INFO] [stdout]     = note: required for `UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, _>` to implement `FromIterator<(MemberId, &Id<cairo_lang_semantic::Pattern>)>`
[INFO] [stdout] help: consider giving `required_members` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]     |
[INFO] [stdout] 385 |             let mut required_members: UnorderedHashMap<MemberId, &Id<cairo_lang_semantic::Pattern>, BH> = UnorderedHashMap::from_iter(
[INFO] [stdout]     |                                     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:721:9
[INFO] [stdout]     |
[INFO] [stdout] 721 |     let semantic::Expr::Literal(const_expr_literal) = const_expr else {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   ---------- this expression has type `&Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `Id<Expr>`, found `Expr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout]                  found enum `cairo_lang_semantic::Expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lower/mod.rs:914:48
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[expr.body];
[INFO] [stdout]     |                                                ^^^^^^^^^ expected `&_`, found `Id<Expr>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Id<cairo_lang_semantic::Expr>`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 914 |     let usage = &ctx.block_usages.block_usages[&expr.body];
[INFO] [stdout]     |                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1015:58
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1015 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1114:58
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                          ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1114 |             let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1198:50
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.pattern].clone();
[INFO] [stdout]      |                                                  ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1198 |     let pattern = ctx.function_body.patterns[arm.patterns].clone();
[INFO] [stdout]      |                                                  ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `pattern` on type `&cairo_lang_semantic::MatchArm`
[INFO] [stdout]     --> src/lower/mod.rs:1281:72
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().pattern].clone();
[INFO] [stdout]      |                                                                        ^^^^^^^ unknown field
[INFO] [stdout]      |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1281 |     let pattern = ctx.function_body.patterns[expr.arms.last().unwrap().patterns].clone();
[INFO] [stdout]      |                                                                        ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH>`
[INFO] [stdout]     --> src/lower/mod.rs:1436:9
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |         ^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: BuildHasher`
[INFO] [stdout]      = help: the following types implement trait `BuildHasher`:
[INFO] [stdout]                ahash::random_state::RandomState
[INFO] [stdout]                RandomState
[INFO] [stdout]                BuildHasherDefault<H>
[INFO] [stdout]      = note: required for `UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, _>` to implement `FromIterator<(MemberId, Id<cairo_lang_semantic::Expr>)>`
[INFO] [stdout] help: consider giving `member_expr` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1436 |     let member_expr: UnorderedHashMap<MemberId, Id<cairo_lang_semantic::Expr>, BH> = UnorderedHashMap::from_iter(expr.members.iter().cloned());
[INFO] [stdout]      |                    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/usage.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |         match pattern {
[INFO] [stdout]     |               ^^^^^^^ pattern `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Pattern` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/pattern.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub enum Pattern {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     FixedSizeArray(PatternFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Pattern`
[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] 244 ~             Pattern::Missing(_) => {},
[INFO] [stdout] 245 +             &cairo_lang_semantic::Pattern::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/mod.rs:491:11
[INFO] [stdout]     |
[INFO] [stdout] 491 |     match &expr {
[INFO] [stdout]     |           ^^^^^ patterns `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Expr` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/objects.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub enum Expr {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     While(ExprWhile),
[INFO] [stdout]     |     ----- not covered
[INFO] [stdout] ...
[INFO] [stdout] 137 |     FixedSizeArray(ExprFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Expr`
[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] 516 ~         },
[INFO] [stdout] 517 +         &cairo_lang_semantic::Expr::While(_) | &cairo_lang_semantic::Expr::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed for `UnorderedHashSet<objects::blocks::BlockId, BH>`
[INFO] [stdout]   --> src/optimizations/match_optimizer.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks = UnorderedHashSet::default();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^   ---------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `_: std::default::Default`
[INFO] [stdout]    = note: required for `UnorderedHashSet<objects::blocks::BlockId, _>` to implement `std::default::Default`
[INFO] [stdout] help: consider giving `target_blocks` an explicit type, where the type for type parameter `BH` is specified
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut target_blocks: UnorderedHashSet<objects::blocks::BlockId, BH> = UnorderedHashSet::default();
[INFO] [stdout]    |                              ++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `DiagnosticsBuilder` in the current scope
[INFO] [stdout]    --> src/test.rs:189:43
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let mut builder = DiagnosticsBuilder::new();
[INFO] [stdout]     |                                           ^^^ function or associated item not found in `DiagnosticsBuilder<_>`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/core/src/cmp.rs:263:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_defs::ids::LanguageElementId`
[INFO] [stdout]  --> src/test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cairo_lang_defs::ids::LanguageElementId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_defs::ids::LanguageElementId`
[INFO] [stdout]  --> src/lower/usage_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_defs::ids::LanguageElementId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0283, E0308, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cairo-lang-lowering` (lib) due to 26 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/usage.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |         match pattern {
[INFO] [stdout]     |               ^^^^^^^ pattern `&cairo_lang_semantic::Pattern::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Pattern` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/pattern.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub enum Pattern {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     FixedSizeArray(PatternFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Pattern`
[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] 244 ~             Pattern::Missing(_) => {},
[INFO] [stdout] 245 +             &cairo_lang_semantic::Pattern::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]    --> src/lower/mod.rs:491:11
[INFO] [stdout]     |
[INFO] [stdout] 491 |     match &expr {
[INFO] [stdout]     |           ^^^^^ patterns `&cairo_lang_semantic::Expr::While(_)` and `&cairo_lang_semantic::Expr::FixedSizeArray(_)` not covered
[INFO] [stdout]     |
[INFO] [stdout] note: `cairo_lang_semantic::Expr` defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cairo-lang-semantic-2.6.2/src/expr/objects.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub enum Expr {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     While(ExprWhile),
[INFO] [stdout]     |     ----- not covered
[INFO] [stdout] ...
[INFO] [stdout] 137 |     FixedSizeArray(ExprFixedSizeArray),
[INFO] [stdout]     |     -------------- not covered
[INFO] [stdout]     = note: the matched value is of type `&cairo_lang_semantic::Expr`
[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] 516 ~         },
[INFO] [stdout] 517 +         &cairo_lang_semantic::Expr::While(_) | &cairo_lang_semantic::Expr::FixedSizeArray(_) => todo!()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 51 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0283, E0308, E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cairo-lang-lowering` (lib test) due to 52 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3b0753223d996def01ea2066b3fbae5714045b5c4a439ce0cdb8bf04bc1c0088", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b0753223d996def01ea2066b3fbae5714045b5c4a439ce0cdb8bf04bc1c0088", kill_on_drop: false }`
[INFO] [stdout] 3b0753223d996def01ea2066b3fbae5714045b5c4a439ce0cdb8bf04bc1c0088
