[INFO] fetching crate sc-consensus-aura 0.8.0-alpha.5... [INFO] checking sc-consensus-aura-0.8.0-alpha.5 against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] extracting crate sc-consensus-aura 0.8.0-alpha.5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sc-consensus-aura 0.8.0-alpha.5 on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-consensus-aura 0.8.0-alpha.5 [INFO] finished tweaking crates.io crate sc-consensus-aura 0.8.0-alpha.5 [INFO] tweaked toml for crates.io crate sc-consensus-aura 0.8.0-alpha.5 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "/opt/rustwide/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a751dcd207d9dfcd37f9b3cee2b766139ab01b837942d262bb727ff1e9bee96 [INFO] running `"docker" "start" "-a" "5a751dcd207d9dfcd37f9b3cee2b766139ab01b837942d262bb727ff1e9bee96"` [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-alpha.5 [INFO] [stderr] Checking fixed-hash v0.6.0 [INFO] [stderr] Checking trie-db v0.20.0 [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.5 [INFO] [stderr] Checking primitive-types v0.7.0 [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] Checking parity-multiaddr v0.7.3 [INFO] [stderr] Checking parity-util-mem v0.6.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.5 [INFO] [stderr] Checking memory-db v0.20.0 [INFO] [stderr] Checking kvdb v0.5.0 [INFO] [stderr] Checking libp2p-core v0.16.0 [INFO] [stderr] Checking sp-core v2.0.0-alpha.5 [INFO] [stderr] Checking libp2p-swarm v0.16.1 [INFO] [stderr] Checking libp2p-websocket v0.16.0 [INFO] [stderr] Checking libp2p-secio v0.16.1 [INFO] [stderr] Checking libp2p-dns v0.16.0 [INFO] [stderr] Checking libp2p-yamux v0.16.2 [INFO] [stderr] Checking libp2p-wasm-ext v0.16.2 [INFO] [stderr] Checking libp2p-deflate v0.16.0 [INFO] [stderr] Checking libp2p-plaintext v0.16.0 [INFO] [stderr] Checking libp2p-uds v0.16.0 [INFO] [stderr] Checking libp2p-tcp v0.16.0 [INFO] [stderr] Checking libp2p-mplex v0.16.0 [INFO] [stderr] Checking libp2p-noise v0.16.2 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.5 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.5 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.5 [INFO] [stderr] Checking libp2p-mdns v0.16.0 [INFO] [stderr] Checking libp2p-floodsub v0.16.0 [INFO] [stderr] Checking libp2p-kad v0.16.2 [INFO] [stderr] Checking libp2p-ping v0.16.0 [INFO] [stderr] Checking libp2p-identify v0.16.0 [INFO] [stderr] Checking libp2p-gossipsub v0.16.0 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.5 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.5 [INFO] [stderr] Checking libp2p v0.16.2 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.5 [INFO] [stderr] Checking sp-io v2.0.0-alpha.5 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.5 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.5 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.5 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.5 [INFO] [stderr] Checking sp-version v2.0.0-alpha.5 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.5 [INFO] [stderr] Checking sp-api v2.0.0-alpha.5 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.5 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.5 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.5 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.5 [INFO] [stderr] Checking sp-timestamp v2.0.0-alpha.5 [INFO] [stderr] Checking sp-consensus-aura v0.8.0-alpha.5 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.5 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.5 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.5 [INFO] [stderr] Checking sc-client v0.8.0-alpha.5 [INFO] [stderr] Checking sc-consensus-aura v0.8.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sc_network` [INFO] [stderr] --> src/lib.rs:830:6 [INFO] [stderr] | [INFO] [stderr] 830 | use sc_network::config::ProtocolConfig; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sc_network` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_keyring` [INFO] [stderr] --> src/lib.rs:832:6 [INFO] [stderr] | [INFO] [stderr] 832 | use sp_keyring::sr25519::Keyring; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `sp_keyring` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `sc_network_test`, `sc_network::config::ProtocolConfig`, `sp_keyring::sr25519::Keyring` [INFO] [stderr] --> src/lib.rs:828:6 [INFO] [stderr] | [INFO] [stderr] 828 | use sc_network_test::{Block as TestBlock, *}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stderr] 829 | use sp_runtime::traits::{Block as BlockT, DigestFor}; [INFO] [stderr] 830 | use sc_network::config::ProtocolConfig; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 831 | use parking_lot::Mutex; [INFO] [stderr] 832 | use sp_keyring::sr25519::Keyring; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:841:3 [INFO] [stderr] | [INFO] [stderr] 841 | substrate_test_runtime_client::Backend, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:842:3 [INFO] [stderr] | [INFO] [stderr] 842 | substrate_test_runtime_client::Executor, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:844:3 [INFO] [stderr] | [INFO] [stderr] 844 | substrate_test_runtime_client::runtime::RuntimeApi [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:865:4 [INFO] [stderr] | [INFO] [stderr] 865 | substrate_test_runtime_client::Backend, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PeersClient` [INFO] [stderr] --> src/lib.rs:908:5 [INFO] [stderr] | [INFO] [stderr] 908 | PeersClient::Full(client, _) => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PeersClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PeersClient` [INFO] [stderr] --> src/lib.rs:923:5 [INFO] [stderr] | [INFO] [stderr] 923 | PeersClient::Light(_, _) => unreachable!("No (yet) tests for light client + Aura"), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `PeersClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/lib.rs:943:11 [INFO] [stderr] | [INFO] [stderr] 943 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stderr] --> src/lib.rs:947:8 [INFO] [stderr] | [INFO] [stderr] 947 | (0, Keyring::Alice), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stderr] --> src/lib.rs:948:8 [INFO] [stderr] | [INFO] [stderr] 948 | (1, Keyring::Bob), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stderr] --> src/lib.rs:949:8 [INFO] [stderr] | [INFO] [stderr] 949 | (2, Keyring::Charlie), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/lib.rs:962:24 [INFO] [stderr] | [INFO] [stderr] 962 | let keystore_path = tempfile::tempdir().expect("Creates keystore path"); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:1011:16 [INFO] [stderr] | [INFO] [stderr] 1011 | let client = substrate_test_runtime_client::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stderr] --> src/lib.rs:1015:4 [INFO] [stderr] | [INFO] [stderr] 1015 | Keyring::Alice.public().into(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stderr] --> src/lib.rs:1016:4 [INFO] [stderr] | [INFO] [stderr] 1016 | Keyring::Bob.public().into(), [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Keyring` [INFO] [stderr] --> src/lib.rs:1017:4 [INFO] [stderr] | [INFO] [stderr] 1017 | Keyring::Charlie.public().into() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Keyring` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/lib.rs:890:14 [INFO] [stderr] | [INFO] [stderr] 889 | pub struct AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 890 | peers: Vec>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `TestNetFactory` in this scope [INFO] [stderr] --> src/lib.rs:893:7 [INFO] [stderr] | [INFO] [stderr] 893 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PeersFullClient` in this scope [INFO] [stderr] --> src/lib.rs:894:32 [INFO] [stderr] | [INFO] [stderr] 893 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 894 | type Verifier = AuraVerifier; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolConfig` in this scope [INFO] [stderr] --> src/lib.rs:898:28 [INFO] [stderr] | [INFO] [stderr] 898 | fn from_config(_config: &ProtocolConfig) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PeersClient` in this scope [INFO] [stderr] --> src/lib.rs:904:35 [INFO] [stderr] | [INFO] [stderr] 904 | fn make_verifier(&self, client: PeersClient, _cfg: &ProtocolConfig, _peer_data: &()) [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolConfig` in this scope [INFO] [stderr] --> src/lib.rs:904:55 [INFO] [stderr] | [INFO] [stderr] 904 | fn make_verifier(&self, client: PeersClient, _cfg: &ProtocolConfig, _peer_data: &()) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/lib.rs:927:40 [INFO] [stderr] | [INFO] [stderr] 927 | fn peer(&mut self, i: usize) -> &mut Peer { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/lib.rs:931:27 [INFO] [stderr] | [INFO] [stderr] 893 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 931 | fn peers(&self) -> &Vec> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peer` in this scope [INFO] [stderr] --> src/lib.rs:935:35 [INFO] [stderr] | [INFO] [stderr] 893 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 935 | fn mut_peers>)>(&mut self, closure: F) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [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 `"docker" "inspect" "5a751dcd207d9dfcd37f9b3cee2b766139ab01b837942d262bb727ff1e9bee96"` [INFO] running `"docker" "rm" "-f" "5a751dcd207d9dfcd37f9b3cee2b766139ab01b837942d262bb727ff1e9bee96"` [INFO] [stdout] 5a751dcd207d9dfcd37f9b3cee2b766139ab01b837942d262bb727ff1e9bee96