[INFO] fetching crate snarkvm-algorithms 0.0.5... [INFO] checking snarkvm-algorithms-0.0.5 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate snarkvm-algorithms 0.0.5 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate snarkvm-algorithms 0.0.5 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-algorithms 0.0.5 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate snarkvm-algorithms 0.0.5 [INFO] tweaked toml for crates.io crate snarkvm-algorithms 0.0.5 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate snarkvm-algorithms 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30f56cb10c6043313df9b9733f29b50ef3a30c9d2baed4f19434e3c9328851c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30f56cb10c6043313df9b9733f29b50ef3a30c9d2baed4f19434e3c9328851c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30f56cb10c6043313df9b9733f29b50ef3a30c9d2baed4f19434e3c9328851c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f56cb10c6043313df9b9733f29b50ef3a30c9d2baed4f19434e3c9328851c6", kill_on_drop: false }` [INFO] [stdout] 30f56cb10c6043313df9b9733f29b50ef3a30c9d2baed4f19434e3c9328851c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cebcb2a192771995dadca7a237652ef3be05fb3605b7109044c3613e006725c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8cebcb2a192771995dadca7a237652ef3be05fb3605b7109044c3613e006725c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bech32 v0.6.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking snarkvm-profiler v0.0.5 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking snarkvm-errors v0.0.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.2.0 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling snarkvm-derives v0.0.5 [INFO] [stderr] Checking snarkvm-utilities v0.0.5 [INFO] [stderr] Checking snarkvm-models v0.0.5 [INFO] [stderr] Checking snarkvm-algorithms v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/commitment/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use snarkvm_curves::edwards_bls12::EdwardsProjective; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/commitment_tree/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_curves::edwards_bls12::EdwardsProjective as EdwardsBls; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/crh/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use snarkvm_curves::edwards_bls12::EdwardsProjective; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/encoding/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use snarkvm_curves::edwards_bls12::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/encryption/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use snarkvm_curves::edwards_bls12::{EdwardsAffine, EdwardsProjective}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/fft/domain.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 454 | use snarkvm_curves::bls12_377::Fr; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/fft/polynomial/dense.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | use snarkvm_curves::bls12_377::Fr; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/fft/polynomial/sparse.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use snarkvm_curves::bls12_377::Fr; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/fft/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use snarkvm_curves::bls12_377::Bls12_377; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/merkle_tree/tests.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | use snarkvm_curves::edwards_bls12::EdwardsAffine as Edwards; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/merkle_tree/tests.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | use snarkvm_curves::edwards_bls12::EdwardsProjective as Edwards; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/merkle_tree/tests.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | use snarkvm_curves::edwards_bls12::EdwardsProjective as Edwards; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/msm/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use snarkvm_curves::bls12_377::{Fr, G1Projective}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/signature/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use snarkvm_curves::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/gm17/tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use snarkvm_curves::bls12_377::{Bls12_377, Fr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/gm17/tests.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use snarkvm_curves::bw6_761::{Fr as BW6Fr, BW6_761}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/gm17/tests.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use snarkvm_curves::bls12_377::{Bls12_377, Fr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/groth16/tests.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use snarkvm_curves::bls12_377::{Bls12_377, Fr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/groth16/tests.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use snarkvm_curves::bw6_761::{Fr, BW6_761}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/groth16/tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use snarkvm_curves::bls12_377::{Bls12_377, Fr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] --> src/snark/gm17/tests.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | use snarkvm_curves::bls12_377::{Bls12_377, Fr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_curves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fq` [INFO] [stdout] --> src/encoding/tests.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | let original: Fq = Fq::rand(rng); [INFO] [stdout] | ^^ use of undeclared type `Fq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fq` [INFO] [stdout] --> src/encoding/tests.rs:43:78 [INFO] [stdout] | [INFO] [stdout] 43 | let encode = Elligator2::::encode(&Fq::zero()); [INFO] [stdout] | ^^ use of undeclared type `Fq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdwardsAffine` [INFO] [stdout] --> src/encoding/tests.rs:46:78 [INFO] [stdout] | [INFO] [stdout] 46 | let decode = Elligator2::::decode(&EdwardsAffine::zero(), false); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdwardsAffine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Projective` [INFO] [stdout] --> src/msm/tests.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|_| G1Projective::rand(&mut rng).into_affine()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G1Projective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1Projective` [INFO] [stdout] --> src/msm/tests.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | .map(|_| G1Projective::rand(&mut rng).into_affine()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `G1Projective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BW6Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let a = BW6Fr::rand(rng); [INFO] [stdout] | ^^^^^ use of undeclared type `BW6Fr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BW6Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let b = BW6Fr::rand(rng); [INFO] [stdout] | ^^^^^ use of undeclared type `BW6Fr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BW6Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:99:47 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(!verify_proof(&pvk, &proof, &[BW6Fr::zero()]).unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared type `BW6Fr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/commitment/tests.rs:54:62 [INFO] [stdout] | [INFO] [stdout] 53 | fn pedersen_commitment_parameters_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 54 | commitment_parameters_serialization::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/commitment/tests.rs:59:72 [INFO] [stdout] | [INFO] [stdout] 58 | fn pedersen_compressed_commitment_parameters_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 59 | commitment_parameters_serialization::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsBls` in this scope [INFO] [stdout] --> src/commitment_tree/tests.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | pub type H = BoweHopwoodPedersenCompressedCRH; [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsBls` in this scope [INFO] [stdout] --> src/commitment_tree/tests.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub type C = PedersenCompressedCommitment; [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/crh/tests.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 63 | fn pedersen_crh_parameters_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 64 | crh_parameters_serialization::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/crh/tests.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 68 | fn pedersen_compressed_crh_parameters_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 69 | crh_parameters_serialization::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/crh/tests.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 73 | fn bowe_hopwood_crh_parameters_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 74 | crh_parameters_serialization::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/crh/tests.rs:79:69 [INFO] [stdout] | [INFO] [stdout] 78 | fn bowe_hopwood_compressed_crh_parameters_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 79 | crh_parameters_serialization::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/crh/tests.rs:84:50 [INFO] [stdout] | [INFO] [stdout] 84 | type BoweHopwoodCRH = BoweHopwoodPedersenCRH; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fq` in this scope [INFO] [stdout] --> src/encoding/tests.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let original: Fq = Fq::rand(rng); [INFO] [stdout] | ^^ help: a trait with a similar name exists: `Eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsParameters` in this scope [INFO] [stdout] --> src/encoding/tests.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_elligator2_encode_decode() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | let (encoded, fq_high) = Elligator2::::encode(&original).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/encoding/tests.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_elligator2_encode_decode() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | let (encoded, fq_high) = Elligator2::::encode(&original).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsParameters` in this scope [INFO] [stdout] --> src/encoding/tests.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_elligator2_encode_decode() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | let decoded = Elligator2::::decode(&encoded, fq_high).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/encoding/tests.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_elligator2_encode_decode() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | let decoded = Elligator2::::decode(&encoded, fq_high).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsParameters` in this scope [INFO] [stdout] --> src/encoding/tests.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_elligator2_zero() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 43 | let encode = Elligator2::::encode(&Fq::zero()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/encoding/tests.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_elligator2_zero() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 43 | let encode = Elligator2::::encode(&Fq::zero()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsParameters` in this scope [INFO] [stdout] --> src/encoding/tests.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_elligator2_zero() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | let decode = Elligator2::::decode(&EdwardsAffine::zero(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/encoding/tests.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_elligator2_zero() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | let decode = Elligator2::::decode(&EdwardsAffine::zero(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/encryption/tests.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | type TestEncryptionScheme = GroupEncryption; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsAffine` in this scope [INFO] [stdout] --> src/encryption/tests.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | type TestEncryptionScheme = GroupEncryption; [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/domain.rs:463:45 [INFO] [stdout] | [INFO] [stdout] 463 | let domain = EvaluationDomain::::new(coeffs).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 463 | let domain = EvaluationDomain::::new(coeffs).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 453 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/domain.rs:475:45 [INFO] [stdout] | [INFO] [stdout] 475 | let domain = EvaluationDomain::::new(coeffs).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 475 | let domain = EvaluationDomain::::new(coeffs).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 453 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/domain.rs:487:45 [INFO] [stdout] | [INFO] [stdout] 487 | let domain = EvaluationDomain::::new(size).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 487 | let domain = EvaluationDomain::::new(size).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 453 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/domain.rs:497:45 [INFO] [stdout] | [INFO] [stdout] 497 | let domain = EvaluationDomain::::new(size).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 497 | let domain = EvaluationDomain::::new(size).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 453 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | let p = DensePolynomial::::rand(degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 385 | let p = DensePolynomial::::rand(degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:397:44 [INFO] [stdout] | [INFO] [stdout] 397 | let p1 = DensePolynomial::::rand(a_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 397 | let p1 = DensePolynomial::::rand(a_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:398:44 [INFO] [stdout] | [INFO] [stdout] 398 | let p2 = DensePolynomial::::rand(b_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 398 | let p2 = DensePolynomial::::rand(b_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/dense.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let f = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 413 | let f = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:426:36 [INFO] [stdout] | [INFO] [stdout] 426 | let p1 = DensePolynomial::::rand(5, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 426 | let p1 = DensePolynomial::::rand(5, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | let p2 = DensePolynomial::::rand(3, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 427 | let p2 = DensePolynomial::::rand(3, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/dense.rs:442:66 [INFO] [stdout] | [INFO] [stdout] 442 | let divisor = DensePolynomial::from_coefficients_slice(&[Fr::one(), Fr::one()]); // Construct a monic linear polynomial. [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 442 | let divisor = DensePolynomial::from_coefficients_slice(&[Fn::one(), Fr::one()]); // Construct a monic linear polynomial. [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/dense.rs:442:77 [INFO] [stdout] | [INFO] [stdout] 442 | let divisor = DensePolynomial::from_coefficients_slice(&[Fr::one(), Fr::one()]); // Construct a monic linear polynomial. [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 442 | let divisor = DensePolynomial::from_coefficients_slice(&[Fr::one(), Fn::one()]); // Construct a monic linear polynomial. [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:458:50 [INFO] [stdout] | [INFO] [stdout] 458 | let dividend = DensePolynomial::::rand(a_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 458 | let dividend = DensePolynomial::::rand(a_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:459:49 [INFO] [stdout] | [INFO] [stdout] 459 | let divisor = DensePolynomial::::rand(b_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 459 | let divisor = DensePolynomial::::rand(b_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | let point: Fr = Fr::from(10u64); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 474 | let point: Fn = Fr::from(10u64); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/dense.rs:474:29 [INFO] [stdout] | [INFO] [stdout] 474 | let point: Fr = Fr::from(10u64); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 474 | let point: Fr = Fn::from(10u64); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/dense.rs:475:29 [INFO] [stdout] | [INFO] [stdout] 475 | let mut total = Fr::zero(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 475 | let mut total = Fn::zero(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:488:43 [INFO] [stdout] | [INFO] [stdout] 488 | let a = DensePolynomial::::rand(a_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 488 | let a = DensePolynomial::::rand(a_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:489:43 [INFO] [stdout] | [INFO] [stdout] 489 | let b = DensePolynomial::::rand(b_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 489 | let b = DensePolynomial::::rand(b_degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/dense.rs:501:43 [INFO] [stdout] | [INFO] [stdout] 501 | let p = DensePolynomial::::rand(degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 501 | let p = DensePolynomial::::rand(degree, rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 374 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/sparse.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let two = Fr::one() + &Fr::one(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | let two = Fn::one() + &Fr::one(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 146 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/fft/polynomial/sparse.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | let two = Fr::one() + &Fr::one(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | let two = Fr::one() + &Fn::one(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 146 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/fft/polynomial/sparse.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | let dense_poly: DensePolynomial = sparse_poly.into(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 159 | let dense_poly: DensePolynomial = sparse_poly.into(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 146 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/fft/tests.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn fft_composition() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 59 | test_fft_composition::(rng); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/fft/tests.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn parallel_fft_consistency() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | test_consistency::(rng); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:180:66 [INFO] [stdout] | [INFO] [stdout] 180 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:186:66 [INFO] [stdout] | [INFO] [stdout] 186 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:193:66 [INFO] [stdout] | [INFO] [stdout] 193 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 2); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:205:66 [INFO] [stdout] | [INFO] [stdout] 205 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 3); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:223:66 [INFO] [stdout] | [INFO] [stdout] 223 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:229:66 [INFO] [stdout] | [INFO] [stdout] 229 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:236:66 [INFO] [stdout] | [INFO] [stdout] 236 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:244:66 [INFO] [stdout] | [INFO] [stdout] 244 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 2); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:252:66 [INFO] [stdout] | [INFO] [stdout] 252 | define_merkle_tree_parameters!(MTParameters, PedersenCRH, 3); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:270:76 [INFO] [stdout] | [INFO] [stdout] 270 | define_merkle_tree_parameters!(MTParameters, PedersenCompressedCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:276:76 [INFO] [stdout] | [INFO] [stdout] 276 | define_merkle_tree_parameters!(MTParameters, PedersenCompressedCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:283:76 [INFO] [stdout] | [INFO] [stdout] 283 | define_merkle_tree_parameters!(MTParameters, PedersenCompressedCRH, 32); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:289:76 [INFO] [stdout] | [INFO] [stdout] 289 | define_merkle_tree_parameters!(MTParameters, PedersenCompressedCRH, 2); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/merkle_tree/tests.rs:295:76 [INFO] [stdout] | [INFO] [stdout] 295 | define_merkle_tree_parameters!(MTParameters, PedersenCompressedCRH, 3); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/msm/tests.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let v = (0..SAMPLES).map(|_| Fr::rand(&mut rng).into_repr()).collect::>(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 | let v = (0..SAMPLES).map(|_| Fn::rand(&mut rng).into_repr()).collect::>(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/msm/tests.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | .map(|_| Fr::rand(&mut rng).into_repr()) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 61 | .map(|_| Fn::rand(&mut rng).into_repr()) [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/signature/tests.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | type TestSignature = SchnorrSignature; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsProjective` in this scope [INFO] [stdout] --> src/signature/tests.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | type TestGroupEncryptionSignature = GroupEncryption; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EdwardsAffine` in this scope [INFO] [stdout] --> src/signature/tests.rs:34:72 [INFO] [stdout] | [INFO] [stdout] 34 | type TestGroupEncryptionSignature = GroupEncryption; [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Edwards` in this scope [INFO] [stdout] --> src/signature/tests.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | let random_scalar = to_bytes!(::ScalarField::rand(rng)).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:61:51 [INFO] [stdout] | [INFO] [stdout] 58 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 61 | let params = generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 58 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | let pvk = prepare_verifying_key::(params.vk.clone()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 66 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 50 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 67 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 50 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BW6_761` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:89:51 [INFO] [stdout] | [INFO] [stdout] 86 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | let params = generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BW6_761` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 86 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 96 | let pvk = prepare_verifying_key::(params.vk); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | x: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 118 | x: Option, [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | sum: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 119 | sum: Option, [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | w: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 120 | w: Option, [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub(super) fn new(x: Fr, sum: Fr, w: Fr) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | pub(super) fn new(x: Fn, sum: Fr, w: Fr) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | pub(super) fn new(x: Fr, sum: Fr, w: Fr) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | pub(super) fn new(x: Fr, sum: Fn, w: Fr) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 124 | pub(super) fn new(x: Fr, sum: Fr, w: Fr) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | pub(super) fn new(x: Fr, sum: Fr, w: Fn) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | impl ConstraintSynthesizer for R1CSCircuit { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 133 | impl ConstraintSynthesizer for R1CSCircuit { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | fn generate_constraints>(&self, cs: &mut CS) -> Result<(), SynthesisError> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 134 | fn generate_constraints>(&self, cs: &mut CS) -> Result<(), SynthesisError> { [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | let mut sum = Fr::one(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 149 | let mut sum = Fn::one(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | sum.add_assign(&Fr::one()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 150 | sum.add_assign(&Fn::one()); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | let circuit = R1CSCircuit::new(Fr::one(), sum, Fr::one()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 | let circuit = R1CSCircuit::new(Fn::one(), sum, Fr::one()); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:151:56 [INFO] [stdout] | [INFO] [stdout] 151 | let circuit = R1CSCircuit::new(Fr::one(), sum, Fr::one()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 | let circuit = R1CSCircuit::new(Fr::one(), sum, Fn::one()); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 111 | fn test_gm17() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 155 | let parameters = GM17::::setup(&circuit, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:155:58 [INFO] [stdout] | [INFO] [stdout] 155 | let parameters = GM17::::setup(&circuit, rng).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | let parameters = GM17::::setup(&circuit, rng).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn test_gm17() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 157 | let proof = GM17::::prove(¶meters.0, &circuit, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | let proof = GM17::::prove(¶meters.0, &circuit, rng).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 | let proof = GM17::::prove(¶meters.0, &circuit, rng).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 111 | fn test_gm17() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 159 | let result = GM17::::verify(¶meters.1, &[Fr::one(), sum], &proof).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:159:54 [INFO] [stdout] | [INFO] [stdout] 159 | let result = GM17::::verify(¶meters.1, &[Fr::one(), sum], &proof).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 159 | let result = GM17::::verify(¶meters.1, &[Fr::one(), sum], &proof).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:159:84 [INFO] [stdout] | [INFO] [stdout] 159 | let result = GM17::::verify(¶meters.1, &[Fr::one(), sum], &proof).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 159 | let result = GM17::::verify(¶meters.1, &[Fn::one(), sum], &proof).unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 104 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:183:42 [INFO] [stdout] | [INFO] [stdout] 179 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 183 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 165 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 186 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 165 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 193 | Proof::::compressed_proof_size().unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 179 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 196 | assert!(Proof::::read_uncompressed(&compressed_serialization[..]).is_err()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 179 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 198 | let recovered_proof: Proof = FromBytes::read(&compressed_serialization[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 209 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 165 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/gm17/tests.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 210 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 165 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 218 | Proof::::uncompressed_proof_size().unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 221 | assert!(Proof::::read_compressed(&uncompressed_serialization[..]).is_err()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 223 | let recovered_proof: Proof = FromBytes::read(&uncompressed_serialization[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:232:42 [INFO] [stdout] | [INFO] [stdout] 228 | fn parameter_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 232 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 228 | fn parameter_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 238 | let recovered_parameters: Parameters = FromBytes::read(¶meter_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/gm17/tests.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 228 | fn parameter_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 239 | let recovered_vk: VerifyingKey = FromBytes::read(&vk_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 62 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 66 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 69 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 55 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 70 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 55 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 62 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 75 | let pvk = prepare_verifying_key::(parameters.vk.clone()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BW6_761` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 91 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 97 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 84 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 84 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BW6_761` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:102:43 [INFO] [stdout] | [INFO] [stdout] 91 | fn prove_and_verify() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | let pvk = prepare_verifying_key::(parameters.vk); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:105:47 [INFO] [stdout] | [INFO] [stdout] 105 | assert!(!verify_proof(&pvk, &proof, &[Fr::zero()]).unwrap()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 | assert!(!verify_proof(&pvk, &proof, &[Fn::zero()]).unwrap()); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 84 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 120 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 124 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 126 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 110 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 127 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 110 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 120 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 134 | Proof::::compressed_proof_size().unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 120 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 137 | assert!(Proof::::read_uncompressed(&compressed_serialization[..]).is_err()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 120 | fn test_compressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 139 | let recovered_proof: Proof = FromBytes::read(&compressed_serialization[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 148 | generate_random_parameters::(&MySillyCircuit { a: None, b: None }, rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let a = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 150 | let a = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 110 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> src/snark/groth16/tests.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let b = Fr::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 | let b = Fn::rand(rng); [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 110 | use snarkvm_models::gadgets::r1cs::Fr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 159 | Proof::::uncompressed_proof_size().unwrap(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 162 | assert!(Proof::::read_compressed(&uncompressed_serialization[..]).is_err()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bls12_377` in this scope [INFO] [stdout] --> src/snark/groth16/tests.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_uncompressed_proof_serialization() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 164 | let recovered_proof: Proof = FromBytes::read(&uncompressed_serialization[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_models::curves::Zero` [INFO] [stdout] --> src/encoding/tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use snarkvm_models::curves::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_utilities::rand::UniformRand` [INFO] [stdout] --> src/encoding/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use snarkvm_utilities::rand::UniformRand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `One`, `Zero` [INFO] [stdout] --> src/fft/polynomial/dense.rs:376:41 [INFO] [stdout] | [INFO] [stdout] 376 | use snarkvm_models::curves::{Field, One, Zero}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_models::curves::One` [INFO] [stdout] --> src/fft/polynomial/sparse.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use snarkvm_models::curves::One; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_utilities::rand::UniformRand` [INFO] [stdout] --> src/msm/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use snarkvm_utilities::rand::UniformRand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/snark/gm17/tests.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | curves::{Field, Zero}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> src/snark/gm17/tests.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | use snarkvm_utilities::rand::{test_rng, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> src/snark/gm17/tests.rs:83:45 [INFO] [stdout] | [INFO] [stdout] 83 | use snarkvm_utilities::rand::{test_rng, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::UniformRand` [INFO] [stdout] --> src/snark/gm17/tests.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | rand::UniformRand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/snark/groth16/tests.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | curves::{Field, Zero}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> src/snark/groth16/tests.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | use snarkvm_utilities::rand::{test_rng, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> src/snark/groth16/tests.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | use snarkvm_utilities::rand::{test_rng, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> src/snark/groth16/tests.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | rand::{test_rng, UniformRand}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/snark/snark.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snarkvm-algorithms` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `FromBytes` [INFO] [stdout] --> src/commitment_tree/tests.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | bytes::{FromBytes, ToBytes}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromBytes` [INFO] [stdout] --> src/encryption/tests.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/fft/domain.rs:455:34 [INFO] [stdout] | [INFO] [stdout] 455 | use snarkvm_models::curves::{Field, Zero}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/fft/domain.rs:455:41 [INFO] [stdout] | [INFO] [stdout] 455 | use snarkvm_models::curves::{Field, Zero}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/fft/polynomial/dense.rs:376:34 [INFO] [stdout] | [INFO] [stdout] 376 | use snarkvm_models::curves::{Field, One, Zero}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_utilities::rand::UniformRand` [INFO] [stdout] --> src/fft/polynomial/dense.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | use snarkvm_utilities::rand::UniformRand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectiveCurve` [INFO] [stdout] --> src/msm/tests.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | use snarkvm_models::curves::{AffineCurve, PrimeField, ProjectiveCurve, Zero}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::UniformRand` [INFO] [stdout] --> src/signature/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | rand::UniformRand, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::MulAssign` [INFO] [stdout] --> src/snark/gm17/tests.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use std::ops::MulAssign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_models::curves::One` [INFO] [stdout] --> src/snark/gm17/tests.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use snarkvm_models::curves::One; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::AddAssign` [INFO] [stdout] --> src/snark/gm17/tests.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use std::ops::AddAssign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::MulAssign` [INFO] [stdout] --> src/snark/groth16/tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use core::ops::MulAssign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snarkvm_models::algorithms::SNARK` [INFO] [stdout] --> src/snark/gm17/tests.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use snarkvm_models::algorithms::SNARK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 156 previous errors; 26 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "8cebcb2a192771995dadca7a237652ef3be05fb3605b7109044c3613e006725c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cebcb2a192771995dadca7a237652ef3be05fb3605b7109044c3613e006725c", kill_on_drop: false }` [INFO] [stdout] 8cebcb2a192771995dadca7a237652ef3be05fb3605b7109044c3613e006725c