[INFO] cloning repository https://github.com/iron-fish/ironfish-mpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iron-fish/ironfish-mpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firon-fish%2Fironfish-mpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firon-fish%2Fironfish-mpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f75f4243f2dab7c9a63c728beda60320d0c3244 [INFO] testing iron-fish/ironfish-mpc against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firon-fish%2Fironfish-mpc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iron-fish/ironfish-mpc on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iron-fish/ironfish-mpc [INFO] finished tweaking git repo https://github.com/iron-fish/ironfish-mpc [INFO] tweaked toml for git repo https://github.com/iron-fish/ironfish-mpc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iron-fish/ironfish-mpc 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reddsa v0.3.0 [INFO] [stderr] Downloaded hex-literal-impl v0.1.2 [INFO] [stderr] Downloaded fpe v0.5.1 [INFO] [stderr] Downloaded proc-macro-hack v0.4.3 [INFO] [stderr] Downloaded zcash_encoding v0.1.0 [INFO] [stderr] Downloaded zcash_note_encryption v0.1.0 [INFO] [stderr] Downloaded equihash v0.2.0 [INFO] [stderr] Downloaded bellman v0.13.1 [INFO] [stderr] Downloaded zcash_proofs v0.7.1 [INFO] [stderr] Downloaded redjubjub v0.5.0 [INFO] [stderr] Downloaded bip0039 v0.9.0 [INFO] [stderr] Downloaded ironfish_zkp v0.1.0 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.3 [INFO] [stderr] Downloaded halo2_proofs v0.2.0 [INFO] [stderr] Downloaded hex-literal v0.1.4 [INFO] [stderr] Downloaded halo2_gadgets v0.2.0 [INFO] [stderr] Downloaded zcash_primitives v0.7.0 [INFO] [stderr] Downloaded orchard v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ad29cc932d6739ee2f92a1d6d3bdd9d1d3a97b7deadbb7dbac2a71bbce99f33 [INFO] running `Command { std: "docker" "start" "-a" "0ad29cc932d6739ee2f92a1d6d3bdd9d1d3a97b7deadbb7dbac2a71bbce99f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ad29cc932d6739ee2f92a1d6d3bdd9d1d3a97b7deadbb7dbac2a71bbce99f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad29cc932d6739ee2f92a1d6d3bdd9d1d3a97b7deadbb7dbac2a71bbce99f33", kill_on_drop: false }` [INFO] [stdout] 0ad29cc932d6739ee2f92a1d6d3bdd9d1d3a97b7deadbb7dbac2a71bbce99f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c762bb1b5a8ac30c057b0a0a70182b8c01eb688ce8c71fb0dc08078903713add [INFO] running `Command { std: "docker" "start" "-a" "c762bb1b5a8ac30c057b0a0a70182b8c01eb688ce8c71fb0dc08078903713add", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling blake2s_simd v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling rand_seeder v0.2.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pairing v0.23.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling bellman v0.13.1 [INFO] [stderr] Compiling ironfish-phase2 v0.2.2 (/opt/rustwide/workdir/ironfish-phase2) [INFO] [stderr] Compiling ironfish_mpc v0.2.0 (/opt/rustwide/workdir/ironfish-mpc) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.49s [INFO] running `Command { std: "docker" "inspect" "c762bb1b5a8ac30c057b0a0a70182b8c01eb688ce8c71fb0dc08078903713add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c762bb1b5a8ac30c057b0a0a70182b8c01eb688ce8c71fb0dc08078903713add", kill_on_drop: false }` [INFO] [stdout] c762bb1b5a8ac30c057b0a0a70182b8c01eb688ce8c71fb0dc08078903713add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 866f38f76bfb7b27f7daad3df95d918ab5f8547e34addd1d9dd3ce469f496e21 [INFO] running `Command { std: "docker" "start" "-a" "866f38f76bfb7b27f7daad3df95d918ab5f8547e34addd1d9dd3ce469f496e21", kill_on_drop: false }` [INFO] [stderr] Compiling ironfish_mpc v0.2.0 (/opt/rustwide/workdir/ironfish-mpc) [INFO] [stderr] Compiling ironfish-phase2 v0.2.2 (/opt/rustwide/workdir/ironfish-phase2) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "866f38f76bfb7b27f7daad3df95d918ab5f8547e34addd1d9dd3ce469f496e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866f38f76bfb7b27f7daad3df95d918ab5f8547e34addd1d9dd3ce469f496e21", kill_on_drop: false }` [INFO] [stdout] 866f38f76bfb7b27f7daad3df95d918ab5f8547e34addd1d9dd3ce469f496e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9df4f8ff62e14f67baeac543ef40992058ea663ea4597fe773671510565f607 [INFO] running `Command { std: "docker" "start" "-a" "e9df4f8ff62e14f67baeac543ef40992058ea663ea4597fe773671510565f607", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ironfish_phase2-915fe0474fca2674) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ironfish_mpc-2706a508191e76c6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/compute.rs (/opt/rustwide/target/debug/deps/compute-f8847fc1152dc8f4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/split_params.rs (/opt/rustwide/target/debug/deps/split_params-c40fd2eda1e16e57) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ironfish_phase2 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test ironfish-phase2/src/lib.rs - (line 152) ... ignored [INFO] [stdout] test ironfish-phase2/src/lib.rs - (line 168) ... ignored [INFO] [stdout] test ironfish-phase2/src/lib.rs - (line 184) ... ignored [INFO] [stdout] test ironfish-phase2/src/lib.rs - (line 85) ... ignored [INFO] [stderr] error: doctest failed, to rerun pass `-p ironfish-phase2 --doc` [INFO] [stdout] test ironfish-phase2/src/lib.rs - (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ironfish-phase2/src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pairing::Field` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 6 | use pairing::{Engine, Field}; [INFO] [stdout] | ^^^^^ no `Field` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] ff::Field [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ^^^^^^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Circuit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait Circuit { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Circuit` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn synthesize>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ConstraintSystem` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 24 | let root = cs.alloc(|| "root", || { [INFO] [stdout] | ^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `bellman::ConstraintSystem::alloc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc` [INFO] [stdout] ... [INFO] [stdout] 391 | fn alloc(&mut self, annotation: A, f: F) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ironfish-phase2/src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 25 | self.cube_root.ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result<::Fr, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<::Fr, _>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 17 | impl> Circuit for CubeRoot { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 29 | let square = cs.alloc(|| "square", || { [INFO] [stdout] | ^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `bellman::ConstraintSystem::alloc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc` [INFO] [stdout] ... [INFO] [stdout] 391 | fn alloc(&mut self, annotation: A, f: F) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `square` found for associated type `::Fr` in the current scope [INFO] [stdout] --> ironfish-phase2/src/lib.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 32 | .map(|mut root| {root.square(); root }) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn square(&self) -> Self; [INFO] [stdout] | ------ the method is available for `::Fr` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Field` which provides `square` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::pairing::group::ff::Field; [INFO] [stdout] | [INFO] [stdout] help: there is a method `sqrt` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - .map(|mut root| {root.square(); root }) [INFO] [stdout] 32 + .map(|mut root| {root.sqrt(); root }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ironfish-phase2/src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 30 | / self.cube_root [INFO] [stdout] 31 | | .ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 32 | | .map(|mut root| {root.square(); root }) [INFO] [stdout] | |_______________________________________________________^ expected `Result`, found `Result<::Fr, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<::Fr, _>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 17 | impl> Circuit for CubeRoot { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 36 | cs.enforce( [INFO] [stdout] | ^^^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `enforce` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::enforce` [INFO] [stdout] ... [INFO] [stdout] 407 | fn enforce(&mut self, annotation: A, a: LA, b: LB, c: LC) [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 38 | |lc| lc + root, [INFO] [stdout] | ^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 38 | |lc| lc + root, [INFO] [stdout] | -- ^ ---- Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 39 | |lc| lc + root, [INFO] [stdout] | ^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 39 | |lc| lc + root, [INFO] [stdout] | -- ^ ---- Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 40 | |lc| lc + square [INFO] [stdout] | ^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 40 | |lc| lc + square [INFO] [stdout] | -- ^ ------ Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 44 | let cube = cs.alloc_input(|| "cube", || { [INFO] [stdout] | ^^^^^^^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `alloc_input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc_input` [INFO] [stdout] ... [INFO] [stdout] 399 | fn alloc_input(&mut self, annotation: A, f: F) -> Result [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `square` found for associated type `::Fr` in the current scope [INFO] [stdout] --> ironfish-phase2/src/lib.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 49 | tmp.square(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ff-0.12.1/src/lib.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn square(&self) -> Self; [INFO] [stdout] | ------ the method is available for `::Fr` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Field` which provides `square` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::pairing::group::ff::Field; [INFO] [stdout] | [INFO] [stdout] help: there is a method `sqrt` with a similar name [INFO] [stdout] | [INFO] [stdout] 49 - tmp.square(); [INFO] [stdout] 49 + tmp.sqrt(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_assign` found for associated type `::Fr` in the current scope [INFO] [stdout] --> ironfish-phase2/src/lib.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 50 | tmp.mul_assign(&root); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/core/src/ops/arith.rs:876:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `::Fr` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MulAssign` which provides `mul_assign` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::ops::MulAssign; [INFO] [stdout] | [INFO] [stdout] help: there is a method `sub_assign` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - tmp.mul_assign(&root); [INFO] [stdout] 50 + tmp.sub_assign(&root); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ironfish-phase2/src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 45 | / self.cube_root [INFO] [stdout] 46 | | .ok_or(SynthesisError::AssignmentMissing) [INFO] [stdout] 47 | | .map(|root| { [INFO] [stdout] 48 | | let mut tmp = root; [INFO] [stdout] ... | [INFO] [stdout] 51 | | tmp [INFO] [stdout] 52 | | }) [INFO] [stdout] | |__________________^ expected `Result`, found `Result<::Fr, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<::Fr, _>` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 17 | impl> Circuit for CubeRoot { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 57 | cs.enforce( [INFO] [stdout] | ^^^^^^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `enforce` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:377:36 [INFO] [stdout] | [INFO] [stdout] 377 | pub trait ConstraintSystem: Sized { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ConstraintSystem::enforce` [INFO] [stdout] ... [INFO] [stdout] 407 | fn enforce(&mut self, annotation: A, a: LA, b: LB, c: LC) [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 59 | |lc| lc + root, [INFO] [stdout] | ^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 59 | |lc| lc + root, [INFO] [stdout] | -- ^ ---- Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 60 | |lc| lc + square, [INFO] [stdout] | ^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 60 | |lc| lc + square, [INFO] [stdout] | -- ^ ------ Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied [INFO] [stdout] --> ironfish-phase2/src/lib.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 61 | |lc| lc + cube [INFO] [stdout] | ^^ the trait `PrimeField` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LinearCombination` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bellman-0.13.1/src/lib.rs:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct LinearCombination(Vec<(Variable, Scalar)>); [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `LinearCombination` [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [INFO] [stdout] --> ironfish-phase2/src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 61 | |lc| lc + cube [INFO] [stdout] | -- ^ ---- Variable [INFO] [stdout] | | [INFO] [stdout] | LinearCombination [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 17 | impl Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ironfish-phase2/src/lib.rs - (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e9df4f8ff62e14f67baeac543ef40992058ea663ea4597fe773671510565f607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9df4f8ff62e14f67baeac543ef40992058ea663ea4597fe773671510565f607", kill_on_drop: false }` [INFO] [stdout] e9df4f8ff62e14f67baeac543ef40992058ea663ea4597fe773671510565f607