[INFO] fetching crate uniswap-sdk 0.6.5... [INFO] checking uniswap-sdk-0.6.5 against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565 [INFO] extracting crate uniswap-sdk 0.6.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate uniswap-sdk 0.6.5 [INFO] finished tweaking crates.io crate uniswap-sdk 0.6.5 [INFO] tweaked toml for crates.io crate uniswap-sdk 0.6.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate uniswap-sdk 0.6.5 on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uniswap-sdk 0.6.5 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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b348fbdd8e4f2c4563d1cae777e5f1dc54d46469f3ad7af9ab9980eebd6c38ec [INFO] running `Command { std: "docker" "start" "-a" "b348fbdd8e4f2c4563d1cae777e5f1dc54d46469f3ad7af9ab9980eebd6c38ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b348fbdd8e4f2c4563d1cae777e5f1dc54d46469f3ad7af9ab9980eebd6c38ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b348fbdd8e4f2c4563d1cae777e5f1dc54d46469f3ad7af9ab9980eebd6c38ec", kill_on_drop: false }` [INFO] [stdout] b348fbdd8e4f2c4563d1cae777e5f1dc54d46469f3ad7af9ab9980eebd6c38ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30dddef91e53a7d7a54a7d37af3a2deb0e9b44f4ffb04b3f1605330c4f6ccee3 [INFO] running `Command { std: "docker" "start" "-a" "30dddef91e53a7d7a54a7d37af3a2deb0e9b44f4ffb04b3f1605330c4f6ccee3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking const-hex v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking primitive-types v0.14.0 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking js-sys v0.3.81 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking evm-client v0.1.5 [INFO] [stderr] Checking evm-sdk v0.5.0 [INFO] [stderr] Checking uniswap-sdk v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analyze.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | let overall_score = (liquidity_metrics.score * 0.3 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 277 | + stability_metrics.score * 0.2); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 274 ~ let overall_score = liquidity_metrics.score * 0.3 [INFO] [stdout] 275 | + volume_metrics.score * 0.3 [INFO] [stdout] 276 | + concentration_metrics.score * 0.2 [INFO] [stdout] 277 ~ + stability_metrics.score * 0.2 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analyze.rs:875:28 [INFO] [stdout] | [INFO] [stdout] 875 | let weighted_avg = (historical_volume * 0.3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 875 - let weighted_avg = (historical_volume * 0.3); [INFO] [stdout] 875 + let weighted_avg = historical_volume * 0.3 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analyze.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | let overall_score = (liquidity_metrics.score * 0.3 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 277 | + stability_metrics.score * 0.2); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 274 ~ let overall_score = liquidity_metrics.score * 0.3 [INFO] [stdout] 275 | + volume_metrics.score * 0.3 [INFO] [stdout] 276 | + concentration_metrics.score * 0.2 [INFO] [stdout] 277 ~ + stability_metrics.score * 0.2 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analyze.rs:875:28 [INFO] [stdout] | [INFO] [stdout] 875 | let weighted_avg = (historical_volume * 0.3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 875 - let weighted_avg = (historical_volume * 0.3); [INFO] [stdout] 875 + let weighted_avg = historical_volume * 0.3 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/liquidity.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 142 | Ok(pools) [INFO] [stdout] | ^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/liquidity.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut pools = Vec::new(); [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: unreachable expression [INFO] [stdout] --> src/liquidity.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 208 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 209 | Ok(U256::from(1000000)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/price.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 166 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 167 | Ok((None, 18)) [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/liquidity.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 142 | Ok(pools) [INFO] [stdout] | ^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/liquidity.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut pools = Vec::new(); [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: unreachable expression [INFO] [stdout] --> src/liquidity.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 208 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 209 | Ok(U256::from(1000000)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/price.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 166 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 167 | Ok((None, 18)) [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/farm.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 287 | Ok(total_staked.as_u128() as f64 / 1e18) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/farm.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 338 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 339 | let farm_detail = self.get_farm_detail(farm_address).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 131 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 175 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 184 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 193 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 912 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 913 | Ok(balance) [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/farm.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 287 | Ok(total_staked.as_u128() as f64 / 1e18) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/farm.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 338 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 339 | let farm_detail = self.get_farm_detail(farm_address).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 131 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 175 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 184 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/oracle.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 193 | Ok(1.0) [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 912 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 913 | Ok(balance) [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/events.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = Self::poll_events( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_addresses` [INFO] [stdout] --> src/events.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | token_addresses: &[Address], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token0` [INFO] [stdout] --> src/events.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | token0: Address, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_token0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token1` [INFO] [stdout] --> src/events.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | token1: Address, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_token1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/price.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair_address` [INFO] [stdout] --> src/liquidity.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | pub async fn get_lp_token_supply(pair_address: Address) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pair_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/events.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = Self::poll_events( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_addresses` [INFO] [stdout] --> src/events.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | token_addresses: &[Address], [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_addresses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/liquidity.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/liquidity.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/liquidity.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pools` [INFO] [stdout] --> src/liquidity.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut pools = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token0` [INFO] [stdout] --> src/events.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | token0: Address, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_token0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token1` [INFO] [stdout] --> src/events.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | token1: Address, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_token1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/price.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair_address` [INFO] [stdout] --> src/liquidity.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | pub async fn get_lp_token_supply(pair_address: Address) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pair_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/price.rs:405:45 [INFO] [stdout] | [INFO] [stdout] 405 | async fn cal_recent_price_change(&self, token_address: Address, chain: crate::EvmType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/price.rs:405:69 [INFO] [stdout] | [INFO] [stdout] 405 | async fn cal_recent_price_change(&self, token_address: Address, chain: crate::EvmType) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/liquidity.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/liquidity.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | token_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/liquidity.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pools` [INFO] [stdout] --> src/liquidity.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut pools = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_address` [INFO] [stdout] --> src/price.rs:405:45 [INFO] [stdout] | [INFO] [stdout] 405 | async fn cal_recent_price_change(&self, token_address: Address, chain: crate::EvmType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/price.rs:405:69 [INFO] [stdout] | [INFO] [stdout] 405 | async fn cal_recent_price_change(&self, token_address: Address, chain: crate::EvmType) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sell_pool` [INFO] [stdout] --> src/analyze.rs:664:28 [INFO] [stdout] | [INFO] [stdout] 664 | let (buy_pool, sell_pool) = if self.get_token_price_from_pool(pool1, token).await? [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sell_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sell_pool` [INFO] [stdout] --> src/analyze.rs:664:28 [INFO] [stdout] | [INFO] [stdout] 664 | let (buy_pool, sell_pool) = if self.get_token_price_from_pool(pool1, token).await? [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sell_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stability` [INFO] [stdout] --> src/analyze.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | stability: &StabilityMetrics, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/farm.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | chain: EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewards_duration` [INFO] [stdout] --> src/farm.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | rewards_duration: U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewards_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp_token` [INFO] [stdout] --> src/farm.rs:285:35 [INFO] [stdout] | [INFO] [stdout] 285 | async fn calculate_tvl(&self, lp_token: Address, total_staked: U256) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lp_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_staked` [INFO] [stdout] --> src/farm.rs:285:54 [INFO] [stdout] | [INFO] [stdout] 285 | async fn calculate_tvl(&self, lp_token: Address, total_staked: U256) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_staked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_address` [INFO] [stdout] --> src/analyze.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | user_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stability` [INFO] [stdout] --> src/analyze.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | stability: &StabilityMetrics, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/farm.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | chain: EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `farm_address` [INFO] [stdout] --> src/farm.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | farm_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_farm_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> src/farm.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | days: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `farm_detail` [INFO] [stdout] --> src/farm.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let farm_detail = self.get_farm_detail(farm_address).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_farm_detail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/farm.rs:339:27 [INFO] [stdout] | [INFO] [stdout] 339 | let farm_detail = self.get_farm_detail(farm_address).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/farm.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | let mut history = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/farm.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let now = chrono::Utc::now().timestamp() as u64; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/farm.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | for i in 0..days { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/farm.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let timestamp = now - (i * 24 * 3600); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_address` [INFO] [stdout] --> src/oracle.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pool_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_address` [INFO] [stdout] --> src/risk.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | pool_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swap` [INFO] [stdout] --> src/risk.rs:254:37 [INFO] [stdout] | [INFO] [stdout] 254 | async fn analyze_mempool(&self, swap: &PendingSwap) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swap` [INFO] [stdout] --> src/risk.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | async fn calculate_price_impact(&self, swap: &PendingSwap) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_address` [INFO] [stdout] --> src/risk.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | async fn get_pool_liquidity(&self, pool_address: Address) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewards_duration` [INFO] [stdout] --> src/farm.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | rewards_duration: U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewards_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp_token` [INFO] [stdout] --> src/farm.rs:285:35 [INFO] [stdout] | [INFO] [stdout] 285 | async fn calculate_tvl(&self, lp_token: Address, total_staked: U256) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lp_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_staked` [INFO] [stdout] --> src/farm.rs:285:54 [INFO] [stdout] | [INFO] [stdout] 285 | async fn calculate_tvl(&self, lp_token: Address, total_staked: U256) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_staked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_address` [INFO] [stdout] --> src/analyze.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | user_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/router.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/router.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/router.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `farm_address` [INFO] [stdout] --> src/farm.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | farm_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_farm_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> src/farm.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | days: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `farm_detail` [INFO] [stdout] --> src/farm.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let farm_detail = self.get_farm_detail(farm_address).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_farm_detail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/farm.rs:339:27 [INFO] [stdout] | [INFO] [stdout] 339 | let farm_detail = self.get_farm_detail(farm_address).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/farm.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | let mut history = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/farm.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let now = chrono::Utc::now().timestamp() as u64; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/farm.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | for i in 0..days { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/farm.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let timestamp = now - (i * 24 * 3600); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_address` [INFO] [stdout] --> src/oracle.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pool_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/oracle.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | token: Address, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/oracle.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_address` [INFO] [stdout] --> src/risk.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | pool_address: Address, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swap` [INFO] [stdout] --> src/risk.rs:254:37 [INFO] [stdout] | [INFO] [stdout] 254 | async fn analyze_mempool(&self, swap: &PendingSwap) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `swap` [INFO] [stdout] --> src/risk.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | async fn calculate_price_impact(&self, swap: &PendingSwap) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_swap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_address` [INFO] [stdout] --> src/risk.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | async fn get_pool_liquidity(&self, pool_address: Address) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/lib.rs:907:9 [INFO] [stdout] | [INFO] [stdout] 907 | account: Address, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `currency` [INFO] [stdout] --> src/lib.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | currency: Address, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_manager` [INFO] [stdout] --> src/lib.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | let pool_manager = self.pool_manager(manager_address); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/lib.rs:911:13 [INFO] [stdout] | [INFO] [stdout] 911 | let balance = U256::zero(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/router.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/router.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/router.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | chain: crate::EvmType, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/lib.rs:907:9 [INFO] [stdout] | [INFO] [stdout] 907 | account: Address, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `currency` [INFO] [stdout] --> src/lib.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | currency: Address, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_manager` [INFO] [stdout] --> src/lib.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | let pool_manager = self.pool_manager(manager_address); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/lib.rs:911:13 [INFO] [stdout] | [INFO] [stdout] 911 | let balance = U256::zero(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_swap_events_in_range` is never used [INFO] [stdout] --> src/events.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 548 | impl UniswapEventManager { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 565 | async fn get_swap_events_in_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price` is never read [INFO] [stdout] --> src/liquidity.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LiquidityPool { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | price: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pair_liquidity_details` is never used [INFO] [stdout] --> src/liquidity.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl LiquidityPool { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get_pair_liquidity_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `evm` is never read [INFO] [stdout] --> src/liquidity.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct LiquidityPoolFinder { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 79 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_manager` is never read [INFO] [stdout] --> src/price.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Price { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | event_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_liquidity` and `liquidity_depth` are never read [INFO] [stdout] --> src/analyze.rs:917:5 [INFO] [stdout] | [INFO] [stdout] 915 | struct LiquidityMetrics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 916 | score: f64, [INFO] [stdout] 917 | total_liquidity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 918 | liquidity_depth: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidityMetrics` 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 `volume_24h` and `volume_trend` are never read [INFO] [stdout] --> src/analyze.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 922 | struct VolumeMetrics { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 923 | score: f64, [INFO] [stdout] 924 | volume_24h: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 925 | volume_trend: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VolumeMetrics` 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 `reserve_ratio` is never read [INFO] [stdout] --> src/analyze.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 929 | struct ConcentrationMetrics { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 930 | score: f64, [INFO] [stdout] 931 | reserve_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcentrationMetrics` 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 `price_volatility` and `max_drawdown` are never read [INFO] [stdout] --> src/analyze.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 936 | struct StabilityMetrics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 937 | score: f64, [INFO] [stdout] 938 | price_volatility: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 939 | max_drawdown: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StabilityMetrics` 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 `evm` and `uniswap_versions` are never read [INFO] [stdout] --> src/oracle.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PriceOracleAggregator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 35 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | uniswap_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `evm` is never read [INFO] [stdout] --> src/risk.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Risk { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 38 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending_swaps_count` and `average_gas_price` are never read [INFO] [stdout] --> src/risk.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 278 | struct MempoolAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 279 | suspicious_activity: bool, [INFO] [stdout] 280 | pending_swaps_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | average_gas_price: U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MempoolAnalysis` 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 `evm` is never read [INFO] [stdout] --> src/router.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct SmartRouter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 102 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_swap_events_in_range` is never used [INFO] [stdout] --> src/events.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 548 | impl UniswapEventManager { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 565 | async fn get_swap_events_in_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price` is never read [INFO] [stdout] --> src/liquidity.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LiquidityPool { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | price: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pair_liquidity_details` is never used [INFO] [stdout] --> src/liquidity.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl LiquidityPool { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | async fn get_pair_liquidity_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `evm` is never read [INFO] [stdout] --> src/liquidity.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct LiquidityPoolFinder { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 79 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_manager` is never read [INFO] [stdout] --> src/price.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Price { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | event_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_liquidity` and `liquidity_depth` are never read [INFO] [stdout] --> src/analyze.rs:917:5 [INFO] [stdout] | [INFO] [stdout] 915 | struct LiquidityMetrics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 916 | score: f64, [INFO] [stdout] 917 | total_liquidity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 918 | liquidity_depth: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidityMetrics` 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 `volume_24h` and `volume_trend` are never read [INFO] [stdout] --> src/analyze.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 922 | struct VolumeMetrics { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 923 | score: f64, [INFO] [stdout] 924 | volume_24h: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 925 | volume_trend: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VolumeMetrics` 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 `reserve_ratio` is never read [INFO] [stdout] --> src/analyze.rs:931:5 [INFO] [stdout] | [INFO] [stdout] 929 | struct ConcentrationMetrics { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 930 | score: f64, [INFO] [stdout] 931 | reserve_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcentrationMetrics` 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 `price_volatility` and `max_drawdown` are never read [INFO] [stdout] --> src/analyze.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 936 | struct StabilityMetrics { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 937 | score: f64, [INFO] [stdout] 938 | price_volatility: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 939 | max_drawdown: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StabilityMetrics` 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 `evm` and `uniswap_versions` are never read [INFO] [stdout] --> src/oracle.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PriceOracleAggregator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 35 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | uniswap_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `evm` is never read [INFO] [stdout] --> src/risk.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Risk { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 38 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pending_swaps_count` and `average_gas_price` are never read [INFO] [stdout] --> src/risk.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 278 | struct MempoolAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 279 | suspicious_activity: bool, [INFO] [stdout] 280 | pending_swaps_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | average_gas_price: U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MempoolAnalysis` 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 `evm` is never read [INFO] [stdout] --> src/router.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct SmartRouter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 102 | evm: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "30dddef91e53a7d7a54a7d37af3a2deb0e9b44f4ffb04b3f1605330c4f6ccee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30dddef91e53a7d7a54a7d37af3a2deb0e9b44f4ffb04b3f1605330c4f6ccee3", kill_on_drop: false }` [INFO] [stdout] 30dddef91e53a7d7a54a7d37af3a2deb0e9b44f4ffb04b3f1605330c4f6ccee3