[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVAR-META-Tech%2Fdop-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VAR-META-Tech/dop-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v1.15.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.11
[INFO] [stderr]   Downloaded serial_test_derive v0.5.1
[INFO] [stderr]   Downloaded errno v0.3.11
[INFO] [stderr]   Downloaded serial_test v0.5.1
[INFO] [stderr]   Downloaded mime_guess v2.0.5
[INFO] [stderr]   Downloaded data-encoding v2.9.0
[INFO] [stderr]   Downloaded headers-core v0.2.0
[INFO] [stderr]   Downloaded miniz_oxide v0.8.8
[INFO] [stderr]   Downloaded pin-project-internal v1.1.10
[INFO] [stderr]   Downloaded tempfile v3.19.1
[INFO] [stderr]   Downloaded getrandom v0.3.2
[INFO] [stderr]   Downloaded anyhow v1.0.98
[INFO] [stderr]   Downloaded openssl-sys v0.9.107
[INFO] [stderr]   Downloaded cc v1.2.19
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.25
[INFO] [stderr]   Downloaded r-efi v5.2.0
[INFO] [stderr]   Downloaded headers v0.3.9
[INFO] [stderr]   Downloaded pin-project v1.1.10
[INFO] [stderr]   Downloaded icu_properties_data v1.5.1
[INFO] [stderr]   Downloaded zerocopy v0.8.25
[INFO] [stderr]   Downloaded socket2 v0.5.9
[INFO] [stderr]   Downloaded tokio-util v0.7.14
[INFO] [stderr]   Downloaded warp v0.3.7
[INFO] [stderr]   Downloaded openssl v0.10.72
[INFO] [stderr]   Downloaded multer v2.1.0
[INFO] [stderr]   Downloaded icu_locid_transform_data v1.5.1
[INFO] [stderr]   Downloaded unicase v2.8.1
[INFO] [stderr]   Downloaded icu_normalizer_data v1.5.1
[INFO] [stderr]   Downloaded rustix v1.0.5
[INFO] [stderr]   Downloaded libc v0.2.172
[INFO] [stderr]   Downloaded tokio v1.44.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89f3dfd8a1a0bee75ce8169d61b5c443459ed1136fef8b4b6aefb20d9fbba867
[INFO] running `Command { std: "docker" "start" "-a" "89f3dfd8a1a0bee75ce8169d61b5c443459ed1136fef8b4b6aefb20d9fbba867", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89f3dfd8a1a0bee75ce8169d61b5c443459ed1136fef8b4b6aefb20d9fbba867", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89f3dfd8a1a0bee75ce8169d61b5c443459ed1136fef8b4b6aefb20d9fbba867", kill_on_drop: false }`
[INFO] [stdout] 89f3dfd8a1a0bee75ce8169d61b5c443459ed1136fef8b4b6aefb20d9fbba867
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ec2e7e1734fc52fba96c326411c1692b44e35334b6eb19942ed7c2910273f42
[INFO] running `Command { std: "docker" "start" "-a" "0ec2e7e1734fc52fba96c326411c1692b44e35334b6eb19942ed7c2910273f42", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling dop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling ipnet v2.11.0
[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 rand_chacha v0.3.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serial_test_derive v0.5.1
[INFO] [stderr]    Compiling serial_test v0.5.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[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<F>(&self, callback: F)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn set_txid_scan_callback<F>(&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<Mutex<Option<Box<dyn Fn(MerkletreeScanUpdateEvent) + Send + 'static>>>>,
[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<Value> {
[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<T: for<'de> 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<String> {
[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<Value> {
[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<String> {
[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<String> {
[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<Value> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn get_private_viewing_key(&self, wallet_id: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub async fn get_dop_address(&self, wallet_id: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub async fn validate_dop_address(&self, address: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub async fn validate_eth_address(&self, address: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn scan_wallet(&self, wallet_id: &str, chain: Value) -> Result<Value> {
[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 00s
[INFO] running `Command { std: "docker" "inspect" "0ec2e7e1734fc52fba96c326411c1692b44e35334b6eb19942ed7c2910273f42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ec2e7e1734fc52fba96c326411c1692b44e35334b6eb19942ed7c2910273f42", kill_on_drop: false }`
[INFO] [stdout] 0ec2e7e1734fc52fba96c326411c1692b44e35334b6eb19942ed7c2910273f42
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66b0954304d90f733f25fa7eeb77a7763debe2e7465cf43aa351c20e03ef25ba
[INFO] running `Command { std: "docker" "start" "-a" "66b0954304d90f733f25fa7eeb77a7763debe2e7465cf43aa351c20e03ef25ba", kill_on_drop: false }`
[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] [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<F>(&self, callback: F)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn set_txid_scan_callback<F>(&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<Mutex<Option<Box<dyn Fn(MerkletreeScanUpdateEvent) + Send + 'static>>>>,
[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<Value> {
[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<T: for<'de> 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<String> {
[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<Value> {
[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<String> {
[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<String> {
[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<Value> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn get_private_viewing_key(&self, wallet_id: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub async fn get_dop_address(&self, wallet_id: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub async fn validate_dop_address(&self, address: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub async fn validate_eth_address(&self, address: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn scan_wallet(&self, wallet_id: &str, chain: Value) -> Result<Value> {
[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: 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: 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: 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] [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 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 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 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: `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-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<F>(&self, callback: F)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn set_txid_scan_callback<F>(&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<Mutex<Option<Box<dyn Fn(MerkletreeScanUpdateEvent) + Send + 'static>>>>,
[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<Value> {
[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<T: for<'de> 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<String> {
[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<Value> {
[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<String> {
[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<String> {
[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<Value> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn get_private_viewing_key(&self, wallet_id: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub async fn get_dop_address(&self, wallet_id: &str) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub async fn validate_dop_address(&self, address: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub async fn validate_eth_address(&self, address: &str) -> Result<bool> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn scan_wallet(&self, wallet_id: &str, chain: Value) -> Result<Value> {
[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 `test` profile [unoptimized + debuginfo] target(s) in 9.68s
[INFO] running `Command { std: "docker" "inspect" "66b0954304d90f733f25fa7eeb77a7763debe2e7465cf43aa351c20e03ef25ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66b0954304d90f733f25fa7eeb77a7763debe2e7465cf43aa351c20e03ef25ba", kill_on_drop: false }`
[INFO] [stdout] 66b0954304d90f733f25fa7eeb77a7763debe2e7465cf43aa351c20e03ef25ba
