[INFO] fetching crate sp-runtime 43.0.0... [INFO] testing sp-runtime-43.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sp-runtime 43.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sp-runtime 43.0.0 [INFO] finished tweaking crates.io crate sp-runtime 43.0.0 [INFO] tweaked toml for crates.io crate sp-runtime 43.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sp-runtime 43.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sp-runtime 43.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85476ebebb036732fb426a73236c25fd2638f3b4f7e2d6eb2baf9d7846d6f2fc [INFO] running `Command { std: "docker" "start" "-a" "85476ebebb036732fb426a73236c25fd2638f3b4f7e2d6eb2baf9d7846d6f2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85476ebebb036732fb426a73236c25fd2638f3b4f7e2d6eb2baf9d7846d6f2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85476ebebb036732fb426a73236c25fd2638f3b4f7e2d6eb2baf9d7846d6f2fc", kill_on_drop: false }` [INFO] [stdout] 85476ebebb036732fb426a73236c25fd2638f3b4f7e2d6eb2baf9d7846d6f2fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4056077dc63164dc75a8a637b9a320d01d3146c04e3a2ad50be6044848cade3 [INFO] running `Command { std: "docker" "start" "-a" "e4056077dc63164dc75a8a637b9a320d01d3146c04e3a2ad50be6044848cade3", kill_on_drop: false }` [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-wasm-interface v23.0.0 [INFO] [stderr] Compiling sp-tracing v18.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling sp-arithmetic v28.0.0 [INFO] [stderr] Compiling sp-runtime-interface v31.0.0 [INFO] [stderr] Compiling sp-weights v33.0.0 [INFO] [stderr] Compiling sp-core v38.0.0 [INFO] [stderr] Compiling sp-trie v41.0.0 [INFO] [stderr] Compiling sp-keystore v0.44.0 [INFO] [stderr] Compiling sp-state-machine v0.47.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling sp-application-crypto v42.0.0 [INFO] [stderr] Compiling sp-runtime v43.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generic/digest.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn dref(&self) -> DigestItemRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn dref(&self) -> DigestItemRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/offchain/http.rs:460:19 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn into_iter(&self) -> HeadersIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 460 | pub fn into_iter(&self) -> HeadersIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e4056077dc63164dc75a8a637b9a320d01d3146c04e3a2ad50be6044848cade3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4056077dc63164dc75a8a637b9a320d01d3146c04e3a2ad50be6044848cade3", kill_on_drop: false }` [INFO] [stdout] e4056077dc63164dc75a8a637b9a320d01d3146c04e3a2ad50be6044848cade3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ac578b7b994066b6be675072dd1b33b0d65b6dde4b3f80f9684ed05e9c12a7 [INFO] running `Command { std: "docker" "start" "-a" "a5ac578b7b994066b6be675072dd1b33b0d65b6dde4b3f80f9684ed05e9c12a7", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling sp-core v38.0.0 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling sp-trie v41.0.0 [INFO] [stderr] Compiling sp-keystore v0.44.0 [INFO] [stderr] Compiling sp-state-machine v0.47.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling sp-application-crypto v42.0.0 [INFO] [stderr] Compiling sp-runtime v43.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `substrate_test_runtime_client` [INFO] [stdout] --> src/runtime_logger.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `substrate_test_runtime_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `substrate_test_runtime_client`, use `cargo add substrate_test_runtime_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_api` [INFO] [stdout] --> src/runtime_logger.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | use sp_api::ProvideRuntimeApi; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sp_api` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_api`, use `cargo add sp_api` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/runtime_logger.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `substrate_test_runtime_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `substrate_test_runtime_client`, use `cargo add substrate_test_runtime_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_state_machine` [INFO] [stdout] --> src/lib.rs:1118:6 [INFO] [stdout] | [INFO] [stdout] 1118 | use sp_state_machine::create_proof_check_backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_state_machine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_state_machine`, use `cargo add sp_state_machine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_state_machine` [INFO] [stdout] --> src/lib.rs:1202:7 [INFO] [stdout] | [INFO] [stdout] 1202 | use sp_state_machine::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_state_machine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_state_machine`, use `cargo add sp_state_machine` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/runtime_logger.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 77 - sp_tracing::try_init_simple(); [INFO] [stdout] 77 + tracing::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/generic/digest.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn dref(&self) -> DigestItemRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn dref(&self) -> DigestItemRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/offchain/http.rs:460:19 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn into_iter(&self) -> HeadersIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 460 | pub fn into_iter(&self) -> HeadersIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-runtime` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a5ac578b7b994066b6be675072dd1b33b0d65b6dde4b3f80f9684ed05e9c12a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ac578b7b994066b6be675072dd1b33b0d65b6dde4b3f80f9684ed05e9c12a7", kill_on_drop: false }` [INFO] [stdout] a5ac578b7b994066b6be675072dd1b33b0d65b6dde4b3f80f9684ed05e9c12a7