[INFO] fetching crate snarkvm-gadgets 0.7.2... [INFO] checking snarkvm-gadgets-0.7.2 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate snarkvm-gadgets 0.7.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate snarkvm-gadgets 0.7.2 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-gadgets 0.7.2 [INFO] finished tweaking crates.io crate snarkvm-gadgets 0.7.2 [INFO] tweaked toml for crates.io crate snarkvm-gadgets 0.7.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c0d194b5a295e665ab5d69394045d9fd975419474731eaad1a81408690beaee [INFO] running `Command { std: "docker" "start" "-a" "8c0d194b5a295e665ab5d69394045d9fd975419474731eaad1a81408690beaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c0d194b5a295e665ab5d69394045d9fd975419474731eaad1a81408690beaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c0d194b5a295e665ab5d69394045d9fd975419474731eaad1a81408690beaee", kill_on_drop: false }` [INFO] [stdout] 8c0d194b5a295e665ab5d69394045d9fd975419474731eaad1a81408690beaee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c82d125040a1e27a80576ab4fca5d4a59bef9d4de7271595917f2f54b5d706e [INFO] running `Command { std: "docker" "start" "-a" "9c82d125040a1e27a80576ab4fca5d4a59bef9d4de7271595917f2f54b5d706e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking snarkvm-profiler v0.7.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling snarkvm-derives v0.7.4 [INFO] [stderr] Checking snarkvm-utilities v0.7.4 [INFO] [stderr] Checking snarkvm-fields v0.7.4 [INFO] [stderr] Checking snarkvm-curves v0.7.4 [INFO] [stderr] Checking snarkvm-r1cs v0.7.4 [INFO] [stderr] Checking snarkvm-algorithms v0.7.4 [INFO] [stderr] Checking snarkvm-gadgets v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{to_bytes, CanonicalDeserialize, CanonicalSerialize, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/fields/fp.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:176:54 [INFO] [stdout] | [INFO] [stdout] 176 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:202:54 [INFO] [stdout] | [INFO] [stdout] 202 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:543:28 [INFO] [stdout] | [INFO] [stdout] 543 | Some(value) => to_bytes![&value.into_repr()]?.into_iter().map(Some).collect::>(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:546:35 [INFO] [stdout] | [INFO] [stdout] 546 | let default_len = to_bytes![&default].unwrap().len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:1156:58 [INFO] [stdout] | [INFO] [stdout] 1156 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:1163:58 [INFO] [stdout] | [INFO] [stdout] 1163 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:400:58 [INFO] [stdout] | [INFO] [stdout] 400 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:407:58 [INFO] [stdout] | [INFO] [stdout] 407 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:176:108 [INFO] [stdout] | [INFO] [stdout] 176 | let alloc = UInt8::alloc_input_vec_le(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:155:99 [INFO] [stdout] | [INFO] [stdout] 155 | let alloc = UInt8::alloc_vec(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let private_key = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let private_key = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{to_bytes, CanonicalDeserialize, CanonicalSerialize, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/signature/tests.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | use snarkvm_utilities::{bytes::ToBytes, rand::UniformRand, to_bytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/snark/groth16.rs:426:39 [INFO] [stdout] | [INFO] [stdout] 426 | use snarkvm_utilities::{test_rng, to_bytes, BitIteratorBE, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/algorithms/snark/tests.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{bititerator::BitIteratorBE, to_bytes, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/bits/boolean_input.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/fields/fp.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:175:51 [INFO] [stdout] | [INFO] [stdout] 175 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:176:54 [INFO] [stdout] | [INFO] [stdout] 176 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:202:54 [INFO] [stdout] | [INFO] [stdout] 202 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:543:28 [INFO] [stdout] | [INFO] [stdout] 543 | Some(value) => to_bytes![&value.into_repr()]?.into_iter().map(Some).collect::>(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:546:35 [INFO] [stdout] | [INFO] [stdout] 546 | let default_len = to_bytes![&default].unwrap().len(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:1156:58 [INFO] [stdout] | [INFO] [stdout] 1156 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/fields/fp.rs:1163:58 [INFO] [stdout] | [INFO] [stdout] 1163 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:400:58 [INFO] [stdout] | [INFO] [stdout] 400 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:407:58 [INFO] [stdout] | [INFO] [stdout] 407 | Self::Constant(c) => Ok(UInt8::constant_vec(&to_bytes![c].unwrap())), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/bits/boolean_input.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | &to_bytes![field_element].unwrap(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/bits/boolean_input.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | &to_bytes![field_elements].unwrap(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/snark/tests.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | let proof_bytes = to_bytes![proof].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/snark/tests.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | let vk_bytes = to_bytes![params.vk].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/snark/groth16.rs:600:31 [INFO] [stdout] | [INFO] [stdout] 600 | let proof_bytes = to_bytes![proof].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/snark/groth16.rs:599:28 [INFO] [stdout] | [INFO] [stdout] 599 | let vk_bytes = to_bytes![params.vk].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/signature/tests.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let random_scalar = to_bytes!(::ScalarField::rand(rng)).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:176:108 [INFO] [stdout] | [INFO] [stdout] 176 | let alloc = UInt8::alloc_input_vec_le(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:155:99 [INFO] [stdout] | [INFO] [stdout] 155 | let alloc = UInt8::alloc_vec(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let randomness = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let private_key = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let private_key = to_bytes![value_gen()?.borrow()].unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{to_bytes, CanonicalDeserialize, CanonicalSerialize, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::BigInteger` [INFO] [stdout] --> src/bits/boolean_input.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use snarkvm_utilities::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | use snarkvm_fields::{Field, One, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:613:38 [INFO] [stdout] | [INFO] [stdout] 613 | use snarkvm_fields::{Field, One, PrimeField, Zero}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/fields/fp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | bytes::ToBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::bytes::ToBytes` [INFO] [stdout] --> src/integers/uint/uint_impl.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use snarkvm_utilities::bytes::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/integers/uint/uint128.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | bytes::ToBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | let mut surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let surfeit = overhead!(delta.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_mul_result_var.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let surfeit = overhead!(self.prod_of_num_of_additions + BaseField::one()) + 1 + 1; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | bytes::ToBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let surfeit = overhead!(elem.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let overhead_limb = overhead!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 201 | | prod_of_num_of_additions.mul( [INFO] [stdout] 202 | | &BaseField::from_repr(::BigInteger::from( [INFO] [stdout] 203 | | (field_parameters.num_limbs) as u64 [INFO] [stdout] ... | [INFO] [stdout] 206 | | ) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/algorithms/commitment/pedersen.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/encryption/group.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_utilities::{to_bytes, CanonicalDeserialize, CanonicalSerialize, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::ToBytes` [INFO] [stdout] --> src/algorithms/merkle_tree/tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use snarkvm_utilities::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `traits::Group` [INFO] [stdout] --> src/algorithms/signature/tests.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | use snarkvm_curves::{bls12_377::Fr, edwards_bls12::EdwardsAffine, traits::Group}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `bytes::ToBytes`, `rand::UniformRand` [INFO] [stdout] --> src/algorithms/signature/tests.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | use snarkvm_utilities::{bytes::ToBytes, rand::UniformRand, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_fields::PrimeField` [INFO] [stdout] --> src/algorithms/snark/groth16.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/snark/groth16.rs:426:64 [INFO] [stdout] | [INFO] [stdout] 426 | use snarkvm_utilities::{test_rng, to_bytes, BitIteratorBE, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/algorithms/snark/tests.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use snarkvm_fields::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/algorithms/snark/tests.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{bititerator::BitIteratorBE, to_bytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/bits/boolean.rs:968:38 [INFO] [stdout] | [INFO] [stdout] 968 | use snarkvm_fields::{Field, One, PrimeField, Zero}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::BigInteger` [INFO] [stdout] --> src/bits/boolean_input.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use snarkvm_utilities::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/bits/boolean_input.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | ToBytes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_fields::PrimeField` [INFO] [stdout] --> src/curves/bls12_377.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/curves/tests_curve.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_fields::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/curves/templates/twisted_edwards/test.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use snarkvm_fields::{Field, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | use snarkvm_fields::{Field, One, PrimeField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PrimeField` [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:613:38 [INFO] [stdout] | [INFO] [stdout] 613 | use snarkvm_fields::{Field, One, PrimeField, Zero}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/fields/fp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | bytes::ToBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::bytes::ToBytes` [INFO] [stdout] --> src/integers/uint/uint_impl.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use snarkvm_utilities::bytes::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/integers/uint/uint128.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | bytes::ToBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | let mut surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let surfeit = overhead!(delta.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_mul_result_var.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let surfeit = overhead!(self.prod_of_num_of_additions + BaseField::one()) + 1 + 1; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | bytes::ToBytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let surfeit = overhead!(elem.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_utilities::biginteger::BigInteger` [INFO] [stdout] --> src/nonnative/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | use snarkvm_utilities::biginteger::BigInteger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let overhead_limb = overhead!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 201 | | prod_of_num_of_additions.mul( [INFO] [stdout] 202 | | &BaseField::from_repr(::BigInteger::from( [INFO] [stdout] 203 | | (field_parameters.num_limbs) as u64 [INFO] [stdout] ... | [INFO] [stdout] 206 | | ) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for type parameter `F` in the current scope [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^ function or associated item not found in `F` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `read`, perhaps you need to restrict type parameter `F` with one of them: [INFO] [stdout] | [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for type parameter `F` in the current scope [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^ function or associated item not found in `F` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `read`, perhaps you need to restrict type parameter `F` with one of them: [INFO] [stdout] | [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/algorithms/encryption/group.rs:155:99 [INFO] [stdout] | [INFO] [stdout] 155 | let alloc = UInt8::alloc_vec(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 156 | | value.borrow() [INFO] [stdout] 157 | | ]?)?; [INFO] [stdout] | |______________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/algorithms/encryption/group.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | ]?)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/algorithms/encryption/group.rs:176:107 [INFO] [stdout] | [INFO] [stdout] 176 | let alloc = UInt8::alloc_input_vec_le(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ___________________________________________________________________________________________________________^ [INFO] [stdout] 177 | | value.borrow() [INFO] [stdout] 178 | | ]?)?; [INFO] [stdout] | |______________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for type parameter `F` in the current scope [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^ function or associated item not found in `F` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `read`, perhaps you need to restrict type parameter `F` with one of them: [INFO] [stdout] | [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for type parameter `F` in the current scope [INFO] [stdout] --> src/algorithms/encoding/elligator2.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | Ok(value) => Ok(F::read(&to_bytes![value.borrow()]?[..])?), [INFO] [stdout] | ^^^^ function or associated item not found in `F` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `read`, perhaps you need to restrict type parameter `F` with one of them: [INFO] [stdout] | [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | impl AllocGadget<

::BaseField, F> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:176:48 [INFO] [stdout] | [INFO] [stdout] 176 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/algorithms/encryption/group.rs:155:99 [INFO] [stdout] | [INFO] [stdout] 155 | let alloc = UInt8::alloc_vec(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 156 | | value.borrow() [INFO] [stdout] 157 | | ]?)?; [INFO] [stdout] | |______________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/algorithms/encryption/group.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | ]?)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[_]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:202:48 [INFO] [stdout] | [INFO] [stdout] 202 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/algorithms/encryption/group.rs:176:107 [INFO] [stdout] | [INFO] [stdout] 176 | let alloc = UInt8::alloc_input_vec_le(cs.ns(|| format!("Blinding Exponent Iteration {}", i)), &to_bytes![ [INFO] [stdout] | ___________________________________________________________________________________________________________^ [INFO] [stdout] 177 | | value.borrow() [INFO] [stdout] 178 | | ]?)?; [INFO] [stdout] | |______________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:283:56 [INFO] [stdout] | [INFO] [stdout] 283 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:296:56 [INFO] [stdout] | [INFO] [stdout] 296 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:347:52 [INFO] [stdout] | [INFO] [stdout] 347 | let proof: Proof = FromBytes::read(&proof_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:360:52 [INFO] [stdout] | [INFO] [stdout] 360 | let proof: Proof = FromBytes::read(&proof_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:277:57 [INFO] [stdout] | [INFO] [stdout] 277 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<

::H as CRH>::Output` in the current scope [INFO] [stdout] --> src/algorithms/merkle_tree/tests.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | root.write(&mut root_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `<

::H as CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:352:53 [INFO] [stdout] | [INFO] [stdout] 352 | let proof: Proof = FromBytes::read(&proof_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:368:53 [INFO] [stdout] | [INFO] [stdout] 368 | let proof: Proof = FromBytes::read(&proof_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:176:48 [INFO] [stdout] | [INFO] [stdout] 176 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | let prover_response: F = FromBytes::read(&to_bytes![schnorr_output.prover_response]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/signature/schnorr.rs:202:48 [INFO] [stdout] | [INFO] [stdout] 202 | let verifier_challenge: F = FromBytes::read(&to_bytes![schnorr_output.verifier_challenge]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | let mut bits = elem.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | let mut bits = elem.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:283:56 [INFO] [stdout] | [INFO] [stdout] 283 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:296:56 [INFO] [stdout] | [INFO] [stdout] 296 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:347:52 [INFO] [stdout] | [INFO] [stdout] 347 | let proof: Proof = FromBytes::read(&proof_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/gm17.rs:360:52 [INFO] [stdout] | [INFO] [stdout] 360 | let proof: Proof = FromBytes::read(&proof_bytes.borrow().clone()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | let mut bits = elem.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_be` found for associated type `::BigInteger` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:170:70 [INFO] [stdout] | [INFO] [stdout] 170 | let elem = CF::from_repr(::BigInteger::from_bits_be(chunk.to_vec())).unwrap(); // big endian [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `::BigInteger` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use snarkvm_utilities::FromBits;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:277:57 [INFO] [stdout] | [INFO] [stdout] 277 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:293:57 [INFO] [stdout] | [INFO] [stdout] 293 | let vk: VerifyingKey = FromBytes::read(&vk_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:352:53 [INFO] [stdout] | [INFO] [stdout] 352 | let proof: Proof = FromBytes::read(&proof_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn FromBytes` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:368:53 [INFO] [stdout] | [INFO] [stdout] 368 | let proof: Proof = FromBytes::read(&proof_bytes.borrow()[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:518:67 [INFO] [stdout] | [INFO] [stdout] 518 | let mut input_bits = BitIteratorBE::new(input.into_repr()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/bls12/affine.rs:465:50 [INFO] [stdout] | [INFO] [stdout] 465 | let r_minus_1 = (-P::ScalarField::one()).into_repr(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:589:67 [INFO] [stdout] | [INFO] [stdout] 589 | let mut input_bits = BitIteratorBE::new(input.into_repr()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/algorithms/snark/groth16.rs:663:67 [INFO] [stdout] | [INFO] [stdout] 663 | let mut input_bits = BitIteratorBE::new(input.into_repr()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/algorithms/snark/tests.rs:123:63 [INFO] [stdout] | [INFO] [stdout] 123 | let mut input_bits = BitIteratorBE::new(input.into_repr()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/algorithms/snark/tests.rs:196:63 [INFO] [stdout] | [INFO] [stdout] 196 | let mut input_bits = BitIteratorBE::new(input.into_repr()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/algorithms/snark/tests.rs:272:63 [INFO] [stdout] | [INFO] [stdout] 272 | let mut input_bits = BitIteratorBE::new(input.into_repr()).collect::>(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:501:54 [INFO] [stdout] | [INFO] [stdout] 501 | let r_minus_1 = (-P::ScalarField::one()).into_repr(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/bits/boolean.rs:1684:48 [INFO] [stdout] | [INFO] [stdout] 1684 | for (i, b) in BitIteratorBE::new(r.into_repr()).skip(1).enumerate() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | let mut bits = elem.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | let mut bits = elem.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | let mut bits = elem.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_be` found for associated type `::BigInteger` in the current scope [INFO] [stdout] --> src/bits/boolean_input.rs:170:70 [INFO] [stdout] | [INFO] [stdout] 170 | let elem = CF::from_repr(::BigInteger::from_bits_be(chunk.to_vec())).unwrap(); // big endian [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `::BigInteger` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use snarkvm_utilities::FromBits;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:1137:54 [INFO] [stdout] | [INFO] [stdout] 1137 | let r_minus_1 = (-P::ScalarField::one()).into_repr(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/curves/bls12_377.rs:159:63 [INFO] [stdout] | [INFO] [stdout] 159 | let mut scalar: Vec = BitIteratorBE::new(scalar.into_repr()).collect(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/curves/tests_curve.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | let s_iter = BitIteratorBE::new(s.into_repr()) [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:443:51 [INFO] [stdout] | [INFO] [stdout] 443 | for b in BitIteratorBE::new(value.into_repr()) { [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/curves/tests_curve.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | ans_n = ans_n.pow(s.into_repr()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:496:61 [INFO] [stdout] | [INFO] [stdout] 496 | let bits: Vec<_> = BitIteratorBE::new(value.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:1123:59 [INFO] [stdout] | [INFO] [stdout] 1123 | Self::Constant(c) => Ok(BitIteratorBE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:1144:59 [INFO] [stdout] | [INFO] [stdout] 1144 | Self::Constant(c) => Ok(BitIteratorLE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/bls12/affine.rs:465:50 [INFO] [stdout] | [INFO] [stdout] 465 | let r_minus_1 = (-P::ScalarField::one()).into_repr(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:501:54 [INFO] [stdout] | [INFO] [stdout] 501 | let r_minus_1 = (-P::ScalarField::one()).into_repr(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/twisted_edwards/mod.rs:1137:54 [INFO] [stdout] | [INFO] [stdout] 1137 | let r_minus_1 = (-P::ScalarField::one()).into_repr(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for associated type `

::ScalarField` in the current scope [INFO] [stdout] --> src/curves/templates/twisted_edwards/test.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | let mut scalar: Vec = BitIteratorBE::new(scalar.into_repr()).collect(); [INFO] [stdout] | ^^^^^^^^^ method not found in `

::ScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:443:51 [INFO] [stdout] | [INFO] [stdout] 443 | for b in BitIteratorBE::new(value.into_repr()) { [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:496:61 [INFO] [stdout] | [INFO] [stdout] 496 | let bits: Vec<_> = BitIteratorBE::new(value.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:1123:59 [INFO] [stdout] | [INFO] [stdout] 1123 | Self::Constant(c) => Ok(BitIteratorBE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&F` in the current scope [INFO] [stdout] --> src/fields/fp.rs:1144:59 [INFO] [stdout] | [INFO] [stdout] 1144 | Self::Constant(c) => Ok(BitIteratorLE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u8` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | uint_impl!(UInt8, u8, 8); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u16` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | uint_impl!(UInt16, u16, 16); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u32` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | uint_impl!(UInt32, u32, 32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u64` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | uint_impl!(UInt64, u64, 64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u128` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint128.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | uint_impl_common!(UInt128, u128, 128); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `TargetField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:68:89 [INFO] [stdout] | [INFO] [stdout] 68 | let mut base_repr: ::BigInteger = TargetField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&BaseField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | for bit in limb.into_repr().to_bits_be().iter().rev() { [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | let mut surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:221:97 [INFO] [stdout] | [INFO] [stdout] 221 | let mut pad_non_top_limb_repr: ::BigInteger = BaseField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&TargetField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:346:64 [INFO] [stdout] | [INFO] [stdout] 346 | Self::get_limbs_representations_from_big_integer(&elem.into_repr(), optimization_type) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bits_be` found for associated type `::BigInteger` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:364:32 [INFO] [stdout] | [INFO] [stdout] 364 | let cur_bits = cur.to_bits_be(); // `to_bits` is big endian [INFO] [stdout] | ^^^^^^^^^^ method not found in `::BigInteger` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bits.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_bits_be(&self) -> Vec; [INFO] [stdout] | ---------- the method is available for `::BigInteger` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use snarkvm_utilities::ToBits;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_be` found for associated type `::BigInteger` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:365:68 [INFO] [stdout] | [INFO] [stdout] 365 | let cur_mod_r = ::BigInteger::from_bits_be( [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `::BigInteger` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use snarkvm_utilities::FromBits;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u8` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | uint_impl!(UInt8, u8, 8); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u16` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u16` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | uint_impl!(UInt16, u16, 16); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u32` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | uint_impl!(UInt32, u32, 32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let surfeit = overhead!(delta.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u64` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u64` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint_impl.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | uint_impl!(UInt64, u64, 64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u128` in the current scope [INFO] [stdout] --> src/integers/uint/macros.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | val.write(bytes.as_mut()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: src/integers/uint/uint128.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | uint_impl_common!(UInt128, u128, 128); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `to_bytes_int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_mul_result_var.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let surfeit = overhead!(self.prod_of_num_of_additions + BaseField::one()) + 1 + 1; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&TargetField` in the current scope [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:363:59 [INFO] [stdout] | [INFO] [stdout] 363 | Self::Constant(c) => Ok(BitIteratorBE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&TargetField` in the current scope [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:384:59 [INFO] [stdout] | [INFO] [stdout] 384 | Self::Constant(c) => Ok(BitIteratorLE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | let limb_repr = limb.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | for b in BitIteratorBE::new(limb_value.into_repr()).skip( [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let surfeit = overhead!(elem.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let overhead_limb = overhead!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 201 | | prod_of_num_of_additions.mul( [INFO] [stdout] 202 | | &BaseField::from_repr(::BigInteger::from( [INFO] [stdout] 203 | | (field_parameters.num_limbs) as u64 [INFO] [stdout] ... | [INFO] [stdout] 206 | | ) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:253:44 [INFO] [stdout] | [INFO] [stdout] 253 | let mut cur = BaseField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:296:93 [INFO] [stdout] | [INFO] [stdout] 296 | let mut pad_limb_repr: ::BigInteger = BaseField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | let mut carry_repr = carry_value.into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `TargetField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:68:89 [INFO] [stdout] | [INFO] [stdout] 68 | let mut base_repr: ::BigInteger = TargetField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&BaseField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | for bit in limb.into_repr().to_bits_be().iter().rev() { [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 95 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snarkvm-gadgets` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | let mut surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | surfeit = overhead!(other.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:221:97 [INFO] [stdout] | [INFO] [stdout] 221 | let mut pad_non_top_limb_repr: ::BigInteger = BaseField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&TargetField` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:346:64 [INFO] [stdout] | [INFO] [stdout] 346 | Self::get_limbs_representations_from_big_integer(&elem.into_repr(), optimization_type) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bits_be` found for associated type `::BigInteger` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:364:32 [INFO] [stdout] | [INFO] [stdout] 364 | let cur_bits = cur.to_bits_be(); // `to_bits` is big endian [INFO] [stdout] | ^^^^^^^^^^ method not found in `::BigInteger` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bits.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_bits_be(&self) -> Vec; [INFO] [stdout] | ---------- the method is available for `::BigInteger` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use snarkvm_utilities::ToBits;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bits_be` found for associated type `::BigInteger` in the current scope [INFO] [stdout] --> src/nonnative/allocated_nonnative_field_var.rs:365:68 [INFO] [stdout] | [INFO] [stdout] 365 | let cur_mod_r = ::BigInteger::from_bits_be( [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `::BigInteger` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use snarkvm_utilities::FromBits;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_var.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let surfeit = overhead!(delta.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/allocated_nonnative_field_mul_result_var.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let surfeit = overhead!(self.prod_of_num_of_additions + BaseField::one()) + 1 + 1; [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&TargetField` in the current scope [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:363:59 [INFO] [stdout] | [INFO] [stdout] 363 | Self::Constant(c) => Ok(BitIteratorBE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&TargetField` in the current scope [INFO] [stdout] --> src/nonnative/nonnative_field_var.rs:384:59 [INFO] [stdout] | [INFO] [stdout] 384 | Self::Constant(c) => Ok(BitIteratorLE::new(&c.into_repr()) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for reference `&BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | let limb_repr = limb.into_repr().to_bits_le(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | for b in BitIteratorBE::new(limb_value.into_repr()).skip( [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let surfeit = overhead!(elem.num_of_additions_over_normal_form + BaseField::one()) + 1; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/mod.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | let num_bits = num.into_repr().to_bits_be(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] | [INFO] [stdout] ::: src/nonnative/reduce.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | let overhead_limb = overhead!( [INFO] [stdout] | _________________________________- [INFO] [stdout] 201 | | prod_of_num_of_additions.mul( [INFO] [stdout] 202 | | &BaseField::from_repr(::BigInteger::from( [INFO] [stdout] 203 | | (field_parameters.num_limbs) as u64 [INFO] [stdout] ... | [INFO] [stdout] 206 | | ) [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `overhead` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:253:44 [INFO] [stdout] | [INFO] [stdout] 253 | let mut cur = BaseField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:296:93 [INFO] [stdout] | [INFO] [stdout] 296 | let mut pad_limb_repr: ::BigInteger = BaseField::one().into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_repr` found for type parameter `BaseField` in the current scope [INFO] [stdout] --> src/nonnative/reduce.rs:308:46 [INFO] [stdout] | [INFO] [stdout] 308 | let mut carry_repr = carry_value.into_repr(); [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `to_repr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 130 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9c82d125040a1e27a80576ab4fca5d4a59bef9d4de7271595917f2f54b5d706e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c82d125040a1e27a80576ab4fca5d4a59bef9d4de7271595917f2f54b5d706e", kill_on_drop: false }` [INFO] [stdout] 9c82d125040a1e27a80576ab4fca5d4a59bef9d4de7271595917f2f54b5d706e