[INFO] cloning repository https://github.com/dongwook1214/ecdsa_prt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dongwook1214/ecdsa_prt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdongwook1214%2Fecdsa_prt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdongwook1214%2Fecdsa_prt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ace196d688466e5443623ba1eb60a905c883ca6a [INFO] checking dongwook1214/ecdsa_prt against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdongwook1214%2Fecdsa_prt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dongwook1214/ecdsa_prt [INFO] finished tweaking git repo https://github.com/dongwook1214/ecdsa_prt [INFO] tweaked toml for git repo https://github.com/dongwook1214/ecdsa_prt written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dongwook1214/ecdsa_prt on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dongwook1214/ecdsa_prt 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" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding ark-groth16 v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding crossbeam-deque v0.8.6 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding crossbeam-utils v0.8.21 [INFO] [stderr] Adding getrandom v0.2.17 [INFO] [stderr] Adding rayon v1.11.0 [INFO] [stderr] Adding rayon-core v1.13.0 [INFO] [stderr] Adding wasi v0.11.1+wasi-snapshot-preview1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e1010fae0d15fb3133837f530bb05aef3069204533a80690a1f99cd2b53fc85 [INFO] running `Command { std: "docker" "start" "-a" "5e1010fae0d15fb3133837f530bb05aef3069204533a80690a1f99cd2b53fc85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e1010fae0d15fb3133837f530bb05aef3069204533a80690a1f99cd2b53fc85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1010fae0d15fb3133837f530bb05aef3069204533a80690a1f99cd2b53fc85", kill_on_drop: false }` [INFO] [stdout] 5e1010fae0d15fb3133837f530bb05aef3069204533a80690a1f99cd2b53fc85 [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 -Zstrict-projection-item-bounds" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ce98f61b23b85953d70501473bba1548af8f3406fd95c10cc96c2af48558c71 [INFO] running `Command { std: "docker" "start" "-a" "1ce98f61b23b85953d70501473bba1548af8f3406fd95c10cc96c2af48558c71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking ark-std v0.3.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking ark-serialize v0.3.0 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling ark-ff v0.3.0 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-relations v0.4.0 [INFO] [stderr] Checking ark-snark v0.4.0 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking ark-r1cs-std v0.4.0 [INFO] [stderr] Checking ark-crypto-primitives v0.4.0 [INFO] [stderr] Checking ark-secp256k1 v0.4.0 [INFO] [stderr] Checking ark-ec v0.3.0 [INFO] [stderr] Checking ark-relations v0.3.0 [INFO] [stderr] Checking ark-groth16 v0.4.0 [INFO] [stderr] Checking ark-r1cs-std v0.3.1 [INFO] [stderr] Checking ark-nonnative-field v0.3.0 [INFO] [stderr] Checking ark-ed-on-bn254 v0.4.0 [INFO] [stderr] Checking ecdsa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ark_r1cs_std::R1CSVar` [INFO] [stdout] --> src/circuits/ecdsa.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ark_r1cs_std::R1CSVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInteger` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_ff::{BigInteger, Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_std::{rand, UniformRand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base_to_scalar` and `scalar_to_base` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | base_to_scalar, scalar_to_base, Hash, Parameters, PublicKey, Signature, SignatureScheme, ECDSA, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_bn254::Fq` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_bn254::Fq; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_ed_on_bn254::constraints::FqVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ark_ed_on_bn254::constraints::FqVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInt` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_ff::{BigInt, Field, One, PrimeField}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllocatedNonNativeFieldVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use ark_r1cs_std::fields::nonnative::{AllocatedNonNativeFieldVar, NonNativeFieldVar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_r1cs_std::uint8::UInt8` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ark_r1cs_std::uint8::UInt8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_relations::lc` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use ark_relations::lc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintSynthesizer` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | use ark_relations::r1cs::{ConstraintSynthesizer, Namespace, SynthesisError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_serialize::CanonicalSerialize` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ark_serialize::CanonicalSerialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MulAssign` and `Sub` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::{Mul, MulAssign, Sub}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ECDSACircuit> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ECDSACircuit> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ECDSACircuit> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn generate_constraints( [INFO] [stdout] 38 | | self, [INFO] [stdout] 39 | | cs: ConstraintSystemRef, [INFO] [stdout] 40 | | ) -> Result<(), SynthesisError> { [INFO] [stdout] | |___________________________________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 35 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 51 | GG: CurveVar, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 75 | GG: CurveVar, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 100 | Fq: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 123 | Fr: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / fn verify( [INFO] [stdout] 158 | | parameters: &Self::ParametersVar, [INFO] [stdout] 159 | | public_key: &Self::PublicKeyVar, [INFO] [stdout] 160 | | hash: &Self::HashVar, [INFO] [stdout] 161 | | signature: &Self::SignatureVar, [INFO] [stdout] 162 | | modulus: Self::ModulusVar, [INFO] [stdout] 163 | | ) -> Result, SynthesisError> { [INFO] [stdout] | |______________________________________________________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_r1cs_std::R1CSVar` [INFO] [stdout] --> src/circuits/ecdsa.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ark_r1cs_std::R1CSVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parameters` and `scalar_to_base` [INFO] [stdout] --> src/circuits/ecdsa.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::gadgets::ecdsa::{scalar_to_base, Hash, Parameters, SignatureScheme, ECDSA}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NonNativeFieldVar` [INFO] [stdout] --> src/circuits/ecdsa.rs:71:71 [INFO] [stdout] | [INFO] [stdout] 71 | use ark_r1cs_std::fields::nonnative::{AllocatedNonNativeFieldVar, NonNativeFieldVar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintSystemRef` [INFO] [stdout] --> src/circuits/ecdsa.rs:72:72 [INFO] [stdout] | [INFO] [stdout] 72 | use ark_relations::r1cs::{ConstraintSynthesizer, ConstraintSystem, ConstraintSystemRef}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_rng` [INFO] [stdout] --> src/circuits/ecdsa.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | use ark_std::{test_rng, UniformRand}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/circuits/ecdsa.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | use rand::{RngCore, SeedableRng}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInteger` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_ff::{BigInteger, Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_std::{rand, UniformRand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ECDSA where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base_to_scalar` and `scalar_to_base` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | base_to_scalar, scalar_to_base, Hash, Parameters, PublicKey, Signature, SignatureScheme, ECDSA, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_bn254::Fq` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_bn254::Fq; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parameters { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parameters where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_ed_on_bn254::constraints::FqVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ark_ed_on_bn254::constraints::FqVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInt` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_ff::{BigInt, Field, One, PrimeField}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllocatedNonNativeFieldVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use ark_r1cs_std::fields::nonnative::{AllocatedNonNativeFieldVar, NonNativeFieldVar}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_r1cs_std::uint8::UInt8` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ark_r1cs_std::uint8::UInt8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_relations::lc` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use ark_relations::lc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstraintSynthesizer` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | use ark_relations::r1cs::{ConstraintSynthesizer, Namespace, SynthesisError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_serialize::CanonicalSerialize` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ark_serialize::CanonicalSerialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MulAssign` and `Sub` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::{Mul, MulAssign, Sub}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_bn254` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | use ark_bn254; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CurveGroup` and `Group` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | use ark_ec::{CurveGroup, Group}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_ed_on_bn254::constraints::FqVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use ark_ed_on_bn254::constraints::FqVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_r1cs_std::groups::curves::twisted_edwards::AffineVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use ark_r1cs_std::groups::curves::twisted_edwards::AffineVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_r1cs_std::groups::CurveVar` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use ark_r1cs_std::groups::CurveVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_relations::r1cs::Namespace` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use ark_relations::r1cs::Namespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add` and `Mul` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | use std::ops::{Add, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigInt` and `One` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | use ark_ff::{BigInt, One, PrimeField}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parameters { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_r1cs_std::fields::fp::FpVar` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use ark_r1cs_std::fields::fp::FpVar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_std::rand::SeedableRng` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | use ark_std::rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SecretKey(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SecretKey(pub C::ScalarField) where ::Affine: Neg; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Signature where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Randomness(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Randomness(pub C::ScalarField) where ::Affine: Neg; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Randomness(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl UniformRand for Randomness { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 59 | impl UniformRand for Randomness where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Hash(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Hash(pub C::ScalarField) where ::Affine: Neg; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Hash(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ECDSACircuit> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ECDSACircuit> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | type ModulusVar = FpVar; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | type SignatureVar = SignatureVar; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | type HashVar = HashVar; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ECDSACircuit> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl UniformRand for Randomness { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 60 | fn rand(rng: &mut R) -> Self where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn generate_constraints( [INFO] [stdout] 38 | | self, [INFO] [stdout] 39 | | cs: ConstraintSystemRef, [INFO] [stdout] 40 | | ) -> Result<(), SynthesisError> { [INFO] [stdout] | |___________________________________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | type PublicKey = PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 76 | fn setup(rng: &mut R) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 35 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 19 | pub modulus: C::BaseField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub pk: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let g = ParametersVar::::new_constant(cs.clone(), self.g)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | let g = ParametersVar::::new_constant(cs.clone(), self.g)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let pk = PublicKeyVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let pk = PublicKeyVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | self.pk.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 51 | GG: CurveVar, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::BaseField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::BaseField` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | type BaseField: Field; [INFO] [stdout] | --------- required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:71 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ____________________^ [INFO] [stdout] 48 | | self.hash.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 49 | | })?; [INFO] [stdout] | |__________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 75 | GG: CurveVar, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 100 | Fq: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ____________________^ [INFO] [stdout] 48 | | self.hash.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 49 | | })?; [INFO] [stdout] | |___________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::BaseField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::BaseField` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | type BaseField: Field; [INFO] [stdout] | --------- required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] 52 | | self.signature.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 53 | | })?; [INFO] [stdout] | |______________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] 52 | | self.signature.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 53 | | })?; [INFO] [stdout] | |_______________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:72 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 123 | Fr: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | result.enforce_equal(&Boolean::TRUE)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | result.enforce_equal(&Boolean::TRUE)?; [INFO] [stdout] | ^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let generator = GG::new_variable(cs, || f().map(|g| g.borrow().generator), mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / fn verify( [INFO] [stdout] 158 | | parameters: &Self::ParametersVar, [INFO] [stdout] 159 | | public_key: &Self::PublicKeyVar, [INFO] [stdout] 160 | | hash: &Self::HashVar, [INFO] [stdout] 161 | | signature: &Self::SignatureVar, [INFO] [stdout] 162 | | modulus: Self::ModulusVar, [INFO] [stdout] 163 | | ) -> Result, SynthesisError> { [INFO] [stdout] | |______________________________________________________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | let generator = GG::new_variable(cs, || f().map(|g| g.borrow().generator), mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let public_key: GG = GG::new_variable(cs, f, mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ECDSA where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parameters { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parameters where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Parameters { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let s_inv = signature.s.inverse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let s_inv = signature.s.inverse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let h = hash.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let r = signature.r.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let lhs = s_inv.clone() * h; [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | let lhs = s_inv.clone() * h; [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SecretKey(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SecretKey(pub C::ScalarField) where ::Affine: Neg; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | let lhs = lhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | let lhs = lhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Signature where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let lhs = base.scalar_mul_le(lhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let lhs = base.scalar_mul_le(lhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | let rhs = s_inv * r.clone(); [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let rhs = s_inv * r.clone(); [INFO] [stdout] | ^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Randomness(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Randomness(pub C::ScalarField) where ::Affine: Neg; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let rhs = rhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Randomness(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let rhs = rhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let rhs = public_key.scalar_mul_le(rhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl UniformRand for Randomness { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 59 | impl UniformRand for Randomness where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let rhs = public_key.scalar_mul_le(rhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Hash(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Hash(pub C::ScalarField) where ::Affine: Neg; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let res = res.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let res = res.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Hash(pub C::ScalarField); [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let res_x = res[0..res.len() / 2].to_vec(); [INFO] [stdout] | ^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let res_x = res[0..res.len() / 2].to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let res_x = res[0..res.len() / 2].to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let res_x = Boolean::le_bits_to_fp_var(&res_x)?; [INFO] [stdout] | ^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let res_x = Boolean::le_bits_to_fp_var(&res_x)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let res_x = Boolean::le_bits_to_fp_var(&res_x)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | let res_expected = r.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | let res_expected = r.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ParametersVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let res_expected = Boolean::le_bits_to_fp_var(&res_expected)?; [INFO] [stdout] | ^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let res_expected = Boolean::le_bits_to_fp_var(&res_expected)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let res_expected = Boolean::le_bits_to_fp_var(&res_expected)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PublicKeyVar> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 106 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 129 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:65 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct ECDSAVerificationGadget> { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | type ModulusVar = FpVar; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | type SignatureVar = SignatureVar; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | type HashVar = HashVar; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 148 | C::BaseField: PrimeField, ::Affine: Neg [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | C: CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 43 | pub struct Parameters { [INFO] [stdout] 44 | pub generator: C::Affine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl UniformRand for Randomness { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 60 | fn rand(rng: &mut R) -> Self where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | type PublicKey = PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 76 | fn setup(rng: &mut R) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | impl SignatureScheme for ECDSA { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 19 | pub modulus: C::BaseField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 22 | pub pk: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let g = ParametersVar::::new_constant(cs.clone(), self.g)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | let generator = C::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `into_affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::into_affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn into_affine(self) -> Self::Affine { [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 76 | fn setup(rng: &mut R) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | let g = ParametersVar::::new_constant(cs.clone(), self.g)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Parameters { generator }) [INFO] [stdout] | ^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 76 | fn setup(rng: &mut R) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let modulus = FpVar::new_constant(cs.clone(), self.modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let pk = parameters.generator.mul(sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let pk = PublicKeyVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let pk = PublicKeyVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | Ok((SecretKey(sk), pk.into_affine())) [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `into_affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::into_affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn into_affine(self) -> Self::Affine { [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok((SecretKey(sk), pk.into_affine())) [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | self.pk.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok((SecretKey(sk), pk.into_affine())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::BaseField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::BaseField` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | type BaseField: Field; [INFO] [stdout] | --------- required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:71 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ____________________^ [INFO] [stdout] 48 | | self.hash.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 49 | | })?; [INFO] [stdout] | |__________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let hash = HashVar::::new_input(cs.clone(), || { [INFO] [stdout] | ____________________^ [INFO] [stdout] 48 | | self.hash.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 49 | | })?; [INFO] [stdout] | |___________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::BaseField` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::BaseField` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | type BaseField: Field; [INFO] [stdout] | --------- required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let p: C::Affine = parameters.generator.mul(k).into(); [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::Affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::Affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | type Affine: AffineRepr< [INFO] [stdout] | ------ required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let p: C::Affine = parameters.generator.mul(k).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let r = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let r = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let r = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] | ^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] 52 | | self.signature.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 53 | | })?; [INFO] [stdout] | |______________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / SignatureVar::::new_witness(cs.clone(), || { [INFO] [stdout] 52 | | self.signature.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 53 | | })?; [INFO] [stdout] | |_______________^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:72 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | let result = ECDSAVerificationGadget::::verify(&g, &pk, &hash, &signature, modulus)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | result.enforce_equal(&Boolean::TRUE)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/circuits/ecdsa.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | result.enforce_equal(&Boolean::TRUE)?; [INFO] [stdout] | ^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result<(), SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:116:54 [INFO] [stdout] | [INFO] [stdout] 116 | "s_inv: {:?} h: {:?} r: {:?} public_key: {:?} base: {:?}", [INFO] [stdout] | ^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | let p: C::Affine = (parameters.generator.mul(u1) + public_key.mul(u2)).into(); [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::Affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::Affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | type Affine: AffineRepr< [INFO] [stdout] | ------ required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 123 | let p: C::Affine = (parameters.generator.mul(u1) + public_key.mul(u2)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let p: C::Affine = (parameters.generator.mul(u1) + public_key.mul(u2)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | println!("expected lhs + rhs : {:?}", p); [INFO] [stdout] | ^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let r: C::ScalarField = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let r: C::ScalarField = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | let r: C::ScalarField = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AffineRepr` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_ec::{AffineRepr, CurveGroup}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use ark_ec::{AffineRepr, CurveGroup, Group}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::{Mul, MulAssign, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_ff::{BigInt, Field, One, PrimeField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_std::Zero` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ark_std::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_ff::{BigInt, Field, One, PrimeField}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let generator = GG::new_variable(cs, || f().map(|g| g.borrow().generator), mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | let generator = GG::new_variable(cs, || f().map(|g| g.borrow().generator), mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let public_key: GG = GG::new_variable(cs, f, mode)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let s_inv = signature.s.inverse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let s_inv = signature.s.inverse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let h = hash.0.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let r = signature.r.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let lhs = s_inv.clone() * h; [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | let lhs = s_inv.clone() * h; [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | let lhs = lhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | let lhs = lhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let lhs = base.scalar_mul_le(lhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let lhs = base.scalar_mul_le(lhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | let rhs = s_inv * r.clone(); [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let rhs = s_inv * r.clone(); [INFO] [stdout] | ^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let rhs = rhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let rhs = rhs.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let rhs = public_key.scalar_mul_le(rhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let rhs = public_key.scalar_mul_le(rhs.iter())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let res = res.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let res = res.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ecdsa` (bin "ecdsa") due to 130 previous errors; 20 warnings emitted [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let res_x = res[0..res.len() / 2].to_vec(); [INFO] [stdout] | ^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let res_x = res[0..res.len() / 2].to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let res_x = res[0..res.len() / 2].to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let res_x = Boolean::le_bits_to_fp_var(&res_x)?; [INFO] [stdout] | ^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let res_x = Boolean::le_bits_to_fp_var(&res_x)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let res_x = Boolean::le_bits_to_fp_var(&res_x)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | let res_expected = r.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | let res_expected = r.to_bits_le()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let res_expected = Boolean::le_bits_to_fp_var(&res_expected)?; [INFO] [stdout] | ^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let res_expected = Boolean::le_bits_to_fp_var(&res_expected)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let res_expected = Boolean::le_bits_to_fp_var(&res_expected)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:65 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | is_same_num_in_mod(res_x.clone(), res_expected.clone(), modulus.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, SynthesisError> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 43 | pub struct Parameters { [INFO] [stdout] 44 | pub generator: C::Affine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | let generator = C::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `into_affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::into_affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn into_affine(self) -> Self::Affine { [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 76 | fn setup(rng: &mut R) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Parameters { generator }) [INFO] [stdout] | ^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 76 | fn setup(rng: &mut R) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let pk = parameters.generator.mul(sk); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | Ok((SecretKey(sk), pk.into_affine())) [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `into_affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::into_affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn into_affine(self) -> Self::Affine { [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok((SecretKey(sk), pk.into_affine())) [INFO] [stdout] | ^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok((SecretKey(sk), pk.into_affine())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result<(Self::SecretKey, Self::PublicKey), Error> where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let p: C::Affine = parameters.generator.mul(k).into(); [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::Affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::Affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | type Affine: AffineRepr< [INFO] [stdout] | ------ required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | let p: C::Affine = parameters.generator.mul(k).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let r = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let r = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let r = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 96 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:116:54 [INFO] [stdout] | [INFO] [stdout] 116 | "s_inv: {:?} h: {:?} r: {:?} public_key: {:?} base: {:?}", [INFO] [stdout] | ^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | let p: C::Affine = (parameters.generator.mul(u1) + public_key.mul(u2)).into(); [INFO] [stdout] | ^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup::Affine` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup::Affine` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | type Affine: AffineRepr< [INFO] [stdout] | ------ required by a bound in this associated type [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 123 | let p: C::Affine = (parameters.generator.mul(u1) + public_key.mul(u2)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let p: C::Affine = (parameters.generator.mul(u1) + public_key.mul(u2)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | println!("expected lhs + rhs : {:?}", p); [INFO] [stdout] | ^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let r: C::ScalarField = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let r: C::ScalarField = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | let r: C::ScalarField = base_to_scalar(p.x().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `::Affine` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ark_ec::CurveGroup` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/scalar_mul/mod.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | + Neg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CurveGroup` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub trait CurveGroup: [INFO] [stdout] | ---------- required by a bound in this trait [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CircuitSpecificSetupSNARK` [INFO] [stdout] --> src/circuits/ecdsa.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | use ark_crypto_primitives::snark::{CircuitSpecificSetupSNARK, SNARK}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AffineRepr` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_ec::{AffineRepr, CurveGroup}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_ff::{BigInt, Field, One, PrimeField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_std::Zero` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use ark_std::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_ff::{BigInt, Field, One, PrimeField}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::ops::{Mul, MulAssign, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/circuits/ecdsa.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut seed: u64 = 11; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/circuits/ecdsa.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut seed: u64 = 9; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/circuits/ecdsa.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut seed: u64 = 9; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk` [INFO] [stdout] --> src/gadgets/ecdsa/constraints.rs:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | let (sk, pk) = MyECDSA::keygen(¶meter, rng).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | for i in 0..100000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut rng = &mut test_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameter` [INFO] [stdout] --> src/gadgets/ecdsa/mod.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let parameter = ECDSA::::setup(rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecdsa` (bin "ecdsa" test) due to 130 previous errors; 51 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ce98f61b23b85953d70501473bba1548af8f3406fd95c10cc96c2af48558c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce98f61b23b85953d70501473bba1548af8f3406fd95c10cc96c2af48558c71", kill_on_drop: false }` [INFO] [stdout] 1ce98f61b23b85953d70501473bba1548af8f3406fd95c10cc96c2af48558c71