[INFO] fetching crate snarkvm-circuit-environment 0.16.12... [INFO] checking snarkvm-circuit-environment-0.16.12 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate snarkvm-circuit-environment 0.16.12 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate snarkvm-circuit-environment 0.16.12 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-circuit-environment 0.16.12 [INFO] finished tweaking crates.io crate snarkvm-circuit-environment 0.16.12 [INFO] tweaked toml for crates.io crate snarkvm-circuit-environment 0.16.12 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 193 packages [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding bech32 v0.9.1 (latest: v0.11.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding dirs v4.0.0 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding libredox v0.0.1 (latest: v0.1.3) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding serial_test v2.0.0 (latest: v3.0.0) [INFO] [stderr] Adding serial_test_derive v2.0.0 (latest: v3.0.0) [INFO] [stderr] Adding snarkvm-algorithms v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-circuit-environment-witness v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-algorithms v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-collections v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-network v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-network-environment v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-types v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-types-boolean v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-types-field v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-types-group v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-types-integers v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-console-types-scalar v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-curves v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-fields v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-parameters v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-utilities v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding snarkvm-utilities-derives v0.16.12 (latest: v0.16.19) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aleo-std v0.1.24 [INFO] [stderr] Downloaded snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Downloaded aleo-std-timer v0.1.2 [INFO] [stderr] Downloaded aleo-std-storage v0.1.7 [INFO] [stderr] Downloaded smol_str v0.2.1 [INFO] [stderr] Downloaded aleo-std-time v0.1.2 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded snarkvm-console-network-environment v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-boolean v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-scalar v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-collections v0.16.12 [INFO] [stderr] Downloaded curl v0.4.46 [INFO] [stderr] Downloaded snarkvm-curves v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-algorithms v0.16.12 [INFO] [stderr] Downloaded snarkvm-algorithms v0.16.12 [INFO] [stderr] Downloaded snarkvm-fields v0.16.12 [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded snarkvm-circuit-environment-witness v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-group v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-integers v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-field v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types v0.16.12 [INFO] [stderr] Downloaded colored v2.1.0 [INFO] [stderr] Downloaded snarkvm-console-network v0.16.12 [INFO] [stderr] Downloaded aleo-std-cpu v0.1.4 [INFO] [stderr] Downloaded aleo-std-profiler v0.1.15 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded aleo-std-timed v0.1.2 [INFO] [stderr] Downloaded snarkvm-utilities v0.16.12 [INFO] [stderr] Downloaded curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Downloaded snarkvm-parameters v0.16.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df53bba75ebc6881c343ff697d35032e596692001af607ab66ef93084fca465d [INFO] running `Command { std: "docker" "start" "-a" "df53bba75ebc6881c343ff697d35032e596692001af607ab66ef93084fca465d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df53bba75ebc6881c343ff697d35032e596692001af607ab66ef93084fca465d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df53bba75ebc6881c343ff697d35032e596692001af607ab66ef93084fca465d", kill_on_drop: false }` [INFO] [stdout] df53bba75ebc6881c343ff697d35032e596692001af607ab66ef93084fca465d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b93ab6e2195f578351be8411acb3285c8609de38dc90c8a7f52caa8b00ac7c90 [INFO] running `Command { std: "docker" "start" "-a" "b93ab6e2195f578351be8411acb3285c8609de38dc90c8a7f52caa8b00ac7c90", kill_on_drop: false }` [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking aleo-std-timer v0.1.2 [INFO] [stderr] Checking aleo-std-profiler v0.1.15 [INFO] [stderr] Checking aleo-std-cpu v0.1.4 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking aleo-std-storage v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling snarkvm-circuit-environment-witness v0.16.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling aleo-std-timed v0.1.2 [INFO] [stderr] Compiling aleo-std-time v0.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking aleo-std v0.1.24 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking snarkvm-fields v0.16.12 [INFO] [stderr] Checking snarkvm-curves v0.16.12 [INFO] [stderr] Checking snarkvm-console-network-environment v0.16.12 [INFO] [stderr] Checking snarkvm-parameters v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-boolean v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-field v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-scalar v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-integers v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-group v0.16.12 [INFO] [stderr] Checking snarkvm-algorithms v0.16.12 [INFO] [stderr] Checking snarkvm-console-types v0.16.12 [INFO] [stderr] Checking snarkvm-console-algorithms v0.16.12 [INFO] [stderr] Checking snarkvm-console-collections v0.16.12 [INFO] [stderr] Checking snarkvm-console-network v0.16.12 [INFO] [stderr] Checking snarkvm-circuit-environment v0.16.12 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] --> src/circuit.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use snarkvm_circuit::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 328 | use snarkvm_curves::prelude::*; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] --> src/helpers/assignment.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use snarkvm_circuit::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 271 | use snarkvm_curves::prelude::*; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] --> src/helpers/converter.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | use snarkvm_circuit::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 179 | use snarkvm_curves::prelude::*; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Constraint` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - the item `Constraint` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^ - the item `Mode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/constraint.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{prelude::*, *}; [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 16 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/helpers/linear_combination.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{Mode, *}; [INFO] [stdout] | ^^^^ - the item `Mode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/r1cs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | prelude::*, [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 18 | }; [INFO] [stdout] 19 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metrics::*` [INFO] [stdout] --> src/macros/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use metrics::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope::*` [INFO] [stdout] --> src/macros/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use scope::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `witness::*` [INFO] [stdout] --> src/macros/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use witness::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/circuit.rs:331:34 [INFO] [stdout] | [INFO] [stdout] 331 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/circuit.rs:331:52 [INFO] [stdout] | [INFO] [stdout] 331 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/circuit.rs:332:19 [INFO] [stdout] | [INFO] [stdout] 332 | let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 332 - let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] 332 + let one = Field::::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/circuit.rs:338:45 [INFO] [stdout] | [INFO] [stdout] 338 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/circuit.rs:339:42 [INFO] [stdout] | [INFO] [stdout] 339 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/circuit.rs:342:39 [INFO] [stdout] | [INFO] [stdout] 342 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!((accumulator - Field::one()).eject_value(), candidate.eject_value()); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/circuit.rs:356:51 [INFO] [stdout] | [INFO] [stdout] 356 | let _candidate = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/circuit.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | let output = format!("{Circuit}"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | Circuit::scope("test_circuit_scope", || { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq!(0, Circuit::num_constants()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | assert_eq!(1, Circuit::num_public()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(0, Circuit::num_private()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(0, Circuit::num_constraints()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | assert_eq!(0, Circuit::num_constants_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(0, Circuit::num_public_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:371:27 [INFO] [stdout] | [INFO] [stdout] 371 | assert_eq!(0, Circuit::num_private_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:372:27 [INFO] [stdout] | [INFO] [stdout] 372 | assert_eq!(0, Circuit::num_constraints_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:275:34 [INFO] [stdout] | [INFO] [stdout] 275 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:275:52 [INFO] [stdout] | [INFO] [stdout] 275 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/helpers/assignment.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 276 - let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] 276 + let one = Field::::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/assignment.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/assignment.rs:283:42 [INFO] [stdout] | [INFO] [stdout] 283 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/assignment.rs:286:39 [INFO] [stdout] | [INFO] [stdout] 286 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!((accumulator - Field::one()).eject_value(), candidate.eject_value()); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:300:58 [INFO] [stdout] | [INFO] [stdout] 300 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let assignment = Circuit::eject_assignment_and_reset(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(0, Circuit::num_constants()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(1, Circuit::num_public()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(0, Circuit::num_private()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(0, Circuit::num_constraints()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:320:58 [INFO] [stdout] | [INFO] [stdout] 320 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | let assignment = Circuit::eject_assignment_and_reset(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(0, Circuit::num_constants()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(1, Circuit::num_public()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(0, Circuit::num_private()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(0, Circuit::num_constraints()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 353 | let one = ::BaseField::one(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | let one = ::BaseField::one(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/converter.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/helpers/converter.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/helpers/converter.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] 184 + let one = Field::::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/converter.rs:190:45 [INFO] [stdout] | [INFO] [stdout] 190 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/converter.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 191 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/converter.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!((accumulator - Field::one()).eject_value(), candidate.eject_value()); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:208:58 [INFO] [stdout] | [INFO] [stdout] 208 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | Circuit.generate_constraints(&mut cs).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/converter.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(Circuit::num_public() + 1, cs.num_public_variables() as u64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/converter.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(Circuit::num_private(), cs.num_private_variables() as u64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/converter.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(Circuit::num_constraints(), cs.num_constraints() as u64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:223:58 [INFO] [stdout] | [INFO] [stdout] 223 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/helpers/converter.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 224 - let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] 224 + let one = Field::<::Network>::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/converter.rs:224:62 [INFO] [stdout] | [INFO] [stdout] 224 | let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:246:79 [INFO] [stdout] | [INFO] [stdout] 246 | let (index_pk, index_vk) = VarunaInst::circuit_setup(&universal_srs, &Circuit).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:249:77 [INFO] [stdout] | [INFO] [stdout] 249 | let proof = VarunaInst::prove(universal_prover, &fs_pp, &index_pk, &Circuit, rng).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Constraint` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - the item `Constraint` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^ - the item `Mode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/constraint.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{prelude::*, *}; [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 16 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/r1cs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | prelude::*, [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 18 | }; [INFO] [stdout] 19 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metrics::*` [INFO] [stdout] --> src/macros/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use metrics::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope::*` [INFO] [stdout] --> src/macros/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use scope::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `witness::*` [INFO] [stdout] --> src/macros/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use witness::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snarkvm-circuit-environment` (lib test) due to 70 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b93ab6e2195f578351be8411acb3285c8609de38dc90c8a7f52caa8b00ac7c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93ab6e2195f578351be8411acb3285c8609de38dc90c8a7f52caa8b00ac7c90", kill_on_drop: false }` [INFO] [stdout] b93ab6e2195f578351be8411acb3285c8609de38dc90c8a7f52caa8b00ac7c90 [INFO] checking snarkvm-circuit-environment-0.16.12 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate snarkvm-circuit-environment 0.16.12 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate snarkvm-circuit-environment 0.16.12 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-circuit-environment 0.16.12 [INFO] finished tweaking crates.io crate snarkvm-circuit-environment 0.16.12 [INFO] tweaked toml for crates.io crate snarkvm-circuit-environment 0.16.12 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2be7e5e89917130fa4a6f2c3dc0c252733c003bc4d7a34fab0413e72bc48f856 [INFO] running `Command { std: "docker" "start" "-a" "2be7e5e89917130fa4a6f2c3dc0c252733c003bc4d7a34fab0413e72bc48f856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2be7e5e89917130fa4a6f2c3dc0c252733c003bc4d7a34fab0413e72bc48f856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be7e5e89917130fa4a6f2c3dc0c252733c003bc4d7a34fab0413e72bc48f856", kill_on_drop: false }` [INFO] [stdout] 2be7e5e89917130fa4a6f2c3dc0c252733c003bc4d7a34fab0413e72bc48f856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c28a477102facb6aec9ad3db9afc807efef32108b8638d6324a033790b3b76c6 [INFO] running `Command { std: "docker" "start" "-a" "c28a477102facb6aec9ad3db9afc807efef32108b8638d6324a033790b3b76c6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking aleo-std-cpu v0.1.4 [INFO] [stderr] Checking aleo-std-profiler v0.1.15 [INFO] [stderr] Checking aleo-std-timer v0.1.2 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking aleo-std-storage v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling snarkvm-circuit-environment-witness v0.16.12 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling aleo-std-time v0.1.2 [INFO] [stderr] Compiling aleo-std-timed v0.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking aleo-std v0.1.24 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking snarkvm-fields v0.16.12 [INFO] [stderr] Checking snarkvm-curves v0.16.12 [INFO] [stderr] Checking snarkvm-console-network-environment v0.16.12 [INFO] [stderr] Checking snarkvm-parameters v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-boolean v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-field v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-scalar v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-integers v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-group v0.16.12 [INFO] [stderr] Checking snarkvm-algorithms v0.16.12 [INFO] [stderr] Checking snarkvm-console-types v0.16.12 [INFO] [stderr] Checking snarkvm-console-algorithms v0.16.12 [INFO] [stderr] Checking snarkvm-console-collections v0.16.12 [INFO] [stderr] Checking snarkvm-console-network v0.16.12 [INFO] [stderr] Checking snarkvm-circuit-environment v0.16.12 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] --> src/circuit.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use snarkvm_circuit::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 328 | use snarkvm_curves::prelude::*; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] --> src/helpers/assignment.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use snarkvm_circuit::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 271 | use snarkvm_curves::prelude::*; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] --> src/helpers/converter.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | use snarkvm_circuit::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_circuit` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 179 | use snarkvm_curves::prelude::*; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/circuit.rs:331:34 [INFO] [stdout] | [INFO] [stdout] 331 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/circuit.rs:331:52 [INFO] [stdout] | [INFO] [stdout] 331 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/circuit.rs:332:19 [INFO] [stdout] | [INFO] [stdout] 332 | let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 332 - let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] 332 + let one = Field::::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/circuit.rs:338:45 [INFO] [stdout] | [INFO] [stdout] 338 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/circuit.rs:339:42 [INFO] [stdout] | [INFO] [stdout] 339 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/circuit.rs:342:39 [INFO] [stdout] | [INFO] [stdout] 342 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/circuit.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!((accumulator - Field::one()).eject_value(), candidate.eject_value()); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 328 + use crate::circuit::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 328 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/circuit.rs:356:51 [INFO] [stdout] | [INFO] [stdout] 356 | let _candidate = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/circuit.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | let output = format!("{Circuit}"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | Circuit::scope("test_circuit_scope", || { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | assert_eq!(0, Circuit::num_constants()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | assert_eq!(1, Circuit::num_public()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(0, Circuit::num_private()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(0, Circuit::num_constraints()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:369:27 [INFO] [stdout] | [INFO] [stdout] 369 | assert_eq!(0, Circuit::num_constants_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(0, Circuit::num_public_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:371:27 [INFO] [stdout] | [INFO] [stdout] 371 | assert_eq!(0, Circuit::num_private_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/circuit.rs:372:27 [INFO] [stdout] | [INFO] [stdout] 372 | assert_eq!(0, Circuit::num_constraints_in_scope()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 328 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:275:34 [INFO] [stdout] | [INFO] [stdout] 275 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:275:52 [INFO] [stdout] | [INFO] [stdout] 275 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/helpers/assignment.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 276 - let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] 276 + let one = Field::::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/assignment.rs:282:45 [INFO] [stdout] | [INFO] [stdout] 282 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/assignment.rs:283:42 [INFO] [stdout] | [INFO] [stdout] 283 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/assignment.rs:286:39 [INFO] [stdout] | [INFO] [stdout] 286 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/assignment.rs:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!((accumulator - Field::one()).eject_value(), candidate.eject_value()); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 270 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:300:58 [INFO] [stdout] | [INFO] [stdout] 300 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let assignment = Circuit::eject_assignment_and_reset(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(0, Circuit::num_constants()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(1, Circuit::num_public()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | assert_eq!(0, Circuit::num_private()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(0, Circuit::num_constraints()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:320:58 [INFO] [stdout] | [INFO] [stdout] 320 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | let assignment = Circuit::eject_assignment_and_reset(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(0, Circuit::num_constants()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(1, Circuit::num_public()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(0, Circuit::num_private()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/assignment.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(0, Circuit::num_constraints()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:353:31 [INFO] [stdout] | [INFO] [stdout] 353 | let one = ::BaseField::one(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 270 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/assignment.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | let one = ::BaseField::one(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 270 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/converter.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/helpers/converter.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | fn create_example_circuit() -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/helpers/converter.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - let one = snarkvm_console_types::Field::::one(); [INFO] [stdout] 184 + let one = Field::::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/converter.rs:190:45 [INFO] [stdout] | [INFO] [stdout] 190 | let mut candidate = Field::::new(Mode::Public, one); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/converter.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 191 | let mut accumulator = Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/helpers/converter.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | accumulator *= Field::new(Mode::Private, two); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> src/helpers/converter.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!((accumulator - Field::one()).eject_value(), candidate.eject_value()); [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:208:58 [INFO] [stdout] | [INFO] [stdout] 208 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | Circuit.generate_constraints(&mut cs).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/converter.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(Circuit::num_public() + 1, cs.num_public_variables() as u64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/converter.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(Circuit::num_private(), cs.num_private_variables() as u64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit` [INFO] [stdout] --> src/helpers/converter.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(Circuit::num_constraints(), cs.num_constraints() as u64); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Circuit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:223:58 [INFO] [stdout] | [INFO] [stdout] 223 | let _candidate_output = create_example_circuit::(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] --> src/helpers/converter.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `snarkvm_console_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use crate::prelude::snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] 178 + use snarkvm_fields::Field; [INFO] [stdout] | [INFO] [stdout] help: if you import `Field`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 224 - let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] 224 + let one = Field::<::Network>::one(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Environment` in this scope [INFO] [stdout] --> src/helpers/converter.rs:224:62 [INFO] [stdout] | [INFO] [stdout] 224 | let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 178 + use console::Environment; [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | let one = snarkvm_console_types::Field::<::Network>::one(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:246:79 [INFO] [stdout] | [INFO] [stdout] 246 | let (index_pk, index_vk) = VarunaInst::circuit_setup(&universal_srs, &Circuit).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snarkvm-circuit-environment` (lib test) due to 70 previous errors; 8 warnings emitted [INFO] [stdout] error[E0425]: cannot find value `Circuit` in this scope [INFO] [stdout] --> src/helpers/converter.rs:249:77 [INFO] [stdout] | [INFO] [stdout] 249 | let proof = VarunaInst::prove(universal_prover, &fs_pp, &index_pk, &Circuit, rng).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 178 + use crate::Circuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `Constraint` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - the item `Constraint` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^ - the item `Mode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/constraint.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{prelude::*, *}; [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 16 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/r1cs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | prelude::*, [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 18 | }; [INFO] [stdout] 19 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metrics::*` [INFO] [stdout] --> src/macros/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use metrics::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scope::*` [INFO] [stdout] --> src/macros/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use scope::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `witness::*` [INFO] [stdout] --> src/macros/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use witness::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 69 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: the item `Constraint` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - the item `Constraint` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/circuit.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{helpers::Constraint, Mode, *}; [INFO] [stdout] | ^^^^ - the item `Mode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/macros/mod.rs (3 fixes) [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/constraint.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{prelude::*, *}; [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 16 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mode` is imported redundantly [INFO] [stdout] --> src/helpers/linear_combination.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{Mode, *}; [INFO] [stdout] | ^^^^ - the item `Mode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/helpers/r1cs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | prelude::*, [INFO] [stdout] | ---------- the item `PrimeField` is already imported here [INFO] [stdout] 18 | }; [INFO] [stdout] 19 | use snarkvm_fields::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c28a477102facb6aec9ad3db9afc807efef32108b8638d6324a033790b3b76c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28a477102facb6aec9ad3db9afc807efef32108b8638d6324a033790b3b76c6", kill_on_drop: false }` [INFO] [stdout] c28a477102facb6aec9ad3db9afc807efef32108b8638d6324a033790b3b76c6