[INFO] crate sc-consensus-aura 0.8.0-rc4 is already in cache [INFO] checking sc-consensus-aura-0.8.0-rc4 against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] extracting crate sc-consensus-aura 0.8.0-rc4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sc-consensus-aura 0.8.0-rc4 on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-aura 0.8.0-rc4 [INFO] finished tweaking crates.io crate sc-consensus-aura 0.8.0-rc4 [INFO] tweaked toml for crates.io crate sc-consensus-aura 0.8.0-rc4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d4314e23cedf5698d22ab6b609107101eb07dc52ee6c24bfc1b23b433717b2c [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" "4d4314e23cedf5698d22ab6b609107101eb07dc52ee6c24bfc1b23b433717b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d4314e23cedf5698d22ab6b609107101eb07dc52ee6c24bfc1b23b433717b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4314e23cedf5698d22ab6b609107101eb07dc52ee6c24bfc1b23b433717b2c", kill_on_drop: false }` [INFO] [stdout] 4d4314e23cedf5698d22ab6b609107101eb07dc52ee6c24bfc1b23b433717b2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "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] 2506a11ed429625d6fcbce35fe7702cb7058b9067bdd17fe1c43959423e834e8 [INFO] running `Command { std: "docker" "start" "-a" "2506a11ed429625d6fcbce35fe7702cb7058b9067bdd17fe1c43959423e834e8", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [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.64 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking integer-sqrt v0.1.3 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Checking data-encoding v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking tower-service v0.3.0 [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 sc-consensus-slots v0.8.0-rc4 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking sp-panic-handler v2.0.0-rc4 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [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] Checking chrono v0.4.13 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking sp-tracing v2.0.0-rc4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking parity-multiaddr v0.9.1 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking parity-scale-codec v1.3.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking sp-serializer v2.0.0-rc4 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking trie-db v0.21.0 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.8.2 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking sp-utils v2.0.0-rc4 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc4 [INFO] [stderr] Checking sp-externalities v0.8.0-rc4 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc4 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Compiling libp2p-core v0.19.2 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.14 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc4 [INFO] [stderr] Checking memory-db v0.21.0 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking sp-core v2.0.0-rc4 [INFO] [stderr] Checking sp-database v2.0.0-rc4 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc4 [INFO] [stderr] Checking libp2p-wasm-ext v0.19.0 [INFO] [stderr] Checking libp2p-swarm v0.19.1 [INFO] [stderr] Checking libp2p-websocket v0.19.0 [INFO] [stderr] Checking libp2p-tcp v0.19.2 [INFO] [stderr] Checking libp2p-dns v0.19.0 [INFO] [stderr] Checking sp-trie v2.0.0-rc4 [INFO] [stderr] Checking sp-inherents v2.0.0-rc4 [INFO] [stderr] Checking sp-allocator v2.0.0-rc4 [INFO] [stderr] Checking libp2p v0.19.1 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc4 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc4 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc4 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc4 [INFO] [stderr] Checking sp-io v2.0.0-rc4 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc4 [INFO] [stderr] Checking sp-runtime v2.0.0-rc4 [INFO] [stderr] Checking sc-keystore v2.0.0-rc4 [INFO] [stderr] Checking sp-version v2.0.0-rc4 [INFO] [stderr] Checking sp-keyring v2.0.0-rc4 [INFO] [stderr] Checking sp-api v2.0.0-rc4 [INFO] [stderr] Checking sp-consensus v0.8.0-rc4 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc4 [INFO] [stderr] Checking sc-executor v0.8.0-rc4 [INFO] [stderr] Checking sp-timestamp v2.0.0-rc4 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc4 [INFO] [stderr] Checking sp-consensus-aura v0.8.0-rc4 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc4 [INFO] [stderr] Checking sc-client-api v2.0.0-rc4 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc4 [INFO] [stderr] Checking sc-consensus-aura v0.8.0-rc4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sc_network` [INFO] [stdout] --> src/lib.rs:863:6 [INFO] [stdout] | [INFO] [stdout] 863 | use sc_network::config::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 `sp_keyring` [INFO] [stdout] --> src/lib.rs:865:6 [INFO] [stdout] | [INFO] [stdout] 865 | use sp_keyring::sr25519::Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `sp_keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/lib.rs:872:6 [INFO] [stdout] | [INFO] [stdout] 872 | use substrate_test_runtime_client::runtime::{Header, H256}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sc_network_test`, `sc_network::config::ProtocolConfig`, `sp_keyring::sr25519::Keyring`, `substrate_test_runtime_client::runtime::Header`, `substrate_test_runtime_client::runtime::H256` [INFO] [stdout] --> src/lib.rs:861:6 [INFO] [stdout] | [INFO] [stdout] 861 | use sc_network_test::{Block as TestBlock, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stdout] 862 | use sp_runtime::traits::{Block as BlockT, DigestFor}; [INFO] [stdout] 863 | use sc_network::config::ProtocolConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 864 | use parking_lot::Mutex; [INFO] [stdout] 865 | use sp_keyring::sr25519::Keyring; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 872 | use substrate_test_runtime_client::runtime::{Header, H256}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/lib.rs:876:20 [INFO] [stdout] | [INFO] [stdout] 876 | 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/lib.rs:877:3 [INFO] [stdout] | [INFO] [stdout] 877 | 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/lib.rs:878:3 [INFO] [stdout] | [INFO] [stdout] 878 | 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/lib.rs:880:3 [INFO] [stdout] | [INFO] [stdout] 880 | 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/lib.rs:901:4 [INFO] [stdout] | [INFO] [stdout] 901 | 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 `PeersClient` [INFO] [stdout] --> src/lib.rs:944:5 [INFO] [stdout] | [INFO] [stdout] 944 | PeersClient::Full(client, _) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `PeersClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PeersClient` [INFO] [stdout] --> src/lib.rs:959:5 [INFO] [stdout] | [INFO] [stdout] 959 | PeersClient::Light(_, _) => unreachable!("No (yet) tests for light client + Aura"), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `PeersClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/lib.rs:979:11 [INFO] [stdout] | [INFO] [stdout] 979 | 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 `Keyring` [INFO] [stdout] --> src/lib.rs:983:8 [INFO] [stdout] | [INFO] [stdout] 983 | (0, Keyring::Alice), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:984:8 [INFO] [stdout] | [INFO] [stdout] 984 | (1, Keyring::Bob), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:985:8 [INFO] [stdout] | [INFO] [stdout] 985 | (2, Keyring::Charlie), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stdout] --> src/lib.rs:998:24 [INFO] [stdout] | [INFO] [stdout] 998 | 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 `substrate_test_runtime_client` [INFO] [stdout] --> src/lib.rs:1047:16 [INFO] [stdout] | [INFO] [stdout] 1047 | let client = substrate_test_runtime_client::new(); [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 `Keyring` [INFO] [stdout] --> src/lib.rs:1051:4 [INFO] [stdout] | [INFO] [stdout] 1051 | Keyring::Alice.public().into(), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:1052:4 [INFO] [stdout] | [INFO] [stdout] 1052 | Keyring::Bob.public().into(), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:1053:4 [INFO] [stdout] | [INFO] [stdout] 1053 | Keyring::Charlie.public().into() [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:1062:4 [INFO] [stdout] | [INFO] [stdout] 1062 | Keyring::Alice.public().into(), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:1063:4 [INFO] [stdout] | [INFO] [stdout] 1063 | Keyring::Bob.public().into(), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stdout] --> src/lib.rs:1064:4 [INFO] [stdout] | [INFO] [stdout] 1064 | Keyring::Charlie.public().into() [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stdout] --> src/lib.rs:1067:23 [INFO] [stdout] | [INFO] [stdout] 1067 | 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[E0412]: cannot find type `Peer` in this scope [INFO] [stdout] --> src/lib.rs:926:14 [INFO] [stdout] | [INFO] [stdout] 926 | peers: Vec>, [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/lib.rs:929:7 [INFO] [stdout] | [INFO] [stdout] 929 | impl TestNetFactory for AuraTestNet { [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/lib.rs:930:32 [INFO] [stdout] | [INFO] [stdout] 929 | impl TestNetFactory for AuraTestNet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 930 | type Verifier = AuraVerifier; [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/lib.rs:934:28 [INFO] [stdout] | [INFO] [stdout] 934 | fn from_config(_config: &ProtocolConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeersClient` in this scope [INFO] [stdout] --> src/lib.rs:940:35 [INFO] [stdout] | [INFO] [stdout] 940 | fn make_verifier(&self, client: PeersClient, _cfg: &ProtocolConfig, _peer_data: &()) [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/lib.rs:940:55 [INFO] [stdout] | [INFO] [stdout] 940 | fn make_verifier(&self, client: PeersClient, _cfg: &ProtocolConfig, _peer_data: &()) [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/lib.rs:963:40 [INFO] [stdout] | [INFO] [stdout] 963 | 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/lib.rs:967:27 [INFO] [stdout] | [INFO] [stdout] 967 | 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/lib.rs:971:35 [INFO] [stdout] | [INFO] [stdout] 971 | fn mut_peers>)>(&mut self, closure: F) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stdout] --> src/lib.rs:1093:4 [INFO] [stdout] | [INFO] [stdout] 1093 | H256::from_low_u64_be(0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 859 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 859 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `H256` [INFO] [stdout] --> src/lib.rs:1094:4 [INFO] [stdout] | [INFO] [stdout] 1094 | H256::from_low_u64_be(0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 859 | use sp_core::H256; [INFO] [stdout] | [INFO] [stdout] 859 | use sp_runtime::testing::H256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-consensus-aura`. [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" "2506a11ed429625d6fcbce35fe7702cb7058b9067bdd17fe1c43959423e834e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2506a11ed429625d6fcbce35fe7702cb7058b9067bdd17fe1c43959423e834e8", kill_on_drop: false }` [INFO] [stdout] 2506a11ed429625d6fcbce35fe7702cb7058b9067bdd17fe1c43959423e834e8