[INFO] cloning repository https://github.com/in8forge/liquidator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/in8forge/liquidator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fin8forge%2Fliquidator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fin8forge%2Fliquidator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3fba9ea57691b6d4c6c1c2196faba34457f11df0
[INFO] testing in8forge/liquidator against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fin8forge%2Fliquidator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/in8forge/liquidator
[INFO] finished tweaking git repo https://github.com/in8forge/liquidator
[INFO] tweaked toml for git repo https://github.com/in8forge/liquidator written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/in8forge/liquidator on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/in8forge/liquidator 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itoa v1.0.16
[INFO] [stderr]   Downloaded ryu v1.0.21
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.7
[INFO] [stderr]   Downloaded base64ct v1.8.1
[INFO] [stderr]   Downloaded libredox v0.1.11
[INFO] [stderr]   Downloaded cc v1.2.50
[INFO] [stderr]   Downloaded serde_json v1.0.146
[INFO] [stderr]   Downloaded const-hex v1.17.0
[INFO] [stderr]   Downloaded ws_stream_wasm v0.7.5
[INFO] [stderr]   Downloaded indenter v0.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e8694b63df897b973179e94a822b5c512a89c77f6c4d91422e30191e7ddc3ee
[INFO] running `Command { std: "docker" "start" "-a" "7e8694b63df897b973179e94a822b5c512a89c77f6c4d91422e30191e7ddc3ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e8694b63df897b973179e94a822b5c512a89c77f6c4d91422e30191e7ddc3ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e8694b63df897b973179e94a822b5c512a89c77f6c4d91422e30191e7ddc3ee", kill_on_drop: false }`
[INFO] [stdout] 7e8694b63df897b973179e94a822b5c512a89c77f6c4d91422e30191e7ddc3ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 054090170a83beec8dadad1ccfe0c8ee0d8af91ff247ca79269963a0891efbd9
[INFO] running `Command { std: "docker" "start" "-a" "054090170a83beec8dadad1ccfe0c8ee0d8af91ff247ca79269963a0891efbd9", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling itoa v1.0.16
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling ryu v1.0.21
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling serde_json v1.0.146
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling camino v1.2.2
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.106
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling const-hex v1.17.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling const_format v0.2.35
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling toml_edit v0.23.10+spec-1.0.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling wasm-bindgen v0.2.106
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.106
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling indenter v0.3.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.106
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling js-sys v0.3.83
[INFO] [stderr]    Compiling salsa20 v0.10.2
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling send_wrapper v0.4.0
[INFO] [stderr]    Compiling scrypt v0.10.0
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling cargo-platform v0.1.9
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling cargo_metadata v0.18.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling open-fastrlp-derive v0.1.1
[INFO] [stderr]    Compiling impl-codec v0.6.0
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling coins-core v0.8.7
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling coins-bip32 v0.8.7
[INFO] [stderr]    Compiling jsonwebtoken v8.3.0
[INFO] [stderr]    Compiling enr v0.10.0
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling ethbloom v0.13.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling coins-bip39 v0.8.7
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling futures-locks v0.7.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling ethereum-types v0.14.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling eth-keystore v0.5.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling open-fastrlp v0.1.4
[INFO] [stderr]    Compiling ethabi v18.0.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling gloo-timers v0.2.6
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling ethers-core v2.0.14
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling ethers-contract-abigen v2.0.14
[INFO] [stderr]    Compiling ethers-signers v2.0.14
[INFO] [stderr]    Compiling ethers-addressbook v2.0.14
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling ethers-contract-derive v2.0.14
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling ethers-providers v2.0.14
[INFO] [stderr]    Compiling ethers-etherscan v2.0.14
[INFO] [stderr]    Compiling ethers-contract v2.0.14
[INFO] [stderr]    Compiling ethers-middleware v2.0.14
[INFO] [stderr]    Compiling ethers v2.0.14
[INFO] [stderr]    Compiling liquidator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::Deserialize;
[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: `Bytes`
[INFO] [stdout]  --> src/protocols/aave.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ethers::types::{Address, U256, Bytes};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/protocols/compound.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/protocols/venus.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/protocols/venus.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, info, warn};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]   --> src/health.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::info;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `U256`
[INFO] [stdout]  --> src/types.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ethers::types::{Address, U256};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/swap.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stdout]    --> src/protocols/aave.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 258 |             constant: None,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stdout]    --> src/protocols/compound.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |             constant: None,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stdout]    --> src/protocols/venus.rs:276:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |             constant: None,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Middleware`
[INFO] [stdout]  --> src/protocols/aave.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ethers::providers::{Provider, Http, Middleware};
[INFO] [stdout]   |                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `liquidity`
[INFO] [stdout]    --> src/protocols/venus.rs:144:21
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let (error, liquidity, shortfall) = comptroller.get_account_liquidity(user).call().await?;
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liquidity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ParseError` is never constructed
[INFO] [stdout]   --> src/config.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ConfigError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     ParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gas_limit` is never read
[INFO] [stdout]   --> src/config.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ChainConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub gas_limit: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChainConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price_cache_ms` and `owner_wallet` are never read
[INFO] [stdout]   --> src/config.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub price_cache_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub owner_wallet: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MULTICALL3` is never used
[INFO] [stdout]   --> src/chains.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const MULTICALL3: &str = "0xcA11bde05977b3631167028862bE2a173976CA11";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_success`, `record_failure`, and `rotate_to_next_healthy` are never used
[INFO] [stdout]    --> src/chains.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl MultiRpcProvider {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn record_success(&self, latency_ms: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn record_failure(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn rotate_to_next_healthy(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_provider`, `sync_nonce`, `get_price`, `record_rpc_success`, and `record_rpc_failure` are never used
[INFO] [stdout]    --> src/chains.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout] 238 | impl ChainState {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn get_provider(&self) -> &Provider<Http> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub async fn sync_nonce(&self) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub fn get_price(&self, token: &Address, max_age_ms: u64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     pub fn record_rpc_success(&self, latency_ms: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn record_rpc_failure(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]    --> src/chains.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct ChainManager {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 327 |     pub config: Config,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `a_token`, `debt_token`, and `debt_balance` are never read
[INFO] [stdout]   --> src/protocols/aave.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct UserAssetPosition {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub a_token: Address,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 60 |     pub debt_token: Address,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub debt_balance: U256,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserAssetPosition` 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 `decimals`, `a_token`, and `debt_token` are never read
[INFO] [stdout]   --> src/protocols/aave.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct AssetConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 82 |     pub decimals: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 83 |     pub liquidation_bonus: u64,
[INFO] [stdout] 84 |     pub a_token: Address,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 85 |     pub debt_token: Address,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AssetConfig` 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: field `liquidation_factor` is never read
[INFO] [stdout]   --> src/protocols/compound.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct CollateralAsset {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub liquidation_factor: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CollateralAsset` 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 `user`, `comet`, `borrow_balance`, and `is_liquidatable` are never read
[INFO] [stdout]   --> src/protocols/compound.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct CompoundPosition {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 71 |     pub user: Address,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 72 |     pub comet: Address,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 73 |     pub base_token: String,
[INFO] [stdout] 74 |     pub borrow_balance: U256,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub is_liquidatable: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompoundPosition` 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: function `discover_compound_borrowers` is never used
[INFO] [stdout]    --> src/protocols/compound.rs:326:14
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub async fn discover_compound_borrowers(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `underlying` and `symbol` are never read
[INFO] [stdout]   --> src/protocols/venus.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct VenusMarket {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 47 |     pub v_token: Address,
[INFO] [stdout] 48 |     pub underlying: Address,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 49 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VenusMarket` 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: field `user` is never read
[INFO] [stdout]   --> src/protocols/venus.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct VenusPosition {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 57 |     pub user: Address,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VenusPosition` 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: function `discover_venus_borrowers` is never used
[INFO] [stdout]    --> src/protocols/venus.rs:389:14
[INFO] [stdout]     |
[INFO] [stdout] 389 | pub async fn discover_venus_borrowers(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `min_profit_usd` is never read
[INFO] [stdout]   --> src/executor.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 92 |     pub dry_run: bool,
[INFO] [stdout] 93 |     pub min_profit_usd: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_debt_to_cover` is never used
[INFO] [stdout]    --> src/executor.rs:415:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl Executor {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub fn calculate_debt_to_cover(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxTemplate` is never constructed
[INFO] [stdout]    --> src/executor.rs:457:12
[INFO] [stdout]     |
[INFO] [stdout] 457 | pub struct TxTemplate {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_request` are never used
[INFO] [stdout]    --> src/executor.rs:465:12
[INFO] [stdout]     |
[INFO] [stdout] 464 | impl TxTemplate {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 465 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     pub fn to_request(&self, nonce: u64, gas_price: U256, chain_id: u64) -> TransactionRequest {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/types.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct PriceData {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 57 |     pub price_usd: f64,
[INFO] [stdout] 58 |     pub timestamp: Instant,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceData` 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: method `is_stale` is never used
[INFO] [stdout]   --> src/types.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl PriceData {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn is_stale(&self, max_age_ms: u64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProfitSimulation` is never constructed
[INFO] [stdout]   --> src/types.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct ProfitSimulation {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `calculate` is never used
[INFO] [stdout]   --> src/types.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl ProfitSimulation {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 87 |     pub fn calculate(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chain` and `protocol` are never read
[INFO] [stdout]    --> src/types.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct ExecutionLock {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 197 |     pub timestamp: Instant,
[INFO] [stdout] 198 |     pub chain: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 199 |     pub protocol: Protocol,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExecutionLock` 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 `token`, `timestamp`, and `provider_index` are never read
[INFO] [stdout]   --> src/oracle.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct PriceUpdate {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 89 |     pub chain: String,
[INFO] [stdout] 90 |     pub token: Address,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 91 |     pub price: f64,
[INFO] [stdout] 92 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 93 |     pub provider_index: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceUpdate` 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: method `health_status` is never used
[INFO] [stdout]    --> src/oracle.rs:535:12
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl OracleManager {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 535 |     pub fn health_status(&self) -> serde_json::Value {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `discover_all_borrowers` is never used
[INFO] [stdout]    --> src/borrowers.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub async fn discover_all_borrowers(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/swap.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct SwapQuote {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 81 |     pub token_in: Address,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 82 |     pub token_out: Address,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 83 |     pub amount_in: U256,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 84 |     pub amount_out: U256,
[INFO] [stdout] 85 |     pub fee: u32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 86 |     pub price_impact: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub calldata: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 91 |     /// Target contract for execution
[INFO] [stdout] 92 |     pub to: Option<Address>,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SwapQuote` 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: field `protocols` is never read
[INFO] [stdout]    --> src/swap.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | struct OneInchQuoteResponse {
[INFO] [stdout]     |        -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 101 |     protocols: Vec<serde_json::Value>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OneInchQuoteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OneInchSwapResponse` is never constructed
[INFO] [stdout]    --> src/swap.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct OneInchSwapResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OneInchTx` is never constructed
[INFO] [stdout]    --> src/swap.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | struct OneInchTx {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gas_cost_usd` is never read
[INFO] [stdout]    --> src/swap.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct ParaswapPriceRoute {
[INFO] [stdout]     |        ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     gas_cost_usd: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParaswapPriceRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_best_quote_parallel` is never used
[INFO] [stdout]    --> src/swap.rs:207:18
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl MultiDexQuoter {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn get_best_quote_parallel(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quote_swap` is never used
[INFO] [stdout]    --> src/swap.rs:497:14
[INFO] [stdout]     |
[INFO] [stdout] 497 | pub async fn quote_swap(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_liquidation_swap_best` is never used
[INFO] [stdout]    --> src/swap.rs:554:14
[INFO] [stdout]     |
[INFO] [stdout] 554 | pub async fn validate_liquidation_swap_best(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 00s
[INFO] running `Command { std: "docker" "inspect" "054090170a83beec8dadad1ccfe0c8ee0d8af91ff247ca79269963a0891efbd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "054090170a83beec8dadad1ccfe0c8ee0d8af91ff247ca79269963a0891efbd9", kill_on_drop: false }`
[INFO] [stdout] 054090170a83beec8dadad1ccfe0c8ee0d8af91ff247ca79269963a0891efbd9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78a2e55e7ef3b7ee57e1b0d892348830247260a5c10759c75b892154dacefa46
[INFO] running `Command { std: "docker" "start" "-a" "78a2e55e7ef3b7ee57e1b0d892348830247260a5c10759c75b892154dacefa46", kill_on_drop: false }`
[INFO] [stderr]    Compiling liquidator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::Deserialize;
[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: `Bytes`
[INFO] [stdout]  --> src/protocols/aave.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ethers::types::{Address, U256, Bytes};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/protocols/compound.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/protocols/venus.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/protocols/venus.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::{debug, info, warn};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]   --> src/health.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tracing::info;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `U256`
[INFO] [stdout]  --> src/types.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ethers::types::{Address, U256};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/swap.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stdout]    --> src/protocols/aave.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 258 |             constant: None,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stdout]    --> src/protocols/compound.rs:242:13
[INFO] [stdout]     |
[INFO] [stdout] 242 |             constant: None,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stdout]    --> src/protocols/venus.rs:276:13
[INFO] [stdout]     |
[INFO] [stdout] 276 |             constant: None,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Middleware`
[INFO] [stdout]  --> src/protocols/aave.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ethers::providers::{Provider, Http, Middleware};
[INFO] [stdout]   |                                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `liquidity`
[INFO] [stdout]    --> src/protocols/venus.rs:144:21
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let (error, liquidity, shortfall) = comptroller.get_account_liquidity(user).call().await?;
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liquidity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ParseError` is never constructed
[INFO] [stdout]   --> src/config.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ConfigError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     ParseError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gas_limit` is never read
[INFO] [stdout]   --> src/config.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ChainConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub gas_limit: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChainConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price_cache_ms` and `owner_wallet` are never read
[INFO] [stdout]   --> src/config.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub price_cache_ms: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub owner_wallet: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MULTICALL3` is never used
[INFO] [stdout]   --> src/chains.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const MULTICALL3: &str = "0xcA11bde05977b3631167028862bE2a173976CA11";
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `record_success`, `record_failure`, and `rotate_to_next_healthy` are never used
[INFO] [stdout]    --> src/chains.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl MultiRpcProvider {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn record_success(&self, latency_ms: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn record_failure(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn rotate_to_next_healthy(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_provider`, `sync_nonce`, `get_price`, `record_rpc_success`, and `record_rpc_failure` are never used
[INFO] [stdout]    --> src/chains.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout] 238 | impl ChainState {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn get_provider(&self) -> &Provider<Http> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub async fn sync_nonce(&self) -> anyhow::Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub fn get_price(&self, token: &Address, max_age_ms: u64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     pub fn record_rpc_success(&self, latency_ms: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn record_rpc_failure(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]    --> src/chains.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub struct ChainManager {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 327 |     pub config: Config,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `a_token`, `debt_token`, and `debt_balance` are never read
[INFO] [stdout]   --> src/protocols/aave.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct UserAssetPosition {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub a_token: Address,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 60 |     pub debt_token: Address,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub debt_balance: U256,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserAssetPosition` 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 `decimals`, `a_token`, and `debt_token` are never read
[INFO] [stdout]   --> src/protocols/aave.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct AssetConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 82 |     pub decimals: u8,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 83 |     pub liquidation_bonus: u64,
[INFO] [stdout] 84 |     pub a_token: Address,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 85 |     pub debt_token: Address,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AssetConfig` 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: field `liquidation_factor` is never read
[INFO] [stdout]   --> src/protocols/compound.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct CollateralAsset {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub liquidation_factor: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CollateralAsset` 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 `user`, `comet`, `borrow_balance`, and `is_liquidatable` are never read
[INFO] [stdout]   --> src/protocols/compound.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct CompoundPosition {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 71 |     pub user: Address,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 72 |     pub comet: Address,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 73 |     pub base_token: String,
[INFO] [stdout] 74 |     pub borrow_balance: U256,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub is_liquidatable: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CompoundPosition` 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: function `discover_compound_borrowers` is never used
[INFO] [stdout]    --> src/protocols/compound.rs:326:14
[INFO] [stdout]     |
[INFO] [stdout] 326 | pub async fn discover_compound_borrowers(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `underlying` and `symbol` are never read
[INFO] [stdout]   --> src/protocols/venus.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct VenusMarket {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 47 |     pub v_token: Address,
[INFO] [stdout] 48 |     pub underlying: Address,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 49 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VenusMarket` 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: field `user` is never read
[INFO] [stdout]   --> src/protocols/venus.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct VenusPosition {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 57 |     pub user: Address,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VenusPosition` 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: function `discover_venus_borrowers` is never used
[INFO] [stdout]    --> src/protocols/venus.rs:389:14
[INFO] [stdout]     |
[INFO] [stdout] 389 | pub async fn discover_venus_borrowers(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `min_profit_usd` is never read
[INFO] [stdout]   --> src/executor.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 92 |     pub dry_run: bool,
[INFO] [stdout] 93 |     pub min_profit_usd: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_debt_to_cover` is never used
[INFO] [stdout]    --> src/executor.rs:415:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl Executor {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub fn calculate_debt_to_cover(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TxTemplate` is never constructed
[INFO] [stdout]    --> src/executor.rs:457:12
[INFO] [stdout]     |
[INFO] [stdout] 457 | pub struct TxTemplate {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_request` are never used
[INFO] [stdout]    --> src/executor.rs:465:12
[INFO] [stdout]     |
[INFO] [stdout] 464 | impl TxTemplate {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 465 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 481 |     pub fn to_request(&self, nonce: u64, gas_price: U256, chain_id: u64) -> TransactionRequest {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/types.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct PriceData {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 57 |     pub price_usd: f64,
[INFO] [stdout] 58 |     pub timestamp: Instant,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceData` 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: method `is_stale` is never used
[INFO] [stdout]   --> src/types.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl PriceData {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn is_stale(&self, max_age_ms: u64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProfitSimulation` is never constructed
[INFO] [stdout]   --> src/types.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct ProfitSimulation {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `calculate` is never used
[INFO] [stdout]   --> src/types.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl ProfitSimulation {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 87 |     pub fn calculate(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `chain` and `protocol` are never read
[INFO] [stdout]    --> src/types.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct ExecutionLock {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 197 |     pub timestamp: Instant,
[INFO] [stdout] 198 |     pub chain: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 199 |     pub protocol: Protocol,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ExecutionLock` 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 `token`, `timestamp`, and `provider_index` are never read
[INFO] [stdout]   --> src/oracle.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct PriceUpdate {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 89 |     pub chain: String,
[INFO] [stdout] 90 |     pub token: Address,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 91 |     pub price: f64,
[INFO] [stdout] 92 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 93 |     pub provider_index: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PriceUpdate` 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: method `health_status` is never used
[INFO] [stdout]    --> src/oracle.rs:535:12
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl OracleManager {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 535 |     pub fn health_status(&self) -> serde_json::Value {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `discover_all_borrowers` is never used
[INFO] [stdout]    --> src/borrowers.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub async fn discover_all_borrowers(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/swap.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct SwapQuote {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 81 |     pub token_in: Address,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 82 |     pub token_out: Address,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 83 |     pub amount_in: U256,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 84 |     pub amount_out: U256,
[INFO] [stdout] 85 |     pub fee: u32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 86 |     pub price_impact: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub calldata: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 91 |     /// Target contract for execution
[INFO] [stdout] 92 |     pub to: Option<Address>,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SwapQuote` 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: field `protocols` is never read
[INFO] [stdout]    --> src/swap.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | struct OneInchQuoteResponse {
[INFO] [stdout]     |        -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 101 |     protocols: Vec<serde_json::Value>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OneInchQuoteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OneInchSwapResponse` is never constructed
[INFO] [stdout]    --> src/swap.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct OneInchSwapResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OneInchTx` is never constructed
[INFO] [stdout]    --> src/swap.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | struct OneInchTx {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `gas_cost_usd` is never read
[INFO] [stdout]    --> src/swap.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct ParaswapPriceRoute {
[INFO] [stdout]     |        ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     gas_cost_usd: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParaswapPriceRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_best_quote_parallel` is never used
[INFO] [stdout]    --> src/swap.rs:207:18
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl MultiDexQuoter {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub async fn get_best_quote_parallel(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `quote_swap` is never used
[INFO] [stdout]    --> src/swap.rs:497:14
[INFO] [stdout]     |
[INFO] [stdout] 497 | pub async fn quote_swap(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_liquidation_swap_best` is never used
[INFO] [stdout]    --> src/swap.rs:554:14
[INFO] [stdout]     |
[INFO] [stdout] 554 | pub async fn validate_liquidation_swap_best(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.63s
[INFO] running `Command { std: "docker" "inspect" "78a2e55e7ef3b7ee57e1b0d892348830247260a5c10759c75b892154dacefa46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78a2e55e7ef3b7ee57e1b0d892348830247260a5c10759c75b892154dacefa46", kill_on_drop: false }`
[INFO] [stdout] 78a2e55e7ef3b7ee57e1b0d892348830247260a5c10759c75b892154dacefa46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 85b77aa1615ad989ab7385e883d6cca1d199f728700d7fc3f82a00a8304c241d
[INFO] running `Command { std: "docker" "start" "-a" "85b77aa1615ad989ab7385e883d6cca1d199f728700d7fc3f82a00a8304c241d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `serde::Deserialize`
[INFO] [stderr]  --> src/config.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde::Deserialize;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Bytes`
[INFO] [stderr]  --> src/protocols/aave.rs:5:36
[INFO] [stderr]   |
[INFO] [stderr] 5 | use ethers::types::{Address, U256, Bytes};
[INFO] [stderr]   |                                    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]   --> src/protocols/compound.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::collections::HashMap;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]   --> src/protocols/venus.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::collections::HashMap;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]   --> src/protocols/venus.rs:11:28
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tracing::{debug, info, warn};
[INFO] [stderr]    |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing::info`
[INFO] [stderr]   --> src/health.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use tracing::info;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `U256`
[INFO] [stderr]  --> src/types.rs:3:30
[INFO] [stderr]   |
[INFO] [stderr] 3 | use ethers::types::{Address, U256};
[INFO] [stderr]   |                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Serialize`
[INFO] [stderr]   --> src/swap.rs:15:26
[INFO] [stderr]    |
[INFO] [stderr] 15 | use serde::{Deserialize, Serialize};
[INFO] [stderr]    |                          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stderr]    --> src/protocols/aave.rs:258:13
[INFO] [stderr]     |
[INFO] [stderr] 258 |             constant: None,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stderr]    --> src/protocols/compound.rs:242:13
[INFO] [stderr]     |
[INFO] [stderr] 242 |             constant: None,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated field `ethers::abi::Function::constant`: The constant attribute was removed in Solidity 0.5.0 and has been replaced with stateMutability.
[INFO] [stderr]    --> src/protocols/venus.rs:276:13
[INFO] [stderr]     |
[INFO] [stderr] 276 |             constant: None,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Middleware`
[INFO] [stderr]  --> src/protocols/aave.rs:4:41
[INFO] [stderr]   |
[INFO] [stderr] 4 | use ethers::providers::{Provider, Http, Middleware};
[INFO] [stderr]   |                                         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `liquidity`
[INFO] [stderr]    --> src/protocols/venus.rs:144:21
[INFO] [stderr]     |
[INFO] [stderr] 144 |         let (error, liquidity, shortfall) = comptroller.get_account_liquidity(user).call().await?;
[INFO] [stderr]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liquidity`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ParseError` is never constructed
[INFO] [stderr]   --> src/config.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum ConfigError {
[INFO] [stderr]    |          ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 16 |     ParseError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `gas_limit` is never read
[INFO] [stderr]   --> src/config.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct ChainConfig {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 28 |     pub gas_limit: u64,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ChainConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `price_cache_ms` and `owner_wallet` are never read
[INFO] [stderr]   --> src/config.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct Config {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 40 |     pub price_cache_ms: u64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 41 |     pub owner_wallet: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MULTICALL3` is never used
[INFO] [stderr]   --> src/chains.rs:24:11
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub const MULTICALL3: &str = "0xcA11bde05977b3631167028862bE2a173976CA11";
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `record_success`, `record_failure`, and `rotate_to_next_healthy` are never used
[INFO] [stderr]    --> src/chains.rs:162:12
[INFO] [stderr]     |
[INFO] [stderr] 103 | impl MultiRpcProvider {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 162 |     pub fn record_success(&self, latency_ms: u64) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 168 |     pub fn record_failure(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 179 |     fn rotate_to_next_healthy(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_provider`, `sync_nonce`, `get_price`, `record_rpc_success`, and `record_rpc_failure` are never used
[INFO] [stderr]    --> src/chains.rs:277:12
[INFO] [stderr]     |
[INFO] [stderr] 238 | impl ChainState {
[INFO] [stderr]     | --------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 277 |     pub fn get_provider(&self) -> &Provider<Http> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 290 |     pub async fn sync_nonce(&self) -> anyhow::Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 300 |     pub fn get_price(&self, token: &Address, max_age_ms: u64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 315 |     pub fn record_rpc_success(&self, latency_ms: u64) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 320 |     pub fn record_rpc_failure(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `config` is never read
[INFO] [stderr]    --> src/chains.rs:327:9
[INFO] [stderr]     |
[INFO] [stderr] 326 | pub struct ChainManager {
[INFO] [stderr]     |            ------------ field in this struct
[INFO] [stderr] 327 |     pub config: Config,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `a_token`, `debt_token`, and `debt_balance` are never read
[INFO] [stderr]   --> src/protocols/aave.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub struct UserAssetPosition {
[INFO] [stderr]    |            ----------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 59 |     pub a_token: Address,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 60 |     pub debt_token: Address,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub debt_balance: U256,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UserAssetPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `decimals`, `a_token`, and `debt_token` are never read
[INFO] [stderr]   --> src/protocols/aave.rs:82:9
[INFO] [stderr]    |
[INFO] [stderr] 81 | pub struct AssetConfig {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 82 |     pub decimals: u8,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 83 |     pub liquidation_bonus: u64,
[INFO] [stderr] 84 |     pub a_token: Address,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 85 |     pub debt_token: Address,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AssetConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `liquidation_factor` is never read
[INFO] [stderr]   --> src/protocols/compound.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub struct CollateralAsset {
[INFO] [stderr]    |            --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub liquidation_factor: u64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CollateralAsset` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `user`, `comet`, `borrow_balance`, and `is_liquidatable` are never read
[INFO] [stderr]   --> src/protocols/compound.rs:71:9
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct CompoundPosition {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] 71 |     pub user: Address,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 72 |     pub comet: Address,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 73 |     pub base_token: String,
[INFO] [stderr] 74 |     pub borrow_balance: U256,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     pub is_liquidatable: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CompoundPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `discover_compound_borrowers` is never used
[INFO] [stderr]    --> src/protocols/compound.rs:326:14
[INFO] [stderr]     |
[INFO] [stderr] 326 | pub async fn discover_compound_borrowers(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `underlying` and `symbol` are never read
[INFO] [stderr]   --> src/protocols/venus.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub struct VenusMarket {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 47 |     pub v_token: Address,
[INFO] [stderr] 48 |     pub underlying: Address,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 49 |     pub symbol: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `VenusMarket` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `user` is never read
[INFO] [stderr]   --> src/protocols/venus.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct VenusPosition {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] 57 |     pub user: Address,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `VenusPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `discover_venus_borrowers` is never used
[INFO] [stderr]    --> src/protocols/venus.rs:389:14
[INFO] [stderr]     |
[INFO] [stderr] 389 | pub async fn discover_venus_borrowers(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `min_profit_usd` is never read
[INFO] [stderr]   --> src/executor.rs:93:9
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub struct Executor {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 92 |     pub dry_run: bool,
[INFO] [stderr] 93 |     pub min_profit_usd: f64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `calculate_debt_to_cover` is never used
[INFO] [stderr]    --> src/executor.rs:415:12
[INFO] [stderr]     |
[INFO] [stderr]  98 | impl Executor {
[INFO] [stderr]     | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 415 |     pub fn calculate_debt_to_cover(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TxTemplate` is never constructed
[INFO] [stderr]    --> src/executor.rs:457:12
[INFO] [stderr]     |
[INFO] [stderr] 457 | pub struct TxTemplate {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `to_request` are never used
[INFO] [stderr]    --> src/executor.rs:465:12
[INFO] [stderr]     |
[INFO] [stderr] 464 | impl TxTemplate {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] 465 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 481 |     pub fn to_request(&self, nonce: u64, gas_price: U256, chain_id: u64) -> TransactionRequest {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `timestamp` is never read
[INFO] [stderr]   --> src/types.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct PriceData {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 57 |     pub price_usd: f64,
[INFO] [stderr] 58 |     pub timestamp: Instant,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PriceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_stale` is never used
[INFO] [stderr]   --> src/types.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 61 | impl PriceData {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub fn is_stale(&self, max_age_ms: u64) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ProfitSimulation` is never constructed
[INFO] [stderr]   --> src/types.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub struct ProfitSimulation {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `calculate` is never used
[INFO] [stderr]   --> src/types.rs:87:12
[INFO] [stderr]    |
[INFO] [stderr] 86 | impl ProfitSimulation {
[INFO] [stderr]    | --------------------- associated function in this implementation
[INFO] [stderr] 87 |     pub fn calculate(
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `chain` and `protocol` are never read
[INFO] [stderr]    --> src/types.rs:198:9
[INFO] [stderr]     |
[INFO] [stderr] 196 | pub struct ExecutionLock {
[INFO] [stderr]     |            ------------- fields in this struct
[INFO] [stderr] 197 |     pub timestamp: Instant,
[INFO] [stderr] 198 |     pub chain: String,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 199 |     pub protocol: Protocol,
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ExecutionLock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `token`, `timestamp`, and `provider_index` are never read
[INFO] [stderr]   --> src/oracle.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub struct PriceUpdate {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 89 |     pub chain: String,
[INFO] [stderr] 90 |     pub token: Address,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 91 |     pub price: f64,
[INFO] [stderr] 92 |     pub timestamp: u64,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 93 |     pub provider_index: usize,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PriceUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `health_status` is never used
[INFO] [stderr]    --> src/oracle.rs:535:12
[INFO] [stderr]     |
[INFO] [stderr] 172 | impl OracleManager {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 535 |     pub fn health_status(&self) -> serde_json::Value {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `discover_all_borrowers` is never used
[INFO] [stderr]    --> src/borrowers.rs:191:14
[INFO] [stderr]     |
[INFO] [stderr] 191 | pub async fn discover_all_borrowers(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/swap.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub struct SwapQuote {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] 81 |     pub token_in: Address,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 82 |     pub token_out: Address,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 83 |     pub amount_in: U256,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 84 |     pub amount_out: U256,
[INFO] [stderr] 85 |     pub fee: u32,
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 86 |     pub price_impact: f64,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 90 |     pub calldata: Option<Vec<u8>>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 91 |     /// Target contract for execution
[INFO] [stderr] 92 |     pub to: Option<Address>,
[INFO] [stderr]    |         ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SwapQuote` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `protocols` is never read
[INFO] [stderr]    --> src/swap.rs:101:5
[INFO] [stderr]     |
[INFO] [stderr]  97 | struct OneInchQuoteResponse {
[INFO] [stderr]     |        -------------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 101 |     protocols: Vec<serde_json::Value>,
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `OneInchQuoteResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OneInchSwapResponse` is never constructed
[INFO] [stderr]    --> src/swap.rs:105:8
[INFO] [stderr]     |
[INFO] [stderr] 105 | struct OneInchSwapResponse {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OneInchTx` is never constructed
[INFO] [stderr]    --> src/swap.rs:112:8
[INFO] [stderr]     |
[INFO] [stderr] 112 | struct OneInchTx {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `gas_cost_usd` is never read
[INFO] [stderr]    --> src/swap.rs:130:5
[INFO] [stderr]     |
[INFO] [stderr] 126 | struct ParaswapPriceRoute {
[INFO] [stderr]     |        ------------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 130 |     gas_cost_usd: Option<String>,
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ParaswapPriceRoute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_best_quote_parallel` is never used
[INFO] [stderr]    --> src/swap.rs:207:18
[INFO] [stderr]     |
[INFO] [stderr] 140 | impl MultiDexQuoter {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 207 |     pub async fn get_best_quote_parallel(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `quote_swap` is never used
[INFO] [stderr]    --> src/swap.rs:497:14
[INFO] [stderr]     |
[INFO] [stderr] 497 | pub async fn quote_swap(
[INFO] [stderr]     |              ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate_liquidation_swap_best` is never used
[INFO] [stderr]    --> src/swap.rs:554:14
[INFO] [stderr]     |
[INFO] [stderr] 554 | pub async fn validate_liquidation_swap_best(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `liquidator` (bin "liquidator" test) generated 48 warnings (run `cargo fix --bin "liquidator" -p liquidator --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/liquidator-cee8276eb834efe6)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "85b77aa1615ad989ab7385e883d6cca1d199f728700d7fc3f82a00a8304c241d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85b77aa1615ad989ab7385e883d6cca1d199f728700d7fc3f82a00a8304c241d", kill_on_drop: false }`
[INFO] [stdout] 85b77aa1615ad989ab7385e883d6cca1d199f728700d7fc3f82a00a8304c241d
