[INFO] fetching crate dock_crypto_utils 0.23.0... [INFO] checking dock_crypto_utils-0.23.0 against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] extracting crate dock_crypto_utils 0.23.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate dock_crypto_utils 0.23.0 [INFO] finished tweaking crates.io crate dock_crypto_utils 0.23.0 [INFO] tweaked toml for crates.io crate dock_crypto_utils 0.23.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dock_crypto_utils 0.23.0 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 crates.io crate dock_crypto_utils 0.23.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e38333174c6450ab0499660c9c9edc02f4b8e41ad1c104bffe993456ad5ef923 [INFO] running `Command { std: "docker" "start" "-a" "e38333174c6450ab0499660c9c9edc02f4b8e41ad1c104bffe993456ad5ef923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e38333174c6450ab0499660c9c9edc02f4b8e41ad1c104bffe993456ad5ef923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38333174c6450ab0499660c9c9edc02f4b8e41ad1c104bffe993456ad5ef923", kill_on_drop: false }` [INFO] [stdout] e38333174c6450ab0499660c9c9edc02f4b8e41ad1c104bffe993456ad5ef923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 58abd7a9bb3b929353e6dabbe0d4bd3daaebc7830c210069831c29b33f28606e [INFO] running `Command { std: "docker" "start" "-a" "58abd7a9bb3b929353e6dabbe0d4bd3daaebc7830c210069831c29b33f28606e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking dock_merlin v3.0.0 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-secp256r1 v0.4.0 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking dock_crypto_utils v0.23.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WindowTable { [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] 8 | pub struct WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WindowTable { [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/msm.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WindowTable { [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] 8 | pub struct WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 15 | impl WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | impl Mul<&G::ScalarField> for &WindowTable { [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] 47 | impl Mul<&G::ScalarField> for &WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn multiply_field_elems_with_same_group_elem( [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 | ) -> Vec where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 18 | pub fn new(num_multiplications: usize, group_elem: G) -> 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/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 33 | pub fn multiply(&self, element: &G::ScalarField) -> G where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 38 | pub fn multiply_many(&self, elements: &[G::ScalarField]) -> Vec where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 42 | pub fn window_size(num_multiplications: usize) -> usize where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | impl Mul<&G::ScalarField> for &WindowTable { [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] 50 | fn mul(self, rhs: &G::ScalarField) -> Self::Output where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/misc.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | n_projective_group_elements::(n, bytes).map(CurveGroup::into_affine) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 109 | G: AffineRepr + SendIfParallel + std::ops::Neg, [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/misc.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | n_projective_group_elements::(n, bytes).map(CurveGroup::into_affine) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 109 | G: AffineRepr + SendIfParallel + std::ops::Neg, [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/macros.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | ( $($tt: tt)*) => { impl rayon::prelude::IndexedParallelIterator $($tt)* } [INFO] [stdout] | ^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | ) -> impl_indexed_iter!( + 'iter) [INFO] [stdout] | -------------------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_indexed_iter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `G` with trait `Neg` [INFO] [stdout] --> src/misc.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | G: AffineRepr + SendIfParallel + std::ops::Neg, [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | Self(g.mul_bigint(secret_key.0.into_bigint()).into_affine()) [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | Self(g.mul_bigint(secret_key.0.into_bigint()).into_affine()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 36 | impl PublicKey { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:94:58 [INFO] [stdout] | [INFO] [stdout] 94 | let encrypted = (public_key.mul_bigint(b) + msg).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:110:59 [INFO] [stdout] | [INFO] [stdout] 110 | let encrypted = ((public_key * randomness) + msg).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:118:62 [INFO] [stdout] | [INFO] [stdout] 118 | (self.eph_pk.mul(secret_key).neg() + self.encrypted).into_affine() [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:171:54 [INFO] [stdout] | [INFO] [stdout] 171 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:195:41 [INFO] [stdout] | [INFO] [stdout] 195 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:259:54 [INFO] [stdout] | [INFO] [stdout] 259 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:259:40 [INFO] [stdout] | [INFO] [stdout] 259 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:275:61 [INFO] [stdout] | [INFO] [stdout] 275 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:275:40 [INFO] [stdout] | [INFO] [stdout] 275 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:278:44 [INFO] [stdout] | [INFO] [stdout] 278 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:283:57 [INFO] [stdout] | [INFO] [stdout] 283 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/commitment.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | G::Group::normalize_batch( [INFO] [stdout] | ------------------------- required by a bound introduced by this call [INFO] [stdout] 58 | / &cfg_into_iter!(messages) [INFO] [stdout] 59 | | .zip(cfg_into_iter!(randomness)) [INFO] [stdout] 60 | | .map(|(m_i, r_i)| &g_table * m_i + &h_table * r_i) [INFO] [stdout] 61 | | .collect::>(), [INFO] [stdout] | |____________________________________^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `normalize_batch` [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::normalize_batch` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn normalize_batch(v: &[Self]) -> Vec; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 35 | impl PedersenCommitmentKey { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/hashing_utils.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | projective_group_elem_from_try_and_incr::(bytes).into_affine() [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn affine_group_elem_from_try_and_incr(bytes: &[u8]) -> G { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/misc.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | G::Group::normalize_batch(&products) [INFO] [stdout] | ------------------------- ^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `normalize_batch` [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::normalize_batch` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn normalize_batch(v: &[Self]) -> Vec; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn points(base: &G, scalars: &[G::ScalarField]) -> Vec { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | table: 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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | table: 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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | table: Vec>, [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [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] = note: this error originates in the derive macro `CanonicalSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [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] = note: this error originates in the derive macro `CanonicalDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let table = FixedBase::get_window_table(scalar_size, window_size, group_elem); [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] 18 | pub fn new(num_multiplications: usize, group_elem: G) -> 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/msm.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | table, [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] 18 | pub fn new(num_multiplications: usize, group_elem: G) -> 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/msm.rs:34:69 [INFO] [stdout] | [INFO] [stdout] 34 | FixedBase::windowed_mul(self.num_windows, self.window_size, &self.table, element) [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] 33 | pub fn multiply(&self, element: &G::ScalarField) -> G where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | FixedBase::msm(self.scalar_size, self.window_size, &self.table, elements) [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] 38 | pub fn multiply_many(&self, elements: &[G::ScalarField]) -> Vec where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:51:69 [INFO] [stdout] | [INFO] [stdout] 51 | FixedBase::windowed_mul(self.num_windows, self.window_size, &self.table, rhs) [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] 50 | fn mul(self, rhs: &G::ScalarField) -> Self::Output where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/schnorr_signature.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let t = (*g * r).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 20 | impl Signature { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/schnorr_signature.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | let t = (*g * self.response - *public_key * self.challenge).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 20 | impl Signature { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WindowTable { [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] 8 | pub struct WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WindowTable { [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/msm.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct WindowTable { [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] 8 | pub struct WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 15 | impl WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | impl Mul<&G::ScalarField> for &WindowTable { [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] 47 | impl Mul<&G::ScalarField> for &WindowTable where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn multiply_field_elems_with_same_group_elem( [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 | ) -> Vec where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dock_crypto_utils` (lib) due to 45 previous errors [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/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 18 | pub fn new(num_multiplications: usize, group_elem: G) -> 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/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 33 | pub fn multiply(&self, element: &G::ScalarField) -> G where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 38 | pub fn multiply_many(&self, elements: &[G::ScalarField]) -> Vec where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl WindowTable { [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] 42 | pub fn window_size(num_multiplications: usize) -> usize where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | impl Mul<&G::ScalarField> for &WindowTable { [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] 50 | fn mul(self, rhs: &G::ScalarField) -> Self::Output where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/misc.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | n_projective_group_elements::(n, bytes).map(CurveGroup::into_affine) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 109 | G: AffineRepr + SendIfParallel + std::ops::Neg, [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/misc.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | n_projective_group_elements::(n, bytes).map(CurveGroup::into_affine) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 109 | G: AffineRepr + SendIfParallel + std::ops::Neg, [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/macros.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | ( $($tt: tt)*) => { impl rayon::prelude::IndexedParallelIterator $($tt)* } [INFO] [stdout] | ^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] ::: src/misc.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | ) -> impl_indexed_iter!( + 'iter) [INFO] [stdout] | -------------------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_indexed_iter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider further restricting type parameter `G` with trait `Neg` [INFO] [stdout] --> src/misc.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | G: AffineRepr + SendIfParallel + std::ops::Neg, [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/ecies.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | let g = G::Group::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 117 | fn check(rng: &mut StdRng) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | Self(g.mul_bigint(secret_key.0.into_bigint()).into_affine()) [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | Self(g.mul_bigint(secret_key.0.into_bigint()).into_affine()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 36 | impl PublicKey { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:94:58 [INFO] [stdout] | [INFO] [stdout] 94 | let encrypted = (public_key.mul_bigint(b) + msg).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:110:59 [INFO] [stdout] | [INFO] [stdout] 110 | let encrypted = ((public_key * randomness) + msg).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:118:62 [INFO] [stdout] | [INFO] [stdout] 118 | (self.eph_pk.mul(secret_key).neg() + self.encrypted).into_affine() [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 74 | impl Ciphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:171:54 [INFO] [stdout] | [INFO] [stdout] 171 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:195:41 [INFO] [stdout] | [INFO] [stdout] 195 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 146 | impl HashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:259:54 [INFO] [stdout] | [INFO] [stdout] 259 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:259:40 [INFO] [stdout] | [INFO] [stdout] 259 | let shared_secret = public_key.mul_bigint(b).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | eph_pk: g.mul_bigint(b).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:275:61 [INFO] [stdout] | [INFO] [stdout] 275 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:275:40 [INFO] [stdout] | [INFO] [stdout] 275 | let shared_secret = public_key.multiply(randomness).into_affine(); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:278:44 [INFO] [stdout] | [INFO] [stdout] 278 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | eph_pk: g.multiply(randomness).into_affine(), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `&WindowTable<::Group>` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:283:57 [INFO] [stdout] | [INFO] [stdout] 283 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/elgamal.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let shared_secret = self.eph_pk.mul(secret_key).into_affine(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ `CurveGroup::Affine` is `G` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 234 | impl BatchedHashedElgamalCiphertext { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | let g = G::Group::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 328 | fn check(rng: &mut StdRng) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:332:43 [INFO] [stdout] | [INFO] [stdout] 332 | let msg = G::Group::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 328 | fn check(rng: &mut StdRng) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:346:41 [INFO] [stdout] | [INFO] [stdout] 346 | let g = G::Group::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 345 | fn check(rng: &mut StdRng) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/elgamal.rs:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | let g = G::Group::rand(rng).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 363 | fn check(rng: &mut StdRng) { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/commitment.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | G::Group::normalize_batch( [INFO] [stdout] | ------------------------- required by a bound introduced by this call [INFO] [stdout] 58 | / &cfg_into_iter!(messages) [INFO] [stdout] 59 | | .zip(cfg_into_iter!(randomness)) [INFO] [stdout] 60 | | .map(|(m_i, r_i)| &g_table * m_i + &h_table * r_i) [INFO] [stdout] 61 | | .collect::>(), [INFO] [stdout] | |____________________________________^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `normalize_batch` [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::normalize_batch` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn normalize_batch(v: &[Self]) -> Vec; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 35 | impl PedersenCommitmentKey { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/hashing_utils.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | projective_group_elem_from_try_and_incr::(bytes).into_affine() [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn affine_group_elem_from_try_and_incr(bytes: &[u8]) -> G { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/misc.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | G::Group::normalize_batch(&products) [INFO] [stdout] | ------------------------- ^^^^^^^^^ the trait `Neg` is not implemented for `G` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `normalize_batch` [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::normalize_batch` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ec-0.4.2/src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn normalize_batch(v: &[Self]) -> Vec; [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn points(base: &G, scalars: &[G::ScalarField]) -> Vec { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | table: 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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | table: 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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | table: Vec>, [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [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] = note: this error originates in the derive macro `CanonicalSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, Eq, Debug, CanonicalSerialize, CanonicalDeserialize)] [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] = note: this error originates in the derive macro `CanonicalDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let table = FixedBase::get_window_table(scalar_size, window_size, group_elem); [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] 18 | pub fn new(num_multiplications: usize, group_elem: G) -> 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/msm.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | table, [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] 18 | pub fn new(num_multiplications: usize, group_elem: G) -> 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/msm.rs:34:69 [INFO] [stdout] | [INFO] [stdout] 34 | FixedBase::windowed_mul(self.num_windows, self.window_size, &self.table, element) [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] 33 | pub fn multiply(&self, element: &G::ScalarField) -> G where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | FixedBase::msm(self.scalar_size, self.window_size, &self.table, elements) [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] 38 | pub fn multiply_many(&self, elements: &[G::ScalarField]) -> Vec where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Affine: Neg` is not satisfied [INFO] [stdout] --> src/msm.rs:51:69 [INFO] [stdout] | [INFO] [stdout] 51 | FixedBase::windowed_mul(self.num_windows, self.window_size, &self.table, rhs) [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] 50 | fn mul(self, rhs: &G::ScalarField) -> Self::Output where ::Affine: Neg { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/schnorr_signature.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let t = (*g * r).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 20 | impl Signature { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `G: Neg` is not satisfied [INFO] [stdout] --> src/schnorr_signature.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | let t = (*g * self.response - *public_key * self.challenge).into_affine(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Neg` is not implemented for `G` [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 type parameter `G` with trait `Neg` [INFO] [stdout] | [INFO] [stdout] 20 | impl Signature { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dock_crypto_utils` (lib test) due to 50 previous errors [INFO] running `Command { std: "docker" "inspect" "58abd7a9bb3b929353e6dabbe0d4bd3daaebc7830c210069831c29b33f28606e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58abd7a9bb3b929353e6dabbe0d4bd3daaebc7830c210069831c29b33f28606e", kill_on_drop: false }` [INFO] [stdout] 58abd7a9bb3b929353e6dabbe0d4bd3daaebc7830c210069831c29b33f28606e