[INFO] fetching crate sc-consensus-babe 0.8.0-rc5... [INFO] testing sc-consensus-babe-0.8.0-rc5 against 1.45.2 for beta-1.46-1 [INFO] extracting crate sc-consensus-babe 0.8.0-rc5 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sc-consensus-babe 0.8.0-rc5 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-babe 0.8.0-rc5 [INFO] finished tweaking crates.io crate sc-consensus-babe 0.8.0-rc5 [INFO] tweaked toml for crates.io crate sc-consensus-babe 0.8.0-rc5 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90e990422e42fab0565289ef63ef1504f296afd59fac1d21c81ed8896bfe5834 [INFO] running `Command { std: "docker" "start" "-a" "90e990422e42fab0565289ef63ef1504f296afd59fac1d21c81ed8896bfe5834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90e990422e42fab0565289ef63ef1504f296afd59fac1d21c81ed8896bfe5834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90e990422e42fab0565289ef63ef1504f296afd59fac1d21c81ed8896bfe5834", kill_on_drop: false }` [INFO] [stdout] 90e990422e42fab0565289ef63ef1504f296afd59fac1d21c81ed8896bfe5834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 281fd958b71a3679a58632b7fc4a1036512d084c28429acd8d0c3fa2fb722b7f [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" "281fd958b71a3679a58632b7fc4a1036512d084c28429acd8d0c3fa2fb722b7f", kill_on_drop: false }` [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-rc5 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc5 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling fork-tree v2.0.0-rc5 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling memory-db v0.24.1 [INFO] [stderr] Compiling kvdb v0.7.0 [INFO] [stderr] Compiling sp-database v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.17 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling sp-allocator v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc5 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc5 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sc-telemetry v2.0.0-rc5 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling sc-keystore v2.0.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling sp-keyring v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-slots v0.8.0-rc5 [INFO] [stderr] Compiling sp-consensus-vrf v0.8.0-rc5 [INFO] [stderr] Compiling sp-authorship v2.0.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor v0.8.0-rc5 [INFO] [stderr] Compiling sp-timestamp v2.0.0-rc5 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-babe v0.8.0-rc5 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-rc5 [INFO] [stderr] Compiling sc-client-api v2.0.0-rc5 [INFO] [stderr] Compiling sc-consensus-uncles v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-epochs v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-babe v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 12s [INFO] running `Command { std: "docker" "inspect" "281fd958b71a3679a58632b7fc4a1036512d084c28429acd8d0c3fa2fb722b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281fd958b71a3679a58632b7fc4a1036512d084c28429acd8d0c3fa2fb722b7f", kill_on_drop: false }` [INFO] [stdout] 281fd958b71a3679a58632b7fc4a1036512d084c28429acd8d0c3fa2fb722b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d4ad1e5ca13a8043a4f5f2af9cb73ab275681b1c7c1c4e21f8d6049befe58f1 [INFO] running `Command { std: "docker" "start" "-a" "3d4ad1e5ca13a8043a4f5f2af9cb73ab275681b1c7c1c4e21f8d6049befe58f1", kill_on_drop: false }` [INFO] [stderr] Compiling sc-consensus-babe v0.8.0-rc5 (/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[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | use substrate_test_runtime_client::DefaultTestClientBuilderExt; [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: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:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | type TestSelectChain = substrate_test_runtime_client::LongestChain< [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:218:2 [INFO] [stdout] | [INFO] [stdout] 218 | 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:248:51 [INFO] [stdout] | [INFO] [stdout] 248 | 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:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | 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 `TestClientBuilder` [INFO] [stdout] --> src/tests.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | let (_, longest_chain) = TestClientBuilder::new().build_with_longest_chain(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/tests.rs:349:2 [INFO] [stdout] | [INFO] [stdout] 349 | 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:362:10 [INFO] [stdout] | [INFO] [stdout] 362 | 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:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | 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:491:10 [INFO] [stdout] | [INFO] [stdout] 491 | 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:500:10 [INFO] [stdout] | [INFO] [stdout] 500 | 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:507:10 [INFO] [stdout] | [INFO] [stdout] 507 | 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:516:10 [INFO] [stdout] | [INFO] [stdout] 516 | 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:517:22 [INFO] [stdout] | [INFO] [stdout] 517 | 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:823:10 [INFO] [stdout] | [INFO] [stdout] 823 | 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:824:22 [INFO] [stdout] | [INFO] [stdout] 824 | 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 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 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] 210 | pub struct BabeTestNet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [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:223:33 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct TestVerifier { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 223 | 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:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | 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:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | 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:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | 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:267:34 [INFO] [stdout] | [INFO] [stdout] 267 | 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] 267 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [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:268:34 [INFO] [stdout] | [INFO] [stdout] 268 | 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] 268 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [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:269:11 [INFO] [stdout] | [INFO] [stdout] 252 | impl TestNetFactory for BabeTestNet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 269 | 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:269:42 [INFO] [stdout] | [INFO] [stdout] 269 | 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] 269 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [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:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | _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:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | 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:333:26 [INFO] [stdout] | [INFO] [stdout] 252 | impl TestNetFactory for BabeTestNet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 333 | 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:338:34 [INFO] [stdout] | [INFO] [stdout] 252 | impl TestNetFactory for BabeTestNet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 338 | fn mut_peers>)>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 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] running `Command { std: "docker" "inspect" "3d4ad1e5ca13a8043a4f5f2af9cb73ab275681b1c7c1c4e21f8d6049befe58f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d4ad1e5ca13a8043a4f5f2af9cb73ab275681b1c7c1c4e21f8d6049befe58f1", kill_on_drop: false }` [INFO] [stdout] 3d4ad1e5ca13a8043a4f5f2af9cb73ab275681b1c7c1c4e21f8d6049befe58f1