[INFO] cloning repository https://github.com/Janmajayamall/halo2_ecc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Janmajayamall/halo2_ecc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanmajayamall%2Fhalo2_ecc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanmajayamall%2Fhalo2_ecc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c22eb56e9ab1d47f1de22cd185b7ad4e7341d628 [INFO] testing Janmajayamall/halo2_ecc/c22eb56e9ab1d47f1de22cd185b7ad4e7341d628 against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanmajayamall%2Fhalo2_ecc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Janmajayamall/halo2_ecc on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Janmajayamall/halo2_ecc [INFO] finished tweaking git repo https://github.com/Janmajayamall/halo2_ecc [INFO] tweaked toml for git repo https://github.com/Janmajayamall/halo2_ecc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Janmajayamall/halo2_ecc 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/zcash/halo2.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pasta_curves v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd7b91c1d8efa6e9abe72eaee2f5ca3e52e6c45b2afa13ab9eb54f829fe2b47a [INFO] running `Command { std: "docker" "start" "-a" "fd7b91c1d8efa6e9abe72eaee2f5ca3e52e6c45b2afa13ab9eb54f829fe2b47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd7b91c1d8efa6e9abe72eaee2f5ca3e52e6c45b2afa13ab9eb54f829fe2b47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd7b91c1d8efa6e9abe72eaee2f5ca3e52e6c45b2afa13ab9eb54f829fe2b47a", kill_on_drop: false }` [INFO] [stdout] fd7b91c1d8efa6e9abe72eaee2f5ca3e52e6c45b2afa13ab9eb54f829fe2b47a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e80d61368915644b0355e2edb3de4d40013300549b07d7692591b9570c992aff [INFO] running `Command { std: "docker" "start" "-a" "e80d61368915644b0355e2edb3de4d40013300549b07d7692591b9570c992aff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling font-kit v0.10.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling pasta_curves v0.4.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling tabbycat v0.1.2 [INFO] [stderr] Compiling halo2_proofs v0.1.0 (https://github.com/zcash/halo2.git?rev=a898d65ae3ad3d41987666f6a03cfc15edae01c4#a898d65a) [INFO] [stderr] Compiling halo2_ecc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AssignedCell` [INFO] [stdout] --> src/ecc/add.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::{AssignedCell, Region}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/ecc/add.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | .map(|((((x_p, x_q), y_p), y_q))| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - .map(|((((x_p, x_q), y_p), y_q))| { [INFO] [stdout] 181 + .map(|(((x_p, x_q), y_p), y_q)| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CurveAffine`, `Expression` [INFO] [stdout] --> src/ecc/add_incomplete.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | arithmetic::{CurveAffine, FieldExt}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | circuit::Region, [INFO] [stdout] 5 | plonk::{Advice, Column, ConstraintSystem, Constraints, Error, Expression, Selector}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ECCPoint` [INFO] [stdout] --> src/ecc/mul_fixed.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ECCPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `circuit::Region` [INFO] [stdout] --> src/ecc/mul_fixed.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | circuit::Region, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | plonk::{Advice, Column, ConstraintSystem, Constraints, Error, Expression, Fixed, Selector}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed [INFO] [stdout] --> src/ecc/mul_fixed.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | - Expression::Constant(CurveAffine::b()); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as CurveAffine>::ScalarExt == _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `halo2_ecc` (bin "halo2_ecc") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e80d61368915644b0355e2edb3de4d40013300549b07d7692591b9570c992aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80d61368915644b0355e2edb3de4d40013300549b07d7692591b9570c992aff", kill_on_drop: false }` [INFO] [stdout] e80d61368915644b0355e2edb3de4d40013300549b07d7692591b9570c992aff