[INFO] fetching crate sc-consensus-babe-rpc 0.8.0-rc5... [INFO] testing sc-consensus-babe-rpc-0.8.0-rc5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate sc-consensus-babe-rpc 0.8.0-rc5 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sc-consensus-babe-rpc 0.8.0-rc5 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdf6cdd27d8fa7de327b7606c975402f30328913b9cb3b42972309b033d4bdcf [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" "fdf6cdd27d8fa7de327b7606c975402f30328913b9cb3b42972309b033d4bdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdf6cdd27d8fa7de327b7606c975402f30328913b9cb3b42972309b033d4bdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf6cdd27d8fa7de327b7606c975402f30328913b9cb3b42972309b033d4bdcf", kill_on_drop: false }` [INFO] [stdout] fdf6cdd27d8fa7de327b7606c975402f30328913b9cb3b42972309b033d4bdcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d660915931ee8799fa5c29b3aad97d28bcac8a1684405e3c54e61ee3154db13 [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" "1d660915931ee8799fa5c29b3aad97d28bcac8a1684405e3c54e61ee3154db13", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling sc-consensus-slots v0.8.0-rc5 [INFO] [stderr] Compiling pdqselect v0.1.0 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling jsonrpc-derive v14.2.1 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.17 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling fork-tree v2.0.0-rc5 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling hex-literal v0.2.1 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling sp-serializer v2.0.0-rc5 [INFO] [stderr] Compiling slog-json v2.3.0 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling sp-chain-spec v2.0.0-rc5 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling jsonrpc-pubsub v14.2.0 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling jsonrpc-client-transports v14.2.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 async-std v1.6.2 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [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 hyper v0.13.7 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc5 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc5 [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-consensus-vrf v0.8.0-rc5 [INFO] [stderr] Compiling sp-authorship v2.0.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-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-babe v0.8.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-uncles v0.8.0-rc5 [INFO] [stderr] Compiling sc-consensus-epochs 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 42s [INFO] running `Command { std: "docker" "inspect" "1d660915931ee8799fa5c29b3aad97d28bcac8a1684405e3c54e61ee3154db13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d660915931ee8799fa5c29b3aad97d28bcac8a1684405e3c54e61ee3154db13", kill_on_drop: false }` [INFO] [stdout] 1d660915931ee8799fa5c29b3aad97d28bcac8a1684405e3c54e61ee3154db13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--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] 2232d512646301302fb58e319549abba698f7d1ab919b4a4f0ea51e6b6030a56 [INFO] running `Command { std: "docker" "start" "-a" "2232d512646301302fb58e319549abba698f7d1ab919b4a4f0ea51e6b6030a56", 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" "2232d512646301302fb58e319549abba698f7d1ab919b4a4f0ea51e6b6030a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2232d512646301302fb58e319549abba698f7d1ab919b4a4f0ea51e6b6030a56", kill_on_drop: false }` [INFO] [stdout] 2232d512646301302fb58e319549abba698f7d1ab919b4a4f0ea51e6b6030a56