[INFO] crate sc-consensus-aura 0.8.0-alpha.3 is already in cache [INFO] checking sc-consensus-aura-0.8.0-alpha.3 against try#f88e9a4452e792c29632101b348a1df9876d45cd for pr-70087 [INFO] extracting crate sc-consensus-aura 0.8.0-alpha.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sc-consensus-aura 0.8.0-alpha.3 on toolchain f88e9a4452e792c29632101b348a1df9876d45cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-consensus-aura 0.8.0-alpha.3 [INFO] finished tweaking crates.io crate sc-consensus-aura 0.8.0-alpha.3 [INFO] tweaked toml for crates.io crate sc-consensus-aura 0.8.0-alpha.3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+f88e9a4452e792c29632101b348a1df9876d45cd" "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] 3f3c6c6102dec5ce8c2b1913bf776fbd05d6424384c3c315fc1dd4f6ac4da224 [INFO] running `"docker" "start" "-a" "3f3c6c6102dec5ce8c2b1913bf776fbd05d6424384c3c315fc1dd4f6ac4da224"` [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-alpha.3 [INFO] [stderr] Checking sp-core v2.0.0-alpha.3 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.3 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.3 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.3 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.3 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.3 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.3 [INFO] [stderr] Checking sp-io v2.0.0-alpha.3 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.3 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.3 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.3 [INFO] [stderr] Checking sp-version v2.0.0-alpha.3 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.3 [INFO] [stderr] Checking sp-api v2.0.0-alpha.3 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.3 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.3 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.3 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.3 [INFO] [stderr] Checking sp-timestamp v2.0.0-alpha.3 [INFO] [stderr] Checking sp-consensus-aura v0.8.0-alpha.3 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.3 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.3 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.3 [INFO] [stderr] Checking sc-client v0.8.0-alpha.3 [INFO] [stderr] Checking sc-consensus-aura v0.8.0-alpha.3 (/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 `tokio` [INFO] [stderr] --> src/lib.rs:832:6 [INFO] [stderr] | [INFO] [stderr] 832 | use tokio::runtime::current_thread; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_keyring` [INFO] [stderr] --> src/lib.rs:833:6 [INFO] [stderr] | [INFO] [stderr] 833 | 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`, `tokio::runtime::current_thread`, `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 tokio::runtime::current_thread; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 833 | 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:840:3 [INFO] [stderr] | [INFO] [stderr] 840 | 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:841:3 [INFO] [stderr] | [INFO] [stderr] 841 | 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:843:3 [INFO] [stderr] | [INFO] [stderr] 843 | 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:864:4 [INFO] [stderr] | [INFO] [stderr] 864 | 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:907:5 [INFO] [stderr] | [INFO] [stderr] 907 | 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:922:5 [INFO] [stderr] | [INFO] [stderr] 922 | 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:942:11 [INFO] [stderr] | [INFO] [stderr] 942 | 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:946:8 [INFO] [stderr] | [INFO] [stderr] 946 | (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:947:8 [INFO] [stderr] | [INFO] [stderr] 947 | (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:948:8 [INFO] [stderr] | [INFO] [stderr] 948 | (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 `current_thread` [INFO] [stderr] --> src/lib.rs:954:21 [INFO] [stderr] | [INFO] [stderr] 954 | let mut runtime = current_thread::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `current_thread` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/lib.rs:961:24 [INFO] [stderr] | [INFO] [stderr] 961 | 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 `futures01` [INFO] [stderr] --> src/lib.rs:1001:17 [INFO] [stderr] | [INFO] [stderr] 1001 | runtime.spawn(futures01::future::poll_fn(move || { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `futures01` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures01` [INFO] [stderr] --> src/lib.rs:1003:16 [INFO] [stderr] | [INFO] [stderr] 1003 | Ok::<_, ()>(futures01::Async::NotReady::<()>) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `futures01` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/lib.rs:1012:16 [INFO] [stderr] | [INFO] [stderr] 1012 | 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:1016:4 [INFO] [stderr] | [INFO] [stderr] 1016 | 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:1017:4 [INFO] [stderr] | [INFO] [stderr] 1017 | 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:1018:4 [INFO] [stderr] | [INFO] [stderr] 1018 | 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:889:14 [INFO] [stderr] | [INFO] [stderr] 888 | pub struct AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 889 | 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:892:7 [INFO] [stderr] | [INFO] [stderr] 892 | 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:893:32 [INFO] [stderr] | [INFO] [stderr] 892 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 893 | 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:897:28 [INFO] [stderr] | [INFO] [stderr] 897 | 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:903:35 [INFO] [stderr] | [INFO] [stderr] 903 | 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:903:55 [INFO] [stderr] | [INFO] [stderr] 903 | 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:926:40 [INFO] [stderr] | [INFO] [stderr] 926 | 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:930:27 [INFO] [stderr] | [INFO] [stderr] 892 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 930 | 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:934:35 [INFO] [stderr] | [INFO] [stderr] 892 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 934 | fn mut_peers>)>(&mut self, closure: F) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 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" "3f3c6c6102dec5ce8c2b1913bf776fbd05d6424384c3c315fc1dd4f6ac4da224"` [INFO] running `"docker" "rm" "-f" "3f3c6c6102dec5ce8c2b1913bf776fbd05d6424384c3c315fc1dd4f6ac4da224"` [INFO] [stdout] 3f3c6c6102dec5ce8c2b1913bf776fbd05d6424384c3c315fc1dd4f6ac4da224