[INFO] cloning repository https://github.com/spaghetti-labs/address-index [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spaghetti-labs/address-index" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaghetti-labs%2Faddress-index", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaghetti-labs%2Faddress-index'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94b140d8c44fa9f69490951b80e528fd9f614ece [INFO] checking spaghetti-labs/address-index against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaghetti-labs%2Faddress-index" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/spaghetti-labs/address-index [INFO] finished tweaking git repo https://github.com/spaghetti-labs/address-index [INFO] tweaked toml for git repo https://github.com/spaghetti-labs/address-index written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spaghetti-labs/address-index on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spaghetti-labs/address-index 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref-cast v1.0.25 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded double-ended-peekable v0.1.0 [INFO] [stderr] Downloaded juniper_rocket v0.10.0 [INFO] [stderr] Downloaded value-log v1.9.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.25 [INFO] [stderr] Downloaded bitcoin-io v0.1.3 [INFO] [stderr] Downloaded jsonrpsee-types v0.26.0 [INFO] [stderr] Downloaded redis v0.32.7 [INFO] [stderr] Downloaded bitcoin-io v0.2.0 [INFO] [stderr] Downloaded byteview v0.6.1 [INFO] [stderr] Downloaded std-semaphore v0.1.0 [INFO] [stderr] Downloaded interval-heap v0.0.5 [INFO] [stderr] Downloaded juniper_codegen v0.17.0 [INFO] [stderr] Downloaded jsonrpsee-proc-macros v0.26.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded hex-conservative v0.3.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.16.0 [INFO] [stderr] Downloaded fjall v2.11.2 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin-internals v0.4.0 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded bitcoin v0.32.7 [INFO] [stderr] Downloaded compare v0.0.6 [INFO] [stderr] Downloaded lsm-tree v2.10.4 [INFO] [stderr] Downloaded security-framework v3.5.1 [INFO] [stderr] Downloaded webpki-root-certs v1.0.3 [INFO] [stderr] Downloaded juniper v0.17.0 [INFO] [stderr] Downloaded quick_cache v0.6.17 [INFO] [stderr] Downloaded jsonrpsee-core v0.26.0 [INFO] [stderr] Downloaded jsonrpsee-http-client v0.26.0 [INFO] [stderr] Downloaded arcstr v1.2.0 [INFO] [stderr] Downloaded varint-rs v2.2.0 [INFO] [stderr] Downloaded jsonrpsee v0.26.0 [INFO] [stderr] Downloaded secp256k1-sys v0.11.0 [INFO] [stderr] Downloaded secp256k1 v0.31.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3c28f18e0cd2a3c48570e30604aa196c77d1be51104714d4a54aba2a96ed3b5 [INFO] running `Command { std: "docker" "start" "-a" "c3c28f18e0cd2a3c48570e30604aa196c77d1be51104714d4a54aba2a96ed3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3c28f18e0cd2a3c48570e30604aa196c77d1be51104714d4a54aba2a96ed3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3c28f18e0cd2a3c48570e30604aa196c77d1be51104714d4a54aba2a96ed3b5", kill_on_drop: false }` [INFO] [stdout] c3c28f18e0cd2a3c48570e30604aa196c77d1be51104714d4a54aba2a96ed3b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e4fc9af5decd6a2cc49f914a5f2cc9271842d1484bdbd725769cd06a758e368 [INFO] running `Command { std: "docker" "start" "-a" "5e4fc9af5decd6a2cc49f914a5f2cc9271842d1484bdbd725769cd06a758e368", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking compare v0.0.6 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking interval-heap v0.0.5 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking jsonrpsee-types v0.26.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling secp256k1-sys v0.11.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking byteview v0.6.1 [INFO] [stderr] Checking varint-rs v2.2.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking value-log v1.9.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling auto_enums v0.8.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Checking jsonrpsee-core v0.26.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling juniper_codegen v0.17.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking quick_cache v0.6.17 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking double-ended-peekable v0.1.0 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking guardian v1.3.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.26.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking hex-conservative v0.3.0 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking std-semaphore v0.1.0 [INFO] [stderr] Checking bitcoin_hashes v0.16.0 [INFO] [stderr] Checking lsm-tree v2.10.4 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking secp256k1 v0.31.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking fjall v2.11.2 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking juniper v0.17.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking jsonrpsee-http-client v0.26.0 [INFO] [stderr] Checking redis v0.32.7 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking jsonrpsee v0.26.0 [INFO] [stderr] Checking juniper_rocket v0.10.0 [INFO] [stderr] Checking scanner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ReadTx` [INFO] [stdout] --> src/store/txo.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{impl_bincode_conversion, store::{common::BlockHeight, ReadTx, TxRead, WriteTx}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompressedPubKey`, `PubKeyHash`, and `UncompressedPubKey` [INFO] [stdout] --> src/store/txo.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{common::{Amount, CompressedPubKey, PubKeyHash, Script, TransactionID, UncompressedPubKey}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadTx` [INFO] [stdout] --> src/store/account.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{impl_bincode_conversion, store::{common::BlockHeight, ReadTx, TxRead, WriteTx}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompressedPubKey`, `PubKeyHash`, `TransactionID`, and `UncompressedPubKey` [INFO] [stdout] --> src/store/account.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{common::{Amount, CompressedPubKey, PubKeyHash, Script, TransactionID, UncompressedPubKey}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockHash` [INFO] [stdout] --> src/scanner/mod.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::{hashes::Hash, BlockHash}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Script`, `self`, and `self` [INFO] [stdout] --> src/scanner/mod.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{self, account::{AccountStoreRead as _, AccountStoreWrite as _}, block::{BlockStoreRead as _, BlockStoreWrite}, common::{BlockHeight, Script}, txo::{self, T... [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{convert::Infallible, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{select, task::block_in_place, time::sleep}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadTx` [INFO] [stdout] --> src/store/txo.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{impl_bincode_conversion, store::{common::BlockHeight, ReadTx, TxRead, WriteTx}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompressedPubKey`, `PubKeyHash`, and `UncompressedPubKey` [INFO] [stdout] --> src/store/txo.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{common::{Amount, CompressedPubKey, PubKeyHash, Script, TransactionID, UncompressedPubKey}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadTx` [INFO] [stdout] --> src/store/account.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{impl_bincode_conversion, store::{common::BlockHeight, ReadTx, TxRead, WriteTx}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompressedPubKey`, `PubKeyHash`, `TransactionID`, and `UncompressedPubKey` [INFO] [stdout] --> src/store/account.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{common::{Amount, CompressedPubKey, PubKeyHash, Script, TransactionID, UncompressedPubKey}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockHash` [INFO] [stdout] --> src/scanner/mod.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use bitcoin::{hashes::Hash, BlockHash}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Script`, `self`, and `self` [INFO] [stdout] --> src/scanner/mod.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | ...::{self, account::{AccountStoreRead as _, AccountStoreWrite as _}, block::{BlockStoreRead as _, BlockStoreWrite}, common::{BlockHeight, Script}, txo::{self, T... [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{convert::Infallible, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::sleep` [INFO] [stdout] --> src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{select, task::block_in_place, time::sleep}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_height` [INFO] [stdout] --> src/store/account.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | let Some((last_height, last)) = self.prefix(&self.store().locker_script_and_height_to_balance, Slice::from(script)).rev().next().tran... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_height` [INFO] [stdout] --> src/store/account.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | let Some((last_height, last)) = self.prefix(&self.store().locker_script_and_height_to_balance, Slice::from(script)).rev().next().tran... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain` and `blocks` are never read [INFO] [stdout] --> src/bitcoin_rpc.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BlockchainInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | pub chain: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub blocks: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scan_txoids_by_height` is never used [INFO] [stdout] --> src/store/txo.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait TXOStoreRead { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 7 | fn get_txo(&self, id: &TXOID) -> anyhow::Result>; [INFO] [stdout] 8 | fn scan_txoids_by_height(&self, height: &BlockHeight) -> impl Iterator> + '_; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PublicKey` is never used [INFO] [stdout] --> src/script.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PublicKey<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKeyHash` is never constructed [INFO] [stdout] --> src/script.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PublicKeyHash<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StandardScript` is never used [INFO] [stdout] --> src/script.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum StandardScript<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/script.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Operator<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `write_to` are never used [INFO] [stdout] --> src/script.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 110 | impl Operator<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 111 | pub fn size(self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn write_to(self, buf: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assembly` is never constructed [INFO] [stdout] --> src/script.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Assembly<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/script.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a> Assembly<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 167 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_tx(&self) -> ReadTx { [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] 41 | pub fn read_tx(&self) -> ReadTx<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/mod.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_tx(&self) -> WriteTx { [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] 49 | pub fn write_tx(&self) -> WriteTx<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain` and `blocks` are never read [INFO] [stdout] --> src/bitcoin_rpc.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BlockchainInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | pub chain: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub blocks: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scan_txoids_by_height` is never used [INFO] [stdout] --> src/store/txo.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait TXOStoreRead { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 7 | fn get_txo(&self, id: &TXOID) -> anyhow::Result>; [INFO] [stdout] 8 | fn scan_txoids_by_height(&self, height: &BlockHeight) -> impl Iterator> + '_; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PublicKey` is never used [INFO] [stdout] --> src/script.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PublicKey<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKeyHash` is never constructed [INFO] [stdout] --> src/script.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PublicKeyHash<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StandardScript` is never used [INFO] [stdout] --> src/script.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum StandardScript<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/script.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Operator<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `write_to` are never used [INFO] [stdout] --> src/script.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 110 | impl Operator<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 111 | pub fn size(self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn write_to(self, buf: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assembly` is never constructed [INFO] [stdout] --> src/script.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Assembly<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/script.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 166 | impl<'a> Assembly<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 167 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_tx(&self) -> ReadTx { [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] 41 | pub fn read_tx(&self) -> ReadTx<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/store/mod.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn write_tx(&self) -> WriteTx { [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] 49 | pub fn write_tx(&self) -> WriteTx<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "5e4fc9af5decd6a2cc49f914a5f2cc9271842d1484bdbd725769cd06a758e368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4fc9af5decd6a2cc49f914a5f2cc9271842d1484bdbd725769cd06a758e368", kill_on_drop: false }` [INFO] [stdout] 5e4fc9af5decd6a2cc49f914a5f2cc9271842d1484bdbd725769cd06a758e368