[INFO] cloning repository https://github.com/evgeniy-scherbina/rust-electrumx-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evgeniy-scherbina/rust-electrumx-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeniy-scherbina%2Frust-electrumx-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeniy-scherbina%2Frust-electrumx-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbdc42557fec2b13df02630a0229f8d3096a3576 [INFO] testing evgeniy-scherbina/rust-electrumx-client against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeniy-scherbina%2Frust-electrumx-client" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evgeniy-scherbina/rust-electrumx-client on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/evgeniy-scherbina/rust-electrumx-client [INFO] finished tweaking git repo https://github.com/evgeniy-scherbina/rust-electrumx-client [INFO] tweaked toml for git repo https://github.com/evgeniy-scherbina/rust-electrumx-client written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/evgeniy-scherbina/rust-electrumx-client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f05c9f382c595ec31ba7541cce388b98c73ac6308c4768b8e6e3baad4dfa291a [INFO] running `Command { std: "docker" "start" "-a" "f05c9f382c595ec31ba7541cce388b98c73ac6308c4768b8e6e3baad4dfa291a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f05c9f382c595ec31ba7541cce388b98c73ac6308c4768b8e6e3baad4dfa291a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05c9f382c595ec31ba7541cce388b98c73ac6308c4768b8e6e3baad4dfa291a", kill_on_drop: false }` [INFO] [stdout] f05c9f382c595ec31ba7541cce388b98c73ac6308c4768b8e6e3baad4dfa291a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60aff0b42938412f7a4daf4704f30daf2defd0b46efc2cb82dfff71d897cacca [INFO] running `Command { std: "docker" "start" "-a" "60aff0b42938412f7a4daf4704f30daf2defd0b46efc2cb82dfff71d897cacca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling bech32 v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling bitcoin-bech32 v0.9.0 [INFO] [stderr] Compiling bitcoin_hashes v0.3.2 [INFO] [stderr] Compiling secp256k1 v0.12.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling bitcoin v0.18.0 [INFO] [stderr] Compiling electrumx_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] 23 + fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:31:111 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] 31 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] 43 + fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | fn relay_fee(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn relay_fee(&mut self) -> Result> { [INFO] [stdout] 51 + fn relay_fee(&mut self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:59:77 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] 59 + fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:69:82 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 69 + fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:80:66 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 80 + fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:90:62 [INFO] [stdout] | [INFO] [stdout] 90 | fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 90 + fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:99:91 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 99 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:110:64 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 110 + fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] 119 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:128:103 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] 128 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:142:97 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] 142 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:154:110 [INFO] [stdout] | [INFO] [stdout] 154 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] 154 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] 166 + fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:183:56 [INFO] [stdout] | [INFO] [stdout] 183 | fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] 183 + fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] 8 + fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:19:111 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] 19 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 25 | fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] 25 + fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | fn relay_fee(&mut self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn relay_fee(&mut self) -> Result>; [INFO] [stdout] 31 + fn relay_fee(&mut self) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] 36 + fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 44 + fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 45 + fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 46 + fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:47:91 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 47 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 48 + fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:49:79 [INFO] [stdout] | [INFO] [stdout] 49 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] 49 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:50:103 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] 50 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:51:97 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] 51 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:52:110 [INFO] [stdout] | [INFO] [stdout] 52 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] 52 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] 53 + fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [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: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.77s [INFO] running `Command { std: "docker" "inspect" "60aff0b42938412f7a4daf4704f30daf2defd0b46efc2cb82dfff71d897cacca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60aff0b42938412f7a4daf4704f30daf2defd0b46efc2cb82dfff71d897cacca", kill_on_drop: false }` [INFO] [stdout] 60aff0b42938412f7a4daf4704f30daf2defd0b46efc2cb82dfff71d897cacca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae1859c103b99e0a143dcaff2de364ea2e5362564bd3ddc92e67b8aead57cee2 [INFO] running `Command { std: "docker" "start" "-a" "ae1859c103b99e0a143dcaff2de364ea2e5362564bd3ddc92e67b8aead57cee2", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] 23 + fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:31:111 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] 31 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] 43 + fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | fn relay_fee(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn relay_fee(&mut self) -> Result> { [INFO] [stdout] 51 + fn relay_fee(&mut self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:59:77 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] 59 + fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:69:82 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 69 + fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:80:66 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 80 + fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:90:62 [INFO] [stdout] | [INFO] [stdout] 90 | fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 90 + fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:99:91 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 99 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:110:64 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 110 + fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] 119 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:128:103 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] 128 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:142:97 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] 142 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:154:110 [INFO] [stdout] | [INFO] [stdout] 154 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] 154 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] 166 + fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:183:56 [INFO] [stdout] | [INFO] [stdout] 183 | fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] 183 + fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] 8 + fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:19:111 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] 19 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 25 | fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] 25 + fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | fn relay_fee(&mut self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn relay_fee(&mut self) -> Result>; [INFO] [stdout] 31 + fn relay_fee(&mut self) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] 36 + fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 44 + fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 45 + fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 46 + fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:47:91 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 47 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 48 + fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:49:79 [INFO] [stdout] | [INFO] [stdout] 49 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] 49 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:50:103 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] 50 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling electrumx_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:51:97 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] 51 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:52:110 [INFO] [stdout] | [INFO] [stdout] 52 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] 52 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] 53 + fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [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: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] 23 + fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:31:111 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] 31 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] 43 + fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | fn relay_fee(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn relay_fee(&mut self) -> Result> { [INFO] [stdout] 51 + fn relay_fee(&mut self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:59:77 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] 59 + fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:69:82 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 69 + fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:80:66 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 80 + fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:90:62 [INFO] [stdout] | [INFO] [stdout] 90 | fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 90 + fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:99:91 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 99 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:110:64 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] 110 + fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] 119 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:128:103 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] 128 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:142:97 [INFO] [stdout] | [INFO] [stdout] 142 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] 142 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:154:110 [INFO] [stdout] | [INFO] [stdout] 154 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] 154 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] 166 + fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/electrumx_client.rs:183:56 [INFO] [stdout] | [INFO] [stdout] 183 | fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] 183 + fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] 8 + fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:19:111 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] 19 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:25:66 [INFO] [stdout] | [INFO] [stdout] 25 | fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] 25 + fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | fn relay_fee(&mut self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn relay_fee(&mut self) -> Result>; [INFO] [stdout] 31 + fn relay_fee(&mut self) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] 36 + fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 44 + fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 45 + fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 46 + fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:47:91 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 47 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] 48 + fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:49:79 [INFO] [stdout] | [INFO] [stdout] 49 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] 49 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:50:103 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] 50 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:51:97 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] 51 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:52:110 [INFO] [stdout] | [INFO] [stdout] 52 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] 52 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] 53 + fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Deserialize)] [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: `id` [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [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: `jsonrpc` [INFO] [stdout] --> src/raw_response.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | jsonrpc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_response.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, Deserialize)] [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: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/electrumx_client-c904d770d9d1a0e0) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/electrumx_client-fcdbe9cf2a3a46f9) [INFO] running `Command { std: "docker" "inspect" "ae1859c103b99e0a143dcaff2de364ea2e5362564bd3ddc92e67b8aead57cee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1859c103b99e0a143dcaff2de364ea2e5362564bd3ddc92e67b8aead57cee2", kill_on_drop: false }` [INFO] [stdout] ae1859c103b99e0a143dcaff2de364ea2e5362564bd3ddc92e67b8aead57cee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7812a1b6a9cd08e8dc73105b5523f90d5ae10a4eb38bf2f7fa0b662aec05d330 [INFO] running `Command { std: "docker" "start" "-a" "7812a1b6a9cd08e8dc73105b5523f90d5ae10a4eb38bf2f7fa0b662aec05d330", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:23:73 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stderr] 23 + fn get_block_header(&mut self, height: usize) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:31:111 [INFO] [stderr] | [INFO] [stderr] 31 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stderr] 31 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stderr] 43 + fn estimate_fee(&mut self, number: usize) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:51:48 [INFO] [stderr] | [INFO] [stderr] 51 | fn relay_fee(&mut self) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn relay_fee(&mut self) -> Result> { [INFO] [stderr] 51 + fn relay_fee(&mut self) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:59:77 [INFO] [stderr] | [INFO] [stderr] 59 | fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 - fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stderr] 59 + fn get_balance(&mut self, addr: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:69:82 [INFO] [stderr] | [INFO] [stderr] 69 | fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] 69 + fn get_history(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:80:66 [INFO] [stderr] | [INFO] [stderr] 80 | fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 80 - fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] 80 + fn get_mempool(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:90:62 [INFO] [stderr] | [INFO] [stderr] 90 | fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 90 - fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] 90 + fn history(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:99:91 [INFO] [stderr] | [INFO] [stderr] 99 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 99 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] 99 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:110:64 [INFO] [stderr] | [INFO] [stderr] 110 | fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 110 - fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] 110 + fn get_utxos(&mut self, addr: &str) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:119:79 [INFO] [stderr] | [INFO] [stderr] 119 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 119 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stderr] 119 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:128:103 [INFO] [stderr] | [INFO] [stderr] 128 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 128 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stderr] 128 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:142:97 [INFO] [stderr] | [INFO] [stderr] 142 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 142 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stderr] 142 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:154:110 [INFO] [stderr] | [INFO] [stderr] 154 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 154 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stderr] 154 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:166:68 [INFO] [stderr] | [INFO] [stderr] 166 | fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 166 - fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stderr] 166 + fn get_fee_histogram_mempool(&mut self) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/electrumx_client.rs:183:56 [INFO] [stderr] | [INFO] [stderr] 183 | fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 183 - fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stderr] 183 + fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:8:73 [INFO] [stderr] | [INFO] [stderr] 8 | fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stderr] 8 + fn get_block_header(&mut self, height: usize) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:19:111 [INFO] [stderr] | [INFO] [stderr] 19 | fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stderr] 19 + fn get_block_headers(&mut self, start_height: usize, count: usize) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:25:66 [INFO] [stderr] | [INFO] [stderr] 25 | fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stderr] 25 + fn estimate_fee(&mut self, number: usize) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:31:48 [INFO] [stderr] | [INFO] [stderr] 31 | fn relay_fee(&mut self) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - fn relay_fee(&mut self) -> Result>; [INFO] [stderr] 31 + fn relay_fee(&mut self) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:36:77 [INFO] [stderr] | [INFO] [stderr] 36 | fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stderr] 36 + fn get_balance(&mut self, addr: &str) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:44:82 [INFO] [stderr] | [INFO] [stderr] 44 | fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] 44 + fn get_history(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:45:66 [INFO] [stderr] | [INFO] [stderr] 45 | fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] 45 + fn get_mempool(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:46:62 [INFO] [stderr] | [INFO] [stderr] 46 | fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 46 - fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] 46 + fn history(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:47:91 [INFO] [stderr] | [INFO] [stderr] 47 | fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] 47 + fn get_list_unspent(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:48:64 [INFO] [stderr] | [INFO] [stderr] 48 | fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] 48 + fn get_utxos(&mut self, addr: &str) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:49:79 [INFO] [stderr] | [INFO] [stderr] 49 | fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stderr] 49 + fn broadcast_transaction(&mut self, raw_tx: String) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:50:103 [INFO] [stderr] | [INFO] [stderr] 50 | fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stderr] 50 + fn get_transaction(&mut self, tx_hash: String, verbose: bool, merkle: bool) -> Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:51:97 [INFO] [stderr] | [INFO] [stderr] 51 | fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stderr] 51 + fn get_merkle_transaction(&mut self, tx_hash: String, height: usize) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:52:110 [INFO] [stderr] | [INFO] [stderr] 52 | fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 52 - fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stderr] 52 + fn transaction_id_from_pos(&mut self, height: usize, tx_pos: usize, merkle: bool) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:53:68 [INFO] [stderr] | [INFO] [stderr] 53 | fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stderr] 53 + fn get_fee_histogram_mempool(&mut self) -> Result, Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetBlockHeaderRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetBlockHeadersRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EstimateFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RelayFeeRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetBalanceRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetHistoryRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetListUnspentRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BroadcastTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/raw_response.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | id: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:59:10 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `jsonrpc` [INFO] [stderr] --> src/raw_response.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | jsonrpc: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GetTransactionRawResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_response.rs:59:10 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `electrumx_client` (lib) generated 49 warnings [INFO] [stderr] warning: `electrumx_client` (lib test) generated 49 warnings (49 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.73s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/electrumx_client-c904d770d9d1a0e0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/electrumx_client-fcdbe9cf2a3a46f9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests electrumx_client [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7812a1b6a9cd08e8dc73105b5523f90d5ae10a4eb38bf2f7fa0b662aec05d330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7812a1b6a9cd08e8dc73105b5523f90d5ae10a4eb38bf2f7fa0b662aec05d330", kill_on_drop: false }` [INFO] [stdout] 7812a1b6a9cd08e8dc73105b5523f90d5ae10a4eb38bf2f7fa0b662aec05d330