[INFO] fetching crate cairo-vm 2.4.0... [INFO] testing cairo-vm-2.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cairo-vm 2.4.0 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cairo-vm 2.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b8147811389afe4a9cc9823bc299bc491cdcc607c2cc3222ea268e1084ee795 [INFO] running `Command { std: "docker" "start" "-a" "2b8147811389afe4a9cc9823bc299bc491cdcc607c2cc3222ea268e1084ee795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b8147811389afe4a9cc9823bc299bc491cdcc607c2cc3222ea268e1084ee795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8147811389afe4a9cc9823bc299bc491cdcc607c2cc3222ea268e1084ee795", kill_on_drop: false }` [INFO] [stdout] 2b8147811389afe4a9cc9823bc299bc491cdcc607c2cc3222ea268e1084ee795 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e1ad1a6c7922753e5a6e491d2df282bec0d95a58c091fa581fbb1d0e6fea98d [INFO] running `Command { std: "docker" "start" "-a" "2e1ad1a6c7922753e5a6e491d2df282bec0d95a58c091fa581fbb1d0e6fea98d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [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 autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling lambdaworks-math v0.10.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling lambdaworks-crypto v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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" "2e1ad1a6c7922753e5a6e491d2df282bec0d95a58c091fa581fbb1d0e6fea98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1ad1a6c7922753e5a6e491d2df282bec0d95a58c091fa581fbb1d0e6fea98d", kill_on_drop: false }` [INFO] [stdout] 2e1ad1a6c7922753e5a6e491d2df282bec0d95a58c091fa581fbb1d0e6fea98d