[INFO] crate sc-consensus-babe 0.8.0-rc4 is already in cache [INFO] checking sc-consensus-babe-0.8.0-rc4 against try#22dd2dd1dc07f63ae9394352d412f020d2985684 for pr-74627 [INFO] extracting crate sc-consensus-babe 0.8.0-rc4 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sc-consensus-babe 0.8.0-rc4 on toolchain 22dd2dd1dc07f63ae9394352d412f020d2985684 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-babe 0.8.0-rc4 [INFO] finished tweaking crates.io crate sc-consensus-babe 0.8.0-rc4 [INFO] tweaked toml for crates.io crate sc-consensus-babe 0.8.0-rc4 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59152a6be4bd5c328175ab0a851b2d8c4afaf60edb95de820548c88205d0fbf3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59152a6be4bd5c328175ab0a851b2d8c4afaf60edb95de820548c88205d0fbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59152a6be4bd5c328175ab0a851b2d8c4afaf60edb95de820548c88205d0fbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59152a6be4bd5c328175ab0a851b2d8c4afaf60edb95de820548c88205d0fbf3", kill_on_drop: false }` [INFO] [stdout] 59152a6be4bd5c328175ab0a851b2d8c4afaf60edb95de820548c88205d0fbf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f23515641676779270f64300bb7354cafd8e77361f5f387d4c441ef9ed429f47 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f23515641676779270f64300bb7354cafd8e77361f5f387d4c441ef9ed429f47", kill_on_drop: false }` [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-rc5 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking fork-tree v2.0.0-rc5 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.8.2 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking soketto v0.4.1 [INFO] [stderr] Checking sp-utils v2.0.0-rc5 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stderr] Checking sp-core v2.0.0-rc5 [INFO] [stderr] Checking libp2p-core v0.20.1 [INFO] [stderr] Checking sp-trie v2.0.0-rc5 [INFO] [stderr] Checking sp-inherents v2.0.0-rc5 [INFO] [stderr] Checking sp-allocator v2.0.0-rc5 [INFO] [stderr] Checking libp2p-websocket v0.21.1 [INFO] [stderr] Checking libp2p-dns v0.20.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.20.1 [INFO] [stderr] Checking libp2p-swarm v0.20.1 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc5 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc5 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc5 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking libp2p-tcp v0.20.0 [INFO] [stderr] Checking sp-io v2.0.0-rc5 [INFO] [stderr] Checking libp2p v0.22.0 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc5 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Checking sp-runtime v2.0.0-rc5 [INFO] [stderr] Checking sc-keystore v2.0.0-rc5 [INFO] [stderr] Checking sp-version v2.0.0-rc5 [INFO] [stderr] Checking sp-keyring v2.0.0-rc5 [INFO] [stderr] Checking sp-consensus-slots v0.8.0-rc5 [INFO] [stderr] Checking sp-consensus-vrf v0.8.0-rc5 [INFO] [stderr] Checking sp-authorship v2.0.0-rc5 [INFO] [stderr] Checking sp-api v2.0.0-rc5 [INFO] [stderr] Checking sp-consensus v0.8.0-rc5 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc5 [INFO] [stderr] Checking sc-executor v0.8.0-rc5 [INFO] [stderr] Checking sp-timestamp v2.0.0-rc5 [INFO] [stderr] Checking sp-consensus-babe v0.8.0-rc5 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc5 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc5 [INFO] [stderr] Checking sc-client-api v2.0.0-rc5 [INFO] [stderr] Checking sc-consensus-uncles v0.8.0-rc5 [INFO] [stderr] Checking sc-consensus-epochs v0.8.0-rc5 [INFO] [stderr] Checking sc-consensus-babe v0.8.0-rc4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/aux_schema.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | use substrate_test_runtime_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `substrate_test_runtime_client` external crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/aux_schema.rs:147:6 [INFO] [stdout] | [INFO] [stdout] 147 | use sc_network_test::Block as TestBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use sc_network_test::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_block_builder` [INFO] [stdout] --> src/tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use sc_block_builder::{BlockBuilder, BlockBuilderProvider}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_block_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sc_network` [INFO] [stdout] --> src/tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use sc_network::config::{BoxFinalityProofRequestBuilder, ProtocolConfig}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `sc_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand_chacha` [INFO] [stdout] --> src/tests.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use rand_chacha::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sc_network_test`, `sc_network::config::BoxFinalityProofRequestBuilder`, `sc_network::config::ProtocolConfig`, `rand_chacha::rand_core::SeedableRng` [INFO] [stdout] --> src/tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use sc_network_test::{Block as TestBlock, PeersClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stdout] 39 | use sc_network::config::{BoxFinalityProofRequestBuilder, ProtocolConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | rand_core::SeedableRng, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_chacha` [INFO] [stdout] --> src/tests.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use rand_chacha::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | type TestClient = substrate_test_runtime_client::client::Client< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:55:2 [INFO] [stdout] | [INFO] [stdout] 55 | substrate_test_runtime_client::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | substrate_test_runtime_client::Executor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:58:2 [INFO] [stdout] | [INFO] [stdout] 58 | substrate_test_runtime_client::runtime::RuntimeApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | sc_client_api::TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:169:51 [INFO] [stdout] | [INFO] [stdout] 169 | type Transaction = sc_client_api::TransactionFor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:243:51 [INFO] [stdout] | [INFO] [stdout] 243 | Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockImportAdapter` [INFO] [stdout] --> src/tests.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | BlockImportAdapter::new_full(block_import), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `BlockImportAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:339:2 [INFO] [stdout] | [INFO] [stdout] 339 | env_logger::try_init().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stdout] --> src/tests.rs:375:23 [INFO] [stdout] | [INFO] [stdout] 375 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:481:10 [INFO] [stdout] | [INFO] [stdout] 481 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:490:10 [INFO] [stdout] | [INFO] [stdout] 490 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:497:10 [INFO] [stdout] | [INFO] [stdout] 497 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:506:10 [INFO] [stdout] | [INFO] [stdout] 506 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stdout] --> src/tests.rs:507:22 [INFO] [stdout] | [INFO] [stdout] 507 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:813:10 [INFO] [stdout] | [INFO] [stdout] 813 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stdout] --> src/tests.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Hash` [INFO] [stdout] --> src/tests.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | type Item = DigestItem; [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 22 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::stream::futures_unordered::ptr::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 22 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Hash` [INFO] [stdout] --> src/tests.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | parent_hash: Hash, [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 22 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::stream::futures_unordered::ptr::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 22 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peer` in this scope [INFO] [stdout] --> src/tests.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | peers: Vec>>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeersFullClient` in this scope [INFO] [stdout] --> src/tests.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct TestVerifier { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 218 | inner: BabeVerifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TestNetFactory` in this scope [INFO] [stdout] --> src/tests.rs:247:6 [INFO] [stdout] | [INFO] [stdout] 247 | impl TestNetFactory for BabeTestNet { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolConfig` in this scope [INFO] [stdout] --> src/tests.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 252 | fn from_config(_config: &ProtocolConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockImportAdapter` in this scope [INFO] [stdout] --> src/tests.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | BlockImportAdapter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `BlockImportParams` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-consensus-0.8.0-rc5/src/block_import.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct BlockImportParams { [INFO] [stdout] | -------------------------------------------------------- similarly named struct `BlockImportParams` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/tests.rs:262:34 [INFO] [stdout] | [INFO] [stdout] 262 | Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 262 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::sp_consensus::block_validation::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/tests.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 263 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::sp_consensus::block_validation::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxFinalityProofRequestBuilder` in this scope [INFO] [stdout] --> src/tests.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/tests.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 264 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::sp_consensus::block_validation::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 22 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolConfig` in this scope [INFO] [stdout] --> src/tests.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | _cfg: &ProtocolConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peer` in this scope [INFO] [stdout] --> src/tests.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | fn peer(&mut self, i: usize) -> &mut Peer { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peer` in this scope [INFO] [stdout] --> src/tests.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | fn peers(&self) -> &Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Peer` in this scope [INFO] [stdout] --> src/tests.rs:328:34 [INFO] [stdout] | [INFO] [stdout] 328 | fn mut_peers>)>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-consensus-babe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `fst_header` found for struct `sp_consensus_slots::EquivocationProof<::Header, sp_consensus_babe::app::Public>` in the current scope [INFO] [stdout] --> src/lib.rs:845:26 [INFO] [stdout] | [INFO] [stdout] 845 | equivocation_proof.fst_header().hash(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `sp_consensus_slots::EquivocationProof<::Header, sp_consensus_babe::app::Public>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `snd_header` found for struct `sp_consensus_slots::EquivocationProof<::Header, sp_consensus_babe::app::Public>` in the current scope [INFO] [stdout] --> src/lib.rs:846:26 [INFO] [stdout] | [INFO] [stdout] 846 | equivocation_proof.snd_header().hash(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `sp_consensus_slots::EquivocationProof<::Header, sp_consensus_babe::app::Public>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f23515641676779270f64300bb7354cafd8e77361f5f387d4c441ef9ed429f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23515641676779270f64300bb7354cafd8e77361f5f387d4c441ef9ed429f47", kill_on_drop: false }` [INFO] [stdout] f23515641676779270f64300bb7354cafd8e77361f5f387d4c441ef9ed429f47