[INFO] fetching crate cairo-vm 2.4.0... [INFO] testing cairo-vm-2.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cairo-vm 2.4.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate cairo-vm 2.4.0 [INFO] finished tweaking crates.io crate cairo-vm 2.4.0 [INFO] tweaked toml for crates.io crate cairo-vm 2.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cairo-vm 2.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cairo-vm 2.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded starknet-curve v0.6.0 [INFO] [stderr] Downloaded starknet-types-core v0.2.0 [INFO] [stderr] Downloaded iai-callgrind v0.3.1 [INFO] [stderr] Downloaded starknet-crypto v0.8.0 [INFO] [stderr] Downloaded cairo-lang-starknet-classes v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-utils v2.12.0-dev.0 [INFO] [stderr] Downloaded mimalloc v0.1.47 [INFO] [stderr] Downloaded cairo-lang-sierra-type-size v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-eq-solver v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-sierra-gas v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-casm v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-sierra-ap-change v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-filesystem v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-debug v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-test-utils v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-diagnostics v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-plugins v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-project v2.12.0-dev.0 [INFO] [stderr] Downloaded term v1.1.0 [INFO] [stderr] Downloaded cairo-lang-compiler v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-syntax v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-sierra-to-casm v2.12.0-dev.0 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.43 [INFO] [stderr] Downloaded cairo-lang-defs v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-proc-macros v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-sierra-generator v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-sierra v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-syntax-codegen v2.12.0-rc.3 [INFO] [stderr] Downloaded cairo-lang-formatter v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-semantic v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-starknet v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-parser v2.12.0-dev.0 [INFO] [stderr] Downloaded cairo-lang-lowering v2.12.0-dev.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0762cb98d228092107622a345c68392c4e955cec30eac22742c7a5ce0347f9f [INFO] running `Command { std: "docker" "start" "-a" "f0762cb98d228092107622a345c68392c4e955cec30eac22742c7a5ce0347f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0762cb98d228092107622a345c68392c4e955cec30eac22742c7a5ce0347f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0762cb98d228092107622a345c68392c4e955cec30eac22742c7a5ce0347f9f", kill_on_drop: false }` [INFO] [stdout] f0762cb98d228092107622a345c68392c4e955cec30eac22742c7a5ce0347f9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebc9d8f46c2901907c121faecc8e20d9704058f10240cadce161e1f6630cbdc9 [INFO] running `Command { std: "docker" "start" "-a" "ebc9d8f46c2901907c121faecc8e20d9704058f10240cadce161e1f6630cbdc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling lambdaworks-math v0.10.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lambdaworks-crypto v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling starknet-types-core v0.2.0 [INFO] [stderr] Compiling num-modular v0.5.1 [INFO] [stderr] Compiling num-prime v0.4.4 [INFO] [stderr] Compiling starknet-curve v0.6.0 [INFO] [stderr] Compiling starknet-crypto v0.8.0 [INFO] [stderr] Compiling cairo-vm v2.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/vm/runners/builtin_runner/range_check.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | .map(move |i| ((digit >> (i * INNER_RC_BOUND_SHIFT)) & INNER_RC_BOUND_MASK)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - .map(move |i| ((digit >> (i * INNER_RC_BOUND_SHIFT)) & INNER_RC_BOUND_MASK)) [INFO] [stdout] 149 + .map(move |i| (digit >> (i * INNER_RC_BOUND_SHIFT)) & INNER_RC_BOUND_MASK) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/runners/cairo_runner.rs:1435:33 [INFO] [stdout] | [INFO] [stdout] 1435 | pub fn get_air_public_input(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1435 | pub fn get_air_public_input(&self) -> Result, PublicInputError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/vm_core.rs:904:24 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn get_integer(&self, key: Relocatable) -> Result, MemoryError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 904 | pub fn get_integer(&self, key: Relocatable) -> Result, MemoryError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/vm_core.rs:1002:22 [INFO] [stdout] | [INFO] [stdout] 1002 | pub fn get_range(&self, addr: Relocatable, size: usize) -> Vec>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1002 | pub fn get_range(&self, addr: Relocatable, size: usize) -> Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/vm_core.rs:1017:9 [INFO] [stdout] | [INFO] [stdout] 1017 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1020 | ) -> Result>, MemoryError> { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1020 | ) -> Result>, MemoryError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/vm_memory/memory.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_integer(&self, key: Relocatable) -> Result, MemoryError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 432 | pub fn get_integer(&self, key: Relocatable) -> Result, MemoryError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/vm_memory/memory.rs:627:22 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn get_range(&self, addr: Relocatable, size: usize) -> Vec>> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 627 | pub fn get_range(&self, addr: Relocatable, size: usize) -> Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/vm_memory/memory.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 663 | ) -> Result>, MemoryError> { [INFO] [stdout] | ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 663 | ) -> Result>, MemoryError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cairo-vm` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ebc9d8f46c2901907c121faecc8e20d9704058f10240cadce161e1f6630cbdc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc9d8f46c2901907c121faecc8e20d9704058f10240cadce161e1f6630cbdc9", kill_on_drop: false }` [INFO] [stdout] ebc9d8f46c2901907c121faecc8e20d9704058f10240cadce161e1f6630cbdc9