[INFO] crate sc-consensus-aura 0.8.0-alpha.5 is already in cache [INFO] checking sc-consensus-aura-0.8.0-alpha.5 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917 [INFO] extracting crate sc-consensus-aura 0.8.0-alpha.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sc-consensus-aura 0.8.0-alpha.5 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc [INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 4cc005f8fdd22d3a1f71293a6b5ebd7e0ef0312e8f6a6a454229c586fba88e34 [INFO] running `"docker" "start" "-a" "4cc005f8fdd22d3a1f71293a6b5ebd7e0ef0312e8f6a6a454229c586fba88e34"` [INFO] [stderr] Compiling sc-consensus-slots v0.8.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 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" "4cc005f8fdd22d3a1f71293a6b5ebd7e0ef0312e8f6a6a454229c586fba88e34"` [INFO] running `"docker" "rm" "-f" "4cc005f8fdd22d3a1f71293a6b5ebd7e0ef0312e8f6a6a454229c586fba88e34"` [INFO] [stdout] 4cc005f8fdd22d3a1f71293a6b5ebd7e0ef0312e8f6a6a454229c586fba88e34