[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] testing lorbax/mini-rpc-client against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florbax%2Fmini-rpc-client" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lorbax/mini-rpc-client on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10ac4e841fdc1d557b450a175f60e8eb255db50d98a58014ad70aa356416db35 [INFO] running `Command { std: "docker" "start" "-a" "10ac4e841fdc1d557b450a175f60e8eb255db50d98a58014ad70aa356416db35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10ac4e841fdc1d557b450a175f60e8eb255db50d98a58014ad70aa356416db35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ac4e841fdc1d557b450a175f60e8eb255db50d98a58014ad70aa356416db35", kill_on_drop: false }` [INFO] [stdout] 10ac4e841fdc1d557b450a175f60e8eb255db50d98a58014ad70aa356416db35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54c24b60e16764a7455edad0e1c909f6315c4662370c5e8c7931c8cf4d99375 [INFO] running `Command { std: "docker" "start" "-a" "f54c24b60e16764a7455edad0e1c909f6315c4662370c5e8c7931c8cf4d99375", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling bitcoin v0.32.4 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling 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: 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 31.61s [INFO] running `Command { std: "docker" "inspect" "f54c24b60e16764a7455edad0e1c909f6315c4662370c5e8c7931c8cf4d99375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54c24b60e16764a7455edad0e1c909f6315c4662370c5e8c7931c8cf4d99375", kill_on_drop: false }` [INFO] [stdout] f54c24b60e16764a7455edad0e1c909f6315c4662370c5e8c7931c8cf4d99375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7375ddc739f867a8a7d396c9537668f2f38a5a8ef4509cc4c0fb66e13f7369d9 [INFO] running `Command { std: "docker" "start" "-a" "7375ddc739f867a8a7d396c9537668f2f38a5a8ef4509cc4c0fb66e13f7369d9", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "7375ddc739f867a8a7d396c9537668f2f38a5a8ef4509cc4c0fb66e13f7369d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7375ddc739f867a8a7d396c9537668f2f38a5a8ef4509cc4c0fb66e13f7369d9", kill_on_drop: false }` [INFO] [stdout] 7375ddc739f867a8a7d396c9537668f2f38a5a8ef4509cc4c0fb66e13f7369d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 614277534d9ba31b327bbdbcf4eec0a0bc07f148c81caab1ae86e76262ccd5f1 [INFO] running `Command { std: "docker" "start" "-a" "614277534d9ba31b327bbdbcf4eec0a0bc07f148c81caab1ae86e76262ccd5f1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::BlockHash` [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use super::BlockHash; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Hash` is never constructed [INFO] [stderr] --> src/mini_rpc_client/mod.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Hash(pub [u8; 32]); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Amount` is never constructed [INFO] [stderr] --> src/mini_rpc_client/mod.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Amount(f64); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BlockHash` is never constructed [INFO] [stderr] --> src/mini_rpc_client/mod.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct BlockHash(pub Hash); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_mempool_entry`, `get_tx_output`, `get_raw_mempool`, and `submit_block` are never used [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 26 | impl MiniRpcClient { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub async fn get_mempool_entry( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub async fn get_tx_output( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub async fn get_raw_mempool(&self) -> Result, RpcError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | pub async fn submit_block(&self, block_hex: String) -> Result<(), RpcError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 208 | pub struct JsonRpcResult { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 211 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `JsonRpcResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code` and `message` are never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 215 | pub struct JsonRpcError { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 216 | pub code: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 217 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `JsonRpcError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:224:13 [INFO] [stderr] | [INFO] [stderr] 224 | JsonRpc(JsonRpcError), [INFO] [stderr] | ------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 224 - JsonRpc(JsonRpcError), [INFO] [stderr] 224 + JsonRpc(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | Deserialization(String), [INFO] [stderr] | --------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 225 - Deserialization(String), [INFO] [stderr] 225 + Deserialization(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:226:19 [INFO] [stderr] | [INFO] [stderr] 226 | Serialization(String), [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 226 - Serialization(String), [INFO] [stderr] 226 + Serialization(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:227:10 [INFO] [stderr] | [INFO] [stderr] 227 | Http(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 227 - Http(String), [INFO] [stderr] 227 + Http(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:230:11 [INFO] [stderr] | [INFO] [stderr] 230 | Other(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RpcError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 230 - Other(String), [INFO] [stderr] 230 + Other(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 246 | pub struct GetRawTransactionVerboseResult { [INFO] [stderr] | ------------------------------ fields in this struct [INFO] [stderr] 247 | #[serde(rename = "in_active_chain")] [INFO] [stderr] 248 | in_active_chain: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 249 | pub hex: Option, [INFO] [stderr] 250 | txid: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 251 | hash: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 252 | version: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 253 | size: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 254 | vsize: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 255 | weight: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 256 | locktime: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 257 | vin: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] 258 | vout: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 259 | blockhash: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 260 | confirmations: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 261 | time: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 262 | blocktime: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GetRawTransactionVerboseResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `txid`, `vout`, `script_sig`, `sequence`, `coinbase`, and `txinwitness` are never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:266:5 [INFO] [stderr] | [INFO] [stderr] 265 | struct Vin { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 266 | txid: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 267 | vout: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 268 | script_sig: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 269 | sequence: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 270 | coinbase: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 271 | txinwitness: Option>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Vin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `asm` and `hex` are never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:276:5 [INFO] [stderr] | [INFO] [stderr] 275 | struct ScriptSig { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 276 | asm: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 277 | hex: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScriptSig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `value`, `n`, and `scriptPubKey` are never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 281 | struct Vout { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 282 | value: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 283 | n: u32, [INFO] [stderr] | ^ [INFO] [stderr] 284 | scriptPubKey: ScriptPubKey, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Vout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `GetTxOutResult` is never constructed [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:288:12 [INFO] [stderr] | [INFO] [stderr] 288 | pub struct GetTxOutResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `asm`, `hex`, `req_sigs`, `script_type`, and `addresses` are never read [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:299:5 [INFO] [stderr] | [INFO] [stderr] 298 | pub struct ScriptPubKey { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 299 | asm: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 300 | hex: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 301 | req_sigs: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 302 | #[serde(rename = "type")] [INFO] [stderr] 303 | script_type: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 304 | addresses: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScriptPubKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `GetMempoolEntryResult` is never constructed [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:308:12 [INFO] [stderr] | [INFO] [stderr] 308 | pub struct GetMempoolEntryResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Fees` is never constructed [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:327:12 [INFO] [stderr] | [INFO] [stderr] 327 | pub struct Fees { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stderr] --> src/mini_rpc_client/mini_rpc_client.rs:284:5 [INFO] [stderr] | [INFO] [stderr] 284 | scriptPubKey: ScriptPubKey, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mini-rpc-client` (bin "mini-rpc-client" test) generated 21 warnings (run `cargo fix --bin "mini-rpc-client" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mini_rpc_client-d7ff716452d29913) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "614277534d9ba31b327bbdbcf4eec0a0bc07f148c81caab1ae86e76262ccd5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "614277534d9ba31b327bbdbcf4eec0a0bc07f148c81caab1ae86e76262ccd5f1", kill_on_drop: false }` [INFO] [stdout] 614277534d9ba31b327bbdbcf4eec0a0bc07f148c81caab1ae86e76262ccd5f1