Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gavofyork/838e4d57c5b0b0b1aca6edfdd9de2ce8 to your computer and use it in GitHub Desktop.
Save gavofyork/838e4d57c5b0b0b1aca6edfdd9de2ce8 to your computer and use it in GitHub Desktop.
/Users/gav/.cargo/bin/cargo check --color=always
Compiling bstr v0.1.4
Compiling clap v2.32.0
Compiling env_logger v0.6.1
Compiling parity-codec v3.5.1
Checking fork-tree v2.0.0 (/Users/gav/Core/substrate/core/util/fork-tree)
Checking finality-grandpa v0.7.2
Compiling jsonrpc-client-transports v12.0.0
Checking substrate-state-db v2.0.0 (/Users/gav/Core/substrate/core/state-db)
Checking substrate-keystore v2.0.0 (/Users/gav/Core/substrate/core/keystore)
Checking jsonrpc-core-client v12.0.0
Checking sr-primitives v2.0.0 (/Users/gav/Core/substrate/core/sr-primitives)
Checking globset v0.4.3
Compiling impl-codec v0.2.0
Checking jsonrpc-server-utils v12.0.0
Compiling primitive-types v0.2.4
Checking substrate-inherents v2.0.0 (/Users/gav/Core/substrate/core/inherents)
Checking sr-version v2.0.0 (/Users/gav/Core/substrate/core/sr-version)
Checking substrate-keyring v2.0.0 (/Users/gav/Core/substrate/core/keyring)
Checking substrate-transaction-graph v2.0.0 (/Users/gav/Core/substrate/core/transaction-pool/graph)
Checking node-primitives v2.0.0 (/Users/gav/Core/substrate/node/primitives)
Checking jsonrpc-http-server v12.0.0
Checking jsonrpc-ws-server v12.0.0
Checking srml-support v2.0.0 (/Users/gav/Core/substrate/srml/support)
Checking substrate-consensus-common v2.0.0 (/Users/gav/Core/substrate/core/consensus/common)
Checking substrate-executor v2.0.0 (/Users/gav/Core/substrate/core/executor)
Checking structopt v0.2.17
Checking srml-system v2.0.0 (/Users/gav/Core/substrate/srml/system)
Checking substrate-client v2.0.0 (/Users/gav/Core/substrate/core/client)
Compiling substrate-primitives v2.0.0 (/Users/gav/Core/substrate/core/primitives)
Compiling bindgen v0.47.3
Checking substrate-transaction-pool v2.0.0 (/Users/gav/Core/substrate/core/transaction-pool)
Checking substrate-network v2.0.0 (/Users/gav/Core/substrate/core/network)
Checking substrate-offchain-primitives v2.0.0 (/Users/gav/Core/substrate/core/offchain/primitives)
Checking substrate-finality-grandpa-primitives v2.0.0 (/Users/gav/Core/substrate/core/finality-grandpa/primitives)
Checking substrate-consensus-aura-primitives v2.0.0 (/Users/gav/Core/substrate/core/consensus/aura/primitives)
Checking substrate-consensus-authorities v2.0.0 (/Users/gav/Core/substrate/core/consensus/authorities)
Checking substrate-consensus-slots v2.0.0 (/Users/gav/Core/substrate/core/consensus/slots)
Compiling substrate-trie v2.0.0 (/Users/gav/Core/substrate/core/trie)
Compiling substrate-state-machine v2.0.0 (/Users/gav/Core/substrate/core/state-machine)
Checking substrate-offchain v2.0.0 (/Users/gav/Core/substrate/core/offchain)
Checking substrate-basic-authorship v2.0.0 (/Users/gav/Core/substrate/core/basic-authorship)
Compiling sr-io v2.0.0 (/Users/gav/Core/substrate/core/sr-io)
Compiling librocksdb-sys v5.18.3
Checking substrate-rpc v2.0.0 (/Users/gav/Core/substrate/core/rpc)
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
Checking substrate-rpc-servers v2.0.0 (/Users/gav/Core/substrate/core/rpc-servers)
Checking srml-timestamp v2.0.0 (/Users/gav/Core/substrate/srml/timestamp)
Checking srml-democracy v2.0.0 (/Users/gav/Core/substrate/srml/democracy)
Checking srml-finality-tracker v2.0.0 (/Users/gav/Core/substrate/srml/finality-tracker)
Checking srml-balances v2.0.0 (/Users/gav/Core/substrate/srml/balances)
Checking srml-sudo v2.0.0 (/Users/gav/Core/substrate/srml/sudo)
Checking srml-executive v2.0.0 (/Users/gav/Core/substrate/srml/executive)
Checking srml-indices v2.0.0 (/Users/gav/Core/substrate/srml/indices)
Checking srml-session v2.0.0 (/Users/gav/Core/substrate/srml/session)
Checking srml-contract v2.0.0 (/Users/gav/Core/substrate/srml/contract)
warning: unused imports: `Deserialize`, `Serialize`
--> srml/session/src/lib.rs:121:13
|
121 | use serde::{Serialize, Deserialize};
| ^^^^^^^^^ ^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
warning: redundant linker flag specified for library `c++`
warning: redundant linker flag specified for library `c++`
Compiling rocksdb v0.11.0
Checking kvdb-rocksdb v0.1.4 (https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d#b0317f64)
Checking substrate-client-db v2.0.0 (/Users/gav/Core/substrate/core/client/db)
Checking srml-staking v2.0.0 (/Users/gav/Core/substrate/srml/staking)
Checking srml-grandpa v2.0.0 (/Users/gav/Core/substrate/srml/grandpa)
Checking substrate-service v2.0.0 (/Users/gav/Core/substrate/core/service)
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
warning: pubsub methods are currently not supported in the generated client.
Checking substrate-cli v2.0.0 (/Users/gav/Core/substrate/core/cli)
Checking substrate-finality-grandpa v2.0.0 (/Users/gav/Core/substrate/core/finality-grandpa)
Checking transaction-factory v0.0.1 (/Users/gav/Core/substrate/test-utils/transaction-factory)
Checking srml-treasury v2.0.0 (/Users/gav/Core/substrate/srml/treasury)
Compiling node-cli v2.0.0 (/Users/gav/Core/substrate/node/cli)
Checking srml-council v2.0.0 (/Users/gav/Core/substrate/srml/council)
Checking srml-aura v2.0.0 (/Users/gav/Core/substrate/srml/aura)
warning: method is never used: `deposit_log`
--> srml/aura/src/lib.rs:225:2
|
225 | fn deposit_log(log: Log<T>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default
Checking substrate-consensus-aura v2.0.0 (/Users/gav/Core/substrate/core/consensus/aura)
warning: unused import: `Core as CoreApi`
--> core/consensus/aura/src/lib.rs:43:24
|
43 | runtime_api::{ApiExt, Core as CoreApi},
| ^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
Checking node-runtime v2.0.0 (/Users/gav/Core/substrate/node/runtime)
Checking node-executor v2.0.0 (/Users/gav/Core/substrate/node/executor)
warning: unused import: `std::marker::PhantomData`
--> node/cli/src/chain_spec.rs:28:5
|
28 | use std::marker::PhantomData;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
error[E0277]: the trait bound `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>: substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not satisfied
--> node/cli/src/service.rs:96:17
|
96 | let aura = start_aura(
| ^^^^^^^^^^ the trait `substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not implemented for `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>`
|
= note: required by `substrate_consensus_aura::start_aura`
error[E0277]: the trait bound `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>: substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not satisfied
--> node/cli/src/service.rs:107:15
|
107 | executor.spawn(aura.select(service.on_exit()).then(|_| Ok(())));
| ^^^^^ the trait `substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not implemented for `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>`
|
= note: required because of the requirements on the impl of `substrate_consensus_slots::SlotWorker<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` for `substrate_consensus_aura::AuraWorker<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>, substrate_basic_authorship::basic_authorship::ProposerFactory<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>, substrate_transaction_pool::api::ChainApi<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>>, substrate_finality_grandpa::import::GrandpaBlockImport<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi, substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>, substrate_client::client::LongestChain<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>>, substrate_primitives::ed25519::Pair, alloc::sync::Arc<substrate_network::service::NetworkService<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, service::NodeProtocol>>>`
= note: required because it appears within the type `impl futures::future::Future`
= note: required because it appears within the type `impl futures::future::Future`
= note: required because it appears within the type `(impl futures::future::Future, exit_future::Exit)`
= note: required because it appears within the type `std::option::Option<(impl futures::future::Future, exit_future::Exit)>`
= note: required because it appears within the type `futures::future::select::Select<impl futures::future::Future, exit_future::Exit>`
= note: required because it appears within the type `futures::future::chain::Chain<futures::future::select::Select<impl futures::future::Future, exit_future::Exit>, futures::future::result_::FutureResult<(), ()>, [closure@node/cli/src/service.rs:107:57: 107:67]>`
= note: required because it appears within the type `futures::future::then::Then<futures::future::select::Select<impl futures::future::Future, exit_future::Exit>, std::result::Result<(), ()>, [closure@node/cli/src/service.rs:107:57: 107:67]>`
error[E0277]: the trait bound `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>: substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not satisfied
--> node/cli/src/service.rs:170:5
|
170 | import_queue::<_, _, _, ed25519::Pair>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not implemented for `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_client::call_executor::LocalCallExecutor<substrate_client_db::Backend<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>`
|
= note: required by `substrate_consensus_aura::import_queue`
error[E0277]: the trait bound `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client::light::backend::Backend<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_primitives::hasher::blake2::Blake2Hasher>, substrate_client::light::call_executor::RemoteOrLocalCallExecutor<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, substrate_client::light::backend::Backend<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_primitives::hasher::blake2::Blake2Hasher>, substrate_client::light::call_executor::RemoteCallExecutor<substrate_client::light::blockchain::Blockchain<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>>, substrate_client::call_executor::LocalCallExecutor<substrate_client::light::backend::Backend<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_primitives::hasher::blake2::Blake2Hasher>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>: substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not satisfied
--> node/cli/src/service.rs:195:5
|
195 | import_queue::<_, _, _, ed25519::Pair>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `substrate_consensus_authorities::AuthoritiesApi<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>` is not implemented for `node_runtime::RuntimeApiImpl<substrate_client::client::Client<substrate_client::light::backend::Backend<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_primitives::hasher::blake2::Blake2Hasher>, substrate_client::light::call_executor::RemoteOrLocalCallExecutor<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, substrate_client::light::backend::Backend<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_primitives::hasher::blake2::Blake2Hasher>, substrate_client::light::call_executor::RemoteCallExecutor<substrate_client::light::blockchain::Blockchain<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>>, substrate_client::call_executor::LocalCallExecutor<substrate_client::light::backend::Backend<substrate_client_db::light::LightStorage<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_network::on_demand_layer::OnDemand<sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>>, substrate_primitives::hasher::blake2::Blake2Hasher>, substrate_executor::native_executor::NativeExecutor<node_executor::Executor>>>, sr_primitives::generic::block::Block<sr_primitives::generic::header::Header<u64, sr_primitives::traits::BlakeTwo256, sr_primitives::generic::digest::DigestItem<primitive_types::H256, substrate_primitives::ed25519::Public, substrate_primitives::ed25519::Signature>>, sr_primitives::OpaqueExtrinsic>, node_runtime::RuntimeApi>>`
|
= note: required by `substrate_consensus_aura::import_queue`
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `node-cli`.
To learn more, run the command again with --verbose.
Process finished with exit code 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment