[INFO] fetching crate sp-state-machine 0.45.0... [INFO] checking sp-state-machine-0.45.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate sp-state-machine 0.45.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sp-state-machine 0.45.0 [INFO] finished tweaking crates.io crate sp-state-machine 0.45.0 [INFO] tweaked toml for crates.io crate sp-state-machine 0.45.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sp-state-machine 0.45.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 293 packages to latest compatible versions [INFO] [stderr] Adding array-bytes v6.2.3 (available: v9.3.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8d951d09c92060b8e63cf18df5d47c20d1a05d59fca54b0e37de45940543ac6 [INFO] running `Command { std: "docker" "start" "-a" "c8d951d09c92060b8e63cf18df5d47c20d1a05d59fca54b0e37de45940543ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8d951d09c92060b8e63cf18df5d47c20d1a05d59fca54b0e37de45940543ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d951d09c92060b8e63cf18df5d47c20d1a05d59fca54b0e37de45940543ac6", kill_on_drop: false }` [INFO] [stdout] c8d951d09c92060b8e63cf18df5d47c20d1a05d59fca54b0e37de45940543ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bde4c349dea9d19a774dd409c9df64bdfdc6b5daa054e4a04226f74b77cbd3fd [INFO] running `Command { std: "docker" "start" "-a" "bde4c349dea9d19a774dd409c9df64bdfdc6b5daa054e4a04226f74b77cbd3fd", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking ref-cast v1.0.24 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking blake2b_simd v1.0.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking dyn-clonable v0.9.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking schnellru v0.2.4 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-wasm-interface v21.0.1 [INFO] [stderr] Checking sp-tracing v17.1.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking bounded-collections v0.2.4 [INFO] [stderr] Checking sp-runtime-interface v29.0.1 [INFO] [stderr] Checking sp-core v36.1.0 [INFO] [stderr] Checking sp-trie v39.1.0 [INFO] [stderr] Checking sp-state-machine v0.45.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] --> src/in_memory_backend.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 190 | use sp_runtime::traits::BlakeTwo256; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_runtime`, use `cargo add sp_runtime` 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_runtime` [INFO] [stdout] --> src/testing.rs:390:6 [INFO] [stdout] | [INFO] [stdout] 390 | use sp_runtime::traits::BlakeTwo256; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_runtime`, use `cargo add sp_runtime` 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_runtime` [INFO] [stdout] --> src/trie_backend.rs:581:6 [INFO] [stdout] | [INFO] [stdout] 581 | use sp_runtime::traits::BlakeTwo256; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_runtime`, use `cargo add sp_runtime` 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_runtime` [INFO] [stdout] --> src/lib.rs:1103:6 [INFO] [stdout] | [INFO] [stdout] 1103 | use sp_runtime::traits::BlakeTwo256; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_runtime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_runtime`, use `cargo add sp_runtime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/ext.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend.rs:406:24 [INFO] [stdout] | [INFO] [stdout] 406 | fn fetch_runtime_code(&self) -> Option> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 406 | fn fetch_runtime_code(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn runtime_code(&self) -> Result { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 426 | pub fn runtime_code(&self) -> Result, &'static str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/overlayed_changes/offchain.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ ---------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn iter(&mut self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/testing.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn ext(&mut self) -> Ext> { [INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn ext(&mut self) -> Ext<'_, H, InMemoryBackend> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-state-machine` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "bde4c349dea9d19a774dd409c9df64bdfdc6b5daa054e4a04226f74b77cbd3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde4c349dea9d19a774dd409c9df64bdfdc6b5daa054e4a04226f74b77cbd3fd", kill_on_drop: false }` [INFO] [stdout] bde4c349dea9d19a774dd409c9df64bdfdc6b5daa054e4a04226f74b77cbd3fd