[INFO] fetching crate spartan2 0.4.0... [INFO] building spartan2-0.4.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate spartan2 0.4.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spartan2 0.4.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded ff_derive v0.13.1 [INFO] [stderr] Downloaded pairing v0.23.0 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded serde_arrays v0.2.0 [INFO] [stderr] Downloaded plonky2_maybe_rayon v1.0.0 [INFO] [stderr] Downloaded addchain v0.2.0 [INFO] [stderr] Downloaded bellpepper v0.4.1 [INFO] [stderr] Downloaded halo2derive v0.2.0 [INFO] [stderr] Downloaded blake2s_simd v1.0.3 [INFO] [stderr] Downloaded bellpepper-core v0.4.0 [INFO] [stderr] Downloaded halo2curves v0.9.0 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b302f3d8f83543164d97275d21aec297c39ec058f2291114aff8f121146c60dc [INFO] running `Command { std: "docker" "start" "-a" "b302f3d8f83543164d97275d21aec297c39ec058f2291114aff8f121146c60dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b302f3d8f83543164d97275d21aec297c39ec058f2291114aff8f121146c60dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b302f3d8f83543164d97275d21aec297c39ec058f2291114aff8f121146c60dc", kill_on_drop: false }` [INFO] [stdout] b302f3d8f83543164d97275d21aec297c39ec058f2291114aff8f121146c60dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3feda4704860b04ccc50b53deb2eea7d8ea5c9497181eb10af26bff481eead11 [INFO] running `Command { std: "docker" "start" "-a" "3feda4704860b04ccc50b53deb2eea7d8ea5c9497181eb10af26bff481eead11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling halo2curves v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling addchain v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling plonky2_maybe_rayon v1.0.0 [INFO] [stderr] Compiling ff_derive v0.13.1 [INFO] [stderr] Compiling halo2derive v0.2.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 ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pairing v0.23.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bellpepper-core v0.4.0 [INFO] [stderr] Compiling serde_arrays v0.2.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: unused import: `crate::zip_with_for_each` [INFO] [stdout] --> src/polys/eq.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::zip_with_for_each; [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_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `zip_with_for_each` and `zip_with` [INFO] [stdout] --> src/polys/multilinear.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{math::Math, polys::eq::EqPolynomial, start_span, zip_with, zip_with_for_each}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: `#[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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3feda4704860b04ccc50b53deb2eea7d8ea5c9497181eb10af26bff481eead11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3feda4704860b04ccc50b53deb2eea7d8ea5c9497181eb10af26bff481eead11", kill_on_drop: false }` [INFO] [stdout] 3feda4704860b04ccc50b53deb2eea7d8ea5c9497181eb10af26bff481eead11