[INFO] fetching crate sc-consensus-slots 0.9.0... [INFO] building sc-consensus-slots-0.9.0 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate sc-consensus-slots 0.9.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sc-consensus-slots 0.9.0 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-slots 0.9.0 [INFO] finished tweaking crates.io crate sc-consensus-slots 0.9.0 [INFO] tweaked toml for crates.io crate sc-consensus-slots 0.9.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b94b7aac7a12189b9537baf268390ec7759a777b32319c88fe27d18ad947d0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b94b7aac7a12189b9537baf268390ec7759a777b32319c88fe27d18ad947d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b94b7aac7a12189b9537baf268390ec7759a777b32319c88fe27d18ad947d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b94b7aac7a12189b9537baf268390ec7759a777b32319c88fe27d18ad947d0e", kill_on_drop: false }` [INFO] [stdout] 4b94b7aac7a12189b9537baf268390ec7759a777b32319c88fe27d18ad947d0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2477a095d8efab20857ab843ae7a4e3be1b88a1b39ee7aef99a93ba6cf2e5fd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d2477a095d8efab20857ab843ae7a4e3be1b88a1b39ee7aef99a93ba6cf2e5fd", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sc-consensus-slots v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling sp-serializer v3.0.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.20 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling js-sys v0.3.52 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.25 [INFO] [stderr] Compiling multistream-select v0.10.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling soketto v0.4.2 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling sp-utils v3.0.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling kvdb v0.9.0 [INFO] [stderr] Compiling sp-database v3.0.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling libp2p-wasm-ext v0.27.0 [INFO] [stderr] Compiling libp2p-websocket v0.28.0 [INFO] [stderr] Compiling libp2p-dns v0.27.0 [INFO] [stderr] Compiling libp2p-swarm v0.27.2 [INFO] [stderr] Compiling libp2p-tcp v0.27.1 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-inherents v3.0.0 [INFO] [stderr] Compiling sp-allocator v3.0.0 [INFO] [stderr] Compiling sc-executor-common v0.9.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling libp2p v0.34.0 [INFO] [stderr] Compiling sc-executor-wasmi v0.9.0 [INFO] [stderr] Compiling sc-telemetry v3.0.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Compiling sp-application-crypto v3.0.0 [INFO] [stderr] Compiling sp-tasks v3.0.0 [INFO] [stderr] Compiling sp-runtime v3.0.0 [INFO] [stderr] Compiling sp-version v3.0.0 [INFO] [stderr] Compiling sp-consensus-slots v0.9.0 [INFO] [stderr] Compiling sp-api v3.0.0 [INFO] [stderr] Compiling sp-consensus v0.9.0 [INFO] [stderr] Compiling sc-executor v0.9.0 [INFO] [stderr] Compiling sp-blockchain v3.0.0 [INFO] [stderr] Compiling sp-transaction-pool v3.0.0 [INFO] [stderr] Compiling sc-client-api v3.0.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "d2477a095d8efab20857ab843ae7a4e3be1b88a1b39ee7aef99a93ba6cf2e5fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2477a095d8efab20857ab843ae7a4e3be1b88a1b39ee7aef99a93ba6cf2e5fd", kill_on_drop: false }` [INFO] [stdout] d2477a095d8efab20857ab843ae7a4e3be1b88a1b39ee7aef99a93ba6cf2e5fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed21384dbc37f29ee943a0d3e7937dc53747aec2c159b4ade1c481509d9da2ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed21384dbc37f29ee943a0d3e7937dc53747aec2c159b4ade1c481509d9da2ff", kill_on_drop: false }` [INFO] [stderr] Compiling sc-consensus-slots v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/lib.rs:721:6 [INFO] [stdout] | [INFO] [stdout] 721 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/aux_schema.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | use substrate_test_runtime_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:784:26 [INFO] [stdout] | [INFO] [stdout] 784 | head_number: NumberFor, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:786:23 [INFO] [stdout] | [INFO] [stdout] 786 | slot_now: NumberFor, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:805:69 [INFO] [stdout] | [INFO] [stdout] 805 | let strategy = BackoffAuthoringOnFinalizedHeadLagging::> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:827:69 [INFO] [stdout] | [INFO] [stdout] 827 | let strategy = BackoffAuthoringOnFinalizedHeadLagging::> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:861:69 [INFO] [stdout] | [INFO] [stdout] 861 | let strategy = BackoffAuthoringOnFinalizedHeadLagging::> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:906:50 [INFO] [stdout] | [INFO] [stdout] 906 | >>::should_backoff( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:978:50 [INFO] [stdout] | [INFO] [stdout] 978 | >>::should_backoff( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:1042:50 [INFO] [stdout] | [INFO] [stdout] 1042 | >>::should_backoff( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 719 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-consensus-slots` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "ed21384dbc37f29ee943a0d3e7937dc53747aec2c159b4ade1c481509d9da2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed21384dbc37f29ee943a0d3e7937dc53747aec2c159b4ade1c481509d9da2ff", kill_on_drop: false }` [INFO] [stdout] ed21384dbc37f29ee943a0d3e7937dc53747aec2c159b4ade1c481509d9da2ff