[INFO] cloning repository https://github.com/HorizenOfficial/sc_cryptolib_common [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HorizenOfficial/sc_cryptolib_common" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHorizenOfficial%2Fsc_cryptolib_common", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHorizenOfficial%2Fsc_cryptolib_common'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a19b06929876b9125aff2bed5781626894a44ed3 [INFO] checking HorizenOfficial/sc_cryptolib_common/a19b06929876b9125aff2bed5781626894a44ed3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHorizenOfficial%2Fsc_cryptolib_common" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HorizenOfficial/sc_cryptolib_common on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/HorizenOfficial/sc_cryptolib_common [INFO] finished tweaking git repo https://github.com/HorizenOfficial/sc_cryptolib_common [INFO] tweaked toml for git repo https://github.com/HorizenOfficial/sc_cryptolib_common written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HorizenOfficial/sc_cryptolib_common already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/lib-sc-common/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `sc_common` library target) [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/Cargo.toml: `panic` setting is ignored for `test` profile [INFO] [stderr] Updating git repository `https://github.com/HorizenOfficial/ginger-lib.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9850b741a8dfca6471be3cddd86582ed0c959a0e36b4d0958f89f37a6245def5 [INFO] running `Command { std: "docker" "start" "-a" "9850b741a8dfca6471be3cddd86582ed0c959a0e36b4d0958f89f37a6245def5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9850b741a8dfca6471be3cddd86582ed0c959a0e36b4d0958f89f37a6245def5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9850b741a8dfca6471be3cddd86582ed0c959a0e36b4d0958f89f37a6245def5", kill_on_drop: false }` [INFO] [stdout] 9850b741a8dfca6471be3cddd86582ed0c959a0e36b4d0958f89f37a6245def5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb101a71548488510f50e26b95e3b4550482a49f445da6bd02d312791998a73 [INFO] running `Command { std: "docker" "start" "-a" "ffb101a71548488510f50e26b95e3b4550482a49f445da6bd02d312791998a73", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `panic` setting is ignored for `test` profile [INFO] [stderr] warning: /opt/rustwide/workdir/lib-sc-common/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `sc_common` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking bench-utils v0.3.0 (https://github.com/HorizenOfficial/ginger-lib.git?branch=development#e10cb027) [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking combine v4.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling mince v0.1.1-alpha.0 (https://github.com/HorizenOfficial/ginger-lib.git?branch=development#e10cb027) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling unroll v0.1.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling algebra-derive v0.2.0 (https://github.com/HorizenOfficial/ginger-lib.git?branch=development#e10cb027) [INFO] [stderr] Compiling field-assembly v0.1.1-alpha.0 (https://github.com/HorizenOfficial/ginger-lib.git?branch=development#e10cb027) [INFO] [stderr] Compiling algebra v0.3.0 (https://github.com/HorizenOfficial/ginger-lib.git?branch=development#e10cb027) [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking primitives v0.3.0 (https://github.com/HorizenOfficial/ginger-lib.git?branch=development#e10cb027) [INFO] [stderr] Checking common-api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_field_element_from_u64(num: u64) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInteger` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | FieldElement::from_repr(BigInteger::from(num)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BigInteger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use algebra::BigInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | for _ in buff_len..FIELD_SIZE { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 20 - for _ in buff_len..FIELD_SIZE { [INFO] [stdout] 20 + for _ in buff_len.FIELD_SIZE { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_secure_random_field_element() -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_random_field_element(seed: u64) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn new_ginger_mht(height: usize, processing_step: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub fn new_ginger_mht(height: usize, processing_step: usize) -> Result { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn new_ginger_mht(height: usize, processing_step: usize) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_leaf_to_ginger_mht(tree: &mut GingerMHT, leaf: &FieldElement) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_leaf_to_ginger_mht(tree: &mut GingerMHT, leaf: &FieldElement) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:7:91 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_leaf_to_ginger_mht(tree: &mut GingerMHT, leaf: &FieldElement) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:12:67 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn finalize_ginger_mht_in_place(tree: &mut GingerMHT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn finalize_ginger_mht_in_place(tree: &mut GingerMHT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_leaf_index(tree: &GingerMHT, leaf: &FieldElement) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_leaf_index(tree: &GingerMHT, leaf: &FieldElement) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:34:73 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:34:88 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_ginger_mht(tree: &mut GingerMHT) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | path: &GingerMHTPath, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | leaf: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | root: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | path: &GingerMHTPath, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | leaf: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | root: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn is_path_leftmost(path: &GingerMHTPath) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_path_rightmost(path: &GingerMHTPath) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn are_right_leaves_empty(path: &GingerMHTPath) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:80:40 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_leaf_index_from_path(path: &GingerMHTPath) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_root_from_path(path: &GingerMHTPath, leaf: &FieldElement) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_root_from_path(path: &GingerMHTPath, leaf: &FieldElement) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:84:73 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_root_from_path(path: &GingerMHTPath, leaf: &FieldElement) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | personalization: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_poseidon_hash_constant_length( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> FieldHash { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | personalization: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_poseidon_hash_variable_length( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> FieldHash { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_poseidon_hash(hash: &mut FieldHash, input: &FieldElement) { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_poseidon_hash(hash: &mut FieldHash, input: &FieldElement) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_poseidon_hash(hash: &mut FieldHash, personalization: Option>) { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:47:79 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_poseidon_hash(hash: &mut FieldHash, personalization: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_poseidon_hash(hash: &mut FieldHash, personalization: Option>) { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:61:73 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn schnorr_generate_key() -> (SchnorrPk, SchnorrSk) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn schnorr_generate_key() -> (SchnorrPk, SchnorrSk) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn schnorr_get_public_key(sk: &SchnorrSk) -> SchnorrPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn schnorr_get_public_key(sk: &SchnorrSk) -> SchnorrPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn schnorr_verify_public_key(pk: &SchnorrPk) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | sk: &SchnorrSk, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pk: &SchnorrPk, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pk: &SchnorrPk, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | signature: &SchnorrSig, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn vrf_generate_key() -> (VRFPk, VRFSk) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn vrf_generate_key() -> (VRFPk, VRFSk) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vrf_get_public_key(sk: &VRFSk) -> VRFPk { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vrf_get_public_key(sk: &VRFSk) -> VRFPk { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn vrf_verify_public_key(pk: &VRFPk) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | sk: &VRFSk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pk: &VRFPk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result<(VRFProof, FieldElement), Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vrf_prove( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result<(VRFProof, FieldElement), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vrf_prove( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result<(VRFProof, FieldElement), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_GH_PARAMS` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | &VRF_GH_PARAMS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pk: &VRFPk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | proof: &VRFProof, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 55 | pub fn vrf_proof_to_hash( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_GH_PARAMS` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | &VRF_GH_PARAMS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse_field_element_from_jbyte_array( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:298:58 [INFO] [stdout] | [INFO] [stdout] 298 | let fe_bytes = parse_fixed_jbyte_array(&_env, bytes, FIELD_SIZE)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:303:47 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn return_field_element(_env: JNIEnv, fe: FieldElement) -> jobject { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | FIELD_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | serialize_from_jobject::(_env, _field_element, "fieldElementPointer", None) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | map_to_jobject_or_throw_exc::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | let fe = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:103:78 [INFO] [stdout] | [INFO] [stdout] 103 | serialize_from_raw_pointer(&_env, pointer.j().unwrap() as *const FieldElement, None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | drop_rust_struct_from_jobject::(_env, _fe, "fieldElementPointer") [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:125:56 [INFO] [stdout] | [INFO] [stdout] 125 | let field_1 = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | let field_2 = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | parse_rust_struct_from_jobject::(&_env, _root, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | parse_rust_struct_from_jobject::(&_env, _root, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:99:46 [INFO] [stdout] | [INFO] [stdout] 99 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | serialize_from_jobject::(_env, _path, "merklePathPointer", None) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | drop_rust_struct_from_jobject::(_env, _path, "merklePathPointer") [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:190:46 [INFO] [stdout] | [INFO] [stdout] 190 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:192:57 [INFO] [stdout] | [INFO] [stdout] 192 | let tree = parse_mut_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:233:57 [INFO] [stdout] | [INFO] [stdout] 233 | let tree = parse_mut_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:253:53 [INFO] [stdout] | [INFO] [stdout] 253 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:275:53 [INFO] [stdout] | [INFO] [stdout] 275 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:298:46 [INFO] [stdout] | [INFO] [stdout] 298 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:300:53 [INFO] [stdout] | [INFO] [stdout] 300 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | serialize_from_jobject::(_env, _tree, "inMemoryOptimizedMerkleTreePointer", None) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | ::deserialize(obj_bytes.as_slice()), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:351:57 [INFO] [stdout] | [INFO] [stdout] 351 | let tree = parse_mut_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | drop_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | FIELD_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | parse_mut_rust_struct_from_jobject::(&_env, _h, "poseidonHashPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | parse_rust_struct_from_jobject::(&_env, _input, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:103:55 [INFO] [stdout] | [INFO] [stdout] 103 | let digest = parse_rust_struct_from_jobject::(&_env, _h, "poseidonHashPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 124 | parse_mut_rust_struct_from_jobject::(&_env, _h, "poseidonHashPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | drop_rust_struct_from_jobject::(_env, _h, "poseidonHashPointer") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_PK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | SCHNORR_PK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | serialize_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | drop_rust_struct_from_jobject::(_env, _schnorr_public_key, "publicKeyPointer") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_SK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | SCHNORR_SK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | serialize_from_jobject::(_env, _schnorr_secret_key, "secretKeyPointer", None) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | drop_rust_struct_from_jobject::(_env, _schnorr_secret_key, "secretKeyPointer") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_SIG_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | SCHNORR_SIG_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | serialize_from_jobject::(_env, _schnorr_sig, "signaturePointer", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:142:52 [INFO] [stdout] | [INFO] [stdout] 142 | let sig = parse_rust_struct_from_jobject::(&_env, _sig, "signaturePointer"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | drop_rust_struct_from_jobject::(_env, _sig, "signaturePointer") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_field_element_from_u64(num: u64) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 216 | parse_rust_struct_from_jobject::(&_env, sk_object, "secretKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | parse_rust_struct_from_jobject::(&_env, pk_object, "publicKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 234 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BigInteger` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | FieldElement::from_repr(BigInteger::from(num)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BigInteger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use algebra::BigInteger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:253:46 [INFO] [stdout] | [INFO] [stdout] 253 | parse_rust_struct_from_jobject::(&_env, _public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:269:46 [INFO] [stdout] | [INFO] [stdout] 269 | parse_rust_struct_from_jobject::(&_env, _secret_key, "secretKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:291:46 [INFO] [stdout] | [INFO] [stdout] 291 | parse_rust_struct_from_jobject::(&_env, _public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | for _ in buff_len..FIELD_SIZE { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 20 - for _ in buff_len..FIELD_SIZE { [INFO] [stdout] 20 + for _ in buff_len.FIELD_SIZE { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:295:46 [INFO] [stdout] | [INFO] [stdout] 295 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:299:46 [INFO] [stdout] | [INFO] [stdout] 299 | parse_rust_struct_from_jobject::(&_env, _signature, "signaturePointer"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_secure_random_field_element() -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_PK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | VRF_PK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | serialize_from_jobject::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_random_field_element(seed: u64) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | drop_rust_struct_from_jobject::(_env, _vrf_public_key, "publicKeyPointer") [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | parse_rust_struct_from_jobject::(&_env, _vrf_public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn new_ginger_mht(height: usize, processing_step: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub fn new_ginger_mht(height: usize, processing_step: usize) -> Result { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | parse_rust_struct_from_jobject::(&_env, _vrf_public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | let proof = parse_rust_struct_from_jobject::(&_env, _proof, "proofPointer"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_SK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | VRF_SK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn new_ginger_mht(height: usize, processing_step: usize) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | serialize_from_jobject::(_env, _vrf_secret_key, "secretKeyPointer", None) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_leaf_to_ginger_mht(tree: &mut GingerMHT, leaf: &FieldElement) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_leaf_to_ginger_mht(tree: &mut GingerMHT, leaf: &FieldElement) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | drop_rust_struct_from_jobject::(_env, _vrf_secret_key, "secretKeyPointer") [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | parse_rust_struct_from_jobject::(&_env, _vrf_secret_key, "secretKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_PROOF_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | VRF_PROOF_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:7:91 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_leaf_to_ginger_mht(tree: &mut GingerMHT, leaf: &FieldElement) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | serialize_from_jobject::(_env, _proof, "proofPointer", Some(_compressed)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:198:54 [INFO] [stdout] | [INFO] [stdout] 198 | let proof = parse_rust_struct_from_jobject::(&_env, _vrf_proof, "proofPointer"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:210:41 [INFO] [stdout] | [INFO] [stdout] 210 | drop_rust_struct_from_jobject::(_env, _proof, "proofPointer") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:263:46 [INFO] [stdout] | [INFO] [stdout] 263 | parse_rust_struct_from_jobject::(&_env, sk_object, "secretKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | parse_rust_struct_from_jobject::(&_env, pk_object, "publicKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:12:67 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn finalize_ginger_mht(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn finalize_ginger_mht_in_place(tree: &mut GingerMHT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:16:73 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn finalize_ginger_mht_in_place(tree: &mut GingerMHT) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{PrimeField, SerializationError, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_ginger_mht_root(tree: &GingerMHT) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_leaf_index(tree: &GingerMHT, leaf: &FieldElement) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_leaf_index(tree: &GingerMHT, leaf: &FieldElement) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signature::FieldBasedSignatureScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use primitives::{schnorr::field_based_schnorr::*, signature::FieldBasedSignatureScheme}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldBasedVrf` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | vrf::{ecvrf::*, FieldBasedVrf}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:34:73 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:34:88 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_ginger_mht_path(tree: &GingerMHT, leaf_index: u64) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> api/src/type_mappings/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_ginger_mht(tree: &mut GingerMHT) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | path: &GingerMHTPath, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | leaf: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | root: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | path: &GingerMHTPath, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | leaf: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | root: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn is_path_leftmost(path: &GingerMHTPath) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn is_path_rightmost(path: &GingerMHTPath) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn are_right_leaves_empty(path: &GingerMHTPath) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:80:40 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_leaf_index_from_path(path: &GingerMHTPath) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_root_from_path(path: &GingerMHTPath, leaf: &FieldElement) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_root_from_path(path: &GingerMHTPath, leaf: &FieldElement) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:84:73 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_root_from_path(path: &GingerMHTPath, leaf: &FieldElement) -> FieldElement { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | personalization: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_poseidon_hash_constant_length( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> FieldHash { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | personalization: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_poseidon_hash_variable_length( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> FieldHash { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_poseidon_hash(hash: &mut FieldHash, input: &FieldElement) { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_poseidon_hash(hash: &mut FieldHash, input: &FieldElement) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_poseidon_hash(hash: &mut FieldHash, personalization: Option>) { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:47:79 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_poseidon_hash(hash: &mut FieldHash, personalization: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 47 | pub fn reset_poseidon_hash(hash: &mut FieldHash, personalization: Option>) { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ginger-lib-9b390adf16dd2477/e10cb02/primitives/src/crh/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait FieldHasher> { [INFO] [stdout] | ------------------------------------------------------------ similarly named trait `FieldHasher` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:61:73 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn finalize_poseidon_hash(hash: &FieldHash) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn schnorr_generate_key() -> (SchnorrPk, SchnorrSk) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn schnorr_generate_key() -> (SchnorrPk, SchnorrSk) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn schnorr_get_public_key(sk: &SchnorrSk) -> SchnorrPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn schnorr_get_public_key(sk: &SchnorrSk) -> SchnorrPk { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn schnorr_verify_public_key(pk: &SchnorrPk) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | sk: &SchnorrSk, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pk: &SchnorrPk, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pk: &SchnorrPk, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | signature: &SchnorrSig, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn vrf_generate_key() -> (VRFPk, VRFSk) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn vrf_generate_key() -> (VRFPk, VRFSk) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vrf_get_public_key(sk: &VRFSk) -> VRFPk { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn vrf_get_public_key(sk: &VRFSk) -> VRFPk { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn vrf_verify_public_key(pk: &VRFPk) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | sk: &VRFSk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pk: &VRFPk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result<(VRFProof, FieldElement), Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vrf_prove( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result<(VRFProof, FieldElement), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn vrf_prove( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | ) -> Result<(VRFProof, FieldElement), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_GH_PARAMS` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | &VRF_GH_PARAMS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | msg: &FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pk: &VRFPk, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | proof: &VRFProof, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 55 | pub fn vrf_proof_to_hash( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_GH_PARAMS` in this scope [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | &VRF_GH_PARAMS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_PK_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(pk_serialized.len(), SCHNORR_PK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let pk_deserialized: SchnorrPk = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_SK_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(sk_serialized.len(), SCHNORR_SK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_SIG_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(sig_serialized.len(), SCHNORR_SIG_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | let path_deserialized: GingerMHTPath = [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_PK_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(pk_serialized.len(), VRF_PK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | let pk_deserialized: VRFPk = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_SK_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!(sk_serialized.len(), VRF_SK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_PROOF_SIZE` in this scope [INFO] [stdout] --> api/src/ginger_calls/mod.rs:198:44 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(proof_serialized.len(), VRF_PROOF_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse_field_element_from_jbyte_array( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:298:58 [INFO] [stdout] | [INFO] [stdout] 298 | let fe_bytes = parse_fixed_jbyte_array(&_env, bytes, FIELD_SIZE)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/utils.rs:303:47 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn return_field_element(_env: JNIEnv, fe: FieldElement) -> jobject { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | FIELD_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | serialize_from_jobject::(_env, _field_element, "fieldElementPointer", None) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | map_to_jobject_or_throw_exc::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | let fe = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:103:78 [INFO] [stdout] | [INFO] [stdout] 103 | serialize_from_raw_pointer(&_env, pointer.j().unwrap() as *const FieldElement, None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | drop_rust_struct_from_jobject::(_env, _fe, "fieldElementPointer") [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:125:56 [INFO] [stdout] | [INFO] [stdout] 125 | let field_1 = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/field_element.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | let field_2 = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | parse_rust_struct_from_jobject::(&_env, _root, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | parse_rust_struct_from_jobject::(&_env, _root, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:99:46 [INFO] [stdout] | [INFO] [stdout] 99 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:123:46 [INFO] [stdout] | [INFO] [stdout] 123 | parse_rust_struct_from_jobject::(&_env, _path, "merklePathPointer"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 134 | serialize_from_jobject::(_env, _path, "merklePathPointer", None) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHTPath` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | drop_rust_struct_from_jobject::(_env, _path, "merklePathPointer") [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:190:46 [INFO] [stdout] | [INFO] [stdout] 190 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:192:57 [INFO] [stdout] | [INFO] [stdout] 192 | let tree = parse_mut_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:233:57 [INFO] [stdout] | [INFO] [stdout] 233 | let tree = parse_mut_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:253:53 [INFO] [stdout] | [INFO] [stdout] 253 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:275:53 [INFO] [stdout] | [INFO] [stdout] 275 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:298:46 [INFO] [stdout] | [INFO] [stdout] 298 | parse_rust_struct_from_jobject::(&_env, _leaf, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:300:53 [INFO] [stdout] | [INFO] [stdout] 300 | let tree = parse_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | serialize_from_jobject::(_env, _tree, "inMemoryOptimizedMerkleTreePointer", None) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | ::deserialize(obj_bytes.as_slice()), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:351:57 [INFO] [stdout] | [INFO] [stdout] 351 | let tree = parse_mut_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GingerMHT` in this scope [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | drop_rust_struct_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FIELD_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | FIELD_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | parse_mut_rust_struct_from_jobject::(&_env, _h, "poseidonHashPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | parse_rust_struct_from_jobject::(&_env, _input, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:103:55 [INFO] [stdout] | [INFO] [stdout] 103 | let digest = parse_rust_struct_from_jobject::(&_env, _h, "poseidonHashPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 124 | parse_mut_rust_struct_from_jobject::(&_env, _h, "poseidonHashPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldHash` in this scope [INFO] [stdout] --> api/src/rust_jni/poseidon_hash.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | drop_rust_struct_from_jobject::(_env, _h, "poseidonHashPointer") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_PK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | SCHNORR_PK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | serialize_from_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | drop_rust_struct_from_jobject::(_env, _schnorr_public_key, "publicKeyPointer") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_SK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | SCHNORR_SK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | serialize_from_jobject::(_env, _schnorr_secret_key, "secretKeyPointer", None) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | drop_rust_struct_from_jobject::(_env, _schnorr_secret_key, "secretKeyPointer") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCHNORR_SIG_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | SCHNORR_SIG_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | serialize_from_jobject::(_env, _schnorr_sig, "signaturePointer", None) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:142:52 [INFO] [stdout] | [INFO] [stdout] 142 | let sig = parse_rust_struct_from_jobject::(&_env, _sig, "signaturePointer"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | drop_rust_struct_from_jobject::(_env, _sig, "signaturePointer") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 216 | parse_rust_struct_from_jobject::(&_env, sk_object, "secretKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | parse_rust_struct_from_jobject::(&_env, pk_object, "publicKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 234 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:253:46 [INFO] [stdout] | [INFO] [stdout] 253 | parse_rust_struct_from_jobject::(&_env, _public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:269:46 [INFO] [stdout] | [INFO] [stdout] 269 | parse_rust_struct_from_jobject::(&_env, _secret_key, "secretKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrPk` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:291:46 [INFO] [stdout] | [INFO] [stdout] 291 | parse_rust_struct_from_jobject::(&_env, _public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:295:46 [INFO] [stdout] | [INFO] [stdout] 295 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | FieldElement::from_repr(BigInteger::from(num)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchnorrSig` in this scope [INFO] [stdout] --> api/src/rust_jni/schnorr_signature.rs:299:46 [INFO] [stdout] | [INFO] [stdout] 299 | parse_rust_struct_from_jobject::(&_env, _signature, "signaturePointer"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use primitives::schnorr::SchnorrSig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_PK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | VRF_PK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | serialize_from_jobject::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | drop_rust_struct_from_jobject::(_env, _vrf_public_key, "publicKeyPointer") [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | parse_rust_struct_from_jobject::(&_env, _vrf_public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | parse_rust_struct_from_jobject::(&_env, _vrf_public_key, "publicKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:84:46 [INFO] [stdout] | [INFO] [stdout] 84 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | let proof = parse_rust_struct_from_jobject::(&_env, _proof, "proofPointer"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | FieldElement::rand(&mut rand::rngs::OsRng::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_SK_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | VRF_SK_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | FieldElement::rand(&mut rng) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | serialize_from_jobject::(_env, _vrf_secret_key, "secretKeyPointer", None) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GingerMHT` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | GingerMHT::init(height, processing_step) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GingerMHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | drop_rust_struct_from_jobject::(_env, _vrf_secret_key, "secretKeyPointer") [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | parse_rust_struct_from_jobject::(&_env, _vrf_secret_key, "secretKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VRF_PROOF_SIZE` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | VRF_PROOF_SIZE as jint [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | serialize_from_jobject::(_env, _proof, "proofPointer", Some(_compressed)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | deserialize_to_jobject::( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:198:54 [INFO] [stdout] | [INFO] [stdout] 198 | let proof = parse_rust_struct_from_jobject::(&_env, _vrf_proof, "proofPointer"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFProof` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:210:41 [INFO] [stdout] | [INFO] [stdout] 210 | drop_rust_struct_from_jobject::(_env, _proof, "proofPointer") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFSk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:263:46 [INFO] [stdout] | [INFO] [stdout] 263 | parse_rust_struct_from_jobject::(&_env, sk_object, "secretKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VRFPk` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | parse_rust_struct_from_jobject::(&_env, pk_object, "publicKeyPointer"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldElement` in this scope [INFO] [stdout] --> api/src/rust_jni/vrf.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | parse_rust_struct_from_jobject::(&_env, _message, "fieldElementPointer"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | FieldHash::init_constant_length( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:2:47 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{PrimeField, SerializationError, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signature::FieldBasedSignatureScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use primitives::{schnorr::field_based_schnorr::*, signature::FieldBasedSignatureScheme}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldBasedVrf` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | vrf::{ecvrf::*, FieldBasedVrf}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UniformRand` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use algebra::{Field, UniformRand}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> api/src/type_mappings/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | FieldHash::init_constant_length(input_size, None) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | FieldHash::init_variable_length( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | FieldHash::init_variable_length(mod_rate, None) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let (pk, sk) = SchnorrSigScheme::keygen(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | FieldElement::from_repr(BigInteger::from(num)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | SchnorrSigScheme::get_public_key(sk).0.into_affine() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SchnorrSigScheme::keyverify(&FieldBasedSchnorrPk(pk.into_projective())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SchnorrSigScheme::sign( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | SchnorrSigScheme::verify(&FieldBasedSchnorrPk(pk.into_projective()), *msg, signature) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | FieldElement::rand(&mut rand::rngs::OsRng::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/field_element.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | FieldElement::rand(&mut rng) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GingerMHT` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | GingerMHT::init(height, processing_step) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GingerMHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | FieldHash::init_constant_length( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let (pk, sk) = VRFScheme::keygen(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | VRFScheme::get_public_key(sk).0.into_affine() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | VRFScheme::keyverify(&FieldBasedEcVrfPk(pk.into_projective())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let proof = VRFScheme::prove( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut h = FieldHash::init_constant_length(3, None); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FieldHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | VRFScheme::proof_to_hash( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | FieldHash::init_constant_length(input_size, None) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | FieldHash::init_variable_length( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | FieldHash::init_variable_length(mod_rate, None) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `FieldHash` [INFO] [stdout] | help: a trait with a similar name exists: `FieldHasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/rust_jni/field_element.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let fe = FieldElement::from(_long as u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let (pk, sk) = SchnorrSigScheme::keygen(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | SchnorrSigScheme::get_public_key(sk).0.into_affine() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SchnorrSigScheme::keyverify(&FieldBasedSchnorrPk(pk.into_projective())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SchnorrSigScheme::sign( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SchnorrSigScheme` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | SchnorrSigScheme::verify(&FieldBasedSchnorrPk(pk.into_projective()), *msg, signature) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SchnorrSigScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let (pk, sk) = VRFScheme::keygen(&mut rng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | VRFScheme::get_public_key(sk).0.into_affine() [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | VRFScheme::keyverify(&FieldBasedEcVrfPk(pk.into_projective())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let proof = VRFScheme::prove( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldHash` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let mut h = FieldHash::init_constant_length(3, None); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FieldHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VRFScheme` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | VRFScheme::proof_to_hash( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `VRFScheme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let msg = FieldElement::rand(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let wrong_msg = FieldElement::rand(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | mht_leaves.push(FieldElement::zero()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 145 | let hash_input = vec![FieldElement::rand(&mut rng); 2]; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let msg = FieldElement::rand(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitives::merkle_tree` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitives::merkle_tree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitives::crh` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitives::crh::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectiveCurve` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AffineCurve` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SemanticallyValid` [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use algebra::{CanonicalDeserialize, SemanticallyValid}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectiveCurve` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AffineCurve` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToConstraintField` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crh::FieldBasedHash` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | crh::FieldBasedHash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | let wrong_msg = FieldElement::rand(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldElement` [INFO] [stdout] --> api/src/rust_jni/field_element.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let fe = FieldElement::from(_long as u64); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FieldElement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 189 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `common-api` (lib) due to 190 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `primitives::merkle_tree` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitives::merkle_tree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> api/src/ginger_calls/merkle_tree.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitives::crh` [INFO] [stdout] --> api/src/ginger_calls/poseidon_hash.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitives::crh::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectiveCurve` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AffineCurve` [INFO] [stdout] --> api/src/ginger_calls/schnorr_signature.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SemanticallyValid` [INFO] [stdout] --> api/src/rust_jni/merkle_tree.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use algebra::{CanonicalDeserialize, SemanticallyValid}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectiveCurve` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AffineCurve` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToConstraintField` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use algebra::{AffineCurve, ProjectiveCurve, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crh::FieldBasedHash` [INFO] [stdout] --> api/src/ginger_calls/vrf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | crh::FieldBasedHash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> api/src/ginger_calls/mod.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use algebra::{Field, UniformRand}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 204 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `common-api` (lib test) due to 205 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffb101a71548488510f50e26b95e3b4550482a49f445da6bd02d312791998a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb101a71548488510f50e26b95e3b4550482a49f445da6bd02d312791998a73", kill_on_drop: false }` [INFO] [stdout] ffb101a71548488510f50e26b95e3b4550482a49f445da6bd02d312791998a73