[INFO] cloning repository https://github.com/VAR-META-Tech/dop-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VAR-META-Tech/dop-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVAR-META-Tech%2Fdop-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVAR-META-Tech%2Fdop-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bef91558ffa4c295d2f35a32c4518a3716ae890 [INFO] building VAR-META-Tech/dop-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVAR-META-Tech%2Fdop-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VAR-META-Tech/dop-rust [INFO] finished tweaking git repo https://github.com/VAR-META-Tech/dop-rust [INFO] tweaked toml for git repo https://github.com/VAR-META-Tech/dop-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VAR-META-Tech/dop-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VAR-META-Tech/dop-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45af973394c2d93406a13444116f2963102695c1c4eb352314079bb7c8d26a22 [INFO] running `Command { std: "docker" "start" "-a" "45af973394c2d93406a13444116f2963102695c1c4eb352314079bb7c8d26a22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45af973394c2d93406a13444116f2963102695c1c4eb352314079bb7c8d26a22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45af973394c2d93406a13444116f2963102695c1c4eb352314079bb7c8d26a22", kill_on_drop: false }` [INFO] [stdout] 45af973394c2d93406a13444116f2963102695c1c4eb352314079bb7c8d26a22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e16d7c9bf241f87d98c6cb630337ce430d887a79ba9e75238ac9501e3a43122 [INFO] running `Command { std: "docker" "start" "-a" "9e16d7c9bf241f87d98c6cb630337ce430d887a79ba9e75238ac9501e3a43122", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Path` and `env` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, fs, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/callback.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommitmentSummary` [INFO] [stdout] --> src/dop/tx_transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | CommitmentSummary, DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/dop/tx_transfer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/dop/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balances::*` [INFO] [stdout] --> src/dop/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use balances::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `callback::*` [INFO] [stdout] --> src/dop/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use callback::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/dop/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_decrypt::*` [INFO] [stdout] --> src/dop/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tx_decrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_transfer::*` [INFO] [stdout] --> src/dop/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use tx_transfer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/dop/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::*` [INFO] [stdout] --> src/dop/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use wallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx::*` [INFO] [stdout] --> src/types/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use tx::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/callback.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommitmentSummary` [INFO] [stdout] --> src/dop/tx_transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | CommitmentSummary, DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/dop/tx_transfer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/dop/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balances::*` [INFO] [stdout] --> src/dop/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use balances::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `callback::*` [INFO] [stdout] --> src/dop/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use callback::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/dop/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_decrypt::*` [INFO] [stdout] --> src/dop/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tx_decrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_transfer::*` [INFO] [stdout] --> src/dop/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use tx_transfer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/dop/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::*` [INFO] [stdout] --> src/dop/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use wallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DopERC20Amount` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use dop::{DopClient, DopERC20Amount}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `ffi::c_long` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, ffi::c_long}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dop_address` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let dop_address = wallet_info["dopAddress"] [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dop_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `refresh_balances`, `rescan_full_utxo_merkletrees_and_wallets`, and `reset_full_txid_merkletrees_v2` are never used [INFO] [stdout] --> src/dop/balances.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 6 | pub async fn refresh_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn rescan_full_utxo_merkletrees_and_wallets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn reset_full_txid_merkletrees_v2(&self, chain: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_utxo_scan_callback`, `set_txid_scan_callback`, and `start_scan_listeners` are never used [INFO] [stdout] --> src/dop/callback.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 8 | pub fn set_utxo_scan_callback(&self, callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set_txid_scan_callback(&self, callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn start_scan_listeners(&self) -> Result<(), warp::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_type` and `id` are never read [INFO] [stdout] --> src/dop/client.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Chain { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "type")] [INFO] [stdout] 12 | pub chain_type: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scan_status`, `chain`, and `progress` are never read [INFO] [stdout] --> src/dop/client.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MerkletreeScanUpdateEvent { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 18 | #[serde(rename = "scanStatus")] [INFO] [stdout] 19 | pub scan_status: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub chain: Chain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub progress: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkletreeScanUpdateEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScanType` is never used [INFO] [stdout] --> src/dop/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ScanType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `utxo_scan_callback` and `txid_scan_callback` are never read [INFO] [stdout] --> src/dop/client.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DopClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) utxo_scan_callback: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | Arc>>>, [INFO] [stdout] 36 | pub(crate) txid_scan_callback: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_engine_info` and `set_loggers` are never used [INFO] [stdout] --> src/dop/engine.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_engine_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn set_loggers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dop/tx_decrypt.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 10 | pub async fn generate_decrypt_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate_decrypt_to_origin_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn generate_decrypt_base_token_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn populate_proved_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn populate_proved_decrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn gas_estimate_for_unproven_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn gas_estimate_for_unproven_decrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn get_erc20_and_nft_amount_recipients_for_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn populate_proved_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub async fn gas_estimate_for_unproven_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn send_request serde::Deserialize<'de>>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopERC20AmountRecipient` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DopERC20AmountRecipient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopNFTAmountRecipient` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DopNFTAmountRecipient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitmentSummary` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CommitmentSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContractTransaction` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ContractTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopPopulateTransactionResponse` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DopPopulateTransactionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionGasDetails` is never used [INFO] [stdout] --> src/dop/tx_encrypt.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum TransactionGasDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopERC20Amount` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DopERC20Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeeTokenDetails` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct FeeTokenDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopTransactionGasEstimateResponse` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DopTransactionGasEstimateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gas_estimate_for_encrypt_base_token`, `populate_encrypt_base_token`, `gas_estimate_for_encrypt`, `populate_encrypt`, `get_encrypt_private_key_signature_message`, and `generate_encrypt_transaction` are never used [INFO] [stdout] --> src/dop/tx_encrypt.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 93 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 94 | // Encrypt Base Token - Gas Estimate [INFO] [stdout] 95 | pub async fn gas_estimate_for_encrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn populate_encrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub async fn gas_estimate_for_encrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn populate_encrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub async fn get_encrypt_private_key_signature_message(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub async fn generate_encrypt_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `populate_proved_transfer`, `gas_estimate_for_unproven_transfer`, and `generate_transfer_proof` are never used [INFO] [stdout] --> src/dop/tx_transfer.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 10 | pub async fn populate_proved_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn gas_estimate_for_unproven_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn generate_transfer_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dop/wallet.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn get_wallet(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn get_wallet_mnemonic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn get_shareable_viewing_key(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn create_view_only_wallet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn sign_message_with_wallet(&self, wallet_id: &str, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn load_wallet_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn unload_wallet_by_id(&self, wallet_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn delete_wallet_by_id(&self, wallet_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn get_dop_wallet_address_data(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn get_private_viewing_key(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn get_dop_address(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn validate_dop_address(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub async fn validate_eth_address(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub async fn scan_wallet(&self, wallet_id: &str, chain: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn scan_wallet_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub async fn assert_valid_eth_address(&self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn assert_valid_dop_address(&self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "9e16d7c9bf241f87d98c6cb630337ce430d887a79ba9e75238ac9501e3a43122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e16d7c9bf241f87d98c6cb630337ce430d887a79ba9e75238ac9501e3a43122", kill_on_drop: false }` [INFO] [stdout] 9e16d7c9bf241f87d98c6cb630337ce430d887a79ba9e75238ac9501e3a43122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30aed5e55e760af4ef17241b799bef4c0891cbdca6f0a965a0401374c245d67c [INFO] running `Command { std: "docker" "start" "-a" "30aed5e55e760af4ef17241b799bef4c0891cbdca6f0a965a0401374c245d67c", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Path` and `env` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | env, fs, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/callback.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommitmentSummary` [INFO] [stdout] --> src/dop/tx_transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | CommitmentSummary, DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/dop/tx_transfer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/dop/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balances::*` [INFO] [stdout] --> src/dop/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use balances::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `callback::*` [INFO] [stdout] --> src/dop/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use callback::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/dop/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_decrypt::*` [INFO] [stdout] --> src/dop/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tx_decrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_transfer::*` [INFO] [stdout] --> src/dop/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use tx_transfer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/dop/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::*` [INFO] [stdout] --> src/dop/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use wallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx::*` [INFO] [stdout] --> src/types/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use tx::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/callback.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommitmentSummary` [INFO] [stdout] --> src/dop/tx_transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | CommitmentSummary, DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/dop/tx_transfer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/dop/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balances::*` [INFO] [stdout] --> src/dop/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use balances::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `callback::*` [INFO] [stdout] --> src/dop/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use callback::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/dop/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_decrypt::*` [INFO] [stdout] --> src/dop/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tx_decrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_transfer::*` [INFO] [stdout] --> src/dop/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use tx_transfer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/dop/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::*` [INFO] [stdout] --> src/dop/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use wallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DopERC20Amount` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use dop::{DopClient, DopERC20Amount}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `ffi::c_long` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, ffi::c_long}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dop_address` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let dop_address = wallet_info["dopAddress"] [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dop_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `refresh_balances`, `rescan_full_utxo_merkletrees_and_wallets`, and `reset_full_txid_merkletrees_v2` are never used [INFO] [stdout] --> src/dop/balances.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 6 | pub async fn refresh_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn rescan_full_utxo_merkletrees_and_wallets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn reset_full_txid_merkletrees_v2(&self, chain: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_utxo_scan_callback`, `set_txid_scan_callback`, and `start_scan_listeners` are never used [INFO] [stdout] --> src/dop/callback.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 8 | pub fn set_utxo_scan_callback(&self, callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set_txid_scan_callback(&self, callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn start_scan_listeners(&self) -> Result<(), warp::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_type` and `id` are never read [INFO] [stdout] --> src/dop/client.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Chain { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "type")] [INFO] [stdout] 12 | pub chain_type: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scan_status`, `chain`, and `progress` are never read [INFO] [stdout] --> src/dop/client.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MerkletreeScanUpdateEvent { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 18 | #[serde(rename = "scanStatus")] [INFO] [stdout] 19 | pub scan_status: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub chain: Chain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub progress: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkletreeScanUpdateEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScanType` is never used [INFO] [stdout] --> src/dop/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ScanType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `utxo_scan_callback` and `txid_scan_callback` are never read [INFO] [stdout] --> src/dop/client.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DopClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) utxo_scan_callback: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | Arc>>>, [INFO] [stdout] 36 | pub(crate) txid_scan_callback: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_engine_info` and `set_loggers` are never used [INFO] [stdout] --> src/dop/engine.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_engine_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn set_loggers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dop/tx_decrypt.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 10 | pub async fn generate_decrypt_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate_decrypt_to_origin_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn generate_decrypt_base_token_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn populate_proved_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn populate_proved_decrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn gas_estimate_for_unproven_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn gas_estimate_for_unproven_decrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn get_erc20_and_nft_amount_recipients_for_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn populate_proved_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub async fn gas_estimate_for_unproven_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn send_request serde::Deserialize<'de>>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopERC20AmountRecipient` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DopERC20AmountRecipient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopNFTAmountRecipient` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DopNFTAmountRecipient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitmentSummary` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CommitmentSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContractTransaction` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ContractTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopPopulateTransactionResponse` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DopPopulateTransactionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionGasDetails` is never used [INFO] [stdout] --> src/dop/tx_encrypt.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum TransactionGasDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopERC20Amount` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DopERC20Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeeTokenDetails` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct FeeTokenDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopTransactionGasEstimateResponse` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DopTransactionGasEstimateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gas_estimate_for_encrypt_base_token`, `populate_encrypt_base_token`, `gas_estimate_for_encrypt`, `populate_encrypt`, `get_encrypt_private_key_signature_message`, and `generate_encrypt_transaction` are never used [INFO] [stdout] --> src/dop/tx_encrypt.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 93 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 94 | // Encrypt Base Token - Gas Estimate [INFO] [stdout] 95 | pub async fn gas_estimate_for_encrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn populate_encrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub async fn gas_estimate_for_encrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn populate_encrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub async fn get_encrypt_private_key_signature_message(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub async fn generate_encrypt_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `populate_proved_transfer`, `gas_estimate_for_unproven_transfer`, and `generate_transfer_proof` are never used [INFO] [stdout] --> src/dop/tx_transfer.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 10 | pub async fn populate_proved_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn gas_estimate_for_unproven_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn generate_transfer_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dop/wallet.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn get_wallet(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn get_wallet_mnemonic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn get_shareable_viewing_key(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn create_view_only_wallet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn sign_message_with_wallet(&self, wallet_id: &str, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn load_wallet_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn unload_wallet_by_id(&self, wallet_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn delete_wallet_by_id(&self, wallet_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn get_dop_wallet_address_data(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn get_private_viewing_key(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn get_dop_address(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn validate_dop_address(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub async fn validate_eth_address(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub async fn scan_wallet(&self, wallet_id: &str, chain: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn scan_wallet_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub async fn assert_valid_eth_address(&self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn assert_valid_dop_address(&self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DopNFTAmountRecipient` [INFO] [stdout] --> tests/tx-transfer_tests.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, FeeTokenDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DopNFTAmountRecipient` [INFO] [stdout] --> tests/tx-encrypt_tests.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 2 | use dop::dop::{DopClient, DopERC20Amount, DopERC20AmountRecipient, DopNFTAmountRecipient}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/wallet_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> tests/callback_tests.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DopERC20AmountRecipient`, `DopNFTAmountRecipient`, and `FeeTokenDetails` [INFO] [stdout] --> tests/tx-decrypt_tests.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | DopClient, DopERC20Amount, DopERC20AmountRecipient, DopNFTAmountRecipient, FeeTokenDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/callback.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommitmentSummary` [INFO] [stdout] --> src/dop/tx_transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | CommitmentSummary, DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/dop/tx_transfer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/dop/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balances::*` [INFO] [stdout] --> src/dop/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use balances::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `callback::*` [INFO] [stdout] --> src/dop/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use callback::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/dop/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_decrypt::*` [INFO] [stdout] --> src/dop/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tx_decrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_transfer::*` [INFO] [stdout] --> src/dop/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use tx_transfer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/dop/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::*` [INFO] [stdout] --> src/dop/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use wallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DopERC20Amount` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use dop::{DopClient, DopERC20Amount}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `ffi::c_long` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, ffi::c_long}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-transfer_tests.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-transfer_tests.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/callback.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{Value, json}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommitmentSummary` [INFO] [stdout] --> src/dop/tx_transfer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | CommitmentSummary, DopClient, DopERC20AmountRecipient, DopNFTAmountRecipient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/dop/tx_transfer.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/dop/utils.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/dop/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balances::*` [INFO] [stdout] --> src/dop/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use balances::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `callback::*` [INFO] [stdout] --> src/dop/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use callback::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/dop/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_decrypt::*` [INFO] [stdout] --> src/dop/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use tx_decrypt::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx_transfer::*` [INFO] [stdout] --> src/dop/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use tx_transfer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/dop/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::*` [INFO] [stdout] --> src/dop/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use wallet::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx::*` [INFO] [stdout] --> src/types/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use tx::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-transfer_tests.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-encrypt_tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-encrypt_tests.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-encrypt_tests.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-encrypt_tests.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-encrypt_tests.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/tx-encrypt_tests.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let mut engine = setup_engine().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dop_address` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let dop_address = wallet_info["dopAddress"] [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dop_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `refresh_balances`, `rescan_full_utxo_merkletrees_and_wallets`, and `reset_full_txid_merkletrees_v2` are never used [INFO] [stdout] --> src/dop/balances.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 5 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 6 | pub async fn refresh_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn rescan_full_utxo_merkletrees_and_wallets( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn reset_full_txid_merkletrees_v2(&self, chain: Value) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_utxo_scan_callback`, `set_txid_scan_callback`, and `start_scan_listeners` are never used [INFO] [stdout] --> src/dop/callback.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 8 | pub fn set_utxo_scan_callback(&self, callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn set_txid_scan_callback(&self, callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn start_scan_listeners(&self) -> Result<(), warp::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_type` and `id` are never read [INFO] [stdout] --> src/dop/client.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Chain { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | #[serde(rename = "type")] [INFO] [stdout] 12 | pub chain_type: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scan_status`, `chain`, and `progress` are never read [INFO] [stdout] --> src/dop/client.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MerkletreeScanUpdateEvent { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 18 | #[serde(rename = "scanStatus")] [INFO] [stdout] 19 | pub scan_status: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub chain: Chain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub progress: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkletreeScanUpdateEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScanType` is never used [INFO] [stdout] --> src/dop/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ScanType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `utxo_scan_callback` and `txid_scan_callback` are never read [INFO] [stdout] --> src/dop/client.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DopClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) utxo_scan_callback: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | Arc>>>, [INFO] [stdout] 36 | pub(crate) txid_scan_callback: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_engine_info` and `set_loggers` are never used [INFO] [stdout] --> src/dop/engine.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_engine_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn set_loggers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dop/tx_decrypt.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 10 | pub async fn generate_decrypt_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn generate_decrypt_to_origin_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn generate_decrypt_base_token_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn populate_proved_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn populate_proved_decrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn gas_estimate_for_unproven_decrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn gas_estimate_for_unproven_decrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn get_erc20_and_nft_amount_recipients_for_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn populate_proved_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub async fn gas_estimate_for_unproven_decrypt_to_origin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn send_request serde::Deserialize<'de>>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopERC20AmountRecipient` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DopERC20AmountRecipient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopNFTAmountRecipient` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DopNFTAmountRecipient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitmentSummary` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CommitmentSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContractTransaction` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ContractTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopPopulateTransactionResponse` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DopPopulateTransactionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionGasDetails` is never used [INFO] [stdout] --> src/dop/tx_encrypt.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum TransactionGasDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopERC20Amount` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DopERC20Amount { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FeeTokenDetails` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct FeeTokenDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DopTransactionGasEstimateResponse` is never constructed [INFO] [stdout] --> src/dop/tx_encrypt.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct DopTransactionGasEstimateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gas_estimate_for_encrypt_base_token`, `populate_encrypt_base_token`, `gas_estimate_for_encrypt`, `populate_encrypt`, `get_encrypt_private_key_signature_message`, and `generate_encrypt_transaction` are never used [INFO] [stdout] --> src/dop/tx_encrypt.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 93 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 94 | // Encrypt Base Token - Gas Estimate [INFO] [stdout] 95 | pub async fn gas_estimate_for_encrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub async fn populate_encrypt_base_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub async fn gas_estimate_for_encrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn populate_encrypt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub async fn get_encrypt_private_key_signature_message(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub async fn generate_encrypt_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `populate_proved_transfer`, `gas_estimate_for_unproven_transfer`, and `generate_transfer_proof` are never used [INFO] [stdout] --> src/dop/tx_transfer.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 10 | pub async fn populate_proved_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn gas_estimate_for_unproven_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn generate_transfer_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/dop/wallet.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl DopClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn get_wallet(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub async fn get_wallet_mnemonic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn get_shareable_viewing_key(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn create_view_only_wallet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn sign_message_with_wallet(&self, wallet_id: &str, message: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn load_wallet_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn unload_wallet_by_id(&self, wallet_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub async fn delete_wallet_by_id(&self, wallet_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn get_dop_wallet_address_data(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn get_private_viewing_key(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn get_dop_address(&self, wallet_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn validate_dop_address(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub async fn validate_eth_address(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub async fn scan_wallet(&self, wallet_id: &str, chain: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub async fn scan_wallet_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub async fn assert_valid_eth_address(&self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn assert_valid_dop_address(&self, address: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/engine_tests.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let result = engine [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.01s [INFO] running `Command { std: "docker" "inspect" "30aed5e55e760af4ef17241b799bef4c0891cbdca6f0a965a0401374c245d67c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30aed5e55e760af4ef17241b799bef4c0891cbdca6f0a965a0401374c245d67c", kill_on_drop: false }` [INFO] [stdout] 30aed5e55e760af4ef17241b799bef4c0891cbdca6f0a965a0401374c245d67c