[INFO] fetching crate snarkvm-dpc 0.7.2... [INFO] checking snarkvm-dpc-0.7.2 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate snarkvm-dpc 0.7.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate snarkvm-dpc 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-dpc 0.7.2 [INFO] finished tweaking crates.io crate snarkvm-dpc 0.7.2 [INFO] tweaked toml for crates.io crate snarkvm-dpc 0.7.2 written to /workspace/builds/worker-9/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 63a261f21cc0c8629ede11c0b5b7ffcef2bf611a3f9bc7fbd295a014fb173912 [INFO] running `Command { std: "docker" "start" "-a" "63a261f21cc0c8629ede11c0b5b7ffcef2bf611a3f9bc7fbd295a014fb173912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63a261f21cc0c8629ede11c0b5b7ffcef2bf611a3f9bc7fbd295a014fb173912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a261f21cc0c8629ede11c0b5b7ffcef2bf611a3f9bc7fbd295a014fb173912", kill_on_drop: false }` [INFO] [stdout] 63a261f21cc0c8629ede11c0b5b7ffcef2bf611a3f9bc7fbd295a014fb173912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 919d8004221857f6f0cf8a8deb1e20de851ee976a540859214205b27d6be3d51 [INFO] running `Command { std: "docker" "start" "-a" "919d8004221857f6f0cf8a8deb1e20de851ee976a540859214205b27d6be3d51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking snarkvm-profiler v0.7.4 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling curl-sys v0.4.45+curl-7.78.0 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking indexmap v1.7.0 [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.4 [INFO] [stderr] Checking snarkvm-parameters v0.7.4 [INFO] [stderr] Checking snarkvm-polycommit v0.7.4 [INFO] [stderr] Checking snarkvm-marlin v0.7.4 [INFO] [stderr] Checking snarkvm-dpc v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/account/private_key.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{from_bytes_le_to_bits_le, to_bytes, FromBytes, 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/block/block.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/block/pedersen_merkle_tree.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | 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/block/transactions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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/testnet1/mod.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, 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/testnet1/inner_circuit/inner_circuit_gadget.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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/testnet1/outer_circuit/outer_circuit_gadget.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | 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/testnet1/outer_circuit/outer_circuit_verifier_input.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | 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/testnet1/program/noop_program.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use snarkvm_utilities::{to_bytes, FromBytes, 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/testnet1/record/encoded.rs:28:77 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, 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/testnet1/record/encrypted.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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/testnet1/record/record.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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/testnet1/transaction/kernel.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, variable_length_integer::*, FromBytes, 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/testnet1/transaction/transaction.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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/testnet2/mod.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, 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/testnet2/inner_circuit/inner_circuit_gadget.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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/testnet2/outer_circuit/outer_circuit_gadget.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | 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/testnet2/outer_circuit/outer_circuit_verifier_input.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | 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/testnet2/program/noop_program.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | use snarkvm_utilities::{to_bytes, FromBytes, 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/testnet2/record/encoded.rs:28:77 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, 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/testnet2/record/encrypted.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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/testnet2/record/record.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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/testnet2/transaction/kernel.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, variable_length_integer::*, FromBytes, 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/testnet2/transaction/transaction.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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/account/private_key.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | let decryption_key_bytes = to_bytes![commitment]?; [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/account/private_key.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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/block/block.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | serialization.extend(to_bytes![transaction]?) [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/block/pedersen_merkle_tree.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | let root_bytes = to_bytes![src].expect("could not convert merkle root 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/block/transactions.rs:58:74 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|transaction| -> Result, TransactionError> { Ok(to_bytes![transaction]?) }) [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/block/transactions.rs:66:85 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|transaction| -> Result { Ok(hex::encode(to_bytes![transaction]?)) }) [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/testnet1/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1070:48 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1071:48 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1072:48 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1073:49 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [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/testnet1/outer_circuit/outer_circuit_gadget.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet1/outer_circuit/outer_circuit_gadget.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet1/outer_circuit/outer_circuit_verifier_input.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let inner_snark_fe_bytes = to_bytes![inner_snark_fe]?; [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/testnet1/program/noop_program.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet1/program/noop_program.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let program_id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet1/program/noop_program.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet1/program/noop_program.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | proof: to_bytes![proof]?, [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/testnet1/program/noop_program.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet1/program/noop_program.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | proof: to_bytes![proof]?, [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/testnet1/record/encoded.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(to_bytes![output]?) [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/testnet1/record/encoded.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | let serial_number_nonce_bytes = to_bytes![serial_number_nonce.into_affine().to_x_coordinate()]?; [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/testnet1/record/encrypted.rs:131:92 [INFO] [stdout] | [INFO] [stdout] 131 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet1/record/encrypted.rs:170:87 [INFO] [stdout] | [INFO] [stdout] 170 | let plaintext_element = ::EncryptionGroup::read(&to_bytes![element]?[..])?; [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/testnet1/record/encrypted.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = 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/testnet1/record/encrypted.rs:248:67 [INFO] [stdout] | [INFO] [stdout] 248 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet1/record/encrypted.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_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/testnet1/record/encrypted.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | &to_bytes![element]?[..], [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/testnet1/record/encrypted.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | &to_bytes![element_affine.to_x_coordinate()]?[..], [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/testnet1/record/encrypted.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | &to_bytes![element_affine.to_y_coordinate()]?[..], [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/testnet1/record/encrypted.rs:353:92 [INFO] [stdout] | [INFO] [stdout] 353 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet1/record/encrypted.rs:377:67 [INFO] [stdout] | [INFO] [stdout] 377 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet1/record/encrypted.rs:412:67 [INFO] [stdout] | [INFO] [stdout] 412 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet1/record/encrypted.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 473 | FromBytes::read(&to_bytes![ciphertext_element_affine.into_projective()]?[..])?; [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/testnet1/record/record.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | hex::encode(to_bytes![self].expect("serialization to bytes failed")) [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/testnet1/transaction/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pre_image_bytes.extend(&to_bytes![serial_number]?); [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/testnet1/transaction/transaction.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | pre_image_bytes.extend(&to_bytes![commitment]?); [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/testnet1/transaction/transaction.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | let transaction_bytes = to_bytes![self].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/testnet2/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1070:48 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1071:48 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1072:48 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1073:49 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [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/testnet2/outer_circuit/outer_circuit_gadget.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet2/outer_circuit/outer_circuit_gadget.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet2/outer_circuit/outer_circuit_verifier_input.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let inner_snark_fe_bytes = to_bytes![inner_snark_fe]?; [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/testnet2/program/noop_program.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet2/program/noop_program.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let program_id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet2/program/noop_program.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet2/program/noop_program.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | proof: to_bytes![proof]?, [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/testnet2/program/noop_program.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet2/program/noop_program.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | proof: to_bytes![proof]?, [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/testnet2/record/encoded.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(to_bytes![output]?) [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/testnet2/record/encoded.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | let serial_number_nonce_bytes = to_bytes![serial_number_nonce.into_affine().to_x_coordinate()]?; [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/testnet2/record/encrypted.rs:131:92 [INFO] [stdout] | [INFO] [stdout] 131 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet2/record/encrypted.rs:170:87 [INFO] [stdout] | [INFO] [stdout] 170 | let plaintext_element = ::EncryptionGroup::read(&to_bytes![element]?[..])?; [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/testnet2/record/encrypted.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = 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/testnet2/record/encrypted.rs:248:67 [INFO] [stdout] | [INFO] [stdout] 248 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet2/record/encrypted.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_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/testnet2/record/encrypted.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | &to_bytes![element]?[..], [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/testnet2/record/encrypted.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | &to_bytes![element_affine.to_x_coordinate()]?[..], [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/testnet2/record/encrypted.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | &to_bytes![element_affine.to_y_coordinate()]?[..], [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/testnet2/record/encrypted.rs:353:92 [INFO] [stdout] | [INFO] [stdout] 353 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet2/record/encrypted.rs:377:67 [INFO] [stdout] | [INFO] [stdout] 377 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet2/record/encrypted.rs:412:67 [INFO] [stdout] | [INFO] [stdout] 412 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet2/record/encrypted.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 473 | FromBytes::read(&to_bytes![ciphertext_element_affine.into_projective()]?[..])?; [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/testnet2/record/record.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | to_bytes![C::Output::default()].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/testnet2/record/record.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | hex::encode(to_bytes![self].expect("serialization to bytes failed")) [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/testnet2/transaction/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pre_image_bytes.extend(&to_bytes![serial_number]?); [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/testnet2/transaction/transaction.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | pre_image_bytes.extend(&to_bytes![commitment]?); [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/testnet2/transaction/transaction.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | let transaction_bytes = to_bytes![self].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/testnet2/mod.rs:788:42 [INFO] [stdout] | [INFO] [stdout] 788 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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/testnet2/mod.rs:717:39 [INFO] [stdout] | [INFO] [stdout] 717 | let signature_message = match 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/testnet2/mod.rs:598:96 [INFO] [stdout] | [INFO] [stdout] 598 | ::hash(&self.system_parameters.inner_circuit_id_crh, &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/testnet2/mod.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | let signature_message = 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/testnet2/mod.rs:354:31 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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/testnet2/mod.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | let input_bytes = 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/testnet2/mod.rs:293:53 [INFO] [stdout] | [INFO] [stdout] 293 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet2/transaction/kernel.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | hex::encode(to_bytes![self].expect("couldn't serialize 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/testnet2/record/record.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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/testnet2/record/record.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | let input = FromBytes::read(to_bytes!(self.serial_number_nonce)?.as_slice())?; [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/testnet2/record/record.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | let seed = FromBytes::read(to_bytes!(&private_key.sk_prf)?.as_slice())?; [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/testnet2/record/record.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = 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/testnet2/record/record.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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/testnet2/record/encoded.rs:269:52 [INFO] [stdout] | [INFO] [stdout] 269 | let value_bits = from_bytes_le_to_bits_le(&to_bytes![value]?).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/testnet2/record/encoded.rs:164:63 [INFO] [stdout] | [INFO] [stdout] 164 | encode_to_group::(&to_bytes![commitment_randomness]?[..])?; [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/testnet2/record/encoded.rs:145:74 [INFO] [stdout] | [INFO] [stdout] 145 | ::Affine::from_random_bytes(&to_bytes![serial_number_nonce]?.to_vec()) [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/testnet2/record/encoded.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | let payload_bytes = to_bytes![payload]?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | &to_bytes![affine.into_projective()]?[..], [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1048:85 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &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/testnet1/mod.rs:761:42 [INFO] [stdout] | [INFO] [stdout] 761 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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/testnet1/mod.rs:690:39 [INFO] [stdout] | [INFO] [stdout] 690 | let signature_message = match 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/testnet1/mod.rs:571:96 [INFO] [stdout] | [INFO] [stdout] 571 | ::hash(&self.system_parameters.inner_circuit_id_crh, &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/testnet1/mod.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | let signature_message = 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/testnet1/mod.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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/testnet1/mod.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | let input_bytes = 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/testnet1/mod.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 266 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet1/transaction/kernel.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | hex::encode(to_bytes![self].expect("couldn't serialize 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/testnet1/record/record.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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/testnet1/record/record.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | let input = FromBytes::read(to_bytes!(self.serial_number_nonce)?.as_slice())?; [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/testnet1/record/record.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | let seed = FromBytes::read(to_bytes!(&private_key.sk_prf)?.as_slice())?; [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/testnet1/record/record.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = 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/testnet1/record/record.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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/testnet1/record/record.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | to_bytes![C::Output::default()].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/testnet1/record/encoded.rs:268:52 [INFO] [stdout] | [INFO] [stdout] 268 | let value_bits = from_bytes_le_to_bits_le(&to_bytes![value]?).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/testnet1/record/encoded.rs:163:63 [INFO] [stdout] | [INFO] [stdout] 163 | encode_to_group::(&to_bytes![commitment_randomness]?[..])?; [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/testnet1/record/encoded.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | ::Affine::from_random_bytes(&to_bytes![serial_number_nonce]?.to_vec()) [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/testnet1/record/encoded.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | let payload_bytes = to_bytes![payload]?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | &to_bytes![affine.into_projective()]?[..], [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1048:85 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &to_bytes![ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/account/address.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 86 | | self.encryption_key.write(&mut writer) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/account/address.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 94 | | let encryption_key: ::PublicKey = FromBytes::read(&mut reader)?; [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | Ok(Self { encryption_key }) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/account/view_key.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 65 | | self.decryption_key.write(&mut writer) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/account/view_key.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 72 | | Ok(Self { [INFO] [stdout] 73 | | decryption_key: ::PrivateKey::read(&mut reader)?, [INFO] [stdout] 74 | | }) [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/amount.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 114 | | self.0.write(&mut writer) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/amount.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 121 | | let amount: i64 = FromBytes::read(&mut reader)?; [INFO] [stdout] 122 | | [INFO] [stdout] 123 | | Ok(Self(amount)) [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/block.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 57 | | self.header.write(&mut writer)?; [INFO] [stdout] 58 | | self.transactions.write(&mut writer) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/block.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 65 | | let header: BlockHeader = FromBytes::read(&mut reader)?; [INFO] [stdout] 66 | | let transactions: Transactions = FromBytes::read(&mut reader)?; [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | Ok(Self { header, transactions }) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/block_header.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 166 | | self.previous_block_hash.0.write(&mut writer)?; [INFO] [stdout] 167 | | self.merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] 168 | | self.pedersen_merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] ... | [INFO] [stdout] 172 | | self.nonce.to_le_bytes().write(&mut writer) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/block_header.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 179 | | let previous_block_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] 180 | | let merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] 181 | | let pedersen_merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] ... | [INFO] [stdout] 195 | | }) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/network.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 58 | | self.id().write(&mut writer) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/network.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 65 | | let network_id: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] 66 | | Ok(Self::from_id(network_id)) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/posw.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 116 | | (&self.0[..]).write(&mut writer) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/posw.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 123 | | let mut proof = [0; PROOF_SIZE]; [INFO] [stdout] 124 | | reader.read_exact(&mut proof)?; [INFO] [stdout] 125 | | Ok(ProofOfSuccinctWork(proof)) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/transactions.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 122 | | variable_length_integer(self.0.len() as u64).write(&mut writer)?; [INFO] [stdout] 123 | | [INFO] [stdout] 124 | | for transaction in &self.0 { [INFO] [stdout] ... | [INFO] [stdout] 128 | | Ok(()) [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/transactions.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 135 | | let num_transactions = read_variable_length_integer(&mut reader)?; [INFO] [stdout] 136 | | let mut transactions = Vec::with_capacity(num_transactions); [INFO] [stdout] 137 | | for _ in 0..num_transactions { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(Self(transactions)) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 405 | | let mut ciphertext_selectors = Vec::with_capacity(self.encrypted_elements.len() + 1); [INFO] [stdout] 406 | | [INFO] [stdout] 407 | | // Write the encrypted record [INFO] [stdout] ... | [INFO] [stdout] 435 | | Ok(()) [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 442 | | // Read the ciphertext x coordinates [INFO] [stdout] 443 | | let num_ciphertext_elements = read_variable_length_integer(&mut reader)?; [INFO] [stdout] 444 | | let mut ciphertext_x_coordinates = Vec::with_capacity(num_ciphertext_elements); [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/record/payload.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 46 | | self.0.write(&mut writer) [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/record/payload.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 53 | | Ok(Self(FromBytes::read(&mut reader)?)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/record/record.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 268 | | self.owner.write(&mut writer)?; [INFO] [stdout] 269 | | self.is_dummy.write(&mut writer)?; [INFO] [stdout] 270 | | self.value.write(&mut writer)?; [INFO] [stdout] ... | [INFO] [stdout] 281 | | self.commitment_randomness.write(&mut writer) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/record/record.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 288 | | let owner: Address = FromBytes::read(&mut reader)?; [INFO] [stdout] 289 | | let is_dummy: bool = FromBytes::read(&mut reader)?; [INFO] [stdout] 290 | | let value: u64 = FromBytes::read(&mut reader)?; [INFO] [stdout] ... | [INFO] [stdout] 327 | | }) [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 89 | | // Write old record components [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | for old_record in &self.old_records { [INFO] [stdout] ... | [INFO] [stdout] 143 | | self.network_id.write(&mut writer) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 150 | | let system_parameters = SystemParameters::::load().expect("Could not load system parameters"); [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | // Read old record components [INFO] [stdout] ... | [INFO] [stdout] 261 | | }) [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 215 | | for old_serial_number in &self.old_serial_numbers { [INFO] [stdout] 216 | | CanonicalSerialize::serialize(old_serial_number, &mut writer).unwrap(); [INFO] [stdout] 217 | | } [INFO] [stdout] ... | [INFO] [stdout] 242 | | Ok(()) [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 249 | | // Read the old serial numbers [INFO] [stdout] 250 | | let num_old_serial_numbers = C::NUM_INPUT_RECORDS; [INFO] [stdout] 251 | | let mut old_serial_numbers = Vec::with_capacity(num_old_serial_numbers); [INFO] [stdout] ... | [INFO] [stdout] 309 | | }) [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 405 | | let mut ciphertext_selectors = Vec::with_capacity(self.encrypted_elements.len() + 1); [INFO] [stdout] 406 | | [INFO] [stdout] 407 | | // Write the encrypted record [INFO] [stdout] ... | [INFO] [stdout] 435 | | Ok(()) [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 442 | | // Read the ciphertext x coordinates [INFO] [stdout] 443 | | let num_ciphertext_elements = read_variable_length_integer(&mut reader)?; [INFO] [stdout] 444 | | let mut ciphertext_x_coordinates = Vec::with_capacity(num_ciphertext_elements); [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/record/payload.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 46 | | self.0.write(&mut writer) [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/record/payload.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 53 | | Ok(Self(FromBytes::read(&mut reader)?)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/record/record.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 268 | | self.owner.write(&mut writer)?; [INFO] [stdout] 269 | | self.is_dummy.write(&mut writer)?; [INFO] [stdout] 270 | | self.value.write(&mut writer)?; [INFO] [stdout] ... | [INFO] [stdout] 281 | | self.commitment_randomness.write(&mut writer) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/record/record.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 288 | | let owner: Address = FromBytes::read(&mut reader)?; [INFO] [stdout] 289 | | let is_dummy: bool = FromBytes::read(&mut reader)?; [INFO] [stdout] 290 | | let value: u64 = FromBytes::read(&mut reader)?; [INFO] [stdout] ... | [INFO] [stdout] 327 | | }) [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 89 | | // Write old record components [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | for old_record in &self.old_records { [INFO] [stdout] ... | [INFO] [stdout] 143 | | self.network_id.write(&mut writer) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 150 | | let system_parameters = SystemParameters::::load().expect("Could not load system parameters"); [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | // Read old record components [INFO] [stdout] ... | [INFO] [stdout] 261 | | }) [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 215 | | for old_serial_number in &self.old_serial_numbers { [INFO] [stdout] 216 | | CanonicalSerialize::serialize(old_serial_number, &mut writer).unwrap(); [INFO] [stdout] 217 | | } [INFO] [stdout] ... | [INFO] [stdout] 242 | | Ok(()) [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 249 | | // Read the old serial numbers [INFO] [stdout] 250 | | let num_old_serial_numbers = C::NUM_INPUT_RECORDS; [INFO] [stdout] 251 | | let mut old_serial_numbers = Vec::with_capacity(num_old_serial_numbers); [INFO] [stdout] ... | [INFO] [stdout] 309 | | }) [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/account/private_key.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{from_bytes_le_to_bits_le, to_bytes, FromBytes, 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/block/block.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/block/pedersen_merkle_tree.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | 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/block/transactions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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/testnet1/mod.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, 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/testnet1/inner_circuit/inner_circuit_gadget.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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/testnet1/outer_circuit/outer_circuit_gadget.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | 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/testnet1/outer_circuit/outer_circuit_verifier_input.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | 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/testnet1/program/noop_program.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | use snarkvm_utilities::{to_bytes, FromBytes, 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/testnet1/record/encoded.rs:28:77 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, 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/testnet1/record/encrypted.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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/testnet1/record/record.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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/testnet1/transaction/kernel.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, variable_length_integer::*, FromBytes, 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/testnet1/transaction/transaction.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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/testnet2/mod.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, 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/testnet2/inner_circuit/inner_circuit_gadget.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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/testnet2/outer_circuit/outer_circuit_gadget.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | 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/testnet2/outer_circuit/outer_circuit_verifier_input.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | 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/testnet2/program/noop_program.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | use snarkvm_utilities::{to_bytes, FromBytes, 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/testnet2/record/encoded.rs:28:77 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/block/pedersen_merkle_tree.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | 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:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/mod.rs:36:81 [INFO] [stdout] | [INFO] [stdout] 36 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `AffineCurve` [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use snarkvm_curves::traits::{AffineCurve, Group, MontgomeryParameters, ProjectiveCurve, TwistedEdwardsParameters}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | bytes::{FromBytes, ToBytes}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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/testnet2/record/record.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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/testnet2/transaction/kernel.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | use snarkvm_utilities::{to_bytes, variable_length_integer::*, FromBytes, 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/testnet2/transaction/transaction.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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/account/private_key.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | let decryption_key_bytes = to_bytes![commitment]?; [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/account/private_key.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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/testnet1/outer_circuit/outer_circuit_gadget.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/block/block.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | serialization.extend(to_bytes![transaction]?) [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/block/pedersen_merkle_tree.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | let root_bytes = to_bytes![src].expect("could not convert merkle root 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/block/transactions.rs:58:74 [INFO] [stdout] | [INFO] [stdout] 58 | .map(|transaction| -> Result, TransactionError> { Ok(to_bytes![transaction]?) }) [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/block/transactions.rs:66:85 [INFO] [stdout] | [INFO] [stdout] 66 | .map(|transaction| -> Result { Ok(hex::encode(to_bytes![transaction]?)) }) [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/testnet1/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1070:48 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [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/testnet1/outer_circuit/outer_circuit_verifier_input.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1071:48 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1072:48 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1073:49 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [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/testnet1/outer_circuit/outer_circuit_gadget.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet1/outer_circuit/outer_circuit_gadget.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/program/noop_program.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | use snarkvm_utilities::{to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_verifier_input.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let inner_snark_fe_bytes = to_bytes![inner_snark_fe]?; [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/testnet1/program/noop_program.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet1/program/noop_program.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let program_id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet1/program/noop_program.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet1/program/noop_program.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | proof: to_bytes![proof]?, [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/testnet1/program/noop_program.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet1/program/noop_program.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | proof: to_bytes![proof]?, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_fields::PrimeField` [INFO] [stdout] --> src/testnet1/record/encoded.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/record/encoded.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(to_bytes![output]?) [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/testnet1/record/encoded.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | let serial_number_nonce_bytes = to_bytes![serial_number_nonce.into_affine().to_x_coordinate()]?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/record/encoded.rs:28:110 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PRF` [INFO] [stdout] --> src/testnet1/record/record.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | use snarkvm_algorithms::traits::{CommitmentScheme, SignatureScheme, CRH, PRF}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:131:92 [INFO] [stdout] | [INFO] [stdout] 131 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet1/record/encrypted.rs:170:87 [INFO] [stdout] | [INFO] [stdout] 170 | let plaintext_element = ::EncryptionGroup::read(&to_bytes![element]?[..])?; [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/testnet1/record/encrypted.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = 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/testnet1/record/encrypted.rs:248:67 [INFO] [stdout] | [INFO] [stdout] 248 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet1/record/encrypted.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_bytes]?)?) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/mod.rs:44:81 [INFO] [stdout] | [INFO] [stdout] 44 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | &to_bytes![element]?[..], [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/testnet1/record/encrypted.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | &to_bytes![element_affine.to_x_coordinate()]?[..], [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/testnet1/record/encrypted.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | &to_bytes![element_affine.to_y_coordinate()]?[..], [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/testnet1/record/encrypted.rs:353:92 [INFO] [stdout] | [INFO] [stdout] 353 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet1/record/encrypted.rs:377:67 [INFO] [stdout] | [INFO] [stdout] 377 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet1/record/encrypted.rs:412:67 [INFO] [stdout] | [INFO] [stdout] 412 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet1/record/encrypted.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 473 | FromBytes::read(&to_bytes![ciphertext_element_affine.into_projective()]?[..])?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `AffineCurve` [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use snarkvm_curves::traits::{AffineCurve, Group, MontgomeryParameters, ProjectiveCurve, TwistedEdwardsParameters}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/record/record.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | hex::encode(to_bytes![self].expect("serialization to bytes failed")) [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/testnet1/transaction/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pre_image_bytes.extend(&to_bytes![serial_number]?); [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/testnet1/transaction/transaction.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | pre_image_bytes.extend(&to_bytes![commitment]?); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | bytes::{FromBytes, ToBytes}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | let transaction_bytes = to_bytes![self].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/testnet2/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1070:48 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1071:48 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1072:48 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1073:49 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [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/testnet2/outer_circuit/outer_circuit_gadget.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet2/outer_circuit/outer_circuit_gadget.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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/testnet2/outer_circuit/outer_circuit_verifier_input.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let inner_snark_fe_bytes = to_bytes![inner_snark_fe]?; [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/testnet2/program/noop_program.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet2/program/noop_program.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let program_id = to_bytes![::ProgramVerificationKeyCRH::hash( [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/testnet2/program/noop_program.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet2/program/noop_program.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | proof: to_bytes![proof]?, [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/testnet2/program/noop_program.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | verifying_key: to_bytes![self.verifying_key]?, [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/testnet2/program/noop_program.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | proof: to_bytes![proof]?, [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/testnet2/outer_circuit/outer_circuit_gadget.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_verifier_input.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/program/noop_program.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | use snarkvm_utilities::{to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_fields::PrimeField` [INFO] [stdout] --> src/testnet2/record/encoded.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/record/encoded.rs:28:110 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet2/record/encoded.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(to_bytes![output]?) [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/testnet2/record/encoded.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | let serial_number_nonce_bytes = to_bytes![serial_number_nonce.into_affine().to_x_coordinate()]?; [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/testnet2/record/encrypted.rs:131:92 [INFO] [stdout] | [INFO] [stdout] 131 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet2/record/encrypted.rs:170:87 [INFO] [stdout] | [INFO] [stdout] 170 | let plaintext_element = ::EncryptionGroup::read(&to_bytes![element]?[..])?; [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/testnet2/record/encrypted.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = 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/testnet2/record/encrypted.rs:248:67 [INFO] [stdout] | [INFO] [stdout] 248 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet2/record/encrypted.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_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/testnet2/record/encrypted.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | &to_bytes![element]?[..], [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/testnet2/record/encrypted.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | &to_bytes![element_affine.to_x_coordinate()]?[..], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PRF` [INFO] [stdout] --> src/testnet2/record/record.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | use snarkvm_algorithms::traits::{CommitmentScheme, SignatureScheme, CRH, PRF}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | &to_bytes![element_affine.to_y_coordinate()]?[..], [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/testnet2/record/encrypted.rs:353:92 [INFO] [stdout] | [INFO] [stdout] 353 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [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/testnet2/record/encrypted.rs:377:67 [INFO] [stdout] | [INFO] [stdout] 377 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet2/record/encrypted.rs:412:67 [INFO] [stdout] | [INFO] [stdout] 412 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [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/testnet2/record/encrypted.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 473 | FromBytes::read(&to_bytes![ciphertext_element_affine.into_projective()]?[..])?; [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/testnet2/record/record.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | to_bytes![C::Output::default()].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/testnet2/record/record.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | hex::encode(to_bytes![self].expect("serialization to bytes failed")) [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/testnet2/transaction/transaction.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | pre_image_bytes.extend(&to_bytes![serial_number]?); [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/testnet2/transaction/transaction.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | pre_image_bytes.extend(&to_bytes![commitment]?); [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/testnet2/transaction/transaction.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | let transaction_bytes = to_bytes![self].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/testnet2/mod.rs:788:42 [INFO] [stdout] | [INFO] [stdout] 788 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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/testnet2/mod.rs:717:39 [INFO] [stdout] | [INFO] [stdout] 717 | let signature_message = match 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/testnet2/mod.rs:598:96 [INFO] [stdout] | [INFO] [stdout] 598 | ::hash(&self.system_parameters.inner_circuit_id_crh, &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/testnet2/mod.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | let signature_message = 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/testnet2/mod.rs:354:31 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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/testnet2/mod.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | let input_bytes = 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/testnet2/mod.rs:293:53 [INFO] [stdout] | [INFO] [stdout] 293 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet2/transaction/kernel.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | hex::encode(to_bytes![self].expect("couldn't serialize 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/testnet2/record/record.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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/testnet2/record/record.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | let input = FromBytes::read(to_bytes!(self.serial_number_nonce)?.as_slice())?; [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/testnet2/record/record.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | let seed = FromBytes::read(to_bytes!(&private_key.sk_prf)?.as_slice())?; [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/testnet2/record/record.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = 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/testnet2/record/record.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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/testnet2/record/encoded.rs:269:52 [INFO] [stdout] | [INFO] [stdout] 269 | let value_bits = from_bytes_le_to_bits_le(&to_bytes![value]?).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/testnet2/record/encoded.rs:164:63 [INFO] [stdout] | [INFO] [stdout] 164 | encode_to_group::(&to_bytes![commitment_randomness]?[..])?; [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/testnet2/record/encoded.rs:145:74 [INFO] [stdout] | [INFO] [stdout] 145 | ::Affine::from_random_bytes(&to_bytes![serial_number_nonce]?.to_vec()) [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/testnet2/record/encoded.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | let payload_bytes = to_bytes![payload]?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | &to_bytes![affine.into_projective()]?[..], [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/testnet2/inner_circuit/inner_circuit_gadget.rs:1048:85 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &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/testnet1/mod.rs:761:42 [INFO] [stdout] | [INFO] [stdout] 761 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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/testnet1/mod.rs:690:39 [INFO] [stdout] | [INFO] [stdout] 690 | let signature_message = match 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/testnet1/mod.rs:571:96 [INFO] [stdout] | [INFO] [stdout] 571 | ::hash(&self.system_parameters.inner_circuit_id_crh, &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/testnet1/mod.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | let signature_message = 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/testnet1/mod.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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/testnet1/mod.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | let input_bytes = 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/testnet1/mod.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 266 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet1/transaction/kernel.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | hex::encode(to_bytes![self].expect("couldn't serialize 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/testnet1/record/record.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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/testnet1/record/record.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 202 | let input = FromBytes::read(to_bytes!(self.serial_number_nonce)?.as_slice())?; [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/testnet1/record/record.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | let seed = FromBytes::read(to_bytes!(&private_key.sk_prf)?.as_slice())?; [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/testnet1/record/record.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = 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/testnet1/record/record.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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/testnet1/record/record.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | to_bytes![C::Output::default()].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/testnet1/record/encoded.rs:268:52 [INFO] [stdout] | [INFO] [stdout] 268 | let value_bits = from_bytes_le_to_bits_le(&to_bytes![value]?).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/testnet1/record/encoded.rs:163:63 [INFO] [stdout] | [INFO] [stdout] 163 | encode_to_group::(&to_bytes![commitment_randomness]?[..])?; [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/testnet1/record/encoded.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | ::Affine::from_random_bytes(&to_bytes![serial_number_nonce]?.to_vec()) [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/testnet1/record/encoded.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | let payload_bytes = to_bytes![payload]?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | &to_bytes![affine.into_projective()]?[..], [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/testnet1/inner_circuit/inner_circuit_gadget.rs:1048:85 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &to_bytes![ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/account/address.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 86 | | self.encryption_key.write(&mut writer) [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/account/address.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 94 | | let encryption_key: ::PublicKey = FromBytes::read(&mut reader)?; [INFO] [stdout] 95 | | [INFO] [stdout] 96 | | Ok(Self { encryption_key }) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/account/view_key.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 65 | | self.decryption_key.write(&mut writer) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/account/view_key.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 72 | | Ok(Self { [INFO] [stdout] 73 | | decryption_key: ::PrivateKey::read(&mut reader)?, [INFO] [stdout] 74 | | }) [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/amount.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 114 | | self.0.write(&mut writer) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/amount.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 121 | | let amount: i64 = FromBytes::read(&mut reader)?; [INFO] [stdout] 122 | | [INFO] [stdout] 123 | | Ok(Self(amount)) [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/block.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 57 | | self.header.write(&mut writer)?; [INFO] [stdout] 58 | | self.transactions.write(&mut writer) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/block.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 65 | | let header: BlockHeader = FromBytes::read(&mut reader)?; [INFO] [stdout] 66 | | let transactions: Transactions = FromBytes::read(&mut reader)?; [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | Ok(Self { header, transactions }) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/block_header.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 166 | | self.previous_block_hash.0.write(&mut writer)?; [INFO] [stdout] 167 | | self.merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] 168 | | self.pedersen_merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] ... | [INFO] [stdout] 172 | | self.nonce.to_le_bytes().write(&mut writer) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/block_header.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 179 | | let previous_block_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] 180 | | let merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] 181 | | let pedersen_merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] ... | [INFO] [stdout] 195 | | }) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/network.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 58 | | self.id().write(&mut writer) [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/network.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 65 | | let network_id: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] 66 | | Ok(Self::from_id(network_id)) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/posw.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 116 | | (&self.0[..]).write(&mut writer) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/posw.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 123 | | let mut proof = [0; PROOF_SIZE]; [INFO] [stdout] 124 | | reader.read_exact(&mut proof)?; [INFO] [stdout] 125 | | Ok(ProofOfSuccinctWork(proof)) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/block/transactions.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 122 | | variable_length_integer(self.0.len() as u64).write(&mut writer)?; [INFO] [stdout] 123 | | [INFO] [stdout] 124 | | for transaction in &self.0 { [INFO] [stdout] ... | [INFO] [stdout] 128 | | Ok(()) [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/block/transactions.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 135 | | let num_transactions = read_variable_length_integer(&mut reader)?; [INFO] [stdout] 136 | | let mut transactions = Vec::with_capacity(num_transactions); [INFO] [stdout] 137 | | for _ in 0..num_transactions { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(Self(transactions)) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 405 | | let mut ciphertext_selectors = Vec::with_capacity(self.encrypted_elements.len() + 1); [INFO] [stdout] 406 | | [INFO] [stdout] 407 | | // Write the encrypted record [INFO] [stdout] ... | [INFO] [stdout] 435 | | Ok(()) [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 442 | | // Read the ciphertext x coordinates [INFO] [stdout] 443 | | let num_ciphertext_elements = read_variable_length_integer(&mut reader)?; [INFO] [stdout] 444 | | let mut ciphertext_x_coordinates = Vec::with_capacity(num_ciphertext_elements); [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/record/payload.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 46 | | self.0.write(&mut writer) [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/record/payload.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 53 | | Ok(Self(FromBytes::read(&mut reader)?)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/record/record.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 268 | | self.owner.write(&mut writer)?; [INFO] [stdout] 269 | | self.is_dummy.write(&mut writer)?; [INFO] [stdout] 270 | | self.value.write(&mut writer)?; [INFO] [stdout] ... | [INFO] [stdout] 281 | | self.commitment_randomness.write(&mut writer) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/record/record.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 288 | | let owner: Address = FromBytes::read(&mut reader)?; [INFO] [stdout] 289 | | let is_dummy: bool = FromBytes::read(&mut reader)?; [INFO] [stdout] 290 | | let value: u64 = FromBytes::read(&mut reader)?; [INFO] [stdout] ... | [INFO] [stdout] 327 | | }) [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 89 | | // Write old record components [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | for old_record in &self.old_records { [INFO] [stdout] ... | [INFO] [stdout] 143 | | self.network_id.write(&mut writer) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 150 | | let system_parameters = SystemParameters::::load().expect("Could not load system parameters"); [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | // Read old record components [INFO] [stdout] ... | [INFO] [stdout] 261 | | }) [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 215 | | for old_serial_number in &self.old_serial_numbers { [INFO] [stdout] 216 | | CanonicalSerialize::serialize(old_serial_number, &mut writer).unwrap(); [INFO] [stdout] 217 | | } [INFO] [stdout] ... | [INFO] [stdout] 242 | | Ok(()) [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 249 | | // Read the old serial numbers [INFO] [stdout] 250 | | let num_old_serial_numbers = C::NUM_INPUT_RECORDS; [INFO] [stdout] 251 | | let mut old_serial_numbers = Vec::with_capacity(num_old_serial_numbers); [INFO] [stdout] ... | [INFO] [stdout] 309 | | }) [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 405 | | let mut ciphertext_selectors = Vec::with_capacity(self.encrypted_elements.len() + 1); [INFO] [stdout] 406 | | [INFO] [stdout] 407 | | // Write the encrypted record [INFO] [stdout] ... | [INFO] [stdout] 435 | | Ok(()) [INFO] [stdout] 436 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 442 | | // Read the ciphertext x coordinates [INFO] [stdout] 443 | | let num_ciphertext_elements = read_variable_length_integer(&mut reader)?; [INFO] [stdout] 444 | | let mut ciphertext_x_coordinates = Vec::with_capacity(num_ciphertext_elements); [INFO] [stdout] ... | [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/record/payload.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 46 | | self.0.write(&mut writer) [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/record/payload.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 53 | | Ok(Self(FromBytes::read(&mut reader)?)) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/record/record.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 268 | | self.owner.write(&mut writer)?; [INFO] [stdout] 269 | | self.is_dummy.write(&mut writer)?; [INFO] [stdout] 270 | | self.value.write(&mut writer)?; [INFO] [stdout] ... | [INFO] [stdout] 281 | | self.commitment_randomness.write(&mut writer) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/record/record.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 288 | | let owner: Address = FromBytes::read(&mut reader)?; [INFO] [stdout] 289 | | let is_dummy: bool = FromBytes::read(&mut reader)?; [INFO] [stdout] 290 | | let value: u64 = FromBytes::read(&mut reader)?; [INFO] [stdout] ... | [INFO] [stdout] 327 | | }) [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 89 | | // Write old record components [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | for old_record in &self.old_records { [INFO] [stdout] ... | [INFO] [stdout] 143 | | self.network_id.write(&mut writer) [INFO] [stdout] 144 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 150 | | let system_parameters = SystemParameters::::load().expect("Could not load system parameters"); [INFO] [stdout] 151 | | [INFO] [stdout] 152 | | // Read old record components [INFO] [stdout] ... | [INFO] [stdout] 261 | | }) [INFO] [stdout] 262 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `write` is not a member of trait `ToBytes` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] 215 | | for old_serial_number in &self.old_serial_numbers { [INFO] [stdout] 216 | | CanonicalSerialize::serialize(old_serial_number, &mut writer).unwrap(); [INFO] [stdout] 217 | | } [INFO] [stdout] ... | [INFO] [stdout] 242 | | Ok(()) [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ not a member of trait `ToBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `read` is not a member of trait `FromBytes` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / fn read(mut reader: R) -> IoResult { [INFO] [stdout] 249 | | // Read the old serial numbers [INFO] [stdout] 250 | | let num_old_serial_numbers = C::NUM_INPUT_RECORDS; [INFO] [stdout] 251 | | let mut old_serial_numbers = Vec::with_capacity(num_old_serial_numbers); [INFO] [stdout] ... | [INFO] [stdout] 309 | | }) [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____^ not a member of trait `FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/block/pedersen_merkle_tree.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | 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:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/mod.rs:36:81 [INFO] [stdout] | [INFO] [stdout] 36 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `AffineCurve` [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use snarkvm_curves::traits::{AffineCurve, Group, MontgomeryParameters, ProjectiveCurve, TwistedEdwardsParameters}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | bytes::{FromBytes, ToBytes}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_gadget.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_verifier_input.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/program/noop_program.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | use snarkvm_utilities::{to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_fields::PrimeField` [INFO] [stdout] --> src/testnet1/record/encoded.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet1/record/encoded.rs:28:110 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PRF` [INFO] [stdout] --> src/testnet1/record/record.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | use snarkvm_algorithms::traits::{CommitmentScheme, SignatureScheme, CRH, PRF}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/mod.rs:44:81 [INFO] [stdout] | [INFO] [stdout] 44 | use snarkvm_utilities::{has_duplicates, rand::UniformRand, to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `AffineCurve` [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use snarkvm_curves::traits::{AffineCurve, Group, MontgomeryParameters, ProjectiveCurve, TwistedEdwardsParameters}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | bytes::{FromBytes, ToBytes}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_gadget.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `bytes::ToBytes` [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_verifier_input.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use snarkvm_utilities::{bytes::ToBytes, to_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/program/noop_program.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | use snarkvm_utilities::{to_bytes, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `snarkvm_fields::PrimeField` [INFO] [stdout] --> src/testnet2/record/encoded.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `ToBytes` [INFO] [stdout] --> src/testnet2/record/encoded.rs:28:110 [INFO] [stdout] | [INFO] [stdout] 28 | use snarkvm_utilities::{from_bits_le_to_bytes_le, from_bytes_le_to_bits_le, to_bytes, BigInteger, FromBytes, ToBytes}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `PRF` [INFO] [stdout] --> src/testnet2/record/record.rs:24:74 [INFO] [stdout] | [INFO] [stdout] 24 | use snarkvm_algorithms::traits::{CommitmentScheme, SignatureScheme, CRH, PRF}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/account/address.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | impl ToBytes for Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/account/address.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | impl FromBytes for Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/account/view_key.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | impl ToBytes for ViewKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/account/view_key.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl FromBytes for ViewKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/amount.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | impl ToBytes for AleoAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/amount.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | impl FromBytes for AleoAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/block.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | impl ToBytes for Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/block.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | impl FromBytes for Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/block_header.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | impl ToBytes for BlockHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/block_header.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | impl FromBytes for BlockHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/network.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl ToBytes for Network { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/network.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | impl FromBytes for Network { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/posw.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl ToBytes for ProofOfSuccinctWork { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/posw.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | impl FromBytes for ProofOfSuccinctWork { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/transactions.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/transactions.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | impl FromBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 402 | impl ToBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:439:1 [INFO] [stdout] | [INFO] [stdout] 439 | impl FromBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/record/payload.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl ToBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/record/payload.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl FromBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/record/record.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | impl ToBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/record/record.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | impl FromBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl ToBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl FromBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | impl ToBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | impl FromBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 402 | impl ToBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:439:1 [INFO] [stdout] | [INFO] [stdout] 439 | impl FromBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/record/payload.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl ToBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/record/payload.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl FromBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/record/record.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | impl ToBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/record/record.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | impl FromBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl ToBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl FromBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | impl ToBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | impl FromBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/account/address.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | impl ToBytes for Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/account/address.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | impl FromBytes for Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/account/view_key.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | impl ToBytes for ViewKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/account/view_key.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl FromBytes for ViewKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/amount.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | impl ToBytes for AleoAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/amount.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | impl FromBytes for AleoAmount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/block.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | impl ToBytes for Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/block.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | impl FromBytes for Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/block_header.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | impl ToBytes for BlockHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/block_header.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | impl FromBytes for BlockHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/network.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl ToBytes for Network { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/network.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | impl FromBytes for Network { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/posw.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | impl ToBytes for ProofOfSuccinctWork { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/posw.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | impl FromBytes for ProofOfSuccinctWork { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/block/transactions.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/block/transactions.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | impl FromBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 402 | impl ToBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/record/encrypted.rs:439:1 [INFO] [stdout] | [INFO] [stdout] 439 | impl FromBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/record/payload.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl ToBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/record/payload.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl FromBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/record/record.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | impl ToBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/record/record.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | impl FromBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl ToBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl FromBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | impl ToBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | impl FromBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 402 | impl ToBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/record/encrypted.rs:439:1 [INFO] [stdout] | [INFO] [stdout] 439 | impl FromBytes for EncryptedRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/record/payload.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl ToBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/record/payload.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl FromBytes for Payload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/record/record.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | impl ToBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/record/record.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | impl FromBytes for Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl ToBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/transaction/kernel.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl FromBytes for TransactionKernel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_le` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | impl ToBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write_le(&self, _: W) -> Result<(), std::io::Error> where W: snarkvm_utilities::Write { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `read_le` [INFO] [stdout] --> src/testnet2/transaction/transaction.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | impl FromBytes for Transaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `read_le` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn read_le(_: R) -> Result where R: snarkvm_utilities::Read { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` in the current scope [INFO] [stdout] --> src/account/address.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | self.encryption_key.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/address.rs:94:96 [INFO] [stdout] | [INFO] [stdout] 94 | let encryption_key: ::PublicKey = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `address::Address`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/address.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Address { [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `address::Address: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(Self::read(&buffer[..])?) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `address::Address` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `address::Address: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut address::Address: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` in the current scope [INFO] [stdout] --> src/account/address.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | .write(&mut address[0..32]) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/private_key.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | let sk_sig = ::PrivateKey::read(&sk_sig_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::PRF as PRF>::Seed` in the current scope [INFO] [stdout] --> src/account/private_key.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let sk_prf = ::Seed::read(&sk_prf_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::PRF as PRF>::Seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/private_key.rs:144:78 [INFO] [stdout] | [INFO] [stdout] 144 | false => ::PrivateKey::read(&decryption_key_bytes[..])?, [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/private_key.rs:187:76 [INFO] [stdout] | [INFO] [stdout] 187 | let sk_sig = ::PrivateKey::read(&sk_sig_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::PRF as PRF>::Seed` in the current scope [INFO] [stdout] --> src/account/private_key.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | let sk_prf = ::Seed::read(&sk_prf_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::PRF as PRF>::Seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/account/private_key.rs:216:76 [INFO] [stdout] | [INFO] [stdout] 216 | let r_pk = ::Randomness::read(&r_pk_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/account/private_key.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/account/private_key.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/account/private_key.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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: 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/account/private_key.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | let counter_bytes: [u8; 2] = FromBytes::read(&mut reader)?; [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/account/private_key.rs:255:41 [INFO] [stdout] | [INFO] [stdout] 255 | let seed: [u8; 32] = FromBytes::read(&mut reader)?; [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 array `[u8; 32]` in the current scope [INFO] [stdout] --> src/account/private_key.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | .write(&mut private_key[11..43]) [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/view_key.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | self.decryption_key.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/view_key.rs:73:85 [INFO] [stdout] | [INFO] [stdout] 73 | decryption_key: ::PrivateKey::read(&mut reader)?, [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/view_key.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | decryption_key: FromBytes::read(&mut reader)?, [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/view_key.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | .write(&mut view_key[7..39]) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` in the current scope [INFO] [stdout] --> src/account/address.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | self.encryption_key.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/address.rs:94:96 [INFO] [stdout] | [INFO] [stdout] 94 | let encryption_key: ::PublicKey = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `i64` in the current scope [INFO] [stdout] --> src/block/amount.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | self.0.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `address::Address`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/address.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Address { [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `address::Address: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(Self::read(&buffer[..])?) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `address::Address` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `address::Address: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut address::Address: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/amount.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | let amount: i64 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` in the current scope [INFO] [stdout] --> src/account/address.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | .write(&mut address[0..32]) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/private_key.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | let sk_sig = ::PrivateKey::read(&sk_sig_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `block::block_header::BlockHeader` in the current scope [INFO] [stdout] --> src/block/block.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | self.header.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `block::block_header::BlockHeader` [INFO] [stdout] | [INFO] [stdout] ::: src/block/block_header.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BlockHeader { [INFO] [stdout] | ---------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::PRF as PRF>::Seed` in the current scope [INFO] [stdout] --> src/account/private_key.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let sk_prf = ::Seed::read(&sk_prf_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::PRF as PRF>::Seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/private_key.rs:144:78 [INFO] [stdout] | [INFO] [stdout] 144 | false => ::PrivateKey::read(&decryption_key_bytes[..])?, [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/private_key.rs:187:76 [INFO] [stdout] | [INFO] [stdout] 187 | let sk_sig = ::PrivateKey::read(&sk_sig_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::PRF as PRF>::Seed` in the current scope [INFO] [stdout] --> src/account/private_key.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | let sk_prf = ::Seed::read(&sk_prf_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::PRF as PRF>::Seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::AccountCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/account/private_key.rs:216:76 [INFO] [stdout] | [INFO] [stdout] 216 | let r_pk = ::Randomness::read(&r_pk_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::AccountCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/account/private_key.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/account/private_key.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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 method named `write` found for struct `transactions::Transactions` in the current scope [INFO] [stdout] --> src/block/block.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | self.transactions.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `transactions::Transactions` [INFO] [stdout] | [INFO] [stdout] ::: src/block/transactions.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Transactions(pub Vec); [INFO] [stdout] | ---------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | let header: BlockHeader = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/account/private_key.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | let commit_input = to_bytes![pk_sig, self.sk_prf]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | let transactions: Transactions = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/account/private_key.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | let counter_bytes: [u8; 2] = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/account/private_key.rs:255:41 [INFO] [stdout] | [INFO] [stdout] 255 | let seed: [u8; 32] = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block.rs:93:56 [INFO] [stdout] | [INFO] [stdout] 93 | let transactions: Transactions = FromBytes::read(transactions_bytes)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/account/private_key.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | .write(&mut private_key[11..43]) [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | self.previous_block_hash.0.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/view_key.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | self.decryption_key.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/view_key.rs:73:85 [INFO] [stdout] | [INFO] [stdout] 73 | decryption_key: ::PrivateKey::read(&mut reader)?, [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/account/view_key.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | decryption_key: FromBytes::read(&mut reader)?, [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | self.merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` in the current scope [INFO] [stdout] --> src/account/view_key.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | .write(&mut view_key[7..39]) [INFO] [stdout] | ^^^^^ method not found in `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::PrivateKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:168:42 [INFO] [stdout] | [INFO] [stdout] 168 | self.pedersen_merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `posw::ProofOfSuccinctWork` in the current scope [INFO] [stdout] --> src/block/block_header.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | self.proof.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `posw::ProofOfSuccinctWork` [INFO] [stdout] | [INFO] [stdout] ::: src/block/posw.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ProofOfSuccinctWork(pub [u8; PROOF_SIZE]); [INFO] [stdout] | ----------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `i64` in the current scope [INFO] [stdout] --> src/block/amount.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | self.0.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/amount.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | let amount: i64 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 8]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | self.time.to_le_bytes().write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 8]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | self.difficulty_target.to_le_bytes().write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `block::block_header::BlockHeader` in the current scope [INFO] [stdout] --> src/block/block.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | self.header.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `block::block_header::BlockHeader` [INFO] [stdout] | [INFO] [stdout] ::: src/block/block_header.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BlockHeader { [INFO] [stdout] | ---------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 4]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | self.nonce.to_le_bytes().write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `[u8; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 32]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | let previous_block_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 32]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 32]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | let merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 32]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 32]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:181:53 [INFO] [stdout] | [INFO] [stdout] 181 | let pedersen_merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 32]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `posw::ProofOfSuccinctWork`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | let proof = ProofOfSuccinctWork::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `posw::ProofOfSuccinctWork` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/block/posw.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ProofOfSuccinctWork(pub [u8; PROOF_SIZE]); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `posw::ProofOfSuccinctWork: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `posw::ProofOfSuccinctWork: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut posw::ProofOfSuccinctWork: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 8]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let time = <[u8; 8]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 8]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 8]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | let difficulty_target = <[u8; 8]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 8]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let nonce = <[u8; 4]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 4]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 4]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `transactions::Transactions` in the current scope [INFO] [stdout] --> src/block/block.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | self.transactions.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `transactions::Transactions` [INFO] [stdout] | [INFO] [stdout] ::: src/block/transactions.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Transactions(pub Vec); [INFO] [stdout] | ---------------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | let header: BlockHeader = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | let transactions: Transactions = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block.rs:93:56 [INFO] [stdout] | [INFO] [stdout] 93 | let transactions: Transactions = FromBytes::read(transactions_bytes)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u8` in the current scope [INFO] [stdout] --> src/block/network.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | self.id().write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/network.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let network_id: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:166:36 [INFO] [stdout] | [INFO] [stdout] 166 | self.previous_block_hash.0.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/block/posw.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | (&self.0[..]).write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | self.merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:168:42 [INFO] [stdout] | [INFO] [stdout] 168 | self.pedersen_merkle_root_hash.0.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `posw::ProofOfSuccinctWork` in the current scope [INFO] [stdout] --> src/block/block_header.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | self.proof.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `posw::ProofOfSuccinctWork` [INFO] [stdout] | [INFO] [stdout] ::: src/block/posw.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ProofOfSuccinctWork(pub [u8; PROOF_SIZE]); [INFO] [stdout] | ----------------------------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 8]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | self.time.to_le_bytes().write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 8]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | self.difficulty_target.to_le_bytes().write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 4]` in the current scope [INFO] [stdout] --> src/block/block_header.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | self.nonce.to_le_bytes().write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `[u8; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 32]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | let previous_block_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 32]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 32]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | let merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 32]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 32]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:181:53 [INFO] [stdout] | [INFO] [stdout] 181 | let pedersen_merkle_root_hash = <[u8; 32]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 32]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 32]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `posw::ProofOfSuccinctWork`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | let proof = ProofOfSuccinctWork::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `posw::ProofOfSuccinctWork` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/block/posw.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ProofOfSuccinctWork(pub [u8; PROOF_SIZE]); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `posw::ProofOfSuccinctWork: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `posw::ProofOfSuccinctWork: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut posw::ProofOfSuccinctWork: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 8]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let time = <[u8; 8]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 8]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 8]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | let difficulty_target = <[u8; 8]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 8]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 8]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for array `[u8; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let nonce = <[u8; 4]>::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `[u8; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `[u8; 4]: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut [u8; 4]: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `block::block_header::BlockHeader` in the current scope [INFO] [stdout] --> src/block/block_header.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BlockHeader { [INFO] [stdout] | ---------------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 221 | block_header.write(&mut serialized2).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `block::block_header::BlockHeader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `block::block_header::BlockHeader`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/block_header.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BlockHeader { [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 222 | let de = BlockHeader::read(&serialized2[..]).unwrap(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `block::block_header::BlockHeader` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `block::block_header::BlockHeader: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut block::block_header::BlockHeader: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u8` in the current scope [INFO] [stdout] --> src/block/network.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | self.id().write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/network.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let network_id: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/block/posw.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | (&self.0[..]).write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block/transactions.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 121 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] 122 | variable_length_integer(self.0.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&T` in the current scope [INFO] [stdout] --> src/block/transactions.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | transaction.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&T` [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 `write`, perhaps you need to restrict type parameter `T` with one of them: [INFO] [stdout] | [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/transactions.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | let transaction: T = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:193:69 [INFO] [stdout] | [INFO] [stdout] 193 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:198:57 [INFO] [stdout] | [INFO] [stdout] 198 | ::VerifyingKey::read(InnerSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:206:69 [INFO] [stdout] | [INFO] [stdout] 206 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:211:57 [INFO] [stdout] | [INFO] [stdout] 211 | ::VerifyingKey::read(OuterSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 266 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet1/mod.rs:266:66 [INFO] [stdout] | [INFO] [stdout] 266 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet1/mod.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | let input_bytes = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | let input_bytes = to_bytes![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 308 | | old_serial_numbers[i], [INFO] [stdout] 309 | | &old_records[i].commitment(), [INFO] [stdout] 310 | | memorandum, [INFO] [stdout] 311 | | C::NETWORK_ID [INFO] [stdout] 312 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | ]?; [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: 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/testnet1/mod.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:327:88 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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: 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/testnet1/mod.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let signature_message = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | let signature_message = to_bytes![ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 467 | | network_id, [INFO] [stdout] 468 | | ledger_digest, [INFO] [stdout] 469 | | old_serial_numbers, [INFO] [stdout] ... | [INFO] [stdout] 474 | | memorandum [INFO] [stdout] 475 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:475:10 [INFO] [stdout] | [INFO] [stdout] 475 | ]?; [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: 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/testnet1/mod.rs:571:95 [INFO] [stdout] | [INFO] [stdout] 571 | ::hash(&self.system_parameters.inner_circuit_id_crh, &to_bytes![ [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 572 | | inner_snark_vk [INFO] [stdout] 573 | | ]?)?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | let signature_message = match to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:700:16 [INFO] [stdout] | [INFO] [stdout] 700 | Ok(message) => message, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | Ok(message) => message, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:762:16 [INFO] [stdout] | [INFO] [stdout] 762 | Ok(bytes) => bytes, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | Ok(bytes) => bytes, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:339:99 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:392:112 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:696:112 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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[E0308]: mismatched types [INFO] [stdout] --> src/block/transactions.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 121 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] 122 | variable_length_integer(self.0.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &to_bytes![ [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 830 | | record.commitment_randomness() [INFO] [stdout] 831 | | ]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:831:18 [INFO] [stdout] | [INFO] [stdout] 831 | ]?)?; [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 method named `write` found for reference `&T` in the current scope [INFO] [stdout] --> src/block/transactions.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | transaction.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&T` [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 `write`, perhaps you need to restrict type parameter `T` with one of them: [INFO] [stdout] | [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | impl ToBytes for Transactions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/block/transactions.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | let transaction: T = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:193:69 [INFO] [stdout] | [INFO] [stdout] 193 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:198:57 [INFO] [stdout] | [INFO] [stdout] 198 | ::VerifyingKey::read(InnerSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:206:69 [INFO] [stdout] | [INFO] [stdout] 206 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet1/mod.rs:211:57 [INFO] [stdout] | [INFO] [stdout] 211 | ::VerifyingKey::read(OuterSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:266:53 [INFO] [stdout] | [INFO] [stdout] 266 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet1/mod.rs:266:66 [INFO] [stdout] | [INFO] [stdout] 266 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet1/mod.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | let input_bytes = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | let input_bytes = to_bytes![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 308 | | old_serial_numbers[i], [INFO] [stdout] 309 | | &old_records[i].commitment(), [INFO] [stdout] 310 | | memorandum, [INFO] [stdout] 311 | | C::NETWORK_ID [INFO] [stdout] 312 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | ]?; [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: 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/testnet1/mod.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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 associated type `<::EncryptionGroup as ProjectiveCurve>::Affine` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1048:79 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::EncryptionGroup as ProjectiveCurve>::Affine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:327:88 [INFO] [stdout] | [INFO] [stdout] 327 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::Text` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1049:93 [INFO] [stdout] | [INFO] [stdout] 1049 | encryption_plaintext.push(::Text::read( [INFO] [stdout] | ^^^^ function or associated item not found in `::Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let signature_message = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | let signature_message = to_bytes![ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 467 | | network_id, [INFO] [stdout] 468 | | ledger_digest, [INFO] [stdout] 469 | | old_serial_numbers, [INFO] [stdout] ... | [INFO] [stdout] 474 | | memorandum [INFO] [stdout] 475 | | ]?; [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 associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1070:42 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:475:10 [INFO] [stdout] | [INFO] [stdout] 475 | ]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1071:42 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1072:42 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:571:95 [INFO] [stdout] | [INFO] [stdout] 571 | ::hash(&self.system_parameters.inner_circuit_id_crh, &to_bytes![ [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 572 | | inner_snark_vk [INFO] [stdout] 573 | | ]?)?; [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 associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1073:43 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | let signature_message = match to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:700:16 [INFO] [stdout] | [INFO] [stdout] 700 | Ok(message) => message, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | Ok(message) => message, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:762:16 [INFO] [stdout] | [INFO] [stdout] 762 | Ok(bytes) => bytes, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/mod.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | Ok(bytes) => bytes, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:339:99 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:392:112 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:696:112 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &to_bytes![ [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 830 | | record.commitment_randomness() [INFO] [stdout] 831 | | ]?)?; [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/testnet1/inner_circuit/inner_circuit_gadget.rs:831:18 [INFO] [stdout] | [INFO] [stdout] 831 | ]?)?; [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 associated type `<::EncryptionGroup as ProjectiveCurve>::Affine` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1048:79 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::EncryptionGroup as ProjectiveCurve>::Affine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::Text` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1049:93 [INFO] [stdout] | [INFO] [stdout] 1049 | encryption_plaintext.push(::Text::read( [INFO] [stdout] | ^^^^ function or associated item not found in `::Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_gadget.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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 associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1070:42 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1071:42 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_gadget.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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 associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1072:42 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet1/inner_circuit/inner_circuit_gadget.rs:1073:43 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [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/testnet1/parameters.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | From::from(FromBytes::read(AccountCommitmentParameters::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | FromBytes::read(AccountEncryptionParameters::load_bytes()?.as_slice())?; [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/testnet1/parameters.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | From::from(FromBytes::read(AccountSignatureParameters::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | From::from(FromBytes::read(EncryptedRecordCRHParameters::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | From::from(FromBytes::read(InnerCircuitIDCRH::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | From::from(FromBytes::read(LocalDataCRHParameters::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:117:83 [INFO] [stdout] | [INFO] [stdout] 117 | let local_data_commitment: C::LocalDataCommitment = From::from(FromBytes::read( [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/testnet1/parameters.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | From::from(FromBytes::read(&[][..])?); [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/testnet1/parameters.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | From::from(FromBytes::read(ProgramVKCRHParameters::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | From::from(FromBytes::read(RecordCommitmentParameters::load_bytes()?.as_slice())?); [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/testnet1/parameters.rs:126:82 [INFO] [stdout] | [INFO] [stdout] 126 | let serial_number_nonce: C::SerialNumberNonceCRH = From::from(FromBytes::read( [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/testnet1/program/noop_program.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | FromBytes::read(NoopProgramSNARKPKParameters::load_bytes()?.as_slice())?; [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 associated type `<::NoopProgramSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet1/program/noop_program.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | ::VerifyingKey::read(NoopProgramSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::NoopProgramSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `

::BaseField` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let input = P::BaseField::read(&bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `

::BaseField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_gadget.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/outer_circuit/outer_circuit_gadget.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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 snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | From::from(FromBytes::read(AccountCommitmentParameters::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | FromBytes::read(AccountEncryptionParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | From::from(FromBytes::read(AccountSignatureParameters::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | From::from(FromBytes::read(EncryptedRecordCRHParameters::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | From::from(FromBytes::read(InnerCircuitIDCRH::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | From::from(FromBytes::read(LocalDataCRHParameters::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:117:83 [INFO] [stdout] | [INFO] [stdout] 117 | let local_data_commitment: C::LocalDataCommitment = From::from(FromBytes::read( [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | From::from(FromBytes::read(&[][..])?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | From::from(FromBytes::read(ProgramVKCRHParameters::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | From::from(FromBytes::read(RecordCommitmentParameters::load_bytes()?.as_slice())?); [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/parameters.rs:126:82 [INFO] [stdout] | [INFO] [stdout] 126 | let serial_number_nonce: C::SerialNumberNonceCRH = From::from(FromBytes::read( [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/program/noop_program.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | FromBytes::read(NoopProgramSNARKPKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::NoopProgramSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet1/program/noop_program.rs:92:57 [INFO] [stdout] | [INFO] [stdout] 92 | ::VerifyingKey::read(NoopProgramSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::NoopProgramSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `

::BaseField` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let input = P::BaseField::read(&bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `

::BaseField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/encoded.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | let payload_bits_count = payload_bytes.len() * 8; [INFO] [stdout] | ^ expected associated type, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::ScalarField` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = help: consider constraining the associated type `::ScalarField` to `{integer}` or calling a method that returns `::ScalarField` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::OuterScalarField` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let birth_program_id_biginteger = Self::OuterField::read(birth_program_id)?.into_repr(); [INFO] [stdout] | ^^^^ function or associated item not found in `::OuterScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::OuterScalarField` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:173:61 [INFO] [stdout] | [INFO] [stdout] 173 | let death_program_id_biginteger = Self::OuterField::read(death_program_id)?.into_repr(); [INFO] [stdout] | ^^^^ function or associated item not found in `::OuterScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encoded.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | let value_bits = from_bytes_le_to_bits_le(&to_bytes![value]?).collect(); [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 associated type `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:308:77 [INFO] [stdout] | [INFO] [stdout] 308 | let serial_number_nonce = ::Output::read(&serial_number_nonce_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:320:92 [INFO] [stdout] | [INFO] [stdout] 320 | let commitment_randomness = ::Randomness::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [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/testnet1/record/encoded.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | FromBytes::read(&from_bits_le_to_bytes_le(&final_element_bits[value_start..value_end])[..])?; [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 struct `testnet1::record::payload::Payload` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | let payload = Payload::read(&from_bits_le_to_bytes_le(&payload_bits)[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `testnet1::record::payload::Payload` [INFO] [stdout] | [INFO] [stdout] ::: src/testnet1/record/payload.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Payload([u8; 32]); [INFO] [stdout] | ----------------------------- function or associated item `read` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] candidate #2: `XofReader` [INFO] [stdout] candidate #3: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:131:86 [INFO] [stdout] | [INFO] [stdout] 131 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:170:81 [INFO] [stdout] | [INFO] [stdout] 170 | let plaintext_element = ::EncryptionGroup::read(&to_bytes![element]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = to_bytes![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 209 | | owner, [INFO] [stdout] 210 | | is_dummy, [INFO] [stdout] 211 | | value, [INFO] [stdout] ... | [INFO] [stdout] 215 | | serial_number_nonce [INFO] [stdout] 216 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | ]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:248:61 [INFO] [stdout] | [INFO] [stdout] 248 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_bytes]?)?) [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:271:66 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_bytes]?)?) [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::EncryptionParameters as ModelParameters>::BaseField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:326:102 [INFO] [stdout] | [INFO] [stdout] 326 | <::EncryptionParameters as ModelParameters>::BaseField::read( [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::EncryptionParameters as ModelParameters>::BaseField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::EncryptionParameters as ModelParameters>::BaseField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:342:102 [INFO] [stdout] | [INFO] [stdout] 342 | let x = <::EncryptionParameters as ModelParameters>::BaseField::read( [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::EncryptionParameters as ModelParameters>::BaseField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::EncryptionParameters as ModelParameters>::BaseField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:345:102 [INFO] [stdout] | [INFO] [stdout] 345 | let y = <::EncryptionParameters as ModelParameters>::BaseField::read( [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::EncryptionParameters as ModelParameters>::BaseField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:353:86 [INFO] [stdout] | [INFO] [stdout] 353 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:377:61 [INFO] [stdout] | [INFO] [stdout] 377 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/encoded.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | let payload_bits_count = payload_bytes.len() * 8; [INFO] [stdout] | ^ expected associated type, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::ScalarField` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = help: consider constraining the associated type `::ScalarField` to `{integer}` or calling a method that returns `::ScalarField` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::OuterScalarField` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let birth_program_id_biginteger = Self::OuterField::read(birth_program_id)?.into_repr(); [INFO] [stdout] | ^^^^ function or associated item not found in `::OuterScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::OuterScalarField` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:173:61 [INFO] [stdout] | [INFO] [stdout] 173 | let death_program_id_biginteger = Self::OuterField::read(death_program_id)?.into_repr(); [INFO] [stdout] | ^^^^ function or associated item not found in `::OuterScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encoded.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | let value_bits = from_bytes_le_to_bits_le(&to_bytes![value]?).collect(); [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 associated type `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:308:77 [INFO] [stdout] | [INFO] [stdout] 308 | let serial_number_nonce = ::Output::read(&serial_number_nonce_bytes[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:320:92 [INFO] [stdout] | [INFO] [stdout] 320 | let commitment_randomness = ::Randomness::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for trait object `dyn snarkvm_utilities::FromBytes` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | FromBytes::read(&from_bits_le_to_bytes_le(&final_element_bits[value_start..value_end])[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `dyn snarkvm_utilities::FromBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for struct `testnet1::record::payload::Payload` in the current scope [INFO] [stdout] --> src/testnet1/record/encoded.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | let payload = Payload::read(&from_bits_le_to_bytes_le(&payload_bits)[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `testnet1::record::payload::Payload` [INFO] [stdout] | [INFO] [stdout] ::: src/testnet1/record/payload.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Payload([u8; 32]); [INFO] [stdout] | ----------------------------- function or associated item `read` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] candidate #2: `XofReader` [INFO] [stdout] candidate #3: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:131:86 [INFO] [stdout] | [INFO] [stdout] 131 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:170:81 [INFO] [stdout] | [INFO] [stdout] 170 | let plaintext_element = ::EncryptionGroup::read(&to_bytes![element]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | let commitment_input = to_bytes![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 209 | | owner, [INFO] [stdout] 210 | | is_dummy, [INFO] [stdout] 211 | | value, [INFO] [stdout] ... | [INFO] [stdout] 215 | | serial_number_nonce [INFO] [stdout] 216 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | ]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:248:61 [INFO] [stdout] | [INFO] [stdout] 248 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_bytes]?)?) [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/encrypted.rs:271:66 [INFO] [stdout] | [INFO] [stdout] 271 | .hash(&to_bytes![ciphertext_affine_x, selector_bytes]?)?) [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::EncryptionParameters as ModelParameters>::BaseField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:326:102 [INFO] [stdout] | [INFO] [stdout] 326 | <::EncryptionParameters as ModelParameters>::BaseField::read( [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::EncryptionParameters as ModelParameters>::BaseField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::EncryptionParameters as ModelParameters>::BaseField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:342:102 [INFO] [stdout] | [INFO] [stdout] 342 | let x = <::EncryptionParameters as ModelParameters>::BaseField::read( [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::EncryptionParameters as ModelParameters>::BaseField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::EncryptionParameters as ModelParameters>::BaseField`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:345:102 [INFO] [stdout] | [INFO] [stdout] 345 | let y = <::EncryptionParameters as ModelParameters>::BaseField::read( [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::EncryptionParameters as ModelParameters>::BaseField` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::EncryptionParameters as ModelParameters>::BaseField: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:353:86 [INFO] [stdout] | [INFO] [stdout] 353 | <::AccountEncryption as EncryptionScheme>::Text::read(&to_bytes![element]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut <::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Text: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:377:61 [INFO] [stdout] | [INFO] [stdout] 377 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/encrypted.rs:408:77 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 408 | variable_length_integer(self.encrypted_elements.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:412:61 [INFO] [stdout] | [INFO] [stdout] 412 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/encrypted.rs:408:77 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 408 | variable_length_integer(self.encrypted_elements.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for associated type `::EncryptionGroup`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:412:61 [INFO] [stdout] | [INFO] [stdout] 412 | ::EncryptionGroup::read(&to_bytes![ciphertext_element]?[..])?.into_affine(); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `::EncryptionGroup` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut ::EncryptionGroup: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/encrypted.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 433 | selector_bytes.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:447:28 [INFO] [stdout] | [INFO] [stdout] 447 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:473:28 [INFO] [stdout] | [INFO] [stdout] 473 | FromBytes::read(&to_bytes![ciphertext_element_affine.into_projective()]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/record/payload.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | self.0.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/payload.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(Self(FromBytes::read(&mut reader)?)) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:93:81 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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: 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/testnet1/record/record.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = to_bytes![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 132 | | owner, // 256 bits = 32 bytes [INFO] [stdout] 133 | | is_dummy, // 1 bit = 1 byte [INFO] [stdout] 134 | | value, // 64 bits = 8 bytes [INFO] [stdout] ... | [INFO] [stdout] 138 | | serial_number_nonce // 256 bits = 32 bytes [INFO] [stdout] 139 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | ]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let seed = FromBytes::read(to_bytes!(&private_key.sk_prf)?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | let input = FromBytes::read(to_bytes!(self.serial_number_nonce)?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:203:69 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/encrypted.rs:433:30 [INFO] [stdout] | [INFO] [stdout] 404 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 433 | selector_bytes.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:447:28 [INFO] [stdout] | [INFO] [stdout] 447 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/encrypted.rs:473:28 [INFO] [stdout] | [INFO] [stdout] 473 | FromBytes::read(&to_bytes![ciphertext_element_affine.into_projective()]?[..])?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/record/payload.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | self.0.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/payload.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(Self(FromBytes::read(&mut reader)?)) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:93:81 [INFO] [stdout] | [INFO] [stdout] 93 | let crh_input = to_bytes![position, sn_randomness, joint_serial_numbers]?; [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: 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/testnet1/record/record.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | let commitment_input = to_bytes![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 132 | | owner, // 256 bits = 32 bytes [INFO] [stdout] 133 | | is_dummy, // 1 bit = 1 byte [INFO] [stdout] 134 | | value, // 64 bits = 8 bytes [INFO] [stdout] ... | [INFO] [stdout] 138 | | serial_number_nonce // 256 bits = 32 bytes [INFO] [stdout] 139 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | ]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let seed = FromBytes::read(to_bytes!(&private_key.sk_prf)?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | let input = FromBytes::read(to_bytes!(self.serial_number_nonce)?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet1/record/record.rs:203:69 [INFO] [stdout] | [INFO] [stdout] 203 | let randomizer = to_bytes![C::PRF::evaluate(&seed, &input)?]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | Ok((serial_number, randomizer)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found slice `[u8]` [INFO] [stdout] | help: try using a conversion method: `randomizer.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found slice `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `address::Address` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | self.owner.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `address::Address` [INFO] [stdout] | [INFO] [stdout] ::: src/account/address.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Address { [INFO] [stdout] | ------------------------------------ method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `bool` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | self.is_dummy.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u64` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | self.value.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `testnet1::record::payload::Payload` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | self.payload.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `testnet1::record::payload::Payload` [INFO] [stdout] | [INFO] [stdout] ::: src/testnet1/record/payload.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Payload([u8; 32]); [INFO] [stdout] | ----------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | Ok((serial_number, randomizer)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found slice `[u8]` [INFO] [stdout] | help: try using a conversion method: `randomizer.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found slice `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `address::Address` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | self.owner.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `address::Address` [INFO] [stdout] | [INFO] [stdout] ::: src/account/address.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Address { [INFO] [stdout] | ------------------------------------ method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `bool` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:269:23 [INFO] [stdout] | [INFO] [stdout] 269 | self.is_dummy.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u64` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | self.value.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `testnet1::record::payload::Payload` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | self.payload.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `testnet1::record::payload::Payload` [INFO] [stdout] | [INFO] [stdout] ::: src/testnet1/record/payload.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Payload([u8; 32]); [INFO] [stdout] | ----------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:273:75 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 273 | variable_length_integer(self.birth_program_id.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:273:75 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 273 | variable_length_integer(self.birth_program_id.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 274 | self.birth_program_id.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 274 | self.birth_program_id.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:276:75 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 276 | variable_length_integer(self.death_program_id.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:276:75 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 276 | variable_length_integer(self.death_program_id.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 277 | self.death_program_id.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | self.serial_number_nonce.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | self.commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | self.commitment_randomness.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:288:44 [INFO] [stdout] | [INFO] [stdout] 288 | let owner: Address = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:289:41 [INFO] [stdout] | [INFO] [stdout] 289 | let is_dummy: bool = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | let value: u64 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:291:43 [INFO] [stdout] | [INFO] [stdout] 291 | let payload: Payload = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:297:39 [INFO] [stdout] | [INFO] [stdout] 297 | let byte: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | let byte: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:309:88 [INFO] [stdout] | [INFO] [stdout] 309 | let serial_number_nonce: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:310:88 [INFO] [stdout] | [INFO] [stdout] 310 | let commitment: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `testnet1::record::record::Record`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Record { [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 335 | Ok(Self::read(&hex::decode(record)?[..])?) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `testnet1::record::record::Record` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `testnet1::record::record::Record: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut testnet1::record::record::Record: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/record/record.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 267 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 277 | self.death_program_id.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::record::Record` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | old_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::record::Record` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | self.serial_number_nonce.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::SerialNumberNonceCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PublicKey` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | old_serial_number.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | self.commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/record/record.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | self.commitment_randomness.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:288:44 [INFO] [stdout] | [INFO] [stdout] 288 | let owner: Address = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:289:41 [INFO] [stdout] | [INFO] [stdout] 289 | let is_dummy: bool = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | let value: u64 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:291:43 [INFO] [stdout] | [INFO] [stdout] 291 | let payload: Payload = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:297:39 [INFO] [stdout] | [INFO] [stdout] 297 | let byte: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:305:39 [INFO] [stdout] | [INFO] [stdout] 305 | let byte: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:309:88 [INFO] [stdout] | [INFO] [stdout] 309 | let serial_number_nonce: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:310:88 [INFO] [stdout] | [INFO] [stdout] 310 | let commitment: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `testnet1::record::record::Record`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/record/record.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Record { [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 335 | Ok(Self::read(&hex::decode(record)?[..])?) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `testnet1::record::record::Record` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `testnet1::record::record::Record: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut testnet1::record::record::Record: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::record::Record` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | old_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::record::Record` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PublicKey` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | old_serial_number.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:100:72 [INFO] [stdout] | [INFO] [stdout] 88 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 100 | variable_length_integer(old_randomizer.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:100:72 [INFO] [stdout] | [INFO] [stdout] 88 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 100 | variable_length_integer(old_randomizer.len() as u64).write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 88 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 101 | old_randomizer.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::record::Record` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | new_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::record::Record` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | new_sn_nonce_randomness.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | new_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 88 | fn write(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 101 | old_randomizer.write(&mut writer)?; [INFO] [stdout] | ^^^^^^^^^^^ expected slice `[u8]`, found type parameter `W` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found mutable reference `&mut W` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::record::Record` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | new_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::record::Record` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | new_records_encryption_randomness.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | new_sn_nonce_randomness.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::encrypted::EncryptedRecord` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | new_encrypted_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::encrypted::EncryptedRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::EncryptedRecordCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | new_encrypted_record_hash.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::EncryptedRecordCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | new_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | self.program_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | new_records_encryption_randomness.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::AccountEncryption as snarkvm_algorithms::EncryptionScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | self.program_randomness.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::encrypted::EncryptedRecord` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | new_encrypted_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::encrypted::EncryptedRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `CommitmentMerkleTree` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | self.local_data_merkle_tree.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `CommitmentMerkleTree<::LocalDataCommitment, ::LocalDataCRH>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::EncryptedRecordCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | new_encrypted_record_hash.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::EncryptedRecordCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::LocalDataCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | local_data_commitment_randomizer.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::LocalDataCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | self.program_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | self.program_randomness.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `amount::AleoAmount` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | self.value_balance.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `amount::AleoAmount` [INFO] [stdout] | [INFO] [stdout] ::: src/block/amount.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AleoAmount(pub i64); [INFO] [stdout] | ------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `CommitmentMerkleTree` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | self.local_data_merkle_tree.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `CommitmentMerkleTree<::LocalDataCommitment, ::LocalDataCRH>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | self.memorandum.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u8` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | self.network_id.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::LocalDataCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | local_data_commitment_randomizer.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::LocalDataCommitment as snarkvm_algorithms::CommitmentScheme>::Randomness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:156:52 [INFO] [stdout] | [INFO] [stdout] 156 | let old_record: Record = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:162:101 [INFO] [stdout] | [INFO] [stdout] 162 | let old_serial_number: ::PublicKey = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | let byte: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:182:52 [INFO] [stdout] | [INFO] [stdout] 182 | let new_record: Record = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | let randomness: [u8; 32] = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:194:96 [INFO] [stdout] | [INFO] [stdout] 194 | let new_commitment: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:207:67 [INFO] [stdout] | [INFO] [stdout] 207 | let encrypted_record: EncryptedRecord = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:213:92 [INFO] [stdout] | [INFO] [stdout] 213 | let encrypted_record_hash: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 233 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:237:52 [INFO] [stdout] | [INFO] [stdout] 237 | let value_balance: AleoAmount = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:238:88 [INFO] [stdout] | [INFO] [stdout] 238 | let memorandum: as TransactionScheme>::Memorandum = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | let network_id: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `amount::AleoAmount` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | self.value_balance.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `amount::AleoAmount` [INFO] [stdout] | [INFO] [stdout] ::: src/block/amount.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AleoAmount(pub i64); [INFO] [stdout] | ------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `testnet1::transaction::kernel::TransactionKernel`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TransactionKernel { [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 269 | Ok(Self::read(&hex::decode(kernel)?[..])?) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `testnet1::transaction::kernel::TransactionKernel` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `testnet1::transaction::kernel::TransactionKernel: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut testnet1::transaction::kernel::TransactionKernel: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | self.memorandum.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | new_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | self.memorandum.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for type `u8` in the current scope [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | self.network_id.write(&mut writer) [INFO] [stdout] | ^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:156:52 [INFO] [stdout] | [INFO] [stdout] 156 | let old_record: Record = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:162:101 [INFO] [stdout] | [INFO] [stdout] 162 | let old_serial_number: ::PublicKey = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | let byte: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:182:52 [INFO] [stdout] | [INFO] [stdout] 182 | let new_record: Record = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | let randomness: [u8; 32] = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:194:96 [INFO] [stdout] | [INFO] [stdout] 194 | let new_commitment: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:207:67 [INFO] [stdout] | [INFO] [stdout] 207 | let encrypted_record: EncryptedRecord = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:213:92 [INFO] [stdout] | [INFO] [stdout] 213 | let encrypted_record_hash: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<<::MerkleParameters as snarkvm_algorithms::MerkleParameters>::H as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | self.ledger_digest.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<<::MerkleParameters as snarkvm_algorithms::MerkleParameters>::H as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 233 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:237:52 [INFO] [stdout] | [INFO] [stdout] 237 | let value_balance: AleoAmount = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:238:88 [INFO] [stdout] | [INFO] [stdout] 238 | let memorandum: as TransactionScheme>::Memorandum = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:239:41 [INFO] [stdout] | [INFO] [stdout] 239 | let network_id: u8 = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for struct `testnet1::transaction::kernel::TransactionKernel`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/kernel.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct TransactionKernel { [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `read` not found for this [INFO] [stdout] | doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] ... [INFO] [stdout] 269 | Ok(Self::read(&hex::decode(kernel)?[..])?) [INFO] [stdout] | ^^^^ function or associated item cannot be called on `testnet1::transaction::kernel::TransactionKernel` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `testnet1::transaction::kernel::TransactionKernel: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut testnet1::transaction::kernel::TransactionKernel: snarkvm_utilities::Read` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::InnerCircuitIDCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | self.inner_circuit_id.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::InnerCircuitIDCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | new_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::RecordCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::Proof` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | self.transaction_proof.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::Proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | self.memorandum.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 228 | self.program_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<<::MerkleParameters as snarkvm_algorithms::MerkleParameters>::H as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | self.ledger_digest.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<<::MerkleParameters as snarkvm_algorithms::MerkleParameters>::H as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::LocalDataCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | self.local_data_root.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::LocalDataCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::InnerCircuitIDCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | self.inner_circuit_id.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::InnerCircuitIDCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `amount::AleoAmount` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | self.value_balance.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `amount::AleoAmount` [INFO] [stdout] | [INFO] [stdout] ::: src/block/amount.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AleoAmount(pub i64); [INFO] [stdout] | ------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::Proof` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | self.transaction_proof.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::Proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for enum `network::Network` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | self.network.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `network::Network` [INFO] [stdout] | [INFO] [stdout] ::: src/block/network.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Network { [INFO] [stdout] | ---------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 228 | self.program_commitment.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::ProgramVerificationKeyCommitment as snarkvm_algorithms::CommitmentScheme>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::Signature` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | signature.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::encrypted::EncryptedRecord` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | encrypted_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::encrypted::EncryptedRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for associated type `<::LocalDataCRH as snarkvm_algorithms::CRH>::Output` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:229:30 [INFO] [stdout] | [INFO] [stdout] 229 | self.local_data_root.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `<::LocalDataCRH as snarkvm_algorithms::CRH>::Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:263:96 [INFO] [stdout] | [INFO] [stdout] 263 | let new_commitment: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:267:47 [INFO] [stdout] | [INFO] [stdout] 267 | let memorandum: [u8; 32] = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:269:79 [INFO] [stdout] | [INFO] [stdout] 269 | let ledger_digest: MerkleTreeDigest = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:270:82 [INFO] [stdout] | [INFO] [stdout] 270 | let inner_circuit_id: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:271:77 [INFO] [stdout] | [INFO] [stdout] 271 | let transaction_proof: ::Proof = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:274:76 [INFO] [stdout] | [INFO] [stdout] 274 | let local_data_root: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:276:52 [INFO] [stdout] | [INFO] [stdout] 276 | let value_balance: AleoAmount = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:277:43 [INFO] [stdout] | [INFO] [stdout] 277 | let network: Network = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:283:93 [INFO] [stdout] | [INFO] [stdout] 283 | let signature: ::Signature = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:291:67 [INFO] [stdout] | [INFO] [stdout] 291 | let encrypted_record: EncryptedRecord = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:220:69 [INFO] [stdout] | [INFO] [stdout] 220 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `amount::AleoAmount` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | self.value_balance.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `amount::AleoAmount` [INFO] [stdout] | [INFO] [stdout] ::: src/block/amount.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AleoAmount(pub i64); [INFO] [stdout] | ------------------------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | ::VerifyingKey::read(InnerSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:233:69 [INFO] [stdout] | [INFO] [stdout] 233 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:238:57 [INFO] [stdout] | [INFO] [stdout] 238 | ::VerifyingKey::read(OuterSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:293:53 [INFO] [stdout] | [INFO] [stdout] 293 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet2/mod.rs:293:66 [INFO] [stdout] | [INFO] [stdout] 293 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet2/mod.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | let input_bytes = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | let input_bytes = to_bytes![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 335 | | old_serial_numbers[i], [INFO] [stdout] 336 | | &old_records[i].commitment(), [INFO] [stdout] 337 | | memorandum, [INFO] [stdout] 338 | | C::NETWORK_ID [INFO] [stdout] 339 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | ]?; [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: 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/testnet2/mod.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:354:31 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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 method named `write` found for enum `network::Network` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | self.network.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `network::Network` [INFO] [stdout] | [INFO] [stdout] ::: src/block/network.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Network { [INFO] [stdout] | ---------------- method `write` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:354:88 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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: 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/testnet2/mod.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let signature_message = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | let signature_message = to_bytes![ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 494 | | network_id, [INFO] [stdout] 495 | | ledger_digest, [INFO] [stdout] 496 | | old_serial_numbers, [INFO] [stdout] ... | [INFO] [stdout] 501 | | memorandum [INFO] [stdout] 502 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:502:10 [INFO] [stdout] | [INFO] [stdout] 502 | ]?; [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: 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/testnet2/mod.rs:598:95 [INFO] [stdout] | [INFO] [stdout] 598 | ::hash(&self.system_parameters.inner_circuit_id_crh, &to_bytes![ [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 599 | | inner_snark_vk [INFO] [stdout] 600 | | ]?)?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let signature_message = match to_bytes![ [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 method named `write` found for reference `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::Signature` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | signature.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&<::AccountSignature as snarkvm_algorithms::SignatureScheme>::Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:727:16 [INFO] [stdout] | [INFO] [stdout] 727 | Ok(message) => message, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | Ok(message) => message, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:789:16 [INFO] [stdout] | [INFO] [stdout] 789 | Ok(bytes) => bytes, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | Ok(bytes) => bytes, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for reference `&testnet1::record::encrypted::EncryptedRecord` in the current scope [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | encrypted_record.write(&mut writer)?; [INFO] [stdout] | ^^^^^ method not found in `&testnet1::record::encrypted::EncryptedRecord` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `snarkvm_utilities::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `WriteBase32` [INFO] [stdout] candidate #4: `curl::easy::handler::Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:263:96 [INFO] [stdout] | [INFO] [stdout] 263 | let new_commitment: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:267:47 [INFO] [stdout] | [INFO] [stdout] 267 | let memorandum: [u8; 32] = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:269:79 [INFO] [stdout] | [INFO] [stdout] 269 | let ledger_digest: MerkleTreeDigest = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:270:82 [INFO] [stdout] | [INFO] [stdout] 270 | let inner_circuit_id: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:271:77 [INFO] [stdout] | [INFO] [stdout] 271 | let transaction_proof: ::Proof = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:273:24 [INFO] [stdout] | [INFO] [stdout] 273 | FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:274:76 [INFO] [stdout] | [INFO] [stdout] 274 | let local_data_root: ::Output = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:276:52 [INFO] [stdout] | [INFO] [stdout] 276 | let value_balance: AleoAmount = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:277:43 [INFO] [stdout] | [INFO] [stdout] 277 | let network: Network = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:339:99 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:283:93 [INFO] [stdout] | [INFO] [stdout] 283 | let signature: ::Signature = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `read` exists for trait object `dyn snarkvm_utilities::FromBytes`, but its trait bounds were not satisfied [INFO] [stdout] --> src/testnet1/transaction/transaction.rs:291:67 [INFO] [stdout] | [INFO] [stdout] 291 | let encrypted_record: EncryptedRecord = FromBytes::read(&mut reader)?; [INFO] [stdout] | ^^^^ function or associated item cannot be called on `dyn snarkvm_utilities::FromBytes` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/snarkvm-utilities-0.7.4/src/bytes.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | pub trait FromBytes: Sized { [INFO] [stdout] | -------------------------- doesn't satisfy `_: snarkvm_utilities::Read` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] which is required by `&mut dyn snarkvm_utilities::FromBytes: snarkvm_utilities::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:392:112 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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 associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:220:69 [INFO] [stdout] | [INFO] [stdout] 220 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | ::VerifyingKey::read(InnerSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::InnerSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:233:69 [INFO] [stdout] | [INFO] [stdout] 233 | false => Some(::ProvingKey::read( [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` in the current scope [INFO] [stdout] --> src/testnet2/mod.rs:238:57 [INFO] [stdout] | [INFO] [stdout] 238 | ::VerifyingKey::read(OuterSNARKVKParameters::load_bytes()?.as_slice())?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::OuterSNARK as snarkvm_algorithms::SNARK>::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:293:53 [INFO] [stdout] | [INFO] [stdout] 293 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet2/mod.rs:293:66 [INFO] [stdout] | [INFO] [stdout] 293 | joint_serial_numbers.extend_from_slice(&to_bytes![sn]?); [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/testnet2/mod.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | let input_bytes = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | let input_bytes = to_bytes![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 335 | | old_serial_numbers[i], [INFO] [stdout] 336 | | &old_records[i].commitment(), [INFO] [stdout] 337 | | memorandum, [INFO] [stdout] 338 | | C::NETWORK_ID [INFO] [stdout] 339 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | ]?; [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: 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/testnet2/mod.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:354:31 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:354:88 [INFO] [stdout] | [INFO] [stdout] 354 | let input_bytes = to_bytes![record.commitment(), memorandum, C::NETWORK_ID]?; [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: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:696:112 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/mod.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let signature_message = to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | let signature_message = to_bytes![ [INFO] [stdout] | _________________________________^ [INFO] [stdout] 494 | | network_id, [INFO] [stdout] 495 | | ledger_digest, [INFO] [stdout] 496 | | old_serial_numbers, [INFO] [stdout] ... | [INFO] [stdout] 501 | | memorandum [INFO] [stdout] 502 | | ]?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:502:10 [INFO] [stdout] | [INFO] [stdout] 502 | ]?; [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: 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/testnet2/mod.rs:598:95 [INFO] [stdout] | [INFO] [stdout] 598 | ::hash(&self.system_parameters.inner_circuit_id_crh, &to_bytes![ [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 599 | | inner_snark_vk [INFO] [stdout] 600 | | ]?)?; [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let signature_message = match to_bytes![ [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:727:16 [INFO] [stdout] | [INFO] [stdout] 727 | Ok(message) => message, [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[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &to_bytes![ [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 830 | | record.commitment_randomness() [INFO] [stdout] 831 | | ]?)?; [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 `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | Ok(message) => message, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:831:18 [INFO] [stdout] | [INFO] [stdout] 831 | ]?)?; [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/testnet2/mod.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | let inner_snark_vk_bytes = match to_bytes![inner_snark_vk] { [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:789:16 [INFO] [stdout] | [INFO] [stdout] 789 | Ok(bytes) => bytes, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/mod.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | Ok(bytes) => bytes, [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: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:339:84 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:339:99 [INFO] [stdout] | [INFO] [stdout] 339 | let zero_value = UInt8::alloc_vec(&mut cs.ns(|| "Declare record zero value"), &to_bytes![0u64]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:392:87 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:392:112 [INFO] [stdout] | [INFO] [stdout] 392 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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 associated type `<::EncryptionGroup as ProjectiveCurve>::Affine` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1048:79 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::EncryptionGroup as ProjectiveCurve>::Affine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::Text` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1049:93 [INFO] [stdout] | [INFO] [stdout] 1049 | encryption_plaintext.push(::Text::read( [INFO] [stdout] | ^^^^ function or associated item not found in `::Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1070:42 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1071:42 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1072:42 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1073:43 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:696:87 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:696:112 [INFO] [stdout] | [INFO] [stdout] 696 | let given_value = UInt8::alloc_vec(&mut declare_cs.ns(|| "given_value"), &to_bytes![record.value()]?)?; [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 `[_]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:829:96 [INFO] [stdout] | [INFO] [stdout] 829 | UInt8::alloc_vec(encryption_cs.ns(|| "Allocate commitment randomness bytes"), &to_bytes![ [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 830 | | record.commitment_randomness() [INFO] [stdout] 831 | | ]?)?; [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/testnet2/inner_circuit/inner_circuit_gadget.rs:831:18 [INFO] [stdout] | [INFO] [stdout] 831 | ]?)?; [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 associated type `<::EncryptionGroup as ProjectiveCurve>::Affine` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1048:79 [INFO] [stdout] | [INFO] [stdout] 1048 | let affine = ::Affine::read(&to_bytes![x, y]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `<::EncryptionGroup as ProjectiveCurve>::Affine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::Text` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1049:93 [INFO] [stdout] | [INFO] [stdout] 1049 | encryption_plaintext.push(::Text::read( [INFO] [stdout] | ^^^^ function or associated item not found in `::Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1070:42 [INFO] [stdout] | [INFO] [stdout] 1070 | let a = C::InnerScalarField::read(&to_bytes![a]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1071:42 [INFO] [stdout] | [INFO] [stdout] 1071 | let b = C::InnerScalarField::read(&to_bytes![coeff_b]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1072:42 [INFO] [stdout] | [INFO] [stdout] 1072 | let u = C::InnerScalarField::read(&to_bytes![u]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::InnerScalarField` in the current scope [INFO] [stdout] --> src/testnet2/inner_circuit/inner_circuit_gadget.rs:1073:43 [INFO] [stdout] | [INFO] [stdout] 1073 | let ua = C::InnerScalarField::read(&to_bytes![ua]?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::InnerScalarField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_gadget.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_gadget.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_gadget.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | &to_bytes![field_elements].map_err(|_| SynthesisError::AssignmentMissing)?, [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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/testnet2/outer_circuit/outer_circuit_gadget.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | &to_bytes![field_element].map_err(|_| SynthesisError::AssignmentMissing)?, [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 snarkvm_utilities::FromBytes` in the current scope [WARN] too many lines in the log, truncating it