[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 beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firon-fish%2Fironfish-mpc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iron-fish/ironfish-mpc on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "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-2-tc2/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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac118f9107c7c1ba1754a64ee780b5aee58ab97ec7bd82d0b8f91143d61830b7 [INFO] running `Command { std: "docker" "start" "-a" "ac118f9107c7c1ba1754a64ee780b5aee58ab97ec7bd82d0b8f91143d61830b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac118f9107c7c1ba1754a64ee780b5aee58ab97ec7bd82d0b8f91143d61830b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac118f9107c7c1ba1754a64ee780b5aee58ab97ec7bd82d0b8f91143d61830b7", kill_on_drop: false }` [INFO] [stdout] ac118f9107c7c1ba1754a64ee780b5aee58ab97ec7bd82d0b8f91143d61830b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 792dd6d5bdd56f1bdab840ddeb032bdfda970bad162635434b2b4a74d0f275c0 [INFO] running `Command { std: "docker" "start" "-a" "792dd6d5bdd56f1bdab840ddeb032bdfda970bad162635434b2b4a74d0f275c0", 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 crossbeam-utils v0.8.19 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [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 arrayvec v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.11.0 [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 bitvec v1.0.1 [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-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_seeder v0.2.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pairing v0.23.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [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 12.69s [INFO] running `Command { std: "docker" "inspect" "792dd6d5bdd56f1bdab840ddeb032bdfda970bad162635434b2b4a74d0f275c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792dd6d5bdd56f1bdab840ddeb032bdfda970bad162635434b2b4a74d0f275c0", kill_on_drop: false }` [INFO] [stdout] 792dd6d5bdd56f1bdab840ddeb032bdfda970bad162635434b2b4a74d0f275c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 466af20df75c5c884fc3d78d1b92a7a9c157b65da21f16d763d8fddab23fdcd5 [INFO] running `Command { std: "docker" "start" "-a" "466af20df75c5c884fc3d78d1b92a7a9c157b65da21f16d763d8fddab23fdcd5", 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.32s [INFO] running `Command { std: "docker" "inspect" "466af20df75c5c884fc3d78d1b92a7a9c157b65da21f16d763d8fddab23fdcd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466af20df75c5c884fc3d78d1b92a7a9c157b65da21f16d763d8fddab23fdcd5", kill_on_drop: false }` [INFO] [stdout] 466af20df75c5c884fc3d78d1b92a7a9c157b65da21f16d763d8fddab23fdcd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33b40620cf59b8257fb34909653814fd3297bd36a10ca8b5c163ceaee79cb9ba [INFO] running `Command { std: "docker" "start" "-a" "33b40620cf59b8257fb34909653814fd3297bd36a10ca8b5c163ceaee79cb9ba", 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-f25f32eb08c9ea72) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ironfish_mpc-f9959127cda1f424) [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] [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-81680b24a4d1accd) [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-64b0e58992c32067) [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 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] 16 | 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:28:23 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 16 | 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: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: 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] 16 | impl Circuit for CubeRoot { [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 Circuit for CubeRoot { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 24 | 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] 16 | 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: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: 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] 16 | 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: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 `::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 Circuit for CubeRoot { [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`, 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] 16 | 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: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: 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] 16 | 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: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(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 Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [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 [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 16 | 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] 16 | 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] 16 | 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 + 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] 16 | 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 + 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] 16 | 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: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: 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] 16 | 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: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 `::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 `::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] --> /rustc/a5948295b4bf4c6199457f1227e5d8f6e6b9f948/library/core/src/ops/arith.rs:877: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] 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 Circuit for CubeRoot { [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`, 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] 16 | 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: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: 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] 16 | 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: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(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 Circuit for CubeRoot { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Variable` to `LinearCombination` [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 [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `E` with trait `PrimeField` [INFO] [stdout] | [INFO] [stdout] 16 | 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 + 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] 16 | 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 + 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] 16 | 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 + 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] 16 | 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 + 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] 16 | 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.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p ironfish-phase2 --doc` [INFO] running `Command { std: "docker" "inspect" "33b40620cf59b8257fb34909653814fd3297bd36a10ca8b5c163ceaee79cb9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b40620cf59b8257fb34909653814fd3297bd36a10ca8b5c163ceaee79cb9ba", kill_on_drop: false }` [INFO] [stdout] 33b40620cf59b8257fb34909653814fd3297bd36a10ca8b5c163ceaee79cb9ba