[INFO] fetching crate sc-consensus-babe 0.8.0... [INFO] checking sc-consensus-babe-0.8.0 against master#d62d3f7fa9a91d933213cc10e20e740608983f64 for pr-77015 [INFO] extracting crate sc-consensus-babe 0.8.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-consensus-babe 0.8.0 on toolchain d62d3f7fa9a91d933213cc10e20e740608983f64 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-babe 0.8.0 [INFO] finished tweaking crates.io crate sc-consensus-babe 0.8.0 [INFO] tweaked toml for crates.io crate sc-consensus-babe 0.8.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "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] 73edac1daf8fa68fabc35274d838ddb0c1f603f4e12a2352381f1c14e7a6b28e [INFO] running `Command { std: "docker" "start" "-a" "73edac1daf8fa68fabc35274d838ddb0c1f603f4e12a2352381f1c14e7a6b28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73edac1daf8fa68fabc35274d838ddb0c1f603f4e12a2352381f1c14e7a6b28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73edac1daf8fa68fabc35274d838ddb0c1f603f4e12a2352381f1c14e7a6b28e", kill_on_drop: false }` [INFO] [stdout] 73edac1daf8fa68fabc35274d838ddb0c1f603f4e12a2352381f1c14e7a6b28e [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "check" "--frozen" "--all" "--all-targets" "--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] f69072c9f41533bc2fa6333994038b164714def2906cc876bc630106e4ec4c3b [INFO] running `Command { std: "docker" "start" "-a" "f69072c9f41533bc2fa6333994038b164714def2906cc876bc630106e4ec4c3b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking sp-std v2.0.0 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.3.5 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking data-encoding v2.3.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Checking async-task v4.0.2 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Compiling prometheus v0.10.0 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking atomic v0.4.6 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Compiling sc-consensus-slots v0.8.0 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Checking retain_mut v0.1.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking async-channel v1.4.2 [INFO] [stderr] Checking futures-lite v1.8.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking nb-connect v1.0.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking polling v1.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking trie-db v0.22.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking async-io v1.1.6 [INFO] [stderr] Checking blocking v1.0.0 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking sp-panic-handler v2.0.0 [INFO] [stderr] Checking parity-multiaddr v0.9.2 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking tracing-subscriber v0.2.12 [INFO] [stderr] Checking sp-serializer v2.0.0 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking h2 v0.2.6 [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.5 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking sp-utils v2.0.0 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.0 [INFO] [stderr] Checking sp-wasm-interface v2.0.0 [INFO] [stderr] Checking sp-tracing v2.0.0 [INFO] [stderr] Checking sp-arithmetic v2.0.0 [INFO] [stderr] Checking fork-tree v2.0.0 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-externalities v0.8.0 [INFO] [stderr] Compiling libp2p-core v0.22.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.18 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking kvdb v0.7.0 [INFO] [stderr] Checking sp-database v2.0.0 [INFO] [stderr] Checking sp-core v2.0.0 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking libp2p-websocket v0.23.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.22.0 [INFO] [stderr] Checking libp2p-dns v0.22.0 [INFO] [stderr] Checking libp2p-tcp v0.22.0 [INFO] [stderr] Checking libp2p-swarm v0.22.0 [INFO] [stderr] Checking sp-trie v2.0.0 [INFO] [stderr] Checking sp-inherents v2.0.0 [INFO] [stderr] Checking sp-allocator v2.0.0 [INFO] [stderr] Checking libp2p v0.28.1 [INFO] [stderr] Checking sc-executor-common v0.8.0 [INFO] [stderr] Checking sc-telemetry v2.0.0 [INFO] [stderr] Checking sp-state-machine v0.8.0 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0 [INFO] [stderr] Checking sp-io v2.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0 [INFO] [stderr] Checking sp-runtime v2.0.0 [INFO] [stderr] Checking sc-keystore v2.0.0 [INFO] [stderr] Checking sp-version v2.0.0 [INFO] [stderr] Checking sp-keyring v2.0.0 [INFO] [stderr] Checking sp-consensus-slots v0.8.0 [INFO] [stderr] Checking sp-consensus-vrf v0.8.0 [INFO] [stderr] Checking sp-authorship v2.0.0 [INFO] [stderr] Checking sp-api v2.0.0 [INFO] [stderr] Checking sp-consensus v0.8.0 [INFO] [stderr] Checking sp-block-builder v2.0.0 [INFO] [stderr] Checking sc-executor v0.8.0 [INFO] [stderr] Checking sp-timestamp v2.0.0 [INFO] [stderr] Checking sp-blockchain v2.0.0 [INFO] [stderr] Checking sp-consensus-babe v0.8.0 [INFO] [stderr] Checking sp-transaction-pool v2.0.0 [INFO] [stderr] Checking sc-client-api v2.0.0 [INFO] [stderr] Checking sc-consensus-uncles v0.8.0 [INFO] [stderr] Checking sc-consensus-epochs v0.8.0 [INFO] [stderr] Checking sc-consensus-babe v0.8.0 (/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 crate 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 crate 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 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use sc_network::config::{BoxFinalityProofRequestBuilder, 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:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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::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 crate 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 crate 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 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:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:2 [INFO] [stdout] | [INFO] [stdout] 55 | 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:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | 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:58:2 [INFO] [stdout] | [INFO] [stdout] 58 | 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:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | 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:169:51 [INFO] [stdout] | [INFO] [stdout] 169 | 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:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | 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:218:2 [INFO] [stdout] | [INFO] [stdout] 218 | 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:248:51 [INFO] [stdout] | [INFO] [stdout] 248 | 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:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | 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:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | 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:350:2 [INFO] [stdout] | [INFO] [stdout] 350 | 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:363:2 [INFO] [stdout] | [INFO] [stdout] 363 | 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:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | 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:824:2 [INFO] [stdout] | [INFO] [stdout] 824 | 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:825:22 [INFO] [stdout] | [INFO] [stdout] 825 | 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: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: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/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/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 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: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/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 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:269:11 [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/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 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: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:329:39 [INFO] [stdout] | [INFO] [stdout] 329 | 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:334:26 [INFO] [stdout] | [INFO] [stdout] 334 | 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:339:34 [INFO] [stdout] | [INFO] [stdout] 339 | 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f69072c9f41533bc2fa6333994038b164714def2906cc876bc630106e4ec4c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69072c9f41533bc2fa6333994038b164714def2906cc876bc630106e4ec4c3b", kill_on_drop: false }` [INFO] [stdout] f69072c9f41533bc2fa6333994038b164714def2906cc876bc630106e4ec4c3b