[INFO] fetching crate snarkvm-circuit-environment 0.16.12... [INFO] checking snarkvm-circuit-environment-0.16.12 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate snarkvm-circuit-environment 0.16.12 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate snarkvm-circuit-environment 0.16.12 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 dirs v4.0.0 [INFO] [stderr] Downloaded aleo-std-timer v0.1.2 [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-collections v0.16.12 [INFO] [stderr] Downloaded curl v0.4.46 [INFO] [stderr] Downloaded snarkvm-algorithms v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-algorithms v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-integers v0.16.12 [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-field v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types-scalar v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-types v0.16.12 [INFO] [stderr] Downloaded snarkvm-console-network v0.16.12 [INFO] [stderr] Downloaded snarkvm-curves v0.16.12 [INFO] [stderr] Downloaded snarkvm-fields v0.16.12 [INFO] [stderr] Downloaded aleo-std-cpu v0.1.4 [INFO] [stderr] Downloaded aleo-std-profiler v0.1.15 [INFO] [stderr] Downloaded aleo-std-timed v0.1.2 [INFO] [stderr] Downloaded snarkvm-utilities v0.16.12 [INFO] [stderr] Downloaded aleo-std-storage v0.1.7 [INFO] [stderr] Downloaded curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Downloaded aleo-std-time v0.1.2 [INFO] [stderr] Downloaded snarkvm-parameters v0.16.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e046b7529972a6798b8f002083544a6f768c9ded8a458022e6bb1dd05355eb19 [INFO] running `Command { std: "docker" "start" "-a" "e046b7529972a6798b8f002083544a6f768c9ded8a458022e6bb1dd05355eb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e046b7529972a6798b8f002083544a6f768c9ded8a458022e6bb1dd05355eb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e046b7529972a6798b8f002083544a6f768c9ded8a458022e6bb1dd05355eb19", kill_on_drop: false }` [INFO] [stdout] e046b7529972a6798b8f002083544a6f768c9ded8a458022e6bb1dd05355eb19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbfbe69efa25d2ead458a5a1485ab15497d178820943e030620d142af41dd04f [INFO] running `Command { std: "docker" "start" "-a" "bbfbe69efa25d2ead458a5a1485ab15497d178820943e030620d142af41dd04f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.115 [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] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking aleo-std-storage v0.1.7 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling snarkvm-circuit-environment-witness v0.16.12 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serial_test v2.0.0 [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 tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking aleo-std v0.1.24 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 [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-group v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-integers 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] 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[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] [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" "bbfbe69efa25d2ead458a5a1485ab15497d178820943e030620d142af41dd04f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfbe69efa25d2ead458a5a1485ab15497d178820943e030620d142af41dd04f", kill_on_drop: false }` [INFO] [stdout] bbfbe69efa25d2ead458a5a1485ab15497d178820943e030620d142af41dd04f [INFO] checking snarkvm-circuit-environment-0.16.12 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate snarkvm-circuit-environment 0.16.12 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate snarkvm-circuit-environment 0.16.12 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afd794ae8dd9b257abe836bc38c2d3e7114860d86b04391fa500dff71ceaebd3 [INFO] running `Command { std: "docker" "start" "-a" "afd794ae8dd9b257abe836bc38c2d3e7114860d86b04391fa500dff71ceaebd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afd794ae8dd9b257abe836bc38c2d3e7114860d86b04391fa500dff71ceaebd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd794ae8dd9b257abe836bc38c2d3e7114860d86b04391fa500dff71ceaebd3", kill_on_drop: false }` [INFO] [stdout] afd794ae8dd9b257abe836bc38c2d3e7114860d86b04391fa500dff71ceaebd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec0e579105feeeddb0f133c0ae33d5fb9c83b51bb89bb13c6a8f6e8c29be56a [INFO] running `Command { std: "docker" "start" "-a" "2ec0e579105feeeddb0f133c0ae33d5fb9c83b51bb89bb13c6a8f6e8c29be56a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.115 [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] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling snarkvm-utilities-derives v0.16.12 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking aleo-std-storage v0.1.7 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking blake2s_simd v1.0.2 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling snarkvm-circuit-environment-witness v0.16.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [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 tinytemplate v1.2.1 [INFO] [stderr] Checking aleo-std v0.1.24 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking snarkvm-utilities v0.16.12 [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-group v0.16.12 [INFO] [stderr] Checking snarkvm-console-types-integers 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] [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] [stderr] Fixed src/macros/mod.rs (3 fixes) [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] [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" "2ec0e579105feeeddb0f133c0ae33d5fb9c83b51bb89bb13c6a8f6e8c29be56a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec0e579105feeeddb0f133c0ae33d5fb9c83b51bb89bb13c6a8f6e8c29be56a", kill_on_drop: false }` [INFO] [stdout] 2ec0e579105feeeddb0f133c0ae33d5fb9c83b51bb89bb13c6a8f6e8c29be56a