[INFO] fetching crate spartan2 0.4.0... [INFO] testing spartan2-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate spartan2 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate spartan2 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate spartan2 0.4.0 [INFO] tweaked toml for crates.io crate spartan2 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spartan2 0.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 spartan2 0.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 85ebf935c5afff942839b64f3616bfe743b8f95ec8db1188877e1164921e3979 [INFO] running `Command { std: "docker" "start" "-a" "85ebf935c5afff942839b64f3616bfe743b8f95ec8db1188877e1164921e3979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85ebf935c5afff942839b64f3616bfe743b8f95ec8db1188877e1164921e3979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ebf935c5afff942839b64f3616bfe743b8f95ec8db1188877e1164921e3979", kill_on_drop: false }` [INFO] [stdout] 85ebf935c5afff942839b64f3616bfe743b8f95ec8db1188877e1164921e3979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 223b74eb332a9546ea80140a5d0994999250a228429c537605b4d96ec127c964 [INFO] running `Command { std: "docker" "start" "-a" "223b74eb332a9546ea80140a5d0994999250a228429c537605b4d96ec127c964", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling halo2curves v0.9.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling addchain v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling plonky2_maybe_rayon v1.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ff_derive v0.13.1 [INFO] [stderr] Compiling halo2derive v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pairing v0.23.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_arrays v0.2.0 [INFO] [stderr] Compiling bellpepper-core v0.4.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bellpepper v0.4.1 [INFO] [stderr] Compiling spartan2 v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/polys/multilinear.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | .map(|i| (Scalar::ONE - r[i])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(unused)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - .map(|i| (Scalar::ONE - r[i])) [INFO] [stdout] 155 + .map(|i| Scalar::ONE - r[i]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/provider/msm.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | .filter(|(scalar, _)| (!scalar.is_zero())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 224 - .filter(|(scalar, _)| (!scalar.is_zero())) [INFO] [stdout] 224 + .filter(|(scalar, _)| !scalar.is_zero()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spartan2` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "223b74eb332a9546ea80140a5d0994999250a228429c537605b4d96ec127c964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223b74eb332a9546ea80140a5d0994999250a228429c537605b4d96ec127c964", kill_on_drop: false }` [INFO] [stdout] 223b74eb332a9546ea80140a5d0994999250a228429c537605b4d96ec127c964