[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 try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffanatid%2Frust-bitcoin-blocks" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fanatid/rust-bitcoin-blocks on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.50
[INFO] [stderr]   Downloaded serde_derive v1.0.105
[INFO] [stderr]   Downloaded fixed-hash v0.6.0
[INFO] [stderr]   Downloaded serde v1.0.105
[INFO] [stderr]   Downloaded quote v1.0.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.9
[INFO] [stderr]   Downloaded ryu v1.0.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6
[INFO] running `Command { std: "docker" "start" "705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling serde v1.0.105
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]     Checking itoa v0.4.5
[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: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/block_json.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/block_json.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/block_json.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/block_json.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/block_json.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/block_json.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/block_json.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/block_json.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/block_json.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]    --> src/block_json.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dev`
[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: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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: unexpected `cfg` condition value: `dev`
[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: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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: unexpected `cfg` condition value: `std`
[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: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_rustc_hex_for_fixed_hash` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `impl_rustc_hex_for_fixed_hash` which comes from the expansion of the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `std`
[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: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_rustc_hex_for_fixed_hash` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `impl_rustc_hex_for_fixed_hash` which comes from the expansion of the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[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: 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<Transaction>,
[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)]` (part of `#[warn(unused)]`) 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<TransactionInput>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 96 |     pub outputs: Vec<TransactionOutput>,
[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<u8>,
[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<u8>,
[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<u8>,
[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<Transaction>,
[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<u8>,
[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<H256>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     #[serde(deserialize_with = "H256::deserialize_hex_some", default)]
[INFO] [stdout] 36 |     pub nextblockhash: Option<H256>,
[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<u8>,
[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<TransactionInput>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 53 |     pub vout: Vec<TransactionOutput>,
[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<u8>,
[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<H256>,
[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<Vec<Vec<u8>>>,
[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<u8>,
[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<u8>,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 231 |     #[serde(rename = "reqSigs")]
[INFO] [stdout] 232 |     pub req_sigs: Option<u32>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 233 |     pub r#type: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 234 |     pub addresses: Option<Vec<String>>,
[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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/block_json.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Deserialize` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Block`
[INFO] [stdout] 8 | pub struct Block {
[INFO] [stdout]   |            ----- `Block` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block_json.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^----------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Deserialize` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction`
[INFO] [stdout] 40 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/block_json.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Deserialize` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionInputScript`
[INFO] [stdout] 185 | pub struct TransactionInputScript {
[INFO] [stdout]     |            ---------------------- `TransactionInputScript` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/block_json.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Deserialize` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionOutput`
[INFO] [stdout] 192 | pub struct TransactionOutput {
[INFO] [stdout]     |            ----------------- `TransactionOutput` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/block_json.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Deserialize` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionOutputScript`
[INFO] [stdout] 227 | pub struct TransactionOutputScript {
[INFO] [stdout]     |            ----------------------- `TransactionOutputScript` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[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<Transaction>,
[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)]` (part of `#[warn(unused)]`) 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<TransactionInput>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 96 |     pub outputs: Vec<TransactionOutput>,
[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<u8>,
[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<u8>,
[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<u8>,
[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<Transaction>,
[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<u8>,
[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<H256>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     #[serde(deserialize_with = "H256::deserialize_hex_some", default)]
[INFO] [stdout] 36 |     pub nextblockhash: Option<H256>,
[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<u8>,
[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<TransactionInput>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 53 |     pub vout: Vec<TransactionOutput>,
[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<u8>,
[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<H256>,
[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<Vec<Vec<u8>>>,
[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<u8>,
[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<u8>,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 231 |     #[serde(rename = "reqSigs")]
[INFO] [stdout] 232 |     pub req_sigs: Option<u32>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 233 |     pub r#type: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 234 |     pub addresses: Option<Vec<String>>,
[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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/block_json.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^----------
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Deserialize` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Block`
[INFO] [stdout] 8 | pub struct Block {
[INFO] [stdout]   |            ----- `Block` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/block_json.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^----------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Deserialize` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction`
[INFO] [stdout] 40 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/block_json.rs:184:17
[INFO] [stdout]     |
[INFO] [stdout] 184 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Deserialize` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionInputScript`
[INFO] [stdout] 185 | pub struct TransactionInputScript {
[INFO] [stdout]     |            ---------------------- `TransactionInputScript` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout]  9 | let _ = construct_fixed_hash! {
[INFO] [stdout]    | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/block_json.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Deserialize` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionOutput`
[INFO] [stdout] 192 | pub struct TransactionOutput {
[INFO] [stdout]     |            ----------------- `TransactionOutput` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/block_json.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[derive(Debug, Deserialize)]
[INFO] [stdout]     |                 ^----------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Deserialize` is not local
[INFO] [stdout]     |                 move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionOutputScript`
[INFO] [stdout] 227 | pub struct TransactionOutputScript {
[INFO] [stdout]     |            ----------------------- `TransactionOutputScript` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Deserialize` (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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout]  9 | let _ = construct_fixed_hash! {
[INFO] [stdout]    | +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.65s
[INFO] running `Command { std: "docker" "inspect" "705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6", kill_on_drop: false }`
[INFO] [stdout] 705271d3b2ba45798bb618620a84101cf6b71ab42992d3a187dc0b38fa51b6e6
