[INFO] fetching crate sc-consensus-babe 0.9.0... [INFO] checking sc-consensus-babe-0.9.0 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate sc-consensus-babe 0.9.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-consensus-babe 0.9.0 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-babe 0.9.0 [INFO] finished tweaking crates.io crate sc-consensus-babe 0.9.0 [INFO] tweaked toml for crates.io crate sc-consensus-babe 0.9.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd937ef3b11ea0ad65866707c79e540451073e175414a2f430e0f5b3012a234d [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" "dd937ef3b11ea0ad65866707c79e540451073e175414a2f430e0f5b3012a234d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd937ef3b11ea0ad65866707c79e540451073e175414a2f430e0f5b3012a234d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd937ef3b11ea0ad65866707c79e540451073e175414a2f430e0f5b3012a234d", kill_on_drop: false }` [INFO] [stdout] dd937ef3b11ea0ad65866707c79e540451073e175414a2f430e0f5b3012a234d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c00c832136f43c7e13269aaf60ab648eb31f2e77a79036bdde1c4a64c6dd62 [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" "46c00c832136f43c7e13269aaf60ab648eb31f2e77a79036bdde1c4a64c6dd62", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling libp2p-core-derive v0.21.0 [INFO] [stderr] Checking value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking ref-cast v1.0.6 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking prometheus v0.11.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking tiny-bip39 v0.8.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking trie-db v0.22.5 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking if-watch v0.1.8 [INFO] [stderr] Checking async-process v1.1.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking futures-rustls v0.21.1 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking sp-utils v3.0.0 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking sp-serializer v3.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Checking wasm-bindgen v0.2.74 [INFO] [stderr] Checking js-sys v0.3.51 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking parity-multiaddr v0.11.2 [INFO] [stderr] Checking parity-scale-codec v2.1.1 [INFO] [stderr] Checking impl-codec v0.5.0 [INFO] [stderr] Checking sp-storage v3.0.0 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking fork-tree v3.0.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.24 [INFO] [stderr] Checking sp-externalities v0.9.0 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking libp2p-websocket v0.28.0 [INFO] [stderr] Checking libp2p-swarm v0.27.2 [INFO] [stderr] Checking libp2p-tcp v0.27.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.27.0 [INFO] [stderr] Checking libp2p-dns v0.27.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking kvdb v0.9.0 [INFO] [stderr] Checking sp-database v3.0.0 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Checking libp2p v0.34.0 [INFO] [stderr] Checking sc-telemetry v3.0.0 [INFO] [stderr] Checking sp-trie v3.0.0 [INFO] [stderr] Checking sp-keystore v0.9.0 [INFO] [stderr] Checking sp-inherents v3.0.0 [INFO] [stderr] Checking sp-allocator v3.0.0 [INFO] [stderr] Checking sc-executor-common v0.9.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking sc-executor-wasmi v0.9.0 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking sp-application-crypto v3.0.0 [INFO] [stderr] Checking sp-tasks v3.0.0 [INFO] [stderr] Checking sp-runtime v3.0.0 [INFO] [stderr] Checking sc-keystore v3.0.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-consensus-slots v0.9.0 [INFO] [stderr] Checking sp-authorship v3.0.0 [INFO] [stderr] Checking sp-consensus-vrf v0.9.0 [INFO] [stderr] Checking sp-api v3.0.0 [INFO] [stderr] Checking sp-consensus v0.9.0 [INFO] [stderr] Checking sc-executor v0.9.0 [INFO] [stderr] Checking sp-timestamp v3.0.0 [INFO] [stderr] Checking sp-block-builder v3.0.0 [INFO] [stderr] Checking sp-blockchain v3.0.0 [INFO] [stderr] Checking sp-consensus-babe v0.9.0 [INFO] [stderr] Checking sp-transaction-pool v3.0.0 [INFO] [stderr] Checking sc-client-api v3.0.0 [INFO] [stderr] Checking sc-consensus-epochs v0.9.0 [INFO] [stderr] Checking sc-consensus-uncles v0.9.0 [INFO] [stderr] Checking sc-consensus-slots v0.9.0 [INFO] [stderr] Checking sc-consensus-babe v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/aux_schema.rs:143:6 [INFO] [stdout] | [INFO] [stdout] 143 | use substrate_test_runtime_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/aux_schema.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | use sc_network_test::Block as TestBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network_test` [INFO] [stdout] --> src/tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use sc_network_test::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_network_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_block_builder` [INFO] [stdout] --> src/tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use sc_block_builder::{BlockBuilder, BlockBuilderProvider}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_block_builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sc_network` [INFO] [stdout] --> src/tests.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use sc_network::config::ProtocolConfig; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sc_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand_chacha` [INFO] [stdout] --> src/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use rand_chacha::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sc_network_test`, `sc_network::config::ProtocolConfig`, `rand_chacha::rand_core::SeedableRng` [INFO] [stdout] --> src/tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use sc_network_test::{Block as TestBlock, PeersClient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_network_test` [INFO] [stdout] 40 | use sc_network::config::ProtocolConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | rand_core::SeedableRng, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_chacha` [INFO] [stdout] --> src/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use rand_chacha::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | use substrate_test_runtime_client::DefaultTestClientBuilderExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | type TestClient = substrate_test_runtime_client::client::Client< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:58:2 [INFO] [stdout] | [INFO] [stdout] 58 | substrate_test_runtime_client::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:59:2 [INFO] [stdout] | [INFO] [stdout] 59 | substrate_test_runtime_client::Executor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:61:2 [INFO] [stdout] | [INFO] [stdout] 61 | substrate_test_runtime_client::runtime::RuntimeApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | sc_client_api::TransactionFor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:172:51 [INFO] [stdout] | [INFO] [stdout] 172 | type Transaction = sc_client_api::TransactionFor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | type TestSelectChain = substrate_test_runtime_client::LongestChain< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:221:2 [INFO] [stdout] | [INFO] [stdout] 221 | substrate_test_runtime_client::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/tests.rs:251:51 [INFO] [stdout] | [INFO] [stdout] 251 | Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockImportAdapter` [INFO] [stdout] --> src/tests.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | BlockImportAdapter::new_full(block_import), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BlockImportAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClientBuilder` [INFO] [stdout] --> src/tests.rs:312:28 [INFO] [stdout] | [INFO] [stdout] 312 | let (_, longest_chain) = TestClientBuilder::new().build_with_longest_chain(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:349:2 [INFO] [stdout] | [INFO] [stdout] 349 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:362:2 [INFO] [stdout] | [INFO] [stdout] 362 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:492:2 [INFO] [stdout] | [INFO] [stdout] 492 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:501:2 [INFO] [stdout] | [INFO] [stdout] 501 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:508:2 [INFO] [stdout] | [INFO] [stdout] 508 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:517:2 [INFO] [stdout] | [INFO] [stdout] 517 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests.rs:518:22 [INFO] [stdout] | [INFO] [stdout] 518 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/tests.rs:825:2 [INFO] [stdout] | [INFO] [stdout] 825 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/tests.rs:826:22 [INFO] [stdout] | [INFO] [stdout] 826 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Hash` [INFO] [stdout] --> src/tests.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | type Item = DigestItem; [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 24 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 24 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 24 | 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:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | parent_hash: Hash, [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 24 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 24 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 24 | 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:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | 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:226:33 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct TestVerifier { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 226 | 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:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | 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:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | 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:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | 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.9.0/src/block_import.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | 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:270:34 [INFO] [stdout] | [INFO] [stdout] 270 | Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | 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] 270 | Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 24 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 24 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 24 | 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:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | _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] 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] 338 | fn mut_peers>)>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "46c00c832136f43c7e13269aaf60ab648eb31f2e77a79036bdde1c4a64c6dd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c00c832136f43c7e13269aaf60ab648eb31f2e77a79036bdde1c4a64c6dd62", kill_on_drop: false }` [INFO] [stdout] 46c00c832136f43c7e13269aaf60ab648eb31f2e77a79036bdde1c4a64c6dd62