[INFO] cloning repository https://github.com/lorbax/mini-rpc-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lorbax/mini-rpc-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florbax%2Fmini-rpc-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florbax%2Fmini-rpc-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dab0b5aa43217a2d6ece935cb0ff6438b8303aae [INFO] checking lorbax/mini-rpc-client against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florbax%2Fmini-rpc-client" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lorbax/mini-rpc-client [INFO] finished tweaking git repo https://github.com/lorbax/mini-rpc-client [INFO] tweaked toml for git repo https://github.com/lorbax/mini-rpc-client written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lorbax/mini-rpc-client 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/lorbax/mini-rpc-client 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.214 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.15 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded serde v1.0.214 [INFO] [stderr] Downloaded hashbrown v0.15.0 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded tokio-util v0.7.12 [INFO] [stderr] Downloaded hyper v1.5.0 [INFO] [stderr] Downloaded h2 v0.4.6 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded syn v2.0.86 [INFO] [stderr] Downloaded bitcoin v0.32.4 [INFO] [stderr] Downloaded tokio v1.41.0 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3211546155c75d13dfeacce07701f0b8753fa4e987f08d3b39568b0358459307 [INFO] running `Command { std: "docker" "start" "-a" "3211546155c75d13dfeacce07701f0b8753fa4e987f08d3b39568b0358459307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3211546155c75d13dfeacce07701f0b8753fa4e987f08d3b39568b0358459307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3211546155c75d13dfeacce07701f0b8753fa4e987f08d3b39568b0358459307", kill_on_drop: false }` [INFO] [stdout] 3211546155c75d13dfeacce07701f0b8753fa4e987f08d3b39568b0358459307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b1e630eba0391c60f21f553edfc398dfe98b40ae69a366c4e6f3bd1e0ef91452 [INFO] running `Command { std: "docker" "start" "-a" "b1e630eba0391c60f21f553edfc398dfe98b40ae69a366c4e6f3bd1e0ef91452", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling bitcoin v0.32.4 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking mini-rpc-client v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::BlockHash` [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::BlockHash; [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 import: `super::BlockHash` [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::BlockHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hash` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hash(pub [u8; 32]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Amount` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Amount(f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockHash` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BlockHash(pub Hash); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mempool_entry`, `get_tx_output`, `get_raw_mempool`, and `submit_block` are never used [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl MiniRpcClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_mempool_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_tx_output( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_raw_mempool(&self) -> Result, RpcError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn submit_block(&self, block_hex: String) -> Result<(), RpcError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct JsonRpcResult { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 211 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonRpcResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct JsonRpcError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 216 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonRpcError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | JsonRpc(JsonRpcError), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 224 - JsonRpc(JsonRpcError), [INFO] [stdout] 224 + JsonRpc(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | Deserialization(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 225 - Deserialization(String), [INFO] [stdout] 225 + Deserialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | Serialization(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 226 - Serialization(String), [INFO] [stdout] 226 + Serialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | Http(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 - Http(String), [INFO] [stdout] 227 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | Other(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 230 - Other(String), [INFO] [stdout] 230 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GetRawTransactionVerboseResult { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 247 | #[serde(rename = "in_active_chain")] [INFO] [stdout] 248 | in_active_chain: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 249 | pub hex: Option, [INFO] [stdout] 250 | txid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 252 | version: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 253 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 254 | vsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 255 | weight: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 256 | locktime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 257 | vin: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 258 | vout: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | blockhash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 260 | confirmations: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 261 | time: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | blocktime: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetRawTransactionVerboseResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `txid`, `vout`, `script_sig`, `sequence`, `coinbase`, and `txinwitness` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | struct Vin { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 266 | txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | vout: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | script_sig: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | sequence: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 270 | coinbase: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 271 | txinwitness: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asm` and `hex` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 275 | struct ScriptSig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 276 | asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 277 | hex: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptSig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `n`, and `scriptPubKey` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 281 | struct Vout { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 282 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 283 | n: u32, [INFO] [stdout] | ^ [INFO] [stdout] 284 | scriptPubKey: ScriptPubKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetTxOutResult` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct GetTxOutResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asm`, `hex`, `req_sigs`, `script_type`, and `addresses` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct ScriptPubKey { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 299 | asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 300 | hex: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 301 | req_sigs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 302 | #[serde(rename = "type")] [INFO] [stdout] 303 | script_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 304 | addresses: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptPubKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetMempoolEntryResult` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct GetMempoolEntryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fees` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct Fees { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | scriptPubKey: ScriptPubKey, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hash` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hash(pub [u8; 32]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Amount` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Amount(f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockHash` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BlockHash(pub Hash); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mempool_entry`, `get_tx_output`, `get_raw_mempool`, and `submit_block` are never used [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl MiniRpcClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_mempool_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_tx_output( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_raw_mempool(&self) -> Result, RpcError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn submit_block(&self, block_hex: String) -> Result<(), RpcError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct JsonRpcResult { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 211 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonRpcResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `message` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct JsonRpcError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 216 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonRpcError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | JsonRpc(JsonRpcError), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 224 - JsonRpc(JsonRpcError), [INFO] [stdout] 224 + JsonRpc(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | Deserialization(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 225 - Deserialization(String), [INFO] [stdout] 225 + Deserialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | Serialization(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 226 - Serialization(String), [INFO] [stdout] 226 + Serialization(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | Http(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 - Http(String), [INFO] [stdout] 227 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | Other(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 230 - Other(String), [INFO] [stdout] 230 + Other(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct GetRawTransactionVerboseResult { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 247 | #[serde(rename = "in_active_chain")] [INFO] [stdout] 248 | in_active_chain: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 249 | pub hex: Option, [INFO] [stdout] 250 | txid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 252 | version: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 253 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 254 | vsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 255 | weight: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 256 | locktime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 257 | vin: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 258 | vout: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 259 | blockhash: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 260 | confirmations: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 261 | time: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | blocktime: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetRawTransactionVerboseResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `txid`, `vout`, `script_sig`, `sequence`, `coinbase`, and `txinwitness` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 265 | struct Vin { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 266 | txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 267 | vout: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 268 | script_sig: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | sequence: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 270 | coinbase: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 271 | txinwitness: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asm` and `hex` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 275 | struct ScriptSig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 276 | asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 277 | hex: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptSig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `n`, and `scriptPubKey` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 281 | struct Vout { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 282 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 283 | n: u32, [INFO] [stdout] | ^ [INFO] [stdout] 284 | scriptPubKey: ScriptPubKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetTxOutResult` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct GetTxOutResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asm`, `hex`, `req_sigs`, `script_type`, and `addresses` are never read [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct ScriptPubKey { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 299 | asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 300 | hex: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 301 | req_sigs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 302 | #[serde(rename = "type")] [INFO] [stdout] 303 | script_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 304 | addresses: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptPubKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetMempoolEntryResult` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct GetMempoolEntryResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fees` is never constructed [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct Fees { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/mini_rpc_client/mini_rpc_client.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | scriptPubKey: ScriptPubKey, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.19s [INFO] running `Command { std: "docker" "inspect" "b1e630eba0391c60f21f553edfc398dfe98b40ae69a366c4e6f3bd1e0ef91452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e630eba0391c60f21f553edfc398dfe98b40ae69a366c4e6f3bd1e0ef91452", kill_on_drop: false }` [INFO] [stdout] b1e630eba0391c60f21f553edfc398dfe98b40ae69a366c4e6f3bd1e0ef91452