[INFO] cloning repository https://github.com/fanatid/rust-bitcoin-blocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fanatid/rust-bitcoin-blocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffanatid%2Frust-bitcoin-blocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffanatid%2Frust-bitcoin-blocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 166d3cf91f391927294d671cbc625e6b047b7c5d [INFO] checking fanatid/rust-bitcoin-blocks against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffanatid%2Frust-bitcoin-blocks" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fanatid/rust-bitcoin-blocks on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fanatid/rust-bitcoin-blocks [INFO] finished tweaking git repo https://github.com/fanatid/rust-bitcoin-blocks [INFO] tweaked toml for git repo https://github.com/fanatid/rust-bitcoin-blocks written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fanatid/rust-bitcoin-blocks 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixed-hash v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c7055adb526155e1f3143a83ebf4ca91f24b76746b6722fe2dbf64836bbff6 [INFO] running `Command { std: "docker" "start" "-a" "89c7055adb526155e1f3143a83ebf4ca91f24b76746b6722fe2dbf64836bbff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c7055adb526155e1f3143a83ebf4ca91f24b76746b6722fe2dbf64836bbff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c7055adb526155e1f3143a83ebf4ca91f24b76746b6722fe2dbf64836bbff6", kill_on_drop: false }` [INFO] [stdout] 89c7055adb526155e1f3143a83ebf4ca91f24b76746b6722fe2dbf64836bbff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 950ecfb4a9ac7b62b7914e38bafb27d19064bee1eec0b885edf40772b32a97bb [INFO] running `Command { std: "docker" "start" "-a" "950ecfb4a9ac7b62b7914e38bafb27d19064bee1eec0b885edf40772b32a97bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking fixed-hash v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking rust-bitcoin-blocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `transactions` are never read [INFO] [stdout] --> src/block_hex.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | pub header: BlockHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pub transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `prev_hash`, `merkle_root`, `timestamp`, `bits`, and `nonce` are never read [INFO] [stdout] --> src/block_hex.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct BlockHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 69 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | pub prev_hash: H256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 71 | pub merkle_root: H256, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 72 | pub timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | pub bits: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | pub nonce: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeader` 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 `version`, `inputs`, `outputs`, and `locktime` are never read [INFO] [stdout] --> src/block_hex.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 94 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 97 | pub locktime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `hash`, `index`, `script`, and `sequence` are never read [INFO] [stdout] --> src/block_hex.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct TransactionInput { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 133 | pub hash: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | pub script: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 136 | pub sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInput` 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` and `script` are never read [INFO] [stdout] --> src/block_hex.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 156 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | pub script: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/block_json.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 10 | pub hash: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub confirmations: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub strippedsize: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub weight: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | #[serde(deserialize_with = "hex::deserialize", rename = "versionHex")] [INFO] [stdout] 18 | pub version_hex: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 20 | pub merkleroot: H256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | #[serde(rename = "tx")] [INFO] [stdout] 22 | pub transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | pub time: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub mediantime: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub nonce: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 27 | pub bits: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub difficulty: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 30 | pub chainwork: H256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | #[serde(rename = "nTx")] [INFO] [stdout] 32 | pub n_tx: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | #[serde(deserialize_with = "H256::deserialize_hex_some", default)] [INFO] [stdout] 34 | pub previousblockhash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | #[serde(deserialize_with = "H256::deserialize_hex_some", default)] [INFO] [stdout] 36 | pub nextblockhash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/block_json.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 42 | pub hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 44 | pub txid: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 46 | pub hash: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub vsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub weight: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub locktime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub vin: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub vout: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `hex` and `sequence` are never read [INFO] [stdout] --> src/block_json.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | Coinbase { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 59 | hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInput` 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`, `sequence`, and `txinwitness` are never read [INFO] [stdout] --> src/block_json.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | Usual { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 63 | txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | vout: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | script: TransactionInputScript, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | txinwitness: Option>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInput` 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/block_json.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct TransactionInputScript { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 186 | pub asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 187 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 188 | pub hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInputScript` 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 `script` are never read [INFO] [stdout] --> src/block_json.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 196 | pub n: u32, [INFO] [stdout] | ^ [INFO] [stdout] 197 | #[serde(rename(deserialize = "scriptPubKey"))] [INFO] [stdout] 198 | pub script: TransactionOutputScript, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionOutput` 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`, `hex`, `req_sigs`, `type`, and `addresses` are never read [INFO] [stdout] --> src/block_json.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct TransactionOutputScript { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 228 | pub asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 229 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 230 | pub hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 231 | #[serde(rename = "reqSigs")] [INFO] [stdout] 232 | pub req_sigs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 233 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | pub addresses: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionOutputScript` 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 `header` and `transactions` are never read [INFO] [stdout] --> src/block_hex.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | pub header: BlockHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pub transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `prev_hash`, `merkle_root`, `timestamp`, `bits`, and `nonce` are never read [INFO] [stdout] --> src/block_hex.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct BlockHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 69 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | pub prev_hash: H256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 71 | pub merkle_root: H256, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 72 | pub timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | pub bits: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | pub nonce: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeader` 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 `version`, `inputs`, `outputs`, and `locktime` are never read [INFO] [stdout] --> src/block_hex.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 94 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | pub inputs: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pub outputs: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 97 | pub locktime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `hash`, `index`, `script`, and `sequence` are never read [INFO] [stdout] --> src/block_hex.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct TransactionInput { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 133 | pub hash: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | pub script: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 136 | pub sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInput` 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` and `script` are never read [INFO] [stdout] --> src/block_hex.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 156 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | pub script: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/block_json.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 10 | pub hash: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub confirmations: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub strippedsize: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub weight: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | #[serde(deserialize_with = "hex::deserialize", rename = "versionHex")] [INFO] [stdout] 18 | pub version_hex: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 20 | pub merkleroot: H256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | #[serde(rename = "tx")] [INFO] [stdout] 22 | pub transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | pub time: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub mediantime: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub nonce: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 27 | pub bits: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub difficulty: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 30 | pub chainwork: H256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | #[serde(rename = "nTx")] [INFO] [stdout] 32 | pub n_tx: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | #[serde(deserialize_with = "H256::deserialize_hex_some", default)] [INFO] [stdout] 34 | pub previousblockhash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | #[serde(deserialize_with = "H256::deserialize_hex_some", default)] [INFO] [stdout] 36 | pub nextblockhash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/block_json.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 42 | pub hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 44 | pub txid: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | #[serde(deserialize_with = "H256::deserialize_hex")] [INFO] [stdout] 46 | pub hash: H256, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub vsize: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub weight: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | pub locktime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub vin: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | pub vout: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `hex` and `sequence` are never read [INFO] [stdout] --> src/block_json.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | Coinbase { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 59 | hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInput` 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`, `sequence`, and `txinwitness` are never read [INFO] [stdout] --> src/block_json.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | Usual { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 63 | txid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | vout: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | script: TransactionInputScript, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | txinwitness: Option>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInput` 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/block_json.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct TransactionInputScript { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 186 | pub asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 187 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 188 | pub hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInputScript` 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 `script` are never read [INFO] [stdout] --> src/block_json.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 196 | pub n: u32, [INFO] [stdout] | ^ [INFO] [stdout] 197 | #[serde(rename(deserialize = "scriptPubKey"))] [INFO] [stdout] 198 | pub script: TransactionOutputScript, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionOutput` 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`, `hex`, `req_sigs`, `type`, and `addresses` are never read [INFO] [stdout] --> src/block_json.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct TransactionOutputScript { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 228 | pub asm: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 229 | #[serde(deserialize_with = "hex::deserialize")] [INFO] [stdout] 230 | pub hex: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 231 | #[serde(rename = "reqSigs")] [INFO] [stdout] 232 | pub req_sigs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 233 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | pub addresses: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionOutputScript` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/fixed_hash.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / construct_fixed_hash! { [INFO] [stdout] 10 | | pub struct H256(32); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/fixed_hash.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / construct_fixed_hash! { [INFO] [stdout] 10 | | pub struct H256(32); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.82s [INFO] running `Command { std: "docker" "inspect" "950ecfb4a9ac7b62b7914e38bafb27d19064bee1eec0b885edf40772b32a97bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950ecfb4a9ac7b62b7914e38bafb27d19064bee1eec0b885edf40772b32a97bb", kill_on_drop: false }` [INFO] [stdout] 950ecfb4a9ac7b62b7914e38bafb27d19064bee1eec0b885edf40772b32a97bb