[INFO] fetching crate sc-consensus-aura 0.8.0-alpha.8... [INFO] checking sc-consensus-aura-0.8.0-alpha.8 against try#8a749131e7beb72f6edacefd2bdcbed3d67b2112 for pr-72331 [INFO] extracting crate sc-consensus-aura 0.8.0-alpha.8 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate sc-consensus-aura 0.8.0-alpha.8 on toolchain 8a749131e7beb72f6edacefd2bdcbed3d67b2112 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-consensus-aura 0.8.0-alpha.8 [INFO] finished tweaking crates.io crate sc-consensus-aura 0.8.0-alpha.8 [INFO] tweaked toml for crates.io crate sc-consensus-aura 0.8.0-alpha.8 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "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] c412bc9760667b09a123e1db2da7529c195269cfd87efc42809ab7607296587c [INFO] running `"docker" "start" "-a" "c412bc9760667b09a123e1db2da7529c195269cfd87efc42809ab7607296587c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.8 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking multistream-select v0.8.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.8 [INFO] [stderr] Checking libp2p-core v0.18.0 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking sp-core v2.0.0-alpha.8 [INFO] [stderr] Checking libp2p-websocket v0.18.0 [INFO] [stderr] Checking libp2p-swarm v0.18.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.18.0 [INFO] [stderr] Checking libp2p-dns v0.18.0 [INFO] [stderr] Checking libp2p-tcp v0.18.0 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.8 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.8 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.8 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.8 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.8 [INFO] [stderr] Checking libp2p v0.18.1 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.8 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.8 [INFO] [stderr] Checking sp-io v2.0.0-alpha.8 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.8 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.8 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.8 [INFO] [stderr] Checking sp-version v2.0.0-alpha.8 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.8 [INFO] [stderr] Checking sp-api v2.0.0-alpha.8 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.8 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.8 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.8 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.8 [INFO] [stderr] Checking sp-timestamp v2.0.0-alpha.8 [INFO] [stderr] Checking sp-consensus-aura v0.8.0-alpha.8 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.8 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.8 [INFO] [stderr] Checking sc-consensus-slots v0.8.0-alpha.8 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.8 [INFO] [stderr] Checking sc-consensus-aura v0.8.0-alpha.8 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sc_network` [INFO] [stderr] --> src/lib.rs:857:6 [INFO] [stderr] | [INFO] [stderr] 857 | 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:859:6 [INFO] [stderr] | [INFO] [stderr] 859 | 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:855:6 [INFO] [stderr] | [INFO] [stderr] 855 | use sc_network_test::{Block as TestBlock, *}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `sc_network_test` [INFO] [stderr] 856 | use sp_runtime::traits::{Block as BlockT, DigestFor}; [INFO] [stderr] 857 | use sc_network::config::ProtocolConfig; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 858 | use parking_lot::Mutex; [INFO] [stderr] 859 | 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:867:20 [INFO] [stderr] | [INFO] [stderr] 867 | type TestClient = substrate_test_runtime_client::client::Client< [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:868:3 [INFO] [stderr] | [INFO] [stderr] 868 | 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:869:3 [INFO] [stderr] | [INFO] [stderr] 869 | 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:871:3 [INFO] [stderr] | [INFO] [stderr] 871 | 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:892:4 [INFO] [stderr] | [INFO] [stderr] 892 | 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:935:5 [INFO] [stderr] | [INFO] [stderr] 935 | 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:950:5 [INFO] [stderr] | [INFO] [stderr] 950 | 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:970:11 [INFO] [stderr] | [INFO] [stderr] 970 | 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:974:8 [INFO] [stderr] | [INFO] [stderr] 974 | (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:975:8 [INFO] [stderr] | [INFO] [stderr] 975 | (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:976:8 [INFO] [stderr] | [INFO] [stderr] 976 | (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:989:24 [INFO] [stderr] | [INFO] [stderr] 989 | 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:1038:16 [INFO] [stderr] | [INFO] [stderr] 1038 | 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:1042:4 [INFO] [stderr] | [INFO] [stderr] 1042 | 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:1043:4 [INFO] [stderr] | [INFO] [stderr] 1043 | 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:1044:4 [INFO] [stderr] | [INFO] [stderr] 1044 | 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:917:14 [INFO] [stderr] | [INFO] [stderr] 916 | pub struct AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 917 | 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:920:7 [INFO] [stderr] | [INFO] [stderr] 920 | 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:921:32 [INFO] [stderr] | [INFO] [stderr] 920 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 921 | 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:925:28 [INFO] [stderr] | [INFO] [stderr] 925 | 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:931:35 [INFO] [stderr] | [INFO] [stderr] 931 | 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:931:55 [INFO] [stderr] | [INFO] [stderr] 931 | 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:954:40 [INFO] [stderr] | [INFO] [stderr] 954 | 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:958:27 [INFO] [stderr] | [INFO] [stderr] 920 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 958 | 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:962:35 [INFO] [stderr] | [INFO] [stderr] 920 | impl TestNetFactory for AuraTestNet { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 962 | fn mut_peers>)>(&mut self, closure: F) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 28 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" "c412bc9760667b09a123e1db2da7529c195269cfd87efc42809ab7607296587c"` [INFO] running `"docker" "rm" "-f" "c412bc9760667b09a123e1db2da7529c195269cfd87efc42809ab7607296587c"` [INFO] [stdout] c412bc9760667b09a123e1db2da7529c195269cfd87efc42809ab7607296587c