[INFO] fetching crate spartan2 0.4.0... [INFO] testing spartan2-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate spartan2 0.4.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spartan2 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded addchain v0.2.0 [INFO] [stderr] Downloaded ff_derive v0.13.1 [INFO] [stderr] Downloaded halo2derive v0.2.0 [INFO] [stderr] Downloaded bellpepper v0.4.1 [INFO] [stderr] Downloaded plonky2_maybe_rayon v1.0.0 [INFO] [stderr] Downloaded halo2curves v0.9.0 [INFO] [stderr] Downloaded bellpepper-core v0.4.0 [INFO] [stderr] Downloaded blake2s_simd v1.0.3 [INFO] [stderr] Downloaded serde_arrays v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2e0a2b8b6b387cb85ccc0a08ae2d4927d75e8a155b4386cbfc1bf13ee0708f [INFO] running `Command { std: "docker" "start" "-a" "af2e0a2b8b6b387cb85ccc0a08ae2d4927d75e8a155b4386cbfc1bf13ee0708f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2e0a2b8b6b387cb85ccc0a08ae2d4927d75e8a155b4386cbfc1bf13ee0708f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2e0a2b8b6b387cb85ccc0a08ae2d4927d75e8a155b4386cbfc1bf13ee0708f", kill_on_drop: false }` [INFO] [stdout] af2e0a2b8b6b387cb85ccc0a08ae2d4927d75e8a155b4386cbfc1bf13ee0708f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df070257c5a0902af1358ea18e8d980ecbbaa69c4f08c1766ae442ca6a25c1ac [INFO] running `Command { std: "docker" "start" "-a" "df070257c5a0902af1358ea18e8d980ecbbaa69c4f08c1766ae442ca6a25c1ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling halo2curves v0.9.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling plonky2_maybe_rayon v1.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [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 halo2derive v0.2.0 [INFO] [stderr] Compiling addchain v0.2.0 [INFO] [stderr] Compiling ff_derive v0.13.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pairing v0.23.0 [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 thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_arrays v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [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" "df070257c5a0902af1358ea18e8d980ecbbaa69c4f08c1766ae442ca6a25c1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df070257c5a0902af1358ea18e8d980ecbbaa69c4f08c1766ae442ca6a25c1ac", kill_on_drop: false }` [INFO] [stdout] df070257c5a0902af1358ea18e8d980ecbbaa69c4f08c1766ae442ca6a25c1ac