[INFO] fetching crate sc-consensus-aura 0.8.0-rc5... [INFO] checking sc-consensus-aura-0.8.0-rc5 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate sc-consensus-aura 0.8.0-rc5 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-consensus-aura 0.8.0-rc5 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-aura 0.8.0-rc5 [INFO] finished tweaking crates.io crate sc-consensus-aura 0.8.0-rc5 [INFO] tweaked toml for crates.io crate sc-consensus-aura 0.8.0-rc5 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-consensus-aura v0.8.0-rc6 [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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] b0606754b7a945f02ef3df144de6614ca4730d933439a23c55ef7a16b347c2bd [INFO] running `Command { std: "docker" "start" "-a" "b0606754b7a945f02ef3df144de6614ca4730d933439a23c55ef7a16b347c2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0606754b7a945f02ef3df144de6614ca4730d933439a23c55ef7a16b347c2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0606754b7a945f02ef3df144de6614ca4730d933439a23c55ef7a16b347c2bd", kill_on_drop: false }` [INFO] [stdout] b0606754b7a945f02ef3df144de6614ca4730d933439a23c55ef7a16b347c2bd [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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] de2c9627127447f62c88eed6c961bc3d883873a17c3c55b845825c58d334e271 [INFO] running `Command { std: "docker" "start" "-a" "de2c9627127447f62c88eed6c961bc3d883873a17c3c55b845825c58d334e271", kill_on_drop: false }` [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking sp-core v2.0.0-rc6 [INFO] [stderr] Checking sp-trie v2.0.0-rc6 [INFO] [stderr] Checking sp-inherents v2.0.0-rc6 [INFO] [stderr] Checking sp-allocator v2.0.0-rc6 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc6 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc6 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc6 [INFO] [stderr] Checking sp-io v2.0.0-rc6 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc6 [INFO] [stderr] Checking sp-runtime v2.0.0-rc6 [INFO] [stderr] Checking sc-keystore v2.0.0-rc6 [INFO] [stderr] Checking sp-version v2.0.0-rc6 [INFO] [stderr] Checking sp-keyring v2.0.0-rc6 [INFO] [stderr] Checking sp-consensus-slots v0.8.0-rc6 [INFO] [stderr] Checking sp-api v2.0.0-rc6 [INFO] [stderr] Checking sp-consensus v0.8.0-rc6 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc6 [INFO] [stderr] Checking sc-executor v0.8.0-rc6 [INFO] [stderr] Checking sp-timestamp v2.0.0-rc6 [INFO] [stderr] Checking sp-consensus-aura v0.8.0-rc6 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc6 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc6 [INFO] [stderr] Checking sc-client-api v2.0.0-rc6 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc6 [INFO] [stderr] Checking sc-consensus-slots v0.8.0-rc6 [INFO] [stderr] Checking sc-consensus-aura v0.8.0-rc5 (/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" "de2c9627127447f62c88eed6c961bc3d883873a17c3c55b845825c58d334e271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2c9627127447f62c88eed6c961bc3d883873a17c3c55b845825c58d334e271", kill_on_drop: false }` [INFO] [stdout] de2c9627127447f62c88eed6c961bc3d883873a17c3c55b845825c58d334e271