You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find console in snarkvm
--> src/api.rs:4:15
|
4 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^ could not find console in snarkvm
error[E0432]: unresolved imports snarkvm::prelude::PuzzleCommitment, snarkvm::prelude::Testnet3
--> src/accounting.rs:17:24
|
17 | use snarkvm::prelude::{PuzzleCommitment, Testnet3};
| ^^^^^^^^^^^^^^^^ ^^^^^^^^ no Testnet3 in prelude
| |
| no PuzzleCommitment in prelude
error[E0433]: failed to resolve: could not find console in snarkvm
--> src/connection.rs:15:5
|
15 | console::account::address::Address,
| ^^^^^^^ could not find console in snarkvm
error[E0432]: unresolved import snarkvm::prelude::Testnet3
--> src/api.rs:4:51
|
4 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^^^^^^^^^^^ no Testnet3 in prelude
error[E0433]: failed to resolve: could not find polycommit in snarkvm_algorithms
--> src/connection.rs:18:25
|
18 | use snarkvm_algorithms::polycommit::kzg10::{KZGCommitment, KZGProof};
| ^^^^^^^^^^ could not find polycommit in snarkvm_algorithms
error[E0432]: unresolved imports snarkvm::prelude::Environment, snarkvm::prelude::Testnet3
--> src/connection.rs:16:15
|
16 | prelude::{Environment, FromBytes, Testnet3},
| ^^^^^^^^^^^ ^^^^^^^^ no Testnet3 in prelude
| |
| no Environment in prelude
error[E0433]: failed to resolve: could not find console in snarkvm
--> src/server.rs:20:5
|
20 | console::account::address::Address,
| ^^^^^^^ could not find console in snarkvm
error[E0432]: unresolved imports snarkvm::circuit, snarkvm::prelude::Environment, snarkvm::prelude::PartialSolution, snarkvm::prelude::ProverSolution, snarkvm::prelude::Testnet3, snarkvm::synthesizer
--> src/server.rs:19:5
|
19 | circuit::PrimeField,
| ^^^^^^^ could not find circuit in snarkvm
20 | console::account::address::Address,
21 | prelude::{Environment, PartialSolution, ProverSolution, Testnet3, ToBytes},
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ no Testnet3 in prelude
| | | |
| | | no ProverSolution in prelude
| | no PartialSolution in prelude
| no Environment in prelude
22 | synthesizer::{CoinbasePuzzle, EpochChallenge, PuzzleCommitment, PuzzleConfig, UniversalSRS},
| ^^^^^^^^^^^ could not find synthesizer in snarkvm
error[E0433]: failed to resolve: could not find polycommit in snarkvm_algorithms
--> src/server.rs:28:5
|
28 | polycommit::kzg10::{KZGCommitment, KZGProof, KZG10},
| ^^^^^^^^^^ could not find polycommit in snarkvm_algorithms
error[E0432]: unresolved import snarkvm_algorithms::crypto_hash::sha256d_to_u64
--> src/server.rs:26:5
|
26 | crypto_hash::sha256d_to_u64,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no sha256d_to_u64 in crypto_hash
error[E0433]: failed to resolve: could not find console in snarkvm
--> src/main.rs:17:15
|
17 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^ could not find console in snarkvm
error[E0432]: unresolved imports snarkvm::prelude::Testnet3, snarkvm::synthesizer
--> src/validator_peer.rs:24:35
|
24 | prelude::{FromBytes, Network, Testnet3},
| ^^^^^^^^ no Testnet3 in prelude
25 | synthesizer::Block,
| ^^^^^^^^^^^ could not find synthesizer in snarkvm
error[E0432]: unresolved import snarkvm::prelude::Testnet3
--> src/main.rs:17:51
|
17 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^^^^^^^^^^^ no Testnet3 in prelude
error[E0432]: unresolved import snarkos_node_messages
--> src/server.rs:17:5
|
17 | use snarkos_node_messages::{Data, UnconfirmedSolution};
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module snarkos_node_messages
error[E0432]: unresolved import snarkos_node_messages
--> src/validator_peer.rs:12:5
|
12 | use snarkos_node_messages::{
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module snarkos_node_messages
warning: unused import: info
--> src/accounting.rs:26:29
|
26 | use tracing::{debug, error, info};
| ^^^^
|
= note: #[warn(unused_imports)] on by default
error[E0282]: type annotations needed
--> src/api.rs:109:9
|
109 | Ok(reply::with_status(json(&pplns), warp::http::StatusCode::OK))
| ^^ cannot infer type of the type parameter E declared on the enum Result
|
help: consider specifying the generic arguments
|
109 | Ok::<WithStatus, E>(reply::with_status(json(&pplns), warp::http::StatusCode::OK))
| +++++++++++++++++++++++
error[E0433]: failed to resolve: use of undeclared crate or module snarkos_node_messages
--> src/validator_peer.rs:49:34
|
49 | pub(crate) type SnarkOSMessage = snarkos_node_messages::Message;
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module snarkos_node_messages
Some errors have detailed explanations: E0282, E0432, E0433.
For more information about an error, try rustc --explain E0282.
warning: aleo-pool-server (bin "aleo-pool-server") generated 4 warnings
error: could not compile aleo-pool-server (bin "aleo-pool-server") due to 17 previous errors; 4 warnings emitted
The text was updated successfully, but these errors were encountered:
error[E0433]: failed to resolve: could not find
console
insnarkvm
--> src/api.rs:4:15
|
4 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^ could not find
console
insnarkvm
error[E0432]: unresolved imports
snarkvm::prelude::PuzzleCommitment
,snarkvm::prelude::Testnet3
--> src/accounting.rs:17:24
|
17 | use snarkvm::prelude::{PuzzleCommitment, Testnet3};
| ^^^^^^^^^^^^^^^^ ^^^^^^^^ no
Testnet3
inprelude
| |
| no
PuzzleCommitment
inprelude
error[E0433]: failed to resolve: could not find
console
insnarkvm
--> src/connection.rs:15:5
|
15 | console::account::address::Address,
| ^^^^^^^ could not find
console
insnarkvm
error[E0432]: unresolved import
snarkvm::prelude::Testnet3
--> src/api.rs:4:51
|
4 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^^^^^^^^^^^ no
Testnet3
inprelude
error[E0433]: failed to resolve: could not find
polycommit
insnarkvm_algorithms
--> src/connection.rs:18:25
|
18 | use snarkvm_algorithms::polycommit::kzg10::{KZGCommitment, KZGProof};
| ^^^^^^^^^^ could not find
polycommit
insnarkvm_algorithms
error[E0432]: unresolved imports
snarkvm::prelude::Environment
,snarkvm::prelude::Testnet3
--> src/connection.rs:16:15
|
16 | prelude::{Environment, FromBytes, Testnet3},
| ^^^^^^^^^^^ ^^^^^^^^ no
Testnet3
inprelude
| |
| no
Environment
inprelude
error[E0433]: failed to resolve: could not find
console
insnarkvm
--> src/server.rs:20:5
|
20 | console::account::address::Address,
| ^^^^^^^ could not find
console
insnarkvm
error[E0432]: unresolved imports
snarkvm::circuit
,snarkvm::prelude::Environment
,snarkvm::prelude::PartialSolution
,snarkvm::prelude::ProverSolution
,snarkvm::prelude::Testnet3
,snarkvm::synthesizer
--> src/server.rs:19:5
|
19 | circuit::PrimeField,
| ^^^^^^^ could not find
circuit
insnarkvm
20 | console::account::address::Address,
21 | prelude::{Environment, PartialSolution, ProverSolution, Testnet3, ToBytes},
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ no
Testnet3
inprelude
| | | |
| | | no
ProverSolution
inprelude
| | no
PartialSolution
inprelude
| no
Environment
inprelude
22 | synthesizer::{CoinbasePuzzle, EpochChallenge, PuzzleCommitment, PuzzleConfig, UniversalSRS},
| ^^^^^^^^^^^ could not find
synthesizer
insnarkvm
error[E0433]: failed to resolve: could not find
polycommit
insnarkvm_algorithms
--> src/server.rs:28:5
|
28 | polycommit::kzg10::{KZGCommitment, KZGProof, KZG10},
| ^^^^^^^^^^ could not find
polycommit
insnarkvm_algorithms
error[E0432]: unresolved import
snarkvm_algorithms::crypto_hash::sha256d_to_u64
--> src/server.rs:26:5
|
26 | crypto_hash::sha256d_to_u64,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no
sha256d_to_u64
incrypto_hash
error[E0433]: failed to resolve: could not find
console
insnarkvm
--> src/main.rs:17:15
|
17 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^ could not find
console
insnarkvm
error[E0432]: unresolved imports
snarkvm::prelude::Testnet3
,snarkvm::synthesizer
--> src/validator_peer.rs:24:35
|
24 | prelude::{FromBytes, Network, Testnet3},
| ^^^^^^^^ no
Testnet3
inprelude
25 | synthesizer::Block,
| ^^^^^^^^^^^ could not find
synthesizer
insnarkvm
error[E0432]: unresolved import
snarkvm::prelude::Testnet3
--> src/main.rs:17:51
|
17 | use snarkvm::{console::account::address::Address, prelude::Testnet3};
| ^^^^^^^^^^^^^^^^^ no
Testnet3
inprelude
error[E0432]: unresolved import
snarkos_node_messages
--> src/server.rs:17:5
|
17 | use snarkos_node_messages::{Data, UnconfirmedSolution};
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module
snarkos_node_messages
error[E0432]: unresolved import
snarkos_node_messages
--> src/validator_peer.rs:12:5
|
12 | use snarkos_node_messages::{
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module
snarkos_node_messages
warning: unused import:
info
--> src/accounting.rs:26:29
|
26 | use tracing::{debug, error, info};
| ^^^^
|
= note:
#[warn(unused_imports)]
on by defaultwarning: unused import:
str::FromStr
--> src/connection.rs:3:5
|
3 | str::FromStr,
| ^^^^^^^^^^^^
warning: unused import:
FromBytes
--> src/connection.rs:16:28
|
16 | prelude::{Environment, FromBytes, Testnet3},
| ^^^^^^^^^
warning: unused imports:
FromBytes
,Network
--> src/validator_peer.rs:24:15
|
24 | prelude::{FromBytes, Network, Testnet3},
| ^^^^^^^^^ ^^^^^^^
error[E0282]: type annotations needed
--> src/api.rs:109:9
|
109 | Ok(reply::with_status(json(&pplns), warp::http::StatusCode::OK))
| ^^ cannot infer type of the type parameter
E
declared on the enumResult
|
help: consider specifying the generic arguments
|
109 | Ok::<WithStatus, E>(reply::with_status(json(&pplns), warp::http::StatusCode::OK))
| +++++++++++++++++++++++
error[E0433]: failed to resolve: use of undeclared crate or module
snarkos_node_messages
--> src/validator_peer.rs:49:34
|
49 | pub(crate) type SnarkOSMessage = snarkos_node_messages::Message;
| ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module
snarkos_node_messages
Some errors have detailed explanations: E0282, E0432, E0433.
For more information about an error, try
rustc --explain E0282
.warning:
aleo-pool-server
(bin "aleo-pool-server") generated 4 warningserror: could not compile
aleo-pool-server
(bin "aleo-pool-server") due to 17 previous errors; 4 warnings emittedThe text was updated successfully, but these errors were encountered: