The Implementation of The Ledger of Things Node. Layer 1 decentralized blockchain platform for the tokenization of objects. Proof of Scan protocol. Useful smart-contracts and dApps.
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
error[E0432]: unresolved import sc_executor::NativeElseWasmExecutor
--> nodes\poscan-consensus\src\service.rs:6:5
|
6 | use sc_executor::NativeElseWasmExecutor;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no NativeElseWasmExecutor in the root
error[E0432]: unresolved import sc_consensus::DefaultImportQueue
--> nodes\poscan-consensus\src\service.rs:7:5
|
7 | use sc_consensus::DefaultImportQueue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no DefaultImportQueue in the root
error[E0432]: unresolved import sc_telemetry
--> nodes\poscan-consensus\src\service.rs:10:5
|
| ^^^^^^^^^^^^ use of undeclared crate or module sc_telemetry
error[E0432]: unresolved import async_trait
--> nodes\poscan-consensus\src\service.rs:27:5
|
27 | use async_trait::async_trait;
| ^^^^^^^^^^^ use of undeclared crate or module async_trait
error: cannot determine resolution for the attribute macro async_trait
--> nodes\poscan-consensus\src\service.rs:121:3
121
#[async_trait]
^^^^^^^^^^^
= note: import resolution is stuck, try simplifying macro imports
error[E0433]: failed to resolve: use of undeclared crate or module frame_benchmarking
--> nodes\poscan-consensus\src\service.rs:51:31
|
51 | type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
| ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module frame_benchmarking
error[E0433]: failed to resolve: use of undeclared crate or module sc_telemetry
--> nodes\poscan-consensus\src\service.rs:172:33
|
172 | .map(|endpoints| -> Result<_, sc_telemetry::Error> {
| ^^^^^^^^^^^^ use of undeclared crate or module sc_telemetry
error[E0405]: cannot find trait CreateInherentDataProviders in crate sp_inherents
--> nodes\poscan-consensus\src\service.rs:122:20
|
122 | impl sp_inherents::CreateInherentDataProviders<Block, ()> for CreateInherentDataProviders {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in sp_inherents
error[E0425]: cannot find function protocol_standard_name in crate sc_finality_grandpa
--> nodes\poscan-consensus\src\service.rs:618:51
|
618 | let grandpa_protocol_name = sc_finality_grandpa::protocol_standard_name(
| ^^^^^^^^^^^^^^^^^^^^^^ not found in sc_finality_grandpa
Some errors have detailed explanations: E0405, E0425, E0432, E0433, E0706.
For more information about an error, try rustc --explain E0405.
error: could not compile poscan-consensus due to 10 previous errors
https://github.com/3Dpass/3DP/commit/4825add8287e489fec995695dd7d3744f65ee3a0
Compilation error after replacing multiprocess file.
async
--> nodes\poscan-consensus\src\service.rs:125:2async
because of thiserror[E0432]: unresolved import
sc_executor::NativeElseWasmExecutor
--> nodes\poscan-consensus\src\service.rs:6:5 | 6 | use sc_executor::NativeElseWasmExecutor; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ noNativeElseWasmExecutor
in the rooterror[E0432]: unresolved import
sc_consensus::DefaultImportQueue
--> nodes\poscan-consensus\src\service.rs:7:5 | 7 | use sc_consensus::DefaultImportQueue; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ noDefaultImportQueue
in the rooterror[E0432]: unresolved import
sc_telemetry
--> nodes\poscan-consensus\src\service.rs:10:5 | | ^^^^^^^^^^^^ use of undeclared crate or modulesc_telemetry
error[E0432]: unresolved import
async_trait
--> nodes\poscan-consensus\src\service.rs:27:5 | 27 | use async_trait::async_trait; | ^^^^^^^^^^^ use of undeclared crate or moduleasync_trait
async_trait
--> nodes\poscan-consensus\src\service.rs:121:3error[E0433]: failed to resolve: use of undeclared crate or module
frame_benchmarking
--> nodes\poscan-consensus\src\service.rs:51:31 | 51 | type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or moduleframe_benchmarking
error[E0433]: failed to resolve: use of undeclared crate or module
sc_telemetry
--> nodes\poscan-consensus\src\service.rs:172:33 | 172 | .map(|endpoints| -> Result<_, sc_telemetry::Error> { | ^^^^^^^^^^^^ use of undeclared crate or modulesc_telemetry
error[E0405]: cannot find trait
CreateInherentDataProviders
in cratesp_inherents
--> nodes\poscan-consensus\src\service.rs:122:20 | 122 | impl sp_inherents::CreateInherentDataProviders<Block, ()> for CreateInherentDataProviders { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found insp_inherents
error[E0425]: cannot find function
protocol_standard_name
in cratesc_finality_grandpa
--> nodes\poscan-consensus\src\service.rs:618:51 | 618 | let grandpa_protocol_name = sc_finality_grandpa::protocol_standard_name( | ^^^^^^^^^^^^^^^^^^^^^^ not found insc_finality_grandpa
Some errors have detailed explanations: E0405, E0425, E0432, E0433, E0706. For more information about an error, try
rustc --explain E0405
. error: could not compileposcan-consensus
due to 10 previous errors