[INFO] fetching crate cairo-lang-sierra-gas 2.4.0-rc6...
[INFO] checking cairo-lang-sierra-gas-2.4.0-rc6 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate cairo-lang-sierra-gas 2.4.0-rc6 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate cairo-lang-sierra-gas 2.4.0-rc6 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cairo-lang-sierra-gas 2.4.0-rc6
[INFO] finished tweaking crates.io crate cairo-lang-sierra-gas 2.4.0-rc6
[INFO] tweaked toml for crates.io crate cairo-lang-sierra-gas 2.4.0-rc6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 167 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding env_logger v0.10.2 (latest: v0.11.3)
[INFO] [stderr]       Adding fixedbitset v0.4.2 (latest: v0.5.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding heck v0.3.3 (latest: v0.5.0)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding itertools v0.11.0 (latest: v0.12.1)
[INFO] [stderr]       Adding matrixmultiply v0.2.4 (latest: v0.3.8)
[INFO] [stderr]       Adding ndarray v0.13.1 (latest: v0.15.6)
[INFO] [stderr]       Adding nu-ansi-term v0.46.0 (latest: v0.50.0)
[INFO] [stderr]       Adding num-complex v0.2.4 (latest: v0.4.5)
[INFO] [stderr]       Adding num-traits v0.1.43 (latest: v0.2.18)
[INFO] [stderr]       Adding parking_lot v0.11.2 (latest: v0.12.2)
[INFO] [stderr]       Adding parking_lot_core v0.8.6 (latest: v0.9.10)
[INFO] [stderr]       Adding phf_shared v0.10.0 (latest: v0.11.2)
[INFO] [stderr]       Adding redox_syscall v0.2.16 (latest: v0.5.1)
[INFO] [stderr]       Adding regex-automata v0.1.10 (latest: v0.4.6)
[INFO] [stderr]       Adding regex-syntax v0.6.29 (latest: v0.8.3)
[INFO] [stderr]       Adding siphasher v0.3.11 (latest: v1.0.1)
[INFO] [stderr]       Adding spin v0.5.2 (latest: v0.9.8)
[INFO] [stderr]       Adding sprs v0.7.1 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding yansi v0.5.1 (latest: v1.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded new_debug_unreachable v1.0.6
[INFO] [stderr]   Downloaded const-fnv1a-hash v1.1.0
[INFO] [stderr]   Downloaded pico-args v0.5.0
[INFO] [stderr]   Downloaded cairo-lang-sierra-type-size v2.6.3
[INFO] [stderr]   Downloaded cairo-lang-eq-solver v2.6.3
[INFO] [stderr]   Downloaded lalrpop-util v0.20.2
[INFO] [stderr]   Downloaded cairo-felt v0.9.1
[INFO] [stderr]   Downloaded cairo-lang-sierra v2.6.3
[INFO] [stderr]   Downloaded lalrpop v0.20.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26301cf254c3a737cd3b3e1c815bf765b1f3f922933b566f5ba986b9da265a63
[INFO] running `Command { std: "docker" "start" "-a" "26301cf254c3a737cd3b3e1c815bf765b1f3f922933b566f5ba986b9da265a63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26301cf254c3a737cd3b3e1c815bf765b1f3f922933b566f5ba986b9da265a63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26301cf254c3a737cd3b3e1c815bf765b1f3f922933b566f5ba986b9da265a63", kill_on_drop: false }`
[INFO] [stdout] 26301cf254c3a737cd3b3e1c815bf765b1f3f922933b566f5ba986b9da265a63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a5c531179813622aae9a4c21cf1b8128425d0e87a6013f2476dae0fe721771b
[INFO] running `Command { std: "docker" "start" "-a" "4a5c531179813622aae9a4c21cf1b8128425d0e87a6013f2476dae0fe721771b", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking num-traits v0.2.18
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling schemars v0.8.17
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]     Checking matrixmultiply v0.2.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking lock_api v0.4.12
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking const-fnv1a-hash v1.1.0
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling serde_derive_internals v0.29.0
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling lalrpop-util v0.20.2
[INFO] [stderr]     Checking sprs v0.7.1
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling schemars_derive v0.8.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]    Compiling test-log-macros v0.2.16
[INFO] [stderr]     Checking minilp v0.2.2
[INFO] [stderr]     Checking test-log v0.2.16
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking test-case v3.3.1
[INFO] [stderr]     Checking good_lp v1.8.1
[INFO] [stderr]     Checking thiserror v1.0.59
[INFO] [stderr]    Compiling salsa-macros v0.16.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking serde_json v1.0.116
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking salsa v0.16.1
[INFO] [stderr]     Checking cairo-felt v0.9.1
[INFO] [stderr]     Checking cairo-lang-utils v2.6.3
[INFO] [stderr]     Checking cairo-lang-eq-solver v2.6.3
[INFO] [stderr]    Compiling cairo-lang-sierra v2.6.3
[INFO] [stderr]     Checking cairo-lang-sierra-type-size v2.6.3
[INFO] [stderr]     Checking cairo-lang-sierra-gas v2.4.0-rc6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_sierra::extensions::function_call::FunctionCallConcreteLibfunc`
[INFO] [stdout]   --> src/core_libfunc_cost_base.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use cairo_lang_sierra::extensions::function_call::FunctionCallConcreteLibfunc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------
[INFO] [stdout]    |     |                                             |
[INFO] [stdout]    |     |                                             help: a similar name exists in the module: `FunctionCallLibfunc`
[INFO] [stdout]    |     no `FunctionCallConcreteLibfunc` in `extensions::modules::function_call`
[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:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_test_utils::parse_test_file::TestRunnerResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cairo_lang_test_utils`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cairo_lang_utils::parse_test_file::TestRunnerResult;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cairo_lang_sierra::extensions::function_call::FunctionCallConcreteLibfunc`
[INFO] [stdout]   --> src/core_libfunc_cost_base.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use cairo_lang_sierra::extensions::function_call::FunctionCallConcreteLibfunc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------
[INFO] [stdout]    |     |                                             |
[INFO] [stdout]    |     |                                             help: a similar name exists in the module: `FunctionCallLibfunc`
[INFO] [stdout]    |     no `FunctionCallConcreteLibfunc` in `extensions::modules::function_call`
[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:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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[E0599]: no function or associated item named `cost_computation_steps` found for struct `BuiltinCostWithdrawGasLibfunc` in the current scope
[INFO] [stdout]    --> src/compute_costs.rs:782:56
[INFO] [stdout]     |
[INFO] [stdout] 782 |             let steps = BuiltinCostWithdrawGasLibfunc::cost_computation_steps(|token_type| {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `BuiltinCostWithdrawGasLibfunc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/compute_costs.rs:783:55
[INFO] [stdout]     |
[INFO] [stdout] 783 |                 self.precost_gas_info.variable_values[(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^ expected `&_`, found `(StatementIdx, _)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                    found tuple `(StatementIdx, _)`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 783 |                 self.precost_gas_info.variable_values[&(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `cost_computation_steps` found for struct `BuiltinCostWithdrawGasLibfunc` in the current scope
[INFO] [stdout]    --> src/compute_costs.rs:782:56
[INFO] [stdout]     |
[INFO] [stdout] 782 |             let steps = BuiltinCostWithdrawGasLibfunc::cost_computation_steps(|token_type| {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `BuiltinCostWithdrawGasLibfunc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]   --> src/core_libfunc_cost.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 CostTokenType::iter()
[INFO] [stdout]    |                                ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/compute_costs.rs:783:55
[INFO] [stdout]     |
[INFO] [stdout] 783 |                 self.precost_gas_info.variable_values[(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^ expected `&_`, found `(StatementIdx, _)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                    found tuple `(cairo_lang_sierra::program::StatementIdx, _)`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 783 |                 self.precost_gas_info.variable_values[&(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]   --> src/core_libfunc_cost.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 CostTokenType::iter()
[INFO] [stdout]    |                                ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `from_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:141:31
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 match libfunc.from_info.cast_type(&libfunc.to_info) {
[INFO] [stdout]     |                               ^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `to_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:141:60
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 match libfunc.from_info.cast_type(&libfunc.to_info) {
[INFO] [stdout]     |                                                            ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `to_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:152:38
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   !libfunc.to_info.signed,
[INFO] [stdout]     |                                ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `from_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:141:31
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 match libfunc.from_info.cast_type(&libfunc.to_info) {
[INFO] [stdout]     |                               ^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `to_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:163:65
[INFO] [stdout]     |
[INFO] [stdout] 163 |                         (ConstCost::steps(4 + i32::from(libfunc.to_info.signed))
[INFO] [stdout]     |                                                                 ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `to_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:141:60
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 match libfunc.from_info.cast_type(&libfunc.to_info) {
[INFO] [stdout]     |                                                            ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `to_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:152:38
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   !libfunc.to_info.signed,
[INFO] [stdout]     |                                ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `to_info` on type `&DowncastConcreteLibfunc`
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:163:65
[INFO] [stdout]     |
[INFO] [stdout] 163 |                         (ConstCost::steps(4 + i32::from(libfunc.to_info.signed))
[INFO] [stdout]     |                                                                 ^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `signature`, `from_ty`, `from_range`, `to_ty`, `to_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `MatchNullableSnapshot` found for enum `NullableConcreteLibfunc` in the current scope
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:379:40
[INFO] [stdout]     |
[INFO] [stdout] 379 |             | NullableConcreteLibfunc::MatchNullableSnapshot(_) => {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `NullableConcreteLibfunc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `cost_computation_steps` found for struct `BuiltinCostWithdrawGasLibfunc` in the current scope
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:440:56
[INFO] [stdout]     |
[INFO] [stdout] 440 |                         BuiltinCostWithdrawGasLibfunc::cost_computation_steps(|token_type| {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `BuiltinCostWithdrawGasLibfunc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `MatchNullableSnapshot` found for enum `NullableConcreteLibfunc` in the current scope
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:379:40
[INFO] [stdout]     |
[INFO] [stdout] 379 |             | NullableConcreteLibfunc::MatchNullableSnapshot(_) => {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `NullableConcreteLibfunc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `cost_computation_steps` found for struct `BuiltinCostWithdrawGasLibfunc` in the current scope
[INFO] [stdout]    --> src/core_libfunc_cost_base.rs:440:56
[INFO] [stdout]     |
[INFO] [stdout] 440 |                         BuiltinCostWithdrawGasLibfunc::cost_computation_steps(|token_type| {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `BuiltinCostWithdrawGasLibfunc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core_libfunc_cost_expr.rs:34:79
[INFO] [stdout]    |
[INFO] [stdout] 34 |             self.statement_future_cost.get_future_cost(&function.entry_point)[token_type].clone(),
[INFO] [stdout]    |                                                                               ^^^^^^^^^^ expected `&_`, found `CostTokenType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&_`
[INFO] [stdout]                    found enum `CostTokenType`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 34 |             self.statement_future_cost.get_future_cost(&function.entry_point)[&token_type].clone(),
[INFO] [stdout]    |                                                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core_libfunc_cost_expr.rs:34:79
[INFO] [stdout]    |
[INFO] [stdout] 34 |             self.statement_future_cost.get_future_cost(&function.entry_point)[token_type].clone(),
[INFO] [stdout]    |                                                                               ^^^^^^^^^^ expected `&_`, found `CostTokenType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&_`
[INFO] [stdout]                    found enum `CostTokenType`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 34 |             self.statement_future_cost.get_future_cost(&function.entry_point)[&token_type].clone(),
[INFO] [stdout]    |                                                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/gas_info.rs:111:62
[INFO] [stdout]     |
[INFO] [stdout] 111 |             writeln!(f, "#{statement_idx}: {:?}", var_values[*statement_idx])?;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^ expected `&_`, found `StatementIdx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `StatementIdx`
[INFO] [stdout] help: consider removing deref here
[INFO] [stdout]     |
[INFO] [stdout] 111 -             writeln!(f, "#{statement_idx}: {:?}", var_values[*statement_idx])?;
[INFO] [stdout] 111 +             writeln!(f, "#{statement_idx}: {:?}", var_values[statement_idx])?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]   --> src/generate_equations.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 CostTokenType::iter().map(|token_type| (*token_type, vec![])),
[INFO] [stdout]    |                                ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/generate_equations.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 self.equations[token_type].push(val);
[INFO] [stdout]    |                                ^^^^^^^^^^ expected `&_`, found `CostTokenType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&_`
[INFO] [stdout]                    found enum `CostTokenType`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 self.equations[&token_type].push(val);
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/gas_info.rs:111:62
[INFO] [stdout]     |
[INFO] [stdout] 111 |             writeln!(f, "#{statement_idx}: {:?}", var_values[*statement_idx])?;
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^ expected `&_`, found `StatementIdx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `cairo_lang_sierra::program::StatementIdx`
[INFO] [stdout] help: consider removing deref here
[INFO] [stdout]     |
[INFO] [stdout] 111 -             writeln!(f, "#{statement_idx}: {:?}", var_values[*statement_idx])?;
[INFO] [stdout] 111 +             writeln!(f, "#{statement_idx}: {:?}", var_values[statement_idx])?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]   --> src/generate_equations.rs:96:64
[INFO] [stdout]    |
[INFO] [stdout] 96 |             entry.insert(CostExprMap::from_iter(CostTokenType::iter().map(|token_type| {
[INFO] [stdout]    |                                                                ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/generate_equations_test.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     )?[CostTokenType::Const]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `CostTokenType`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found enum `CostTokenType`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 114 |     )?[&CostTokenType::Const]
[INFO] [stdout]     |        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]   --> src/generate_equations.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 CostTokenType::iter().map(|token_type| (*token_type, vec![])),
[INFO] [stdout]    |                                ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:153:58
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         precost_gas_info.variable_values[(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^ expected `&_`, found `(StatementIdx, CostTokenType)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                    found tuple `(StatementIdx, CostTokenType)`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         precost_gas_info.variable_values[&(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/generate_equations.rs:81:32
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 self.equations[token_type].push(val);
[INFO] [stdout]    |                                ^^^^^^^^^^ expected `&_`, found `CostTokenType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&_`
[INFO] [stdout]                    found enum `CostTokenType`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 self.equations[&token_type].push(val);
[INFO] [stdout]    |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]   --> src/generate_equations.rs:96:64
[INFO] [stdout]    |
[INFO] [stdout] 96 |             entry.insert(CostExprMap::from_iter(CostTokenType::iter().map(|token_type| {
[INFO] [stdout]    |                                                                ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]    --> src/lib.rs:181:42
[INFO] [stdout]     |
[INFO] [stdout] 181 |         for token_type in CostTokenType::iter() {
[INFO] [stdout]     |                                          ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |             let value = solution[Var::StatementFuture(func.entry_point, token_type)];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `Var`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found enum `Var`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 249 |             let value = solution[&Var::StatementFuture(func.entry_point, token_type)];
[INFO] [stdout]     |                                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_utils::casts::IntoOrPanic`
[INFO] [stdout]   --> src/core_libfunc_cost_base.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use cairo_lang_utils::casts::IntoOrPanic;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:153:58
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         precost_gas_info.variable_values[(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^ expected `&_`, found `(StatementIdx, CostTokenType)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                    found tuple `(cairo_lang_sierra::program::StatementIdx, CostTokenType)`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 153 |                         precost_gas_info.variable_values[&(*idx, token_type)].into_or_panic()
[INFO] [stdout]     |                                                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `CostTokenType` in the current scope
[INFO] [stdout]    --> src/lib.rs:181:42
[INFO] [stdout]     |
[INFO] [stdout] 181 |         for token_type in CostTokenType::iter() {
[INFO] [stdout]     |                                          ^^^^ variant or associated item not found in `CostTokenType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |             let value = solution[Var::StatementFuture(func.entry_point, token_type)];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `Var`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found enum `Var`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 249 |             let value = solution[&Var::StatementFuture(func.entry_point, token_type)];
[INFO] [stdout]     |                                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cairo_lang_utils::casts::IntoOrPanic`
[INFO] [stdout]   --> src/core_libfunc_cost_base.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use cairo_lang_utils::casts::IntoOrPanic;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cairo-lang-sierra-gas` (lib) due to 19 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cairo-lang-sierra-gas` (lib test) due to 22 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4a5c531179813622aae9a4c21cf1b8128425d0e87a6013f2476dae0fe721771b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a5c531179813622aae9a4c21cf1b8128425d0e87a6013f2476dae0fe721771b", kill_on_drop: false }`
[INFO] [stdout] 4a5c531179813622aae9a4c21cf1b8128425d0e87a6013f2476dae0fe721771b
