[INFO] fetching crate blockpulsar_client_rust 1.0.0... [INFO] checking blockpulsar_client_rust-1.0.0 against master#2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4 for pr-84385 [INFO] extracting crate blockpulsar_client_rust 1.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate blockpulsar_client_rust 1.0.0 on toolchain 2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "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-2/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" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio v0.7.11 [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded socket2 v0.4.0 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded openssl v0.10.34 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded h2 v0.3.3 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.24 [INFO] [stderr] Downloaded vcpkg v0.2.13 [INFO] [stderr] Downloaded openssl-sys v0.9.63 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded redox_syscall v0.2.8 [INFO] [stderr] Downloaded tokio v1.6.1 [INFO] [stderr] Downloaded security-framework v2.3.1 [INFO] [stderr] Downloaded openssl-src v111.15.0+1.1.1k [INFO] [stderr] Downloaded security-framework-sys v2.3.0 [INFO] [stderr] Downloaded reqwest v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a875869da06757e5340e1f83d8a8b39ffbb3e21d1fe9c4de1b4e89e336b0f7a2 [INFO] running `Command { std: "docker" "start" "-a" "a875869da06757e5340e1f83d8a8b39ffbb3e21d1fe9c4de1b4e89e336b0f7a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a875869da06757e5340e1f83d8a8b39ffbb3e21d1fe9c4de1b4e89e336b0f7a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a875869da06757e5340e1f83d8a8b39ffbb3e21d1fe9c4de1b4e89e336b0f7a2", kill_on_drop: false }` [INFO] [stdout] a875869da06757e5340e1f83d8a8b39ffbb3e21d1fe9c4de1b4e89e336b0f7a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+2d3a85b4f8ba7e2554f4d4fee126bc2ac6ee2af4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57f3204578f214cdfa3156ba0eff523769e40812d67406c291cbe19388455129 [INFO] running `Command { std: "docker" "start" "-a" "57f3204578f214cdfa3156ba0eff523769e40812d67406c291cbe19388455129", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [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 futures-task v0.3.15 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling openssl-src v111.15.0+1.1.1k [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [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] Checking tracing-core v0.1.18 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking 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: 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: fields `status`, `start_time`, `timeout`, `since` and `min_activation_height` are never read [INFO] [stdout] --> src/btc/blockchain_info.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Bip9 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | start_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | timeout: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | since: u32, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `start_time`, `timeout`, `since` and `min_activation_height` are never read [INFO] [stdout] --> src/btc/blockchain_info.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Bip9 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | start_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | timeout: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | since: u32, [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] = note: `#[warn(dead_code)]` on by default [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/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: 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 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: 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.90s [INFO] running `Command { std: "docker" "inspect" "57f3204578f214cdfa3156ba0eff523769e40812d67406c291cbe19388455129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f3204578f214cdfa3156ba0eff523769e40812d67406c291cbe19388455129", kill_on_drop: false }` [INFO] [stdout] 57f3204578f214cdfa3156ba0eff523769e40812d67406c291cbe19388455129