[INFO] cloning repository https://github.com/daiagi/spv-bridge-assignment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daiagi/spv-bridge-assignment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiagi%2Fspv-bridge-assignment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiagi%2Fspv-bridge-assignment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 342232786d80445b781f93d26867b94ab88d666d [INFO] checking daiagi/spv-bridge-assignment against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiagi%2Fspv-bridge-assignment" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daiagi/spv-bridge-assignment on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daiagi/spv-bridge-assignment [INFO] finished tweaking git repo https://github.com/daiagi/spv-bridge-assignment [INFO] tweaked toml for git repo https://github.com/daiagi/spv-bridge-assignment written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/daiagi/spv-bridge-assignment 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.5 [INFO] [stderr] Downloaded ink_metadata v4.3.0 [INFO] [stderr] Downloaded scale-decode-derive v0.9.0 [INFO] [stderr] Downloaded scale-decode v0.9.0 [INFO] [stderr] Downloaded ink v4.3.0 [INFO] [stderr] Downloaded ink_storage_traits v4.3.0 [INFO] [stderr] Downloaded ink_engine v4.3.0 [INFO] [stderr] Downloaded ink_allocator v4.3.0 [INFO] [stderr] Downloaded synstructure v0.13.0 [INFO] [stderr] Downloaded ink_codegen v4.3.0 [INFO] [stderr] Downloaded ink_macro v4.3.0 [INFO] [stderr] Downloaded ink_env v4.3.0 [INFO] [stderr] Downloaded parity-scale-codec v3.6.5 [INFO] [stderr] Downloaded ink_storage v4.3.0 [INFO] [stderr] Downloaded rustix v0.38.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b00981710b493c116e63b56e3ba0f9a6d56cd0768fd35b015df69ed60b0e52b [INFO] running `Command { std: "docker" "start" "-a" "0b00981710b493c116e63b56e3ba0f9a6d56cd0768fd35b015df69ed60b0e52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b00981710b493c116e63b56e3ba0f9a6d56cd0768fd35b015df69ed60b0e52b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b00981710b493c116e63b56e3ba0f9a6d56cd0768fd35b015df69ed60b0e52b", kill_on_drop: false }` [INFO] [stdout] 0b00981710b493c116e63b56e3ba0f9a6d56cd0768fd35b015df69ed60b0e52b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f541405644984cd503f6b860e56186a6c1f5797fee556f4d48bc668f24a1212 [INFO] running `Command { std: "docker" "start" "-a" "6f541405644984cd503f6b860e56186a6c1f5797fee556f4d48bc668f24a1212", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking ink_prelude v4.3.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Checking xxhash-rust v0.8.7 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking ink_allocator v4.3.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.5 [INFO] [stderr] Compiling scale-info-derive v2.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Checking parity-scale-codec v3.6.5 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking scale-info v2.9.0 [INFO] [stderr] Checking scale-bits v0.4.0 [INFO] [stderr] Checking scale-encode v0.5.0 [INFO] [stderr] Checking scale-decode v0.9.0 [INFO] [stderr] Checking ink_primitives v4.3.0 [INFO] [stderr] Checking ink_metadata v4.3.0 [INFO] [stderr] Checking ink_engine v4.3.0 [INFO] [stderr] Compiling ink_codegen v4.3.0 [INFO] [stderr] Checking ink_storage_traits v4.3.0 [INFO] [stderr] Checking ink_env v4.3.0 [INFO] [stderr] Checking ink_storage v4.3.0 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Checking ink v4.3.0 [INFO] [stderr] Checking spv_bridge v0.1.0 (/opt/rustwide/workdir/ink/spv_bridge) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> ink/spv_bridge/lib.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | / pub struct SpvBridge { [INFO] [stdout] 71 | | /// The main source chain header database. [INFO] [stdout] 72 | | /// Maps header hashes to complete headers. [INFO] [stdout] 73 | | headers: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 96 | | verify_fee: Balance, [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> ink/spv_bridge/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | / /// Initialize the on-chain light client with a "checkpoint" header. [INFO] [stdout] 138 | | /// [INFO] [stdout] 139 | | /// In many cases, the source chain is older than the target chain, and may have a long [INFO] [stdout] 140 | | /// history. We allow starting from a recent point in the source chain and verifying [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> ink/spv_bridge/lib.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | / pub struct SpvBridge { [INFO] [stdout] 71 | | /// The main source chain header database. [INFO] [stdout] 72 | | /// Maps header hashes to complete headers. [INFO] [stdout] 73 | | headers: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 96 | | verify_fee: Balance, [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> ink/spv_bridge/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | / /// Initialize the on-chain light client with a "checkpoint" header. [INFO] [stdout] 138 | | /// [INFO] [stdout] 139 | | /// In many cases, the source chain is older than the target chain, and may have a long [INFO] [stdout] 140 | | /// history. We allow starting from a recent point in the source chain and verifying [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> ink/spv_bridge/lib.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn submit_new_header(&mut self, header: Header) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | tx_hash: HashValue, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | header_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | block_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn header_is_known(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn header_is_canon(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> ink/spv_bridge/lib.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn submit_new_header(&mut self, header: Header) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | tx_hash: HashValue, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | header_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | block_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn header_is_known(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn header_is_canon(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.90s [INFO] running `Command { std: "docker" "inspect" "6f541405644984cd503f6b860e56186a6c1f5797fee556f4d48bc668f24a1212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f541405644984cd503f6b860e56186a6c1f5797fee556f4d48bc668f24a1212", kill_on_drop: false }` [INFO] [stdout] 6f541405644984cd503f6b860e56186a6c1f5797fee556f4d48bc668f24a1212 [INFO] checking daiagi/spv-bridge-assignment against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaiagi%2Fspv-bridge-assignment" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daiagi/spv-bridge-assignment on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daiagi/spv-bridge-assignment [INFO] finished tweaking git repo https://github.com/daiagi/spv-bridge-assignment [INFO] tweaked toml for git repo https://github.com/daiagi/spv-bridge-assignment written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/daiagi/spv-bridge-assignment 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b517bd45033ea19f33364415360981078571bd38671d17b4b9f48344ac6fe4b [INFO] running `Command { std: "docker" "start" "-a" "6b517bd45033ea19f33364415360981078571bd38671d17b4b9f48344ac6fe4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b517bd45033ea19f33364415360981078571bd38671d17b4b9f48344ac6fe4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b517bd45033ea19f33364415360981078571bd38671d17b4b9f48344ac6fe4b", kill_on_drop: false }` [INFO] [stdout] 6b517bd45033ea19f33364415360981078571bd38671d17b4b9f48344ac6fe4b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7af2f5f018ca942fdb15910d75535eca159bdabbb3c527575c295e4233094d2 [INFO] running `Command { std: "docker" "start" "-a" "a7af2f5f018ca942fdb15910d75535eca159bdabbb3c527575c295e4233094d2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking ink_prelude v4.3.0 [INFO] [stderr] Checking xxhash-rust v0.8.7 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Checking ink_allocator v4.3.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-encode-derive v0.5.0 [INFO] [stderr] Compiling scale-decode-derive v0.9.0 [INFO] [stderr] Checking parity-scale-codec v3.6.5 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking scale-info v2.9.0 [INFO] [stderr] Checking scale-bits v0.4.0 [INFO] [stderr] Checking scale-encode v0.5.0 [INFO] [stderr] Checking scale-decode v0.9.0 [INFO] [stderr] Checking ink_primitives v4.3.0 [INFO] [stderr] Checking ink_metadata v4.3.0 [INFO] [stderr] Checking ink_engine v4.3.0 [INFO] [stderr] Compiling ink_codegen v4.3.0 [INFO] [stderr] Checking ink_storage_traits v4.3.0 [INFO] [stderr] Checking ink_env v4.3.0 [INFO] [stderr] Checking ink_storage v4.3.0 [INFO] [stderr] Compiling ink_macro v4.3.0 [INFO] [stderr] Checking ink v4.3.0 [INFO] [stderr] Checking spv_bridge v0.1.0 (/opt/rustwide/workdir/ink/spv_bridge) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> ink/spv_bridge/lib.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | / pub struct SpvBridge { [INFO] [stdout] 71 | | /// The main source chain header database. [INFO] [stdout] 72 | | /// Maps header hashes to complete headers. [INFO] [stdout] 73 | | headers: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 96 | | verify_fee: Balance, [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> ink/spv_bridge/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | / /// Initialize the on-chain light client with a "checkpoint" header. [INFO] [stdout] 138 | | /// [INFO] [stdout] 139 | | /// In many cases, the source chain is older than the target chain, and may have a long [INFO] [stdout] 140 | | /// history. We allow starting from a recent point in the source chain and verifying [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> ink/spv_bridge/lib.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 70 | / pub struct SpvBridge { [INFO] [stdout] 71 | | /// The main source chain header database. [INFO] [stdout] 72 | | /// Maps header hashes to complete headers. [INFO] [stdout] 73 | | headers: Mapping, [INFO] [stdout] ... | [INFO] [stdout] 96 | | verify_fee: Balance, [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> ink/spv_bridge/lib.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | / /// Initialize the on-chain light client with a "checkpoint" header. [INFO] [stdout] 138 | | /// [INFO] [stdout] 139 | | /// In many cases, the source chain is older than the target chain, and may have a long [INFO] [stdout] 140 | | /// history. We allow starting from a recent point in the source chain and verifying [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `e2e-tests`, `ink-as-dependency`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> ink/spv_bridge/lib.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn submit_new_header(&mut self, header: Header) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | tx_hash: HashValue, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | header_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | block_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn header_is_known(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn header_is_canon(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> ink/spv_bridge/lib.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn submit_new_header(&mut self, header: Header) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | tx_hash: HashValue, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | header_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:231:4 [INFO] [stdout] | [INFO] [stdout] 231 | block_hash: HashValue, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_depth` [INFO] [stdout] --> ink/spv_bridge/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | min_depth: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ink/spv_bridge/lib.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | p: MerkleProof, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn header_is_known(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_hash` [INFO] [stdout] --> ink/spv_bridge/lib.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn header_is_canon(&self, header_hash: HashValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.61s [INFO] running `Command { std: "docker" "inspect" "a7af2f5f018ca942fdb15910d75535eca159bdabbb3c527575c295e4233094d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7af2f5f018ca942fdb15910d75535eca159bdabbb3c527575c295e4233094d2", kill_on_drop: false }` [INFO] [stdout] a7af2f5f018ca942fdb15910d75535eca159bdabbb3c527575c295e4233094d2