[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] checking evgeniy-scherbina/rust-electrumx-client against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeniy-scherbina%2Frust-electrumx-client" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evgeniy-scherbina/rust-electrumx-client on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.80 [INFO] [stderr] Downloaded block-padding v0.1.2 [INFO] [stderr] Downloaded byte-tools v0.3.0 [INFO] [stderr] Downloaded block-buffer v0.7.0 [INFO] [stderr] Downloaded opaque-debug v0.2.1 [INFO] [stderr] Downloaded digest v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded bitcoin-bech32 v0.9.0 [INFO] [stderr] Downloaded bech32 v0.6.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded cc v1.0.26 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded serde_derive v1.0.80 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded generic-array v0.12.0 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded secp256k1 v0.12.2 [INFO] [stderr] Downloaded bitcoin v0.18.0 [INFO] [stderr] Downloaded libc v0.2.44 [INFO] [stderr] Downloaded bitcoin_hashes v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39879ff951a07ffb03663207806683fa6441e5b4492d987b64b576a01a823824 [INFO] running `Command { std: "docker" "start" "-a" "39879ff951a07ffb03663207806683fa6441e5b4492d987b64b576a01a823824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39879ff951a07ffb03663207806683fa6441e5b4492d987b64b576a01a823824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39879ff951a07ffb03663207806683fa6441e5b4492d987b64b576a01a823824", kill_on_drop: false }` [INFO] [stdout] 39879ff951a07ffb03663207806683fa6441e5b4492d987b64b576a01a823824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6c373ac9145af41b122813b6905d453627baad6e18fe59bdee0cd4243379f82 [INFO] running `Command { std: "docker" "start" "-a" "d6c373ac9145af41b122813b6905d453627baad6e18fe59bdee0cd4243379f82", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 cc v1.0.26 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bech32 v0.6.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking bitcoin-bech32 v0.9.0 [INFO] [stderr] Checking bitcoin_hashes v0.3.2 [INFO] [stderr] Compiling secp256k1 v0.12.2 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking bitcoin v0.18.0 [INFO] [stderr] Checking electrumx_client v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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] = 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | 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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 | fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetBlockHeaderRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 5 | id: usize, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GetBlockHeadersRawResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 12 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EstimateFeeRawResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RelayFeeRawResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 26 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct GetBalanceRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 33 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GetHistoryRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 40 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GetListUnspentRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 47 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BroadcastTransactionRawResponse { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 54 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct GetTransactionRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 61 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetBlockHeaderRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 5 | id: usize, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GetBlockHeadersRawResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 12 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EstimateFeeRawResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RelayFeeRawResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 26 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct GetBalanceRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 33 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GetHistoryRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 40 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GetListUnspentRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 47 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BroadcastTransactionRawResponse { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 54 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct GetTransactionRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 61 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "d6c373ac9145af41b122813b6905d453627baad6e18fe59bdee0cd4243379f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c373ac9145af41b122813b6905d453627baad6e18fe59bdee0cd4243379f82", kill_on_drop: false }` [INFO] [stdout] d6c373ac9145af41b122813b6905d453627baad6e18fe59bdee0cd4243379f82 [INFO] checking evgeniy-scherbina/rust-electrumx-client against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgeniy-scherbina%2Frust-electrumx-client" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evgeniy-scherbina/rust-electrumx-client on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7df8077f854bb1e278cae2c77196514d9e9942a20951af1d4fe322a6e16d6029 [INFO] running `Command { std: "docker" "start" "-a" "7df8077f854bb1e278cae2c77196514d9e9942a20951af1d4fe322a6e16d6029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7df8077f854bb1e278cae2c77196514d9e9942a20951af1d4fe322a6e16d6029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df8077f854bb1e278cae2c77196514d9e9942a20951af1d4fe322a6e16d6029", kill_on_drop: false }` [INFO] [stdout] 7df8077f854bb1e278cae2c77196514d9e9942a20951af1d4fe322a6e16d6029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f83324c6bbf9a87d00e4f4b4e3716f376ca5e3ef80bd317882415652a21ec0b [INFO] running `Command { std: "docker" "start" "-a" "4f83324c6bbf9a87d00e4f4b4e3716f376ca5e3ef80bd317882415652a21ec0b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 cc v1.0.26 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bech32 v0.6.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking bitcoin-bech32 v0.9.0 [INFO] [stderr] Checking bitcoin_hashes v0.3.2 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling secp256k1 v0.12.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking bitcoin v0.18.0 [INFO] [stderr] Checking electrumx_client v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | 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:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | 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:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, 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] | +++ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 | fn call(&mut self, req: Request) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetBlockHeaderRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 5 | id: usize, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GetBlockHeadersRawResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 12 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetBlockHeaderRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 5 | id: usize, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EstimateFeeRawResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RelayFeeRawResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 26 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GetBlockHeadersRawResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 12 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct GetBalanceRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 33 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EstimateFeeRawResponse { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GetHistoryRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 40 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GetListUnspentRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 47 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RelayFeeRawResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 26 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BroadcastTransactionRawResponse { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 54 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct GetBalanceRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 33 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct GetTransactionRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 61 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GetHistoryRawResponse { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 40 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct GetListUnspentRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 47 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BroadcastTransactionRawResponse { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 54 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `jsonrpc` are never read [INFO] [stdout] --> src/raw_response.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct GetTransactionRawResponse { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 61 | id: usize, [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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/electrumx_client.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(socket_addr: A) -> io::Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let stream = TcpStream::connect(socket_addr.clone())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | socket_addr, [INFO] [stdout] 179 | | stream, [INFO] [stdout] 180 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/electrumx_client.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(socket_addr: A) -> io::Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let stream = TcpStream::connect(socket_addr.clone())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 178 | | socket_addr, [INFO] [stdout] 179 | | stream, [INFO] [stdout] 180 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `electrumx_client` (lib) due to 2 previous errors; 40 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `electrumx_client` (lib test) due to 2 previous errors; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f83324c6bbf9a87d00e4f4b4e3716f376ca5e3ef80bd317882415652a21ec0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f83324c6bbf9a87d00e4f4b4e3716f376ca5e3ef80bd317882415652a21ec0b", kill_on_drop: false }` [INFO] [stdout] 4f83324c6bbf9a87d00e4f4b4e3716f376ca5e3ef80bd317882415652a21ec0b