[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] testing fanatid/rust-bitcoin-blocks against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffanatid%2Frust-bitcoin-blocks" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fanatid/rust-bitcoin-blocks on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3521f14c98a8ce4792f4f801883fdd302cc37cb1f86a8b61b14c8ae65c7b20eb [INFO] running `Command { std: "docker" "start" "-a" "3521f14c98a8ce4792f4f801883fdd302cc37cb1f86a8b61b14c8ae65c7b20eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3521f14c98a8ce4792f4f801883fdd302cc37cb1f86a8b61b14c8ae65c7b20eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3521f14c98a8ce4792f4f801883fdd302cc37cb1f86a8b61b14c8ae65c7b20eb", kill_on_drop: false }` [INFO] [stdout] 3521f14c98a8ce4792f4f801883fdd302cc37cb1f86a8b61b14c8ae65c7b20eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc0bc8c6c9e21d20acb5032d6ffbb82a4ddb32b3856dcb6e116c05b2a9ca1761 [INFO] running `Command { std: "docker" "start" "-a" "dc0bc8c6c9e21d20acb5032d6ffbb82a4ddb32b3856dcb6e116c05b2a9ca1761", 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 getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling 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] = help: 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: see 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] = help: 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: see 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] = help: 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: see 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] = help: 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: see 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] = help: 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: see 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] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see 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] = help: the macro `impl_rustc_hex_for_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.40s [INFO] running `Command { std: "docker" "inspect" "dc0bc8c6c9e21d20acb5032d6ffbb82a4ddb32b3856dcb6e116c05b2a9ca1761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0bc8c6c9e21d20acb5032d6ffbb82a4ddb32b3856dcb6e116c05b2a9ca1761", kill_on_drop: false }` [INFO] [stdout] dc0bc8c6c9e21d20acb5032d6ffbb82a4ddb32b3856dcb6e116c05b2a9ca1761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeca644cc84df574eacf8579c8f26e0287f388e5a3d669eff5960a537073a23e [INFO] running `Command { std: "docker" "start" "-a" "eeca644cc84df574eacf8579c8f26e0287f388e5a3d669eff5960a537073a23e", kill_on_drop: false }` [INFO] [stderr] Compiling 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] = help: 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: see 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] = help: 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: see 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] = help: 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: see 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] = help: 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: see 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] = help: 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: see 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] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see 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] = help: the macro `impl_rustc_hex_for_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see 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: 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: 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] [stderr] error: could not compile `rust-bitcoin-blocks` (bin "rust-bitcoin-blocks" test); 24 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/bin/rustc --crate-name rust_bitcoin_blocks --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1bc98c1cabd32d98 -C extra-filename=-45a80a64e7c606de --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-99ce99184a3ecfbf.rlib --extern fixed_hash=/opt/rustwide/target/debug/deps/libfixed_hash-98310096d879ae70.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-69fdf0da583c1510.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-dab9bd6be60ea093.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-15a21db420c3efc6.rlib --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "eeca644cc84df574eacf8579c8f26e0287f388e5a3d669eff5960a537073a23e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeca644cc84df574eacf8579c8f26e0287f388e5a3d669eff5960a537073a23e", kill_on_drop: false }` [INFO] [stdout] eeca644cc84df574eacf8579c8f26e0287f388e5a3d669eff5960a537073a23e