[INFO] fetching crate sc-consensus-babe-rpc 0.8.0-rc5... [INFO] testing sc-consensus-babe-rpc-0.8.0-rc5 against 1.45.2 for beta-1.46-1 [INFO] extracting crate sc-consensus-babe-rpc 0.8.0-rc5 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sc-consensus-babe-rpc 0.8.0-rc5 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-consensus-babe-rpc 0.8.0-rc5 [INFO] finished tweaking crates.io crate sc-consensus-babe-rpc 0.8.0-rc5 [INFO] tweaked toml for crates.io crate sc-consensus-babe-rpc 0.8.0-rc5 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e506ebaadf46cdc596327fb509e0d810176b0f15366f64ba8f3a79a71066eb3 [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" "8e506ebaadf46cdc596327fb509e0d810176b0f15366f64ba8f3a79a71066eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e506ebaadf46cdc596327fb509e0d810176b0f15366f64ba8f3a79a71066eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e506ebaadf46cdc596327fb509e0d810176b0f15366f64ba8f3a79a71066eb3", kill_on_drop: false }` [INFO] [stdout] 8e506ebaadf46cdc596327fb509e0d810176b0f15366f64ba8f3a79a71066eb3 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7649519ec9dd2d687bc4eec852161711568a13c5dd26e9e31d0564eb970e4fe [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" "b7649519ec9dd2d687bc4eec852161711568a13c5dd26e9e31d0564eb970e4fe", kill_on_drop: false }` [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-rc5 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling sp-chain-spec v2.0.0-rc5 [INFO] [stderr] Compiling jsonrpc-derive v14.2.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling fork-tree v2.0.0-rc5 [INFO] [stderr] Compiling kvdb v0.7.0 [INFO] [stderr] Compiling sp-database v2.0.0-rc5 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling jsonrpc-pubsub v14.2.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling jsonrpc-client-transports v14.2.1 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling jsonrpc-core-client v14.2.0 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling sp-allocator v2.0.0-rc5 [INFO] [stderr] Compiling sp-rpc v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc5 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling sc-telemetry v2.0.0-rc5 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling sc-keystore v2.0.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling sp-keyring v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-slots v0.8.0-rc5 [INFO] [stderr] Compiling sp-authorship v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-vrf v0.8.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor v0.8.0-rc5 [INFO] [stderr] Compiling sp-timestamp v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-babe v0.8.0-rc5 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-rc5 [INFO] [stderr] Compiling sc-client-api v2.0.0-rc5 [INFO] [stderr] Compiling sc-rpc-api v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-epochs v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-uncles v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-babe v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-babe-rpc v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 03s [INFO] running `Command { std: "docker" "inspect" "b7649519ec9dd2d687bc4eec852161711568a13c5dd26e9e31d0564eb970e4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7649519ec9dd2d687bc4eec852161711568a13c5dd26e9e31d0564eb970e4fe", kill_on_drop: false }` [INFO] [stdout] b7649519ec9dd2d687bc4eec852161711568a13c5dd26e9e31d0564eb970e4fe [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cf9900606df58b511ff72d0e2902cf476d708aa8e0774ac57ab5b03e8aa24fe [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" "4cf9900606df58b511ff72d0e2902cf476d708aa8e0774ac57ab5b03e8aa24fe", kill_on_drop: false }` [INFO] [stderr] Compiling sc-consensus-babe-rpc v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/lib.rs:230:6 [INFO] [stdout] | [INFO] [stdout] 230 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/lib.rs:230:6 [INFO] [stdout] | [INFO] [stdout] 230 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/lib.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 239 | use sp_keyring::Ed25519Keyring; [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 `tempfile` [INFO] [stdout] --> src/lib.rs:247:82 [INFO] [stdout] | [INFO] [stdout] 247 | fn create_temp_keystore(authority: Ed25519Keyring) -> (KeyStorePtr, tempfile::TempDir) { [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 `tempfile` [INFO] [stdout] --> src/lib.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | 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 `sc_consensus` [INFO] [stdout] --> src/lib.rs:258:41 [INFO] [stdout] | [INFO] [stdout] 258 | ) -> BabeRpcHandler> { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `sc_consensus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | let mut response: serde_json::Value = serde_json::from_str(&response).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:303:41 [INFO] [stdout] | [INFO] [stdout] 303 | let mut response: serde_json::Value = serde_json::from_str(&response).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 304 | let error: RpcError = serde_json::from_value(response["error"].take()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | ) -> BabeRpcHandler> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 258 | ) -> BabeRpcHandler> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 229 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 229 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 229 | 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:258:77 [INFO] [stdout] | [INFO] [stdout] 258 | ) -> BabeRpcHandler> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 258 | ) -> BabeRpcHandler> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 229 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 229 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 229 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/lib.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 273 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-consensus-babe-rpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4cf9900606df58b511ff72d0e2902cf476d708aa8e0774ac57ab5b03e8aa24fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf9900606df58b511ff72d0e2902cf476d708aa8e0774ac57ab5b03e8aa24fe", kill_on_drop: false }` [INFO] [stdout] 4cf9900606df58b511ff72d0e2902cf476d708aa8e0774ac57ab5b03e8aa24fe