[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firon-fish%2Fironfish-mpc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iron-fish/ironfish-mpc on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2874001e24d4059b9e245840bedf6a1c7a442cc1ef05b8186d50a128f6481dd
[INFO] running `Command { std: "docker" "start" "-a" "b2874001e24d4059b9e245840bedf6a1c7a442cc1ef05b8186d50a128f6481dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2874001e24d4059b9e245840bedf6a1c7a442cc1ef05b8186d50a128f6481dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2874001e24d4059b9e245840bedf6a1c7a442cc1ef05b8186d50a128f6481dd", kill_on_drop: false }`
[INFO] [stdout] b2874001e24d4059b9e245840bedf6a1c7a442cc1ef05b8186d50a128f6481dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af4e6a6745d5f608d27f1a8c52b7b760a2c916c3da84c26e4eef44aa9c1fe1b8
[INFO] running `Command { std: "docker" "start" "-a" "af4e6a6745d5f608d27f1a8c52b7b760a2c916c3da84c26e4eef44aa9c1fe1b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling blake2s_simd v1.0.2
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[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 rayon-core v1.12.1
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling pairing v0.23.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rayon v1.10.0
[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 8.50s
[INFO] running `Command { std: "docker" "inspect" "af4e6a6745d5f608d27f1a8c52b7b760a2c916c3da84c26e4eef44aa9c1fe1b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af4e6a6745d5f608d27f1a8c52b7b760a2c916c3da84c26e4eef44aa9c1fe1b8", kill_on_drop: false }`
[INFO] [stdout] af4e6a6745d5f608d27f1a8c52b7b760a2c916c3da84c26e4eef44aa9c1fe1b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67247dc1618d882fb813be93b24e37707d29f964370b84a13a0b233df58009d2
[INFO] running `Command { std: "docker" "start" "-a" "67247dc1618d882fb813be93b24e37707d29f964370b84a13a0b233df58009d2", kill_on_drop: false }`
[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 `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "67247dc1618d882fb813be93b24e37707d29f964370b84a13a0b233df58009d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67247dc1618d882fb813be93b24e37707d29f964370b84a13a0b233df58009d2", kill_on_drop: false }`
[INFO] [stdout] 67247dc1618d882fb813be93b24e37707d29f964370b84a13a0b233df58009d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fd3f4e54a14f9b015675ccfab84aa8d479cca5b3947e3193f26ec7c48f436df5
[INFO] running `Command { std: "docker" "start" "-a" "fd3f4e54a14f9b015675ccfab84aa8d479cca5b3947e3193f26ec7c48f436df5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ironfish_phase2-79ef9591c662182a)
[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-ce4163d3e83ac3ff)
[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-edda338672b26aaa)
[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-6856cbe1af46faca)
[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] [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:16:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:27:17
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl<E: Engine> Circuit<E> for CubeRoot<E> {
[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<Scalar: PrimeField> {
[INFO] [stdout]     |                           ^^^^^^^^^^ required by this bound in `Circuit`
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:28:23
[INFO] [stdout]     |
[INFO] [stdout]  17 |     fn synthesize<CS: ConstraintSystem<E>>(
[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<Scalar: PrimeField>: 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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:34:23
[INFO] [stdout]     |
[INFO] [stdout]  23 |         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<Scalar: PrimeField>: Sized {
[INFO] [stdout]     |                                    ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc`
[INFO] [stdout] ...
[INFO] [stdout] 391 |     fn alloc<F, A, AR>(&mut self, annotation: A, f: F) -> Result<Variable, SynthesisError>
[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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |      - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 24 |             self.cube_root.ok_or(SynthesisError::AssignmentMissing)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<E, SynthesisError>`, found `Result<<E as Engine>::Fr, ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<E, _>`
[INFO] [stdout]               found enum `Result<<E as Engine>::Fr, _>`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine<Fr = E>> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |               ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:39:25
[INFO] [stdout]     |
[INFO] [stdout]  28 |         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<Scalar: PrimeField>: Sized {
[INFO] [stdout]     |                                    ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc`
[INFO] [stdout] ...
[INFO] [stdout] 391 |     fn alloc<F, A, AR>(&mut self, annotation: A, f: F) -> Result<Variable, SynthesisError>
[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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `square` found for associated type `<E as Engine>::Fr` in the current scope
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:42:39
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 .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 `<E as Engine>::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] 31 -                 .map(|mut root| {root.square(); root })
[INFO] [stdout] 31 +                 .map(|mut root| {root.sqrt(); root })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |   impl<E: Engine> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |        - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 29 | /             self.cube_root
[INFO] [stdout] 30 | |                 .ok_or(SynthesisError::AssignmentMissing)
[INFO] [stdout] 31 | |                 .map(|mut root| {root.square(); root })
[INFO] [stdout]    | |_______________________________________________________^ expected `Result<E, SynthesisError>`, found `Result<<E as Engine>::Fr, ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<E, _>`
[INFO] [stdout]               found enum `Result<<E as Engine>::Fr, _>`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine<Fr = E>> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |               ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:46:12
[INFO] [stdout]     |
[INFO] [stdout]  35 |         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<Scalar: PrimeField>: Sized {
[INFO] [stdout]     |                                    ^^^^^^^^^^ required by this bound in `ConstraintSystem::enforce`
[INFO] [stdout] ...
[INFO] [stdout] 407 |     fn enforce<A, AR, LA, LB, LC>(&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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:48:14
[INFO] [stdout]     |
[INFO] [stdout]  37 |             |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<Scalar: PrimeField>(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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination<E>`
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             |lc| lc + root,
[INFO] [stdout]    |                  -- ^ ---- Variable
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  LinearCombination<E>
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[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<Scalar: PrimeField>(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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination<E>`
[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<E>
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[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 + 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<Scalar: PrimeField>(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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination<E>`
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |             |lc| lc + square
[INFO] [stdout]    |                  -- ^ ------ Variable
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  LinearCombination<E>
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:54:23
[INFO] [stdout]     |
[INFO] [stdout]  43 |         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<Scalar: PrimeField>: Sized {
[INFO] [stdout]     |                                    ^^^^^^^^^^ required by this bound in `ConstraintSystem::alloc_input`
[INFO] [stdout] ...
[INFO] [stdout] 399 |     fn alloc_input<F, A, AR>(&mut self, annotation: A, f: F) -> Result<Variable, SynthesisError>
[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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `square` found for associated type `<E as Engine>::Fr` in the current scope
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     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 `<E as Engine>::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] 48 -                     tmp.square();
[INFO] [stdout] 48 +                     tmp.sqrt();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `mul_assign` found for associated type `<E as Engine>::Fr` in the current scope
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     tmp.mul_assign(&root);
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/arith.rs:913:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `<E as Engine>::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] 49 -                     tmp.mul_assign(&root);
[INFO] [stdout] 49 +                     tmp.sub_assign(&root);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |   impl<E: Engine> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |        - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 44 | /             self.cube_root
[INFO] [stdout] 45 | |                 .ok_or(SynthesisError::AssignmentMissing)
[INFO] [stdout] 46 | |                 .map(|root| {
[INFO] [stdout] 47 | |                     let mut tmp = root;
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |                     tmp
[INFO] [stdout] 51 | |                 })
[INFO] [stdout]    | |__________________^ expected `Result<E, SynthesisError>`, found `Result<<E as Engine>::Fr, ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<E, _>`
[INFO] [stdout]               found enum `Result<<E as Engine>::Fr, _>`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine<Fr = E>> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]    |               ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:67:12
[INFO] [stdout]     |
[INFO] [stdout]  56 |         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<Scalar: PrimeField>: Sized {
[INFO] [stdout]     |                                    ^^^^^^^^^^ required by this bound in `ConstraintSystem::enforce`
[INFO] [stdout] ...
[INFO] [stdout] 407 |     fn enforce<A, AR, LA, LB, LC>(&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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `E: PrimeField` is not satisfied
[INFO] [stdout]    --> ironfish-phase2/src/lib.rs:69:14
[INFO] [stdout]     |
[INFO] [stdout]  58 |             |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<Scalar: PrimeField>(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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination<E>`
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |             |lc| lc + root,
[INFO] [stdout]    |                  -- ^ ---- Variable
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  LinearCombination<E>
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[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 + 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<Scalar: PrimeField>(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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination<E>`
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |             |lc| lc + square,
[INFO] [stdout]    |                  -- ^ ------ Variable
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  LinearCombination<E>
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[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 + 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<Scalar: PrimeField>(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]  16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[INFO] [stdout]     |                ++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination<E>`
[INFO] [stdout]   --> ironfish-phase2/src/lib.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |             |lc| lc + cube
[INFO] [stdout]    |                  -- ^ ---- Variable
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  LinearCombination<E>
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField`
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<E: Engine + pairing::group::ff::PrimeField> Circuit<E> for CubeRoot<E> {
[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.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p ironfish-phase2 --doc`
[INFO] running `Command { std: "docker" "inspect" "fd3f4e54a14f9b015675ccfab84aa8d479cca5b3947e3193f26ec7c48f436df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd3f4e54a14f9b015675ccfab84aa8d479cca5b3947e3193f26ec7c48f436df5", kill_on_drop: false }`
[INFO] [stdout] fd3f4e54a14f9b015675ccfab84aa8d479cca5b3947e3193f26ec7c48f436df5
