[INFO] fetching crate blockpulsar_client_rust 1.0.0... [INFO] building blockpulsar_client_rust-1.0.0 against try#2cd6942e35a7765b6869d3a149ca54f2598b77ad for pr-93180 [INFO] extracting crate blockpulsar_client_rust 1.0.0 into /workspace/builds/worker-65/source [INFO] validating manifest of crates.io crate blockpulsar_client_rust 1.0.0 on toolchain 2cd6942e35a7765b6869d3a149ca54f2598b77ad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate blockpulsar_client_rust 1.0.0 [INFO] finished tweaking crates.io crate blockpulsar_client_rust 1.0.0 [INFO] tweaked toml for crates.io crate blockpulsar_client_rust 1.0.0 written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate crates.io crate blockpulsar_client_rust 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "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-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8142d1c7cbe1ed869769a6b057e66d20dcb7c39674ab9587102ad6744d5ff50 [INFO] running `Command { std: "docker" "start" "-a" "b8142d1c7cbe1ed869769a6b057e66d20dcb7c39674ab9587102ad6744d5ff50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8142d1c7cbe1ed869769a6b057e66d20dcb7c39674ab9587102ad6744d5ff50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8142d1c7cbe1ed869769a6b057e66d20dcb7c39674ab9587102ad6744d5ff50", kill_on_drop: false }` [INFO] [stdout] b8142d1c7cbe1ed869769a6b057e66d20dcb7c39674ab9587102ad6744d5ff50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf04bb6e72dc8361247f3a123c5ebb8234ff999a7940b2b2ae2839d73c5d6624 [INFO] running `Command { std: "docker" "start" "-a" "cf04bb6e72dc8361247f3a123c5ebb8234ff999a7940b2b2ae2839d73c5d6624", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-src v111.15.0+1.1.1k [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling blockpulsar_client_rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/blockchain_info.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | if (json_obj.has_key("bip9")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if (json_obj.has_key("bip9")) { [INFO] [stdout] 12 + if json_obj.has_key("bip9") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/blockchain_info.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | height: if (json_obj.has_key("height")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - height: if (json_obj.has_key("height")) { [INFO] [stdout] 45 + height: if json_obj.has_key("height") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | if (json_obj["scriptPubKey"].has_key("address")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (json_obj["scriptPubKey"].has_key("address")) { [INFO] [stdout] 33 + if json_obj["scriptPubKey"].has_key("address") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | coinbase: if (json_obj.has_key("coinbase")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - coinbase: if (json_obj.has_key("coinbase")) { [INFO] [stdout] 76 + coinbase: if json_obj.has_key("coinbase") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | txid: if (json_obj.has_key("txid")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - txid: if (json_obj.has_key("txid")) { [INFO] [stdout] 81 + txid: if json_obj.has_key("txid") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | vout: if (json_obj.has_key("vout")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - vout: if (json_obj.has_key("vout")) { [INFO] [stdout] 86 + vout: if json_obj.has_key("vout") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | scriptSig: if (json_obj.has_key("scriptSig")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - scriptSig: if (json_obj.has_key("scriptSig")) { [INFO] [stdout] 91 + scriptSig: if json_obj.has_key("scriptSig") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | sequence: if (json_obj.has_key("sequence")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - sequence: if (json_obj.has_key("sequence")) { [INFO] [stdout] 99 + sequence: if json_obj.has_key("sequence") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | txinwitness: if (json_obj.has_key("txinwitness")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - txinwitness: if (json_obj.has_key("txinwitness")) { [INFO] [stdout] 104 + txinwitness: if json_obj.has_key("txinwitness") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::btc` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::btc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/btc/blockchain_info.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_time` [INFO] [stdout] --> src/btc/blockchain_info.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | start_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/btc/blockchain_info.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | timeout: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `since` [INFO] [stdout] --> src/btc/blockchain_info.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | since: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_activation_height` [INFO] [stdout] --> src/btc/blockchain_info.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | min_activation_height: u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/btc/address.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub scriptPubKey: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionHex` should have a snake case name [INFO] [stdout] --> src/btc/block.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub versionHex: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `version_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTx` should have a snake case name [INFO] [stdout] --> src/btc/block.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub nTx: u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionHex` should have a snake case name [INFO] [stdout] --> src/btc/block_header.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub versionHex: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `version_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTx` should have a snake case name [INFO] [stdout] --> src/btc/block_header.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub nTx: u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/btc/raw_transaction.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | pub scriptPubKey: ScriptPubKey [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptSig` should have a snake case name [INFO] [stdout] --> src/btc/raw_transaction.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | pub scriptSig: ScriptSig, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `script_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp_client` [INFO] [stdout] --> src/bin/example.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let bp_client = bp::client::BlockpulsarClient::new("hoUTrs47BF7EniYtGaUuQ2", "99993b3d8ab9c045486b69a2f96fc8383beafa1533487631ae"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bp_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.11s [INFO] running `Command { std: "docker" "inspect" "cf04bb6e72dc8361247f3a123c5ebb8234ff999a7940b2b2ae2839d73c5d6624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf04bb6e72dc8361247f3a123c5ebb8234ff999a7940b2b2ae2839d73c5d6624", kill_on_drop: false }` [INFO] [stdout] cf04bb6e72dc8361247f3a123c5ebb8234ff999a7940b2b2ae2839d73c5d6624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 985e5bcd9639658591a786becc973870ff485a424d48ed725f8d74c6bde3f857 [INFO] running `Command { std: "docker" "start" "-a" "985e5bcd9639658591a786becc973870ff485a424d48ed725f8d74c6bde3f857", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/blockchain_info.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | if (json_obj.has_key("bip9")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if (json_obj.has_key("bip9")) { [INFO] [stdout] 12 + if json_obj.has_key("bip9") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blockpulsar_client_rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/blockchain_info.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | height: if (json_obj.has_key("height")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - height: if (json_obj.has_key("height")) { [INFO] [stdout] 45 + height: if json_obj.has_key("height") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | if (json_obj["scriptPubKey"].has_key("address")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (json_obj["scriptPubKey"].has_key("address")) { [INFO] [stdout] 33 + if json_obj["scriptPubKey"].has_key("address") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | coinbase: if (json_obj.has_key("coinbase")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - coinbase: if (json_obj.has_key("coinbase")) { [INFO] [stdout] 76 + coinbase: if json_obj.has_key("coinbase") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | txid: if (json_obj.has_key("txid")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - txid: if (json_obj.has_key("txid")) { [INFO] [stdout] 81 + txid: if json_obj.has_key("txid") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | vout: if (json_obj.has_key("vout")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - vout: if (json_obj.has_key("vout")) { [INFO] [stdout] 86 + vout: if json_obj.has_key("vout") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | scriptSig: if (json_obj.has_key("scriptSig")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - scriptSig: if (json_obj.has_key("scriptSig")) { [INFO] [stdout] 91 + scriptSig: if json_obj.has_key("scriptSig") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | sequence: if (json_obj.has_key("sequence")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - sequence: if (json_obj.has_key("sequence")) { [INFO] [stdout] 99 + sequence: if json_obj.has_key("sequence") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | txinwitness: if (json_obj.has_key("txinwitness")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - txinwitness: if (json_obj.has_key("txinwitness")) { [INFO] [stdout] 104 + txinwitness: if json_obj.has_key("txinwitness") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::btc` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::btc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/btc/blockchain_info.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_time` [INFO] [stdout] --> src/btc/blockchain_info.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | start_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/btc/blockchain_info.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | timeout: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `since` [INFO] [stdout] --> src/btc/blockchain_info.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | since: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_activation_height` [INFO] [stdout] --> src/btc/blockchain_info.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | min_activation_height: u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/btc/address.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub scriptPubKey: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionHex` should have a snake case name [INFO] [stdout] --> src/btc/block.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub versionHex: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `version_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTx` should have a snake case name [INFO] [stdout] --> src/btc/block.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub nTx: u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionHex` should have a snake case name [INFO] [stdout] --> src/btc/block_header.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub versionHex: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `version_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTx` should have a snake case name [INFO] [stdout] --> src/btc/block_header.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub nTx: u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/btc/raw_transaction.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | pub scriptPubKey: ScriptPubKey [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptSig` should have a snake case name [INFO] [stdout] --> src/btc/raw_transaction.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | pub scriptSig: ScriptSig, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `script_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/blockchain_info.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | if (json_obj.has_key("bip9")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - if (json_obj.has_key("bip9")) { [INFO] [stdout] 12 + if json_obj.has_key("bip9") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/blockchain_info.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | height: if (json_obj.has_key("height")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - height: if (json_obj.has_key("height")) { [INFO] [stdout] 45 + height: if json_obj.has_key("height") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | if (json_obj["scriptPubKey"].has_key("address")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (json_obj["scriptPubKey"].has_key("address")) { [INFO] [stdout] 33 + if json_obj["scriptPubKey"].has_key("address") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | coinbase: if (json_obj.has_key("coinbase")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - coinbase: if (json_obj.has_key("coinbase")) { [INFO] [stdout] 76 + coinbase: if json_obj.has_key("coinbase") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp_client` [INFO] [stdout] --> src/bin/example.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let bp_client = bp::client::BlockpulsarClient::new("hoUTrs47BF7EniYtGaUuQ2", "99993b3d8ab9c045486b69a2f96fc8383beafa1533487631ae"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bp_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | txid: if (json_obj.has_key("txid")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 81 - txid: if (json_obj.has_key("txid")) { [INFO] [stdout] 81 + txid: if json_obj.has_key("txid") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | vout: if (json_obj.has_key("vout")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - vout: if (json_obj.has_key("vout")) { [INFO] [stdout] 86 + vout: if json_obj.has_key("vout") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | scriptSig: if (json_obj.has_key("scriptSig")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - scriptSig: if (json_obj.has_key("scriptSig")) { [INFO] [stdout] 91 + scriptSig: if json_obj.has_key("scriptSig") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | sequence: if (json_obj.has_key("sequence")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - sequence: if (json_obj.has_key("sequence")) { [INFO] [stdout] 99 + sequence: if json_obj.has_key("sequence") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/btc/raw_transaction.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | txinwitness: if (json_obj.has_key("txinwitness")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 - txinwitness: if (json_obj.has_key("txinwitness")) { [INFO] [stdout] 104 + txinwitness: if json_obj.has_key("txinwitness") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::btc` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::btc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/btc/blockchain_info.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_time` [INFO] [stdout] --> src/btc/blockchain_info.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | start_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timeout` [INFO] [stdout] --> src/btc/blockchain_info.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | timeout: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `since` [INFO] [stdout] --> src/btc/blockchain_info.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | since: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_activation_height` [INFO] [stdout] --> src/btc/blockchain_info.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | min_activation_height: u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bip9` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/btc/blockchain_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/btc/address.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub scriptPubKey: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionHex` should have a snake case name [INFO] [stdout] --> src/btc/block.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub versionHex: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `version_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTx` should have a snake case name [INFO] [stdout] --> src/btc/block.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | pub nTx: u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionHex` should have a snake case name [INFO] [stdout] --> src/btc/block_header.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub versionHex: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `version_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTx` should have a snake case name [INFO] [stdout] --> src/btc/block_header.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub nTx: u32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `n_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptPubKey` should have a snake case name [INFO] [stdout] --> src/btc/raw_transaction.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | pub scriptPubKey: ScriptPubKey [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `script_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scriptSig` should have a snake case name [INFO] [stdout] --> src/btc/raw_transaction.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | pub scriptSig: ScriptSig, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `script_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "985e5bcd9639658591a786becc973870ff485a424d48ed725f8d74c6bde3f857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985e5bcd9639658591a786becc973870ff485a424d48ed725f8d74c6bde3f857", kill_on_drop: false }` [INFO] [stdout] 985e5bcd9639658591a786becc973870ff485a424d48ed725f8d74c6bde3f857