[INFO] fetching crate sc-consensus-babe 0.8.0-rc2... [INFO] testing sc-consensus-babe-0.8.0-rc2 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate sc-consensus-babe 0.8.0-rc2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate sc-consensus-babe 0.8.0-rc2 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-consensus-babe 0.8.0-rc2 [INFO] finished tweaking crates.io crate sc-consensus-babe 0.8.0-rc2 [INFO] tweaked toml for crates.io crate sc-consensus-babe 0.8.0-rc2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 061776b3f52652adbe390fbb292d8abba5c3af8994f06adb2f90a93d25502411 [INFO] running `"docker" "start" "-a" "061776b3f52652adbe390fbb292d8abba5c3af8994f06adb2f90a93d25502411"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-rc2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling paste-impl v0.1.16 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.19.1 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling ref-cast v1.0.1 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling paste v0.1.16 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling js-sys v0.3.40 [INFO] [stderr] Compiling tracing v0.1.15 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc2 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling libp2p-core v0.19.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.11 [INFO] [stderr] Compiling multistream-select v0.8.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling soketto v0.3.2 [INFO] [stderr] Compiling async-tls v0.7.0 [INFO] [stderr] Compiling sp-utils v2.0.0-rc2 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling parity-multiaddr v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling erased-serde v0.3.11 [INFO] [stderr] Compiling web-sys v0.3.40 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.13 [INFO] [stderr] Compiling sp-storage v2.0.0-rc2 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling sp-serializer v2.0.0-rc2 [INFO] [stderr] Compiling slog-json v2.3.0 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc2 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc2 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc2 [INFO] [stderr] Compiling libp2p-dns v0.19.0 [INFO] [stderr] Compiling libp2p-swarm v0.19.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.19.0 [INFO] [stderr] Compiling libp2p-tcp v0.19.1 [INFO] [stderr] Compiling libp2p-websocket v0.19.0 [INFO] [stderr] Compiling libp2p v0.19.1 [INFO] [stderr] Compiling sc-telemetry v2.0.0-rc2 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc2 [INFO] [stderr] Compiling fork-tree v2.0.0-rc2 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Compiling memory-db v0.20.1 [INFO] [stderr] Compiling kvdb v0.6.0 [INFO] [stderr] Compiling sp-database v2.0.0-rc2 [INFO] [stderr] Compiling sp-core v2.0.0-rc2 [INFO] [stderr] Compiling sp-trie v2.0.0-rc2 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc2 [INFO] [stderr] Compiling sp-allocator v2.0.0-rc2 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc2 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc2 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc2 [INFO] [stderr] Compiling sp-io v2.0.0-rc2 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc2 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc2 [INFO] [stderr] Compiling sc-keystore v2.0.0-rc2 [INFO] [stderr] Compiling sp-version v2.0.0-rc2 [INFO] [stderr] Compiling sp-keyring v2.0.0-rc2 [INFO] [stderr] Compiling sp-consensus-vrf v0.8.0-rc2 [INFO] [stderr] Compiling sp-authorship v2.0.0-rc2 [INFO] [stderr] Compiling sp-api v2.0.0-rc2 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc2 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc2 [INFO] [stderr] Compiling sc-executor v0.8.0-rc2 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-rc2 [INFO] [stderr] Compiling sp-timestamp v2.0.0-rc2 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc2 [INFO] [stderr] Compiling sp-consensus-babe v0.8.0-rc2 [INFO] [stderr] Compiling sc-client-api v2.0.0-rc2 [INFO] [stderr] Compiling sc-consensus-epochs v0.8.0-rc2 [INFO] [stderr] Compiling sc-consensus-uncles v0.8.0-rc2 [INFO] [stderr] Compiling sc-consensus-babe v0.8.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 20s [INFO] running `"docker" "inspect" "061776b3f52652adbe390fbb292d8abba5c3af8994f06adb2f90a93d25502411"` [INFO] running `"docker" "rm" "-f" "061776b3f52652adbe390fbb292d8abba5c3af8994f06adb2f90a93d25502411"` [INFO] [stdout] 061776b3f52652adbe390fbb292d8abba5c3af8994f06adb2f90a93d25502411 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 13b1fb9064a8276a6a8e4aafc663ef95c3b429bd8ff7b4d687b3b7e349210dcc [INFO] running `"docker" "start" "-a" "13b1fb9064a8276a6a8e4aafc663ef95c3b429bd8ff7b4d687b3b7e349210dcc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling sc-consensus-babe v0.8.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/aux_schema.rs:141:6 [INFO] [stderr] | [INFO] [stderr] 141 | use substrate_test_runtime_client; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `substrate_test_runtime_client` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_network_test` [INFO] [stderr] --> src/aux_schema.rs:147:6 [INFO] [stderr] | [INFO] [stderr] 147 | use sc_network_test::Block as TestBlock; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_network_test` [INFO] [stderr] --> src/tests.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use sc_network_test::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_block_builder` [INFO] [stderr] --> src/tests.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use sc_block_builder::{BlockBuilder, BlockBuilderProvider}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_block_builder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sc_network` [INFO] [stderr] --> src/tests.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use sc_network::config::{BoxFinalityProofRequestBuilder, ProtocolConfig}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sc_network` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sc_network_test`, `sc_network::config::BoxFinalityProofRequestBuilder`, `sc_network::config::ProtocolConfig` [INFO] [stderr] --> src/tests.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use sc_network_test::{Block as TestBlock, PeersClient}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stderr] 33 | use sc_network::config::{BoxFinalityProofRequestBuilder, ProtocolConfig}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 43 | type TestClient = substrate_test_runtime_client::client::Client< [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:44:2 [INFO] [stderr] | [INFO] [stderr] 44 | substrate_test_runtime_client::Backend, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:45:2 [INFO] [stderr] | [INFO] [stderr] 45 | substrate_test_runtime_client::Executor, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:47:2 [INFO] [stderr] | [INFO] [stderr] 47 | substrate_test_runtime_client::runtime::RuntimeApi, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:101:36 [INFO] [stderr] | [INFO] [stderr] 101 | sc_client_api::TransactionFor [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:158:51 [INFO] [stderr] | [INFO] [stderr] 158 | type Transaction = sc_client_api::TransactionFor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/tests.rs:232:51 [INFO] [stderr] | [INFO] [stderr] 232 | Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockImportAdapter` [INFO] [stderr] --> src/tests.rs:273:4 [INFO] [stderr] | [INFO] [stderr] 273 | BlockImportAdapter::new_full(block_import), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `BlockImportAdapter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/tests.rs:328:2 [INFO] [stderr] | [INFO] [stderr] 328 | env_logger::try_init().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/tests.rs:341:10 [INFO] [stderr] | [INFO] [stderr] 341 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/tests.rs:364:23 [INFO] [stderr] | [INFO] [stderr] 364 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/tests.rs:470:10 [INFO] [stderr] | [INFO] [stderr] 470 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/tests.rs:479:10 [INFO] [stderr] | [INFO] [stderr] 479 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/tests.rs:486:10 [INFO] [stderr] | [INFO] [stderr] 486 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/tests.rs:495:10 [INFO] [stderr] | [INFO] [stderr] 495 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/tests.rs:496:22 [INFO] [stderr] | [INFO] [stderr] 496 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0573]: expected type, found derive macro `Hash` [INFO] [stderr] --> src/tests.rs:39:24 [INFO] [stderr] | [INFO] [stderr] 39 | type Item = DigestItem; [INFO] [stderr] | ^^^^ not a type [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items instead [INFO] [stderr] | [INFO] [stderr] 22 | use core::hash::Hash; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::traits::Hash; [INFO] [stderr] | [INFO] [stderr] 22 | use std::hash::Hash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0573]: expected type, found derive macro `Hash` [INFO] [stderr] --> src/tests.rs:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | parent_hash: Hash, [INFO] [stderr] | ^^^^ not a type [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items instead [INFO] [stderr] | [INFO] [stderr] 22 | use core::hash::Hash; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::traits::Hash; [INFO] [stderr] | [INFO] [stderr] 22 | use std::hash::Hash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/tests.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 199 | pub struct BabeTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 200 | peers: Vec>>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PeersFullClient` in this scope [INFO] [stderr] --> src/tests.rs:207:33 [INFO] [stderr] | [INFO] [stderr] 206 | pub struct TestVerifier { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 207 | inner: BabeVerifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TestNetFactory` in this scope [INFO] [stderr] --> src/tests.rs:236:6 [INFO] [stderr] | [INFO] [stderr] 236 | impl TestNetFactory for BabeTestNet { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolConfig` in this scope [INFO] [stderr] --> src/tests.rs:241:27 [INFO] [stderr] | [INFO] [stderr] 241 | fn from_config(_config: &ProtocolConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockImportAdapter` in this scope [INFO] [stderr] --> src/tests.rs:250:4 [INFO] [stderr] | [INFO] [stderr] 250 | BlockImportAdapter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `BlockImportParams` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-consensus-0.8.0-rc2/src/block_import.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct BlockImportParams { [INFO] [stderr] | -------------------------------------------------------- similarly named struct `BlockImportParams` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/tests.rs:251:34 [INFO] [stderr] | [INFO] [stderr] 251 | Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 251 | Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/tests.rs:252:34 [INFO] [stderr] | [INFO] [stderr] 252 | Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 252 | Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BoxFinalityProofRequestBuilder` in this scope [INFO] [stderr] --> src/tests.rs:253:11 [INFO] [stderr] | [INFO] [stderr] 236 | impl TestNetFactory for BabeTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 253 | Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/tests.rs:253:42 [INFO] [stderr] | [INFO] [stderr] 253 | Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 253 | Option>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 22 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolConfig` in this scope [INFO] [stderr] --> src/tests.rs:284:10 [INFO] [stderr] | [INFO] [stderr] 284 | _cfg: &ProtocolConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/tests.rs:307:39 [INFO] [stderr] | [INFO] [stderr] 307 | fn peer(&mut self, i: usize) -> &mut Peer { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/tests.rs:312:26 [INFO] [stderr] | [INFO] [stderr] 236 | impl TestNetFactory for BabeTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 312 | fn peers(&self) -> &Vec> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/tests.rs:317:34 [INFO] [stderr] | [INFO] [stderr] 236 | impl TestNetFactory for BabeTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 317 | fn mut_peers>)>( [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 37 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0573. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `sc-consensus-babe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "13b1fb9064a8276a6a8e4aafc663ef95c3b429bd8ff7b4d687b3b7e349210dcc"` [INFO] running `"docker" "rm" "-f" "13b1fb9064a8276a6a8e4aafc663ef95c3b429bd8ff7b4d687b3b7e349210dcc"` [INFO] [stdout] 13b1fb9064a8276a6a8e4aafc663ef95c3b429bd8ff7b4d687b3b7e349210dcc