[INFO] fetching crate zkplonk 0.0.1... [INFO] checking zkplonk-0.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate zkplonk 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate zkplonk 0.0.1 [INFO] finished tweaking crates.io crate zkplonk 0.0.1 [INFO] tweaked toml for crates.io crate zkplonk 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zkplonk 0.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding hashbrown v0.9.1 (available: v0.16.0) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.7.5) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding sp-std v3.0.0 (available: v14.0.0) [INFO] [stderr] Adding zksnarks v0.0.1 (available: v0.0.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bls-12-381 v0.0.23 [INFO] [stderr] Downloaded poly-commit v0.0.13 [INFO] [stderr] Downloaded jub-jub v0.0.20 [INFO] [stderr] Downloaded zkstd v0.0.22 [INFO] [stderr] Downloaded zksnarks v0.0.1 [INFO] [stderr] Downloaded ec-pairing v0.0.14 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b144b6d468757f14b356763ecc3f61c4e7fdad0f32b77b495d094803e9154c49 [INFO] running `Command { std: "docker" "start" "-a" "b144b6d468757f14b356763ecc3f61c4e7fdad0f32b77b495d094803e9154c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b144b6d468757f14b356763ecc3f61c4e7fdad0f32b77b495d094803e9154c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b144b6d468757f14b356763ecc3f61c4e7fdad0f32b77b495d094803e9154c49", kill_on_drop: false }` [INFO] [stdout] b144b6d468757f14b356763ecc3f61c4e7fdad0f32b77b495d094803e9154c49 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e5e28301a5b15df9bf7f6536b0eea89f2c7c3b8c3e942b93ea222184581ccc [INFO] running `Command { std: "docker" "start" "-a" "a4e5e28301a5b15df9bf7f6536b0eea89f2c7c3b8c3e942b93ea222184581ccc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking zkstd v0.0.22 [INFO] [stderr] Checking bls-12-381 v0.0.23 [INFO] [stderr] Checking jub-jub v0.0.20 [INFO] [stderr] Checking ec-pairing v0.0.14 [INFO] [stderr] Checking poly-commit v0.0.13 [INFO] [stderr] Checking zksnarks v0.0.1 [INFO] [stderr] Checking zkplonk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `zero_plonk` [INFO] [stdout] --> tests/logic.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use zero_plonk::Plonk; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zero_plonk`, use `cargo add zero_plonk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zero_plonk` [INFO] [stdout] --> tests/logic.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use zero_plonk::PlonkKey; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zero_plonk`, use `cargo add zero_plonk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zksnarks::keypair::Keypair` [INFO] [stdout] --> tests/logic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use zksnarks::keypair::Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] --> tests/ecc.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use zero_plonk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zero_plonk`, use `cargo add zero_plonk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] --> tests/boolean.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use zero_plonk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zero_plonk`, use `cargo add zero_plonk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkplonk` (test "logic") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] --> tests/decomposition.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use zero_plonk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zero_plonk`, use `cargo add zero_plonk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `zero_plonk` [INFO] [stdout] --> tests/range.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use zero_plonk::{Plonk, PlonkKey}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zero_plonk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zero_plonk`, use `cargo add zero_plonk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zksnarks::keypair::Keypair` [INFO] [stdout] --> tests/range.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use zksnarks::keypair::Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkplonk` (test "range") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/decomposition.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/decomposition.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | bits: [BlsScalar; N], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/decomposition.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(a: BlsScalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/decomposition.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let mut bits = [BlsScalar::zero(); N]; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/decomposition.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | .for_each(|(b, v)| *b = BlsScalar::from(*v as u64)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/decomposition.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | Self::new(BlsScalar::from(23u64)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/decomposition.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | impl Circuit for DummyCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/decomposition.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/decomposition.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/decomposition.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/decomposition.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Plonk` [INFO] [stdout] --> tests/decomposition.rs:57:49 [INFO] [stdout] | [INFO] [stdout] 57 | let mut w_bits: [PrivateWire; N] = [Plonk::::ZERO; N]; [INFO] [stdout] | ^^^^^ use of undeclared type `Plonk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/decomposition.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | let mut w_bits: [PrivateWire; N] = [Plonk::::ZERO; N]; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlonkKey` [INFO] [stdout] --> tests/decomposition.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | PlonkKey::>::compile( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PlonkKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::PlonkKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/decomposition.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | PlonkKey::>::compile( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/decomposition.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/decomposition.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/decomposition.rs:99:47 [INFO] [stdout] | [INFO] [stdout] 99 | circuit.bits[10] = circuit.bits[10] ^ BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zksnarks::keypair::Keypair` [INFO] [stdout] --> tests/decomposition.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use zksnarks::keypair::Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkplonk` (test "decomposition") due to 19 previous errors; 1 warning emitted [INFO] [stdout] error[E0412]: cannot find type `JubjubScalar` in this scope [INFO] [stdout] --> tests/ecc.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | a: JubjubScalar, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | b: JubjubAffine, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubScalar` in this scope [INFO] [stdout] --> tests/ecc.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(a: JubjubScalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | b: (JubjubAffine::ADDITIVE_GENERATOR * a).into(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | Self::new(JubjubScalar::from(7u64)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | impl Circuit for DummyCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/ecc.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/ecc.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | JubjubAffine::ADDITIVE_GENERATOR, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlonkKey` [INFO] [stdout] --> tests/ecc.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PlonkKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::PlonkKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let a = JubjubScalar::from(7u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let b: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * a).into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | let b: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * a).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let x = JubjubScalar::from(8u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let y = (JubjubAffine::ADDITIVE_GENERATOR * x).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | let a = -JubjubScalar::one(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let x = JubjubScalar::from(8u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let y = (JubjubAffine::ADDITIVE_GENERATOR * x).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | a: JubjubAffine, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | b: JubjubAffine, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | c: JubjubAffine, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubScalar` in this scope [INFO] [stdout] --> tests/ecc.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(a: &JubjubScalar, b: &JubjubScalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubScalar` in this scope [INFO] [stdout] --> tests/ecc.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(a: &JubjubScalar, b: &JubjubScalar) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | let a: JubjubAffine = [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | (JubjubAffine::ADDITIVE_GENERATOR * *a).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | let b: JubjubAffine = [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | (JubjubAffine::ADDITIVE_GENERATOR * *b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let c: JubjubAffine = (a + b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | Self::new(&JubjubScalar::from(7u64), &JubjubScalar::from(8u64)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | Self::new(&JubjubScalar::from(7u64), &JubjubScalar::from(8u64)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | impl Circuit for DummyCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/ecc.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/ecc.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlonkKey` [INFO] [stdout] --> tests/ecc.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PlonkKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::PlonkKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 160 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let b = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | let a = (JubjubAffine::ADDITIVE_GENERATOR * a).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | b: JubjubAffine::ADDITIVE_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | a: JubjubAffine::ADDITIVE_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | b: JubjubAffine::ADDITIVE_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | c: JubjubAffine::ADDITIVE_IDENTITY, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let a = JubjubScalar::from(7u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | let a: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * a).into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | let a: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * a).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let b = JubjubScalar::from(8u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | let b: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:222:32 [INFO] [stdout] | [INFO] [stdout] 222 | let b: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let c = JubjubScalar::from(9u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | let c: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * c).into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | let c: JubjubAffine = (JubjubAffine::ADDITIVE_GENERATOR * c).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubScalar` in this scope [INFO] [stdout] --> tests/ecc.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | a: JubjubScalar, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | b: JubjubAffine, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | c: JubjubAffine, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubScalar` in this scope [INFO] [stdout] --> tests/ecc.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(a: JubjubScalar, b: JubjubAffine) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(a: JubjubScalar, b: JubjubAffine) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let b = JubjubScalar::from(8u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | let b = (JubjubAffine::ADDITIVE_GENERATOR * b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | Self::new(JubjubScalar::from(7u64), b) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | impl Circuit for DummyCircuit { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/ecc.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/ecc.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:269:34 [INFO] [stdout] | [INFO] [stdout] 269 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlonkKey` [INFO] [stdout] --> tests/ecc.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PlonkKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::PlonkKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JubjubAffine` in this scope [INFO] [stdout] --> tests/ecc.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let b = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:291:18 [INFO] [stdout] | [INFO] [stdout] 291 | let b = (JubjubAffine::ADDITIVE_GENERATOR * b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | let b = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | let b = (JubjubAffine::ADDITIVE_GENERATOR * b).into(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/ecc.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let x = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubAffine` [INFO] [stdout] --> tests/ecc.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | let x = JubjubAffine::ADDITIVE_GENERATOR * x; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubAffine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubAffine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zksnarks::keypair::Keypair` [INFO] [stdout] --> tests/ecc.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use zksnarks::keypair::Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zkstd::common::Group` [INFO] [stdout] --> tests/ecc.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use zkstd::common::Group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zkstd::common::TwistedEdwardsCurve` [INFO] [stdout] --> tests/ecc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use zkstd::common::TwistedEdwardsCurve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkplonk` (test "ecc") due to 82 previous errors; 3 warnings emitted [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(a: BlsScalar) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/boolean.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/boolean.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlonkKey` [INFO] [stdout] --> tests/boolean.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PlonkKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::PlonkKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let a = BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let a = BlsScalar::zero(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let a = BlsScalar::from(2u64); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | b: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | res: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | zero_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | zero_a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | zero_res: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | one_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | one_a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | one_res: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | point_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | identity_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | b: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | zero_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | zero_a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | one_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | one_a: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | point_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlsScalar` in this scope [INFO] [stdout] --> tests/boolean.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | identity_bit: BlsScalar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | let res = if bit == BlsScalar::one() { a } else { b }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:144:43 [INFO] [stdout] | [INFO] [stdout] 144 | let zero_res = if zero_bit == BlsScalar::one() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | BlsScalar::zero() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | let one_res = if one_bit == BlsScalar::one() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | BlsScalar::one() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | let point_res = if one_bit == BlsScalar::one() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:162:51 [INFO] [stdout] | [INFO] [stdout] 162 | let identity_res = if identity_bit == BlsScalar::one() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | let bit = BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | let a = BlsScalar::from(3u64); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let b = BlsScalar::from(5u64); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | let zero_bit = BlsScalar::zero(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let zero_a = BlsScalar::from(7u64); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let one_bit = BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | let one_a = BlsScalar::from(11u64); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | let point_bit = BlsScalar::zero(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let point_a = (JubjubExtended::ADDITIVE_GENERATOR [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 201 | * JubjubScalar::from(13u64)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | let point_b = (JubjubExtended::ADDITIVE_GENERATOR [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | * JubjubScalar::from(17u64)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | let identity_bit = BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | let identity_a = (JubjubExtended::ADDITIVE_GENERATOR [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | * JubjubScalar::from(19u64)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/boolean.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | type ConstraintSystem = Plonk; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Plonk` in this scope [INFO] [stdout] --> tests/boolean.rs:232:28 [INFO] [stdout] | [INFO] [stdout] 232 | composer: &mut Plonk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Plonk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Prover` in this scope [INFO] [stdout] --> tests/boolean.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | Prover, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Prover; [INFO] [stdout] | [INFO] [stdout] 7 + use zksnarks::groth16::Prover; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Verifier` in this scope [INFO] [stdout] --> tests/boolean.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | Verifier, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::Verifier; [INFO] [stdout] | [INFO] [stdout] 7 + use zksnarks::groth16::Verifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlonkKey` [INFO] [stdout] --> tests/boolean.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | ) = PlonkKey::::compile(&mut pp) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PlonkKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::PlonkKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | let bit = BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let b = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | let zero_a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let one_a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:293:23 [INFO] [stdout] | [INFO] [stdout] 293 | let point_a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | let point_a = (JubjubExtended::ADDITIVE_GENERATOR * point_a).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | let point_b = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let point_b = (JubjubExtended::ADDITIVE_GENERATOR * point_b).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | let identity_a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | (JubjubExtended::ADDITIVE_GENERATOR * identity_a).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | let bit = BlsScalar::zero(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | let b = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:330:22 [INFO] [stdout] | [INFO] [stdout] 330 | let zero_a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | let one_a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | let point_a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | let point_a = (JubjubExtended::ADDITIVE_GENERATOR * point_a).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | let point_b = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | let point_b = (JubjubExtended::ADDITIVE_GENERATOR * point_b).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:339:26 [INFO] [stdout] | [INFO] [stdout] 339 | let identity_a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | (JubjubExtended::ADDITIVE_GENERATOR * identity_a).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 367 | let bit = BlsScalar::one(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let b = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:372:18 [INFO] [stdout] | [INFO] [stdout] 372 | let zero_a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlsScalar` [INFO] [stdout] --> tests/boolean.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | let one_a = BlsScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlsScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::BlsScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | let point_a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:377:20 [INFO] [stdout] | [INFO] [stdout] 377 | let point_a = (JubjubExtended::ADDITIVE_GENERATOR * point_a).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 378 | let point_b = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:379:20 [INFO] [stdout] | [INFO] [stdout] 379 | let point_b = (JubjubExtended::ADDITIVE_GENERATOR * point_b).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:381:22 [INFO] [stdout] | [INFO] [stdout] 381 | let identity_a = JubjubScalar::random(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | let identity_a = (JubjubExtended::ADDITIVE_GENERATOR * identity_a).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | let x = JubjubExtended::ADDITIVE_GENERATOR * JubjubScalar::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:436:54 [INFO] [stdout] | [INFO] [stdout] 436 | let x = JubjubExtended::ADDITIVE_GENERATOR * JubjubScalar::one(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubExtended` [INFO] [stdout] --> tests/boolean.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | let x = JubjubExtended::ADDITIVE_GENERATOR * JubjubScalar::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `JubjubExtended` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 7 + use jub_jub::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubExtended; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JubjubScalar` [INFO] [stdout] --> tests/boolean.rs:449:54 [INFO] [stdout] | [INFO] [stdout] 449 | let x = JubjubExtended::ADDITIVE_GENERATOR * JubjubScalar::one(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `JubjubScalar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use zkplonk::prelude::JubjubScalar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zksnarks::keypair::Keypair` [INFO] [stdout] --> tests/boolean.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use zksnarks::keypair::Keypair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> tests/boolean.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use zkstd::common::{Group, TwistedEdwardsCurve}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkplonk` (test "boolean") due to 94 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4e5e28301a5b15df9bf7f6536b0eea89f2c7c3b8c3e942b93ea222184581ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e5e28301a5b15df9bf7f6536b0eea89f2c7c3b8c3e942b93ea222184581ccc", kill_on_drop: false }` [INFO] [stdout] a4e5e28301a5b15df9bf7f6536b0eea89f2c7c3b8c3e942b93ea222184581ccc