[INFO] cloning repository https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechleadevelopers%2Findustrial-flashbots-arbitrage-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechleadevelopers%2Findustrial-flashbots-arbitrage-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 74475bab8a7f120c0d27e7afd76ef90f3e091173
[INFO] checking techleadevelopers/industrial-flashbots-arbitrage-rs against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechleadevelopers%2Findustrial-flashbots-arbitrage-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs
[INFO] finished tweaking git repo https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs
[INFO] tweaked toml for git repo https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/techleadevelopers/industrial-flashbots-arbitrage-rs 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded ena v0.14.4
[INFO] [stderr] Downloaded ethers-flashbots v0.15.0
[INFO] [stderr] Downloaded const-hex v1.18.1
[INFO] [stderr] Downloaded keccak v0.1.6
[INFO] [stderr] Downloaded ws_stream_wasm v0.7.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b260bdb82703399bc9a25b34214591f064e3f0b46545793dc74339187b8692d5
[INFO] running `Command { std: "docker" "start" "-a" "b260bdb82703399bc9a25b34214591f064e3f0b46545793dc74339187b8692d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b260bdb82703399bc9a25b34214591f064e3f0b46545793dc74339187b8692d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b260bdb82703399bc9a25b34214591f064e3f0b46545793dc74339187b8692d5", kill_on_drop: false }`
[INFO] [stdout] b260bdb82703399bc9a25b34214591f064e3f0b46545793dc74339187b8692d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3980848b9e89dabc9ba7e8a6e027ef7a011b6ec0e28ae0215ec78ea3ed8462bc
[INFO] running `Command { std: "docker" "start" "-a" "3980848b9e89dabc9ba7e8a6e027ef7a011b6ec0e28ae0215ec78ea3ed8462bc", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.106
[INFO] [stderr] Compiling quote v1.0.45
[INFO] [stderr] Compiling indexmap v2.13.1
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling crunchy v0.2.4
[INFO] [stderr] Checking generic-array v0.14.7
[INFO] [stderr] Checking getrandom v0.2.17
[INFO] [stderr] Compiling parity-scale-codec v3.7.5
[INFO] [stderr] Checking zerocopy v0.8.48
[INFO] [stderr] Compiling libc v0.2.184
[INFO] [stderr] Compiling zeroize v1.8.2
[INFO] [stderr] Checking parking_lot_core v0.9.12
[INFO] [stderr] Checking errno v0.3.14
[INFO] [stderr] Checking der v0.7.10
[INFO] [stderr] Compiling serde_json v1.0.149
[INFO] [stderr] Checking byte-slice-cast v1.2.3
[INFO] [stderr] Compiling camino v1.2.2
[INFO] [stderr] Checking signal-hook-registry v1.4.8
[INFO] [stderr] Compiling openssl-sys v0.9.112
[INFO] [stderr] Checking rand_core v0.6.4
[INFO] [stderr] Checking keccak v0.1.6
[INFO] [stderr] Checking futures-task v0.3.32
[INFO] [stderr] Checking ff v0.13.1
[INFO] [stderr] Checking parking_lot v0.12.5
[INFO] [stderr] Compiling wasm-bindgen-shared v0.2.117
[INFO] [stderr] Checking ring v0.17.14
[INFO] [stderr] Checking crypto-common v0.1.7
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Checking group v0.13.0
[INFO] [stderr] Checking crypto-bigint v0.5.5
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking uint v0.9.5
[INFO] [stderr] Checking tiny-keccak v2.0.2
[INFO] [stderr] Checking spki v0.7.3
[INFO] [stderr] Checking sec1 v0.7.3
[INFO] [stderr] Compiling openssl v0.10.76
[INFO] [stderr] Checking hmac v0.12.1
[INFO] [stderr] Checking sha2 v0.10.9
[INFO] [stderr] Checking sha3 v0.10.8
[INFO] [stderr] Compiling syn v2.0.117
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking pkcs8 v0.10.2
[INFO] [stderr] Compiling const_format_proc_macros v0.2.34
[INFO] [stderr] Checking rfc6979 v0.4.0
[INFO] [stderr] Checking signature v2.2.0
[INFO] [stderr] Compiling toml_edit v0.25.10+spec-1.1.0
[INFO] [stderr] Compiling rustls v0.21.12
[INFO] [stderr] Compiling native-tls v0.2.18
[INFO] [stderr] Compiling aho-corasick v1.1.4
[INFO] [stderr] Checking sct v0.7.1
[INFO] [stderr] Checking rustls-webpki v0.101.7
[INFO] [stderr] Checking elliptic-curve v0.13.8
[INFO] [stderr] Checking getrandom v0.4.2
[INFO] [stderr] Checking semver v1.0.27
[INFO] [stderr] Compiling regex-syntax v0.8.10
[INFO] [stderr] Compiling bumpalo v3.20.2
[INFO] [stderr] Checking tempfile v3.27.0
[INFO] [stderr] Checking const_format v0.2.35
[INFO] [stderr] Checking ecdsa v0.16.9
[INFO] [stderr] Compiling proc-macro-crate v3.5.0
[INFO] [stderr] Checking inout v0.1.4
[INFO] [stderr] Checking const-hex v1.18.1
[INFO] [stderr] Checking socket2 v0.5.10
[INFO] [stderr] Compiling wasm-bindgen v0.2.117
[INFO] [stderr] Checking k256 v0.13.4
[INFO] [stderr] Compiling prettyplease v0.2.37
[INFO] [stderr] Checking cipher v0.4.4
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling linux-raw-sys v0.12.1
[INFO] [stderr] Compiling bitflags v2.11.0
[INFO] [stderr] Compiling ring v0.16.20
[INFO] [stderr] Compiling toml_write v0.1.2
[INFO] [stderr] Compiling rustix v1.1.4
[INFO] [stderr] Checking bs58 v0.5.1
[INFO] [stderr] Checking ripemd v0.1.3
[INFO] [stderr] Checking sha1 v0.10.6
[INFO] [stderr] Checking data-encoding v2.10.0
[INFO] [stderr] Compiling indenter v0.3.4
[INFO] [stderr] Compiling chrono v0.4.44
[INFO] [stderr] Compiling eyre v0.6.12
[INFO] [stderr] Checking salsa20 v0.10.2
[INFO] [stderr] Compiling rlp-derive v0.1.0
[INFO] [stderr] Checking pbkdf2 v0.11.0
[INFO] [stderr] Checking scrypt v0.10.0
[INFO] [stderr] Checking Inflector v0.11.4
[INFO] [stderr] Checking aes v0.8.4
[INFO] [stderr] Checking ctr v0.9.2
[INFO] [stderr] Checking pbkdf2 v0.12.2
[INFO] [stderr] Compiling regex-automata v0.4.14
[INFO] [stderr] Checking instant v0.1.13
[INFO] [stderr] Checking futures-locks v0.7.1
[INFO] [stderr] Compiling libsqlite3-sys v0.30.1
[INFO] [stderr] Checking uuid v1.23.0
[INFO] [stderr] Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr] Checking fallible-iterator v0.3.0
[INFO] [stderr] Checking tracing-subscriber v0.3.23
[INFO] [stderr] Checking ppv-lite86 v0.2.21
[INFO] [stderr] Checking ahash v0.8.12
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Checking hashlink v0.9.1
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.117
[INFO] [stderr] Checking fixed-hash v0.8.0
[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.7
[INFO] [stderr] Compiling yoke-derive v0.8.2
[INFO] [stderr] Compiling tokio-macros v2.7.0
[INFO] [stderr] Compiling zerovec-derive v0.11.3
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling tracing-attributes v0.1.31
[INFO] [stderr] Compiling futures-macro v0.3.32
[INFO] [stderr] Compiling auto_impl v1.3.0
[INFO] [stderr] Compiling num_enum_derive v0.7.6
[INFO] [stderr] Compiling strum_macros v0.26.4
[INFO] [stderr] Checking zerofrom v0.1.7
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Checking tracing v0.1.44
[INFO] [stderr] Checking derive_more v1.0.0
[INFO] [stderr] Compiling regex v1.12.3
[INFO] [stderr] Compiling thiserror-impl v2.0.18
[INFO] [stderr] Compiling async-trait v0.1.89
[INFO] [stderr] Checking yoke v0.8.2
[INFO] [stderr] Compiling pin-project-internal v1.1.11
[INFO] [stderr] Checking thiserror v1.0.69
[INFO] [stderr] Checking futures-util v0.3.32
[INFO] [stderr] Compiling clap_derive v4.6.0
[INFO] [stderr] Checking zerovec v0.11.6
[INFO] [stderr] Checking zerotrie v0.2.4
[INFO] [stderr] Checking num_enum v0.7.6
[INFO] [stderr] Checking thiserror v2.0.18
[INFO] [stderr] Checking tinystr v0.8.3
[INFO] [stderr] Checking potential_utf v0.1.5
[INFO] [stderr] Checking simple_asn1 v0.6.4
[INFO] [stderr] Checking icu_collections v2.2.0
[INFO] [stderr] Checking strum v0.26.3
[INFO] [stderr] Checking icu_locale_core v2.2.0
[INFO] [stderr] Checking pin-project v1.1.11
[INFO] [stderr] Checking tracing-futures v0.2.5
[INFO] [stderr] Compiling wasm-bindgen-macro v0.2.117
[INFO] [stderr] Checking serde v1.0.228
[INFO] [stderr] Compiling bytes v1.11.1
[INFO] [stderr] Compiling impl-serde v0.4.0
[INFO] [stderr] Compiling serde_spanned v0.6.9
[INFO] [stderr] Compiling cargo-platform v0.1.9
[INFO] [stderr] Compiling toml_datetime v0.6.11
[INFO] [stderr] Compiling toml_edit v0.22.27
[INFO] [stderr] Compiling cargo_metadata v0.18.1
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking icu_provider v2.2.0
[INFO] [stderr] Checking coins-core v0.8.7
[INFO] [stderr] Checking uuid v0.8.2
[INFO] [stderr] Checking icu_properties v2.2.0
[INFO] [stderr] Checking icu_normalizer v2.2.0
[INFO] [stderr] Compiling open-fastrlp-derive v0.1.1
[INFO] [stderr] Compiling rlp v0.5.2
[INFO] [stderr] Compiling impl-codec v0.6.0
[INFO] [stderr] Compiling scale-info v2.11.6
[INFO] [stderr] Checking js-sys v0.3.94
[INFO] [stderr] Checking tokio v1.51.0
[INFO] [stderr] Checking http v0.2.12
[INFO] [stderr] Checking impl-rlp v0.3.0
[INFO] [stderr] Checking http v1.4.0
[INFO] [stderr] Checking enr v0.10.0
[INFO] [stderr] Checking coins-bip32 v0.8.7
[INFO] [stderr] Checking jsonwebtoken v8.3.0
[INFO] [stderr] Checking eth-keystore v0.5.0
[INFO] [stderr] Checking clap v4.6.0
[INFO] [stderr] Checking coins-bip39 v0.8.7
[INFO] [stderr] Compiling ethbloom v0.13.0
[INFO] [stderr] Compiling primitive-types v0.12.2
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking http-body v1.0.1
[INFO] [stderr] Checking http-body-util v0.1.3
[INFO] [stderr] Checking http-body v0.4.6
[INFO] [stderr] Checking url v2.5.8
[INFO] [stderr] Checking axum-core v0.4.5
[INFO] [stderr] Compiling toml v0.8.23
[INFO] [stderr] Checking tungstenite v0.20.1
[INFO] [stderr] Checking ethereum-types v0.14.1
[INFO] [stderr] Checking rusqlite v0.32.1
[INFO] [stderr] Checking ethabi v18.0.0
[INFO] [stderr] Checking open-fastrlp v0.1.4
[INFO] [stderr] Checking ethers-core v2.0.14
[INFO] [stderr] Checking tokio-util v0.7.18
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking tokio-rustls v0.24.1
[INFO] [stderr] Checking hyper v1.9.0
[INFO] [stderr] Checking tower v0.5.3
[INFO] [stderr] Checking tokio-tungstenite v0.20.1
[INFO] [stderr] Checking h2 v0.3.27
[INFO] [stderr] Checking hyper-util v0.1.20
[INFO] [stderr] Checking axum v0.7.9
[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 gloo-timers v0.2.6
[INFO] [stderr] Checking futures-timer v3.0.3
[INFO] [stderr] Checking hyper v0.14.32
[INFO] [stderr] Compiling ethers-contract-derive v2.0.14
[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] Checking ethers-contract v2.0.14
[INFO] [stderr] Checking ethers-middleware v2.0.14
[INFO] [stderr] Checking ethers v2.0.14
[INFO] [stderr] Checking ethers-flashbots v0.15.0
[INFO] [stderr] Checking mev-sweeper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `MempoolCompetitionForecast`, `MempoolIntel`, and `PendingSwapIntent`
[INFO] [stdout] --> src/mev/competition/mod.rs:5:25
[INFO] [stdout] |
[INFO] [stdout] 5 | pub use mempool_intel::{MempoolCompetitionForecast, MempoolIntel, PendingSwapIntent};
[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: `CompetitionPressure`
[INFO] [stdout] --> src/mev/competition/mod.rs:6:24
[INFO] [stdout] |
[INFO] [stdout] 6 | pub use pressure_map::{CompetitionPressure, PressureMap};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `CompetingSwapSignal`, `CompetitionModel`, and `MempoolTxFeature`
[INFO] [stdout] --> src/mev/competition/mod.rs:8:28
[INFO] [stdout] |
[INFO] [stdout] 8 | extract_block_signals, CompetingSwapSignal, CompetitionForecast, CompetitionIntelligence,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 | CompetitionModel, MempoolTxFeature, PoolActivity,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `MempoolCompetitionForecast`, `MempoolIntel`, and `PendingSwapIntent`
[INFO] [stdout] --> src/mev/competition/mod.rs:5:25
[INFO] [stdout] |
[INFO] [stdout] 5 | pub use mempool_intel::{MempoolCompetitionForecast, MempoolIntel, PendingSwapIntent};
[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: `CompetitionPressure`
[INFO] [stdout] --> src/mev/competition/mod.rs:6:24
[INFO] [stdout] |
[INFO] [stdout] 6 | pub use pressure_map::{CompetitionPressure, PressureMap};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `CompetingSwapSignal`, `CompetitionModel`, and `MempoolTxFeature`
[INFO] [stdout] --> src/mev/competition/mod.rs:8:28
[INFO] [stdout] |
[INFO] [stdout] 8 | extract_block_signals, CompetingSwapSignal, CompetitionForecast, CompetitionIntelligence,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 | CompetitionModel, MempoolTxFeature, PoolActivity,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `tokens` is never read
[INFO] [stdout] --> src/cache.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 22 | pub struct ContractStateSnapshot {
[INFO] [stdout] | --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub tokens: Vec
,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ContractStateSnapshot` has a derived impl for the trait `Clone`, 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: fields `estimated_sweep_gas` and `profit_margin_bps` are never read
[INFO] [stdout] --> src/config.rs:48:9
[INFO] [stdout] |
[INFO] [stdout] 25 | pub struct Config {
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 | pub estimated_sweep_gas: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | pub profit_margin_bps: u64, // DEPRECATED: será ignorado na nova lógica
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Config` 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 `log_config_status` is never used
[INFO] [stdout] --> src/config.rs:750:12
[INFO] [stdout] |
[INFO] [stdout] 239 | impl Config {
[INFO] [stdout] | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 750 | pub fn log_config_status(&self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `mark_sweep_success` is never used
[INFO] [stdout] --> src/dashboard.rs:235:12
[INFO] [stdout] |
[INFO] [stdout] 120 | impl DashboardHandle {
[INFO] [stdout] | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 235 | pub fn mark_sweep_success(&self, wallet: &str, rpc: &str) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `amount_in_for_exact_out` is never used
[INFO] [stdout] --> src/mev/amm/uniswap_v2.rs:97:8
[INFO] [stdout] |
[INFO] [stdout] 97 | pub fn amount_in_for_exact_out(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `LowProfit` and `PoolUnavailable` are never constructed
[INFO] [stdout] --> src/mev/analytics/missed_opportunities.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 4 | pub enum MissReason {
[INFO] [stdout] | ---------- variants in this enum
[INFO] [stdout] 5 | LowProfit,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 | PoolUnavailable,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MissReason` 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 `count` is never used
[INFO] [stdout] --> src/mev/analytics/missed_opportunities.rs:38:12
[INFO] [stdout] |
[INFO] [stdout] 33 | impl MissedOpportunityTracker {
[INFO] [stdout] | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 | pub fn count(&self, reason: MissReason) -> u64 {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tx_hash`, `actor`, `path_len`, `value_wei`, and `observed_ms` are never read
[INFO] [stdout] --> src/mev/competition/mempool_intel.rs:22:9
[INFO] [stdout] |
[INFO] [stdout] 21 | pub struct PendingSwapIntent {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] 22 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 23 | pub actor: Address,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 24 | pub key: IntentClusterKey,
[INFO] [stdout] 25 | pub path_len: u8,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 26 | pub value_wei: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 27 | pub effective_tip_wei: U256,
[INFO] [stdout] 28 | pub observed_ms: u64,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PendingSwapIntent` 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 `pool` and `marginal_tip_wei` are never read
[INFO] [stdout] --> src/mev/competition/pressure_map.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct CompetitionPressure {
[INFO] [stdout] | ------------------- fields in this struct
[INFO] [stdout] 8 | pub pool: Address,
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub marginal_tip_wei: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetitionPressure` 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 `tx_hash`, `value_wei`, `max_fee_per_gas`, and `observed_ms` are never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct MempoolTxFeature {
[INFO] [stdout] | ---------------- fields in this struct
[INFO] [stdout] 17 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 | pub value_wei: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 21 | pub max_fee_per_gas: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 | pub observed_ms: u64,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MempoolTxFeature` 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 `avg_notional_eth` is never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:30:9
[INFO] [stdout] |
[INFO] [stdout] 26 | pub struct PoolActivity {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 | pub avg_notional_eth: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PoolActivity` 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 `actor` and `direction` are never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:37:9
[INFO] [stdout] |
[INFO] [stdout] 34 | pub struct CompetingSwapSignal {
[INFO] [stdout] | ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 | pub actor: Address,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 38 | pub direction: [u8; 4],
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetingSwapSignal` 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 `mempool_density`, `similar_tx_count`, `pool_activity_spike`, and `historical_outbid_rate` are never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:46:9
[INFO] [stdout] |
[INFO] [stdout] 45 | pub struct CompetitionSnapshot {
[INFO] [stdout] | ------------------- fields in this struct
[INFO] [stdout] 46 | pub mempool_density: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] 47 | pub similar_tx_count: u32,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 | pub pool_activity_spike: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 | pub historical_outbid_rate: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetitionSnapshot` 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 `block_probability` is never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:55:9
[INFO] [stdout] |
[INFO] [stdout] 54 | pub struct CompetitionForecast {
[INFO] [stdout] | ------------------- field in this struct
[INFO] [stdout] 55 | pub block_probability: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetitionForecast` 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: struct `CompetitionModel` is never constructed
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:73:12
[INFO] [stdout] |
[INFO] [stdout] 73 | pub struct CompetitionModel {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `observe_tx`, and `snapshot` are never used
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:78:12
[INFO] [stdout] |
[INFO] [stdout] 77 | impl CompetitionModel {
[INFO] [stdout] | --------------------- associated items in this implementation
[INFO] [stdout] 78 | pub fn new(capacity: usize) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 | pub fn observe_tx(&self, tx: MempoolTxFeature) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | pub fn snapshot(&self, pool: Address, selector: [u8; 4]) -> CompetitionSnapshot {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `observe_tx` is never used
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:115:12
[INFO] [stdout] |
[INFO] [stdout] 104 | impl CompetitionIntelligence {
[INFO] [stdout] | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 | pub fn observe_tx(&mut self, tx: MempoolTxFeature) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `BundleSender` is never constructed
[INFO] [stdout] --> src/mev/execution/bundle_sender.rs:4:12
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct BundleSender;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `build_private_bundle` is never used
[INFO] [stdout] --> src/mev/execution/bundle_sender.rs:7:12
[INFO] [stdout] |
[INFO] [stdout] 6 | impl BundleSender {
[INFO] [stdout] | ----------------- associated function in this implementation
[INFO] [stdout] 7 | pub fn build_private_bundle(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `encode_execute_with_capital` is never used
[INFO] [stdout] --> src/mev/execution/contract_encoder.rs:39:8
[INFO] [stdout] |
[INFO] [stdout] 39 | pub fn encode_execute_with_capital(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `decode_revert_reason` is never used
[INFO] [stdout] --> src/mev/execution/contract_encoder.rs:59:8
[INFO] [stdout] |
[INFO] [stdout] 59 | pub fn decode_revert_reason(data: &[u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `execution` and `capital_delta_wei` are never read
[INFO] [stdout] --> src/mev/execution/finalizer.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct FinalizedExecution {
[INFO] [stdout] | ------------------ fields in this struct
[INFO] [stdout] 8 | pub execution: ManagedExecution,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 9 | pub capital_delta_wei: i128,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FinalizedExecution` 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 `borrow_token`, `borrow_amount`, and `min_profit` are never read
[INFO] [stdout] --> src/mev/execution/flashloan_builder.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct V2FlashSwapCall {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 | pub borrow_token: Address,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 9 | pub borrow_amount: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] 10 | pub min_profit: U256,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `V2FlashSwapCall` 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: methods `with_event_store` and `reconcile_chain_pending_nonce` are never used
[INFO] [stdout] --> src/mev/execution/nonce_manager.rs:40:12
[INFO] [stdout] |
[INFO] [stdout] 29 | impl NonceManager {
[INFO] [stdout] | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 | pub fn with_event_store(mut self, event_store: Arc) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 | pub fn reconcile_chain_pending_nonce(&mut self, wallet: Address, chain_pending_nonce: U256) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `min_amount_out` and `price_impact_bps` are never read
[INFO] [stdout] --> src/mev/execution/payload_builder.rs:16:9
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct ExecutionPayload {
[INFO] [stdout] | ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 | pub min_amount_out: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 | pub price_impact_bps: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionPayload` 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 `new_gas_price_wei` is never read
[INFO] [stdout] --> src/mev/execution/replacement_engine.rs:6:9
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct ReplacementDecision {
[INFO] [stdout] | ------------------- field in this struct
[INFO] [stdout] 5 | pub replace: bool,
[INFO] [stdout] 6 | pub new_gas_price_wei: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ReplacementDecision` 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 `created_at` is never read
[INFO] [stdout] --> src/mev/execution/tx_lifecycle.rs:35:9
[INFO] [stdout] |
[INFO] [stdout] 25 | pub struct ManagedExecution {
[INFO] [stdout] | ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub created_at: Instant,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ManagedExecution` 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: methods `with_event_store`, `mark_replaced`, and `active_for_nonce` are never used
[INFO] [stdout] --> src/mev/execution/tx_lifecycle.rs:59:12
[INFO] [stdout] |
[INFO] [stdout] 48 | impl TxLifecycleManager {
[INFO] [stdout] | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 | pub fn with_event_store(mut self, event_store: Arc) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 | pub fn mark_replaced(&mut self, old_hash: H256, new_hash: H256, gas_price_wei: U256) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 | pub fn active_for_nonce(&self, wallet: Address, nonce: U256) -> Option<&ManagedExecution> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `LowProfit` and `CapitalLimit` are never constructed
[INFO] [stdout] --> src/mev/feedback.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 9 | pub enum FailureReason {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 | LowProfit,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | CapitalLimit,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FailureReason` 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 `as_str` is never used
[INFO] [stdout] --> src/mev/feedback.rs:21:12
[INFO] [stdout] |
[INFO] [stdout] 20 | impl FailureReason {
[INFO] [stdout] | ------------------ method in this implementation
[INFO] [stdout] 21 | pub fn as_str(self) -> &'static str {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `gas_used`, `competition_score`, `confidence_score`, `relay_used`, and `block_delay` are never read
[INFO] [stdout] --> src/mev/feedback.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 49 | pub struct ExecutionFeedback {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub gas_used: f64,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 55 | pub tip_used: f64,
[INFO] [stdout] 56 | pub competition_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 | pub confidence_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 | pub relay_used: String,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 59 | pub block_delay: u64,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionFeedback` 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 `failure_count` is never used
[INFO] [stdout] --> src/mev/feedback.rs:157:12
[INFO] [stdout] |
[INFO] [stdout] 118 | impl FeedbackEngine {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 | pub fn failure_count(&self, reason: FailureReason) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `params` and `metrics` are never used
[INFO] [stdout] --> src/mev/feedback/survival_feedback.rs:98:12
[INFO] [stdout] |
[INFO] [stdout] 86 | impl SurvivalFeedbackEngine {
[INFO] [stdout] | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 98 | pub fn params(&self) -> SurvivalAdaptiveParams {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 | pub fn metrics(&self) -> SurvivalFeedbackMetrics {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `url` is never read
[INFO] [stdout] --> src/mev/inclusion.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct RelayEndpoint {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] 8 | pub url: String,
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `RelayEndpoint` 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 `attempts` is never read
[INFO] [stdout] --> src/mev/inclusion.rs:55:9
[INFO] [stdout] |
[INFO] [stdout] 49 | pub struct InclusionPlan {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub attempts: u8,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionPlan` 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: variant `RelayError` is never constructed
[INFO] [stdout] --> src/mev/inclusion.rs:63:5
[INFO] [stdout] |
[INFO] [stdout] 59 | pub enum InclusionFailureReason {
[INFO] [stdout] | ---------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 | RelayError,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionFailureReason` 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 `reason`, `tip_usd`, and `competition_score` are never read
[INFO] [stdout] --> src/mev/inclusion.rs:68:9
[INFO] [stdout] |
[INFO] [stdout] 67 | pub struct InclusionFeedback {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] 68 | pub reason: InclusionFailureReason,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 69 | pub tip_usd: f64,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 70 | pub competition_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionFeedback` 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: methods `relay_order`, `relay_url`, `record_success`, and `relay_score` are never used
[INFO] [stdout] --> src/mev/inclusion.rs:140:12
[INFO] [stdout] |
[INFO] [stdout] 82 | impl InclusionEngine {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 | pub fn relay_order(&self, out: &mut [Option]) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 | pub fn relay_url(&self, idx: usize) -> Option<&str> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 | pub fn record_success(&mut self, idx: usize, latency: Duration) {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | fn relay_score(&self, idx: usize) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `Pending` is never constructed
[INFO] [stdout] --> src/mev/inclusion_truth.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 8 | pub enum BundleOutcome {
[INFO] [stdout] | ------------- variant in this enum
[INFO] [stdout] 9 | Pending,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BundleOutcome` 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 `bundle_hash` is never read
[INFO] [stdout] --> src/mev/inclusion_truth.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct PendingBundleRecord {
[INFO] [stdout] | ------------------- field in this struct
[INFO] [stdout] 19 | pub bundle_hash: Option,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PendingBundleRecord` 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 `amount_in` is never read
[INFO] [stdout] --> src/mev/inclusion_truth.rs:59:9
[INFO] [stdout] |
[INFO] [stdout] 40 | pub struct InclusionTruth {
[INFO] [stdout] | -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 | pub amount_in: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionTruth` 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 `pool` and `tx_hash` are never read
[INFO] [stdout] --> src/mev/inclusion_truth.rs:66:9
[INFO] [stdout] |
[INFO] [stdout] 65 | pub struct CompetingTxSignal {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] 66 | pub pool: Address,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 67 | pub block_number: u64,
[INFO] [stdout] 68 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetingTxSignal` 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: methods `recent` and `reconcile_receipts` are never used
[INFO] [stdout] --> src/mev/inclusion_truth.rs:192:12
[INFO] [stdout] |
[INFO] [stdout] 80 | impl InclusionTruthEngine {
[INFO] [stdout] | ------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 192 | pub fn recent(&self) -> impl Iterator- {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | pub async fn reconcile_receipts(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `stale_by_time` is never used
[INFO] [stdout] --> src/mev/inclusion_truth.rs:251:8
[INFO] [stdout] |
[INFO] [stdout] 251 | pub fn stale_by_time(record: &PendingBundleRecord, max_age: Duration) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `latency_ms` and `slippage_bps` are never read
[INFO] [stdout] --> src/mev/market_truth/execution_outcome_real.rs:31:9
[INFO] [stdout] |
[INFO] [stdout] 28 | pub struct ExecutionRealityInput {
[INFO] [stdout] | --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub latency_ms: u128,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 32 | pub slippage_bps: f64,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionRealityInput` 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: struct `ReplayExecutionInput` is never constructed
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:18:12
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct ReplayExecutionInput {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ReplayTradeResult` is never constructed
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:27:12
[INFO] [stdout] |
[INFO] [stdout] 27 | pub struct ReplayTradeResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ReplayOutput` is never constructed
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:36:12
[INFO] [stdout] |
[INFO] [stdout] 36 | pub struct ReplayOutput {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `replay_event_store` is never used
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 44 | impl ExecutionReplayEngine {
[INFO] [stdout] | -------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 | pub fn replay_event_store(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `amount_in` is never read
[INFO] [stdout] --> src/mev/market_truth/market_snapshot_engine.rs:230:9
[INFO] [stdout] |
[INFO] [stdout] 228 | pub struct ExecutionPriceObservation {
[INFO] [stdout] | ------------------------- field in this struct
[INFO] [stdout] 229 | pub execution_price: f64,
[INFO] [stdout] 230 | pub amount_in: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionPriceObservation` 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 `pool_address` and `victim_tx_hash` are never read
[INFO] [stdout] --> src/mev/meta_decision.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct MetaOpportunity {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub pool_address: Address,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 12 | pub victim_tx_hash: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MetaOpportunity` 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 `opportunity` is never read
[INFO] [stdout] --> src/mev/meta_decision.rs:94:9
[INFO] [stdout] |
[INFO] [stdout] 93 | Execute {
[INFO] [stdout] | ------- field in this variant
[INFO] [stdout] 94 | opportunity: MetaOpportunity,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MetaDecision` 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 `rank_top_n` is never used
[INFO] [stdout] --> src/mev/meta_decision.rs:186:12
[INFO] [stdout] |
[INFO] [stdout] 112 | impl MetaDecisionEngine {
[INFO] [stdout] | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 186 | pub fn rank_top_n<'a>(
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `insert_ranked` is never used
[INFO] [stdout] --> src/mev/meta_decision.rs:235:4
[INFO] [stdout] |
[INFO] [stdout] 235 | fn insert_ranked(out: &mut [Option<(usize, MetaScore)>], idx: usize, score: MetaScore) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `expected_profit` and `gas_used` are never read
[INFO] [stdout] --> src/mev/pnl/tracker.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct ExecutionResult {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] 8 | pub expected_profit: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] 9 | pub realized_profit: f64,
[INFO] [stdout] 10 | pub gas_used: u64,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionResult` 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: associated function `from_receipt` is never used
[INFO] [stdout] --> src/mev/pnl/tracker.rs:35:18
[INFO] [stdout] |
[INFO] [stdout] 23 | impl PnlTracker {
[INFO] [stdout] | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub async fn from_receipt(
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `result_from_receipt` is never used
[INFO] [stdout] --> src/mev/pnl/tracker.rs:54:8
[INFO] [stdout] |
[INFO] [stdout] 54 | pub fn result_from_receipt(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tx_hash`, `pool`, `failure`, `estimated_lost_profit_usd`, and `latency_impact_ms` are never read
[INFO] [stdout] --> src/mev/post_block.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct MissedOpportunityAnalysis {
[INFO] [stdout] | ------------------------- fields in this struct
[INFO] [stdout] 15 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 16 | pub pool: Option,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 17 | pub failure: PostBlockFailure,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 18 | pub estimated_lost_profit_usd: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | pub latency_impact_ms: u128,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MissedOpportunityAnalysis` 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 `recent` is never used
[INFO] [stdout] --> src/mev/post_block.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 28 | impl PostBlockAnalyzer {
[INFO] [stdout] | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 | pub fn recent(&self) -> impl Iterator
- {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `victim_tx` and `target_block` are never read
[INFO] [stdout] --> src/mev/simulation/bundle_simulator.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 6 | pub struct BundleSimulationRequest {
[INFO] [stdout] | ----------------------- fields in this struct
[INFO] [stdout] 7 | pub victim_tx: TxHash,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 8 | pub payload: ExecutionPayload,
[INFO] [stdout] 9 | pub target_block: u64,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BundleSimulationRequest` 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: associated function `simulated_signed_bytes` is never used
[INFO] [stdout] --> src/mev/simulation/bundle_simulator.rs:54:12
[INFO] [stdout] |
[INFO] [stdout] 23 | impl BundleSimulator {
[INFO] [stdout] | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub fn simulated_signed_bytes(raw: Vec) -> Bytes {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `UniswapV3` is never constructed
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 6 | pub enum AmmState {
[INFO] [stdout] | -------- variant in this enum
[INFO] [stdout] 7 | UniswapV2(V2PoolState),
[INFO] [stdout] 8 | UniswapV3(V3PoolState),
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AmmState` 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 `0` is never read
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:13:15
[INFO] [stdout] |
[INFO] [stdout] 13 | UniswapV2(V2SwapResult),
[INFO] [stdout] | --------- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `AmmSwapResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 13 - UniswapV2(V2SwapResult),
[INFO] [stdout] 13 + UniswapV2(()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:14:15
[INFO] [stdout] |
[INFO] [stdout] 14 | UniswapV3(V3SwapResult),
[INFO] [stdout] | --------- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `AmmSwapResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 14 - UniswapV3(V3SwapResult),
[INFO] [stdout] 14 + UniswapV3(()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `result` and `effective_price_x18` are never read
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct PostSwapSimulation {
[INFO] [stdout] | ------------------ fields in this struct
[INFO] [stdout] 19 | pub state_after: AmmState,
[INFO] [stdout] 20 | pub result: AmmSwapResult,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 21 | pub effective_price_x18: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PostSwapSimulation` 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: methods `save_snapshot` and `reconcile_wallet_nonces` are never used
[INFO] [stdout] --> src/mev/state/recovery.rs:70:12
[INFO] [stdout] |
[INFO] [stdout] 25 | impl RecoveryEngine {
[INFO] [stdout] | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 | pub fn save_snapshot(
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 | pub async fn reconcile_wallet_nonces(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `unix_ms` is never used
[INFO] [stdout] --> src/mev/state/recovery.rs:120:4
[INFO] [stdout] |
[INFO] [stdout] 120 | fn unix_ms() -> u64 {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `force_tx` is never read
[INFO] [stdout] --> src/mev/state/snapshot_daemon.rs:29:5
[INFO] [stdout] |
[INFO] [stdout] 28 | pub struct SnapshotDaemonHandle {
[INFO] [stdout] | -------------------- field in this struct
[INFO] [stdout] 29 | force_tx: mpsc::Sender,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `SnapshotDaemonHandle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `force_snapshot` is never used
[INFO] [stdout] --> src/mev/state/snapshot_daemon.rs:33:18
[INFO] [stdout] |
[INFO] [stdout] 32 | impl SnapshotDaemonHandle {
[INFO] [stdout] | ------------------------- method in this implementation
[INFO] [stdout] 33 | pub async fn force_snapshot(&self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `ForceSnapshot` is never constructed
[INFO] [stdout] --> src/mev/state/snapshot_daemon.rs:40:5
[INFO] [stdout] |
[INFO] [stdout] 39 | enum SnapshotCommand {
[INFO] [stdout] | --------------- variant in this enum
[INFO] [stdout] 40 | ForceSnapshot,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `SnapshotCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `BackrunV3`, `Liquidation`, and `Unknown` are never constructed
[INFO] [stdout] --> src/mev/tip_discovery.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 4 | pub enum OpportunityClass {
[INFO] [stdout] | ---------------- variants in this enum
[INFO] [stdout] 5 | BackrunV2,
[INFO] [stdout] 6 | BackrunV3,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 7 | Liquidation,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 8 | Unknown,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `OpportunityClass` 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 `competition_score` is never read
[INFO] [stdout] --> src/mev/tip_discovery.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct TipOutcome {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub competition_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `TipOutcome` 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 `recommended_tip_bps` is never used
[INFO] [stdout] --> src/mev/tip_discovery.rs:72:12
[INFO] [stdout] |
[INFO] [stdout] 44 | impl TipDiscoveryEngine {
[INFO] [stdout] | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 | pub fn recommended_tip_bps(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `band_midpoint_bps` is never used
[INFO] [stdout] --> src/mev/tip_discovery.rs:112:4
[INFO] [stdout] |
[INFO] [stdout] 112 | fn band_midpoint_bps(idx: usize) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `scale_for_competition` is never used
[INFO] [stdout] --> src/mev/tip_discovery.rs:116:4
[INFO] [stdout] |
[INFO] [stdout] 116 | fn scale_for_competition(base: u64, competition: f64) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `estimate_token_value_wei` is never used
[INFO] [stdout] --> src/monitor.rs:828:10
[INFO] [stdout] |
[INFO] [stdout] 828 | async fn estimate_token_value_wei(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout] --> src/queue.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 28 | impl ExecutionMode {
[INFO] [stdout] | ------------------ method in this implementation
[INFO] [stdout] 29 | pub fn as_str(self) -> &'static str {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `requires_approve` and `timestamp` are never read
[INFO] [stdout] --> src/queue.rs:42:9
[INFO] [stdout] |
[INFO] [stdout] 38 | pub struct ResidualCandidate {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub requires_approve: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | pub timestamp: Instant,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ResidualCandidate` 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: methods `total_value_eth_f64` and `net_profit_eth_f64` are never used
[INFO] [stdout] --> src/queue.rs:58:12
[INFO] [stdout] |
[INFO] [stdout] 57 | impl ResidualCandidate {
[INFO] [stdout] | ---------------------- methods in this implementation
[INFO] [stdout] 58 | pub fn total_value_eth_f64(&self) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 | pub fn net_profit_eth_f64(&self) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `peek_top_profit` is never used
[INFO] [stdout] --> src/queue.rs:213:12
[INFO] [stdout] |
[INFO] [stdout] 160 | impl SweepQueue {
[INFO] [stdout] | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 213 | pub fn peek_top_profit(&self) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `wei_to_eth_f64` is never used
[INFO] [stdout] --> src/queue.rs:220:4
[INFO] [stdout] |
[INFO] [stdout] 220 | fn wei_to_eth_f64(wei: U256) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `set` is never used
[INFO] [stdout] --> src/runtime_mode.rs:46:12
[INFO] [stdout] |
[INFO] [stdout] 35 | impl RuntimeModeController {
[INFO] [stdout] | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 | pub fn set(&self, mode: RuntimeMode) {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `tokens` is never read
[INFO] [stdout] --> src/cache.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 22 | pub struct ContractStateSnapshot {
[INFO] [stdout] | --------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub tokens: Vec,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ContractStateSnapshot` has a derived impl for the trait `Clone`, 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: fields `estimated_sweep_gas` and `profit_margin_bps` are never read
[INFO] [stdout] --> src/config.rs:48:9
[INFO] [stdout] |
[INFO] [stdout] 25 | pub struct Config {
[INFO] [stdout] | ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 | pub estimated_sweep_gas: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | pub profit_margin_bps: u64, // DEPRECATED: será ignorado na nova lógica
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Config` 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 `log_config_status` is never used
[INFO] [stdout] --> src/config.rs:750:12
[INFO] [stdout] |
[INFO] [stdout] 239 | impl Config {
[INFO] [stdout] | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 750 | pub fn log_config_status(&self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `mark_sweep_success` is never used
[INFO] [stdout] --> src/dashboard.rs:235:12
[INFO] [stdout] |
[INFO] [stdout] 120 | impl DashboardHandle {
[INFO] [stdout] | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 235 | pub fn mark_sweep_success(&self, wallet: &str, rpc: &str) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `amount_in_for_exact_out` is never used
[INFO] [stdout] --> src/mev/amm/uniswap_v2.rs:97:8
[INFO] [stdout] |
[INFO] [stdout] 97 | pub fn amount_in_for_exact_out(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `LowProfit` and `PoolUnavailable` are never constructed
[INFO] [stdout] --> src/mev/analytics/missed_opportunities.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 4 | pub enum MissReason {
[INFO] [stdout] | ---------- variants in this enum
[INFO] [stdout] 5 | LowProfit,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 | PoolUnavailable,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MissReason` 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 `count` is never used
[INFO] [stdout] --> src/mev/analytics/missed_opportunities.rs:38:12
[INFO] [stdout] |
[INFO] [stdout] 33 | impl MissedOpportunityTracker {
[INFO] [stdout] | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 | pub fn count(&self, reason: MissReason) -> u64 {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tx_hash`, `actor`, `path_len`, `value_wei`, and `observed_ms` are never read
[INFO] [stdout] --> src/mev/competition/mempool_intel.rs:22:9
[INFO] [stdout] |
[INFO] [stdout] 21 | pub struct PendingSwapIntent {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] 22 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 23 | pub actor: Address,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 24 | pub key: IntentClusterKey,
[INFO] [stdout] 25 | pub path_len: u8,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 26 | pub value_wei: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 27 | pub effective_tip_wei: U256,
[INFO] [stdout] 28 | pub observed_ms: u64,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PendingSwapIntent` 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 `pool` and `marginal_tip_wei` are never read
[INFO] [stdout] --> src/mev/competition/pressure_map.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct CompetitionPressure {
[INFO] [stdout] | ------------------- fields in this struct
[INFO] [stdout] 8 | pub pool: Address,
[INFO] [stdout] | ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub marginal_tip_wei: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetitionPressure` 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 `tx_hash`, `value_wei`, `max_fee_per_gas`, and `observed_ms` are never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct MempoolTxFeature {
[INFO] [stdout] | ---------------- fields in this struct
[INFO] [stdout] 17 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 | pub value_wei: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 21 | pub max_fee_per_gas: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 | pub observed_ms: u64,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MempoolTxFeature` 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 `avg_notional_eth` is never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:30:9
[INFO] [stdout] |
[INFO] [stdout] 26 | pub struct PoolActivity {
[INFO] [stdout] | ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 | pub avg_notional_eth: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PoolActivity` 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 `actor` and `direction` are never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:37:9
[INFO] [stdout] |
[INFO] [stdout] 34 | pub struct CompetingSwapSignal {
[INFO] [stdout] | ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 | pub actor: Address,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 38 | pub direction: [u8; 4],
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetingSwapSignal` 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 `mempool_density`, `similar_tx_count`, `pool_activity_spike`, and `historical_outbid_rate` are never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:46:9
[INFO] [stdout] |
[INFO] [stdout] 45 | pub struct CompetitionSnapshot {
[INFO] [stdout] | ------------------- fields in this struct
[INFO] [stdout] 46 | pub mempool_density: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] 47 | pub similar_tx_count: u32,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 | pub pool_activity_spike: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 | pub historical_outbid_rate: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetitionSnapshot` 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 `block_probability` is never read
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:55:9
[INFO] [stdout] |
[INFO] [stdout] 54 | pub struct CompetitionForecast {
[INFO] [stdout] | ------------------- field in this struct
[INFO] [stdout] 55 | pub block_probability: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetitionForecast` 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: struct `CompetitionModel` is never constructed
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:73:12
[INFO] [stdout] |
[INFO] [stdout] 73 | pub struct CompetitionModel {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `observe_tx`, and `snapshot` are never used
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:78:12
[INFO] [stdout] |
[INFO] [stdout] 77 | impl CompetitionModel {
[INFO] [stdout] | --------------------- associated items in this implementation
[INFO] [stdout] 78 | pub fn new(capacity: usize) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 | pub fn observe_tx(&self, tx: MempoolTxFeature) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | pub fn snapshot(&self, pool: Address, selector: [u8; 4]) -> CompetitionSnapshot {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `observe_tx` is never used
[INFO] [stdout] --> src/mev/competition/signal_extractor.rs:115:12
[INFO] [stdout] |
[INFO] [stdout] 104 | impl CompetitionIntelligence {
[INFO] [stdout] | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 | pub fn observe_tx(&mut self, tx: MempoolTxFeature) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `BundleSender` is never constructed
[INFO] [stdout] --> src/mev/execution/bundle_sender.rs:4:12
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct BundleSender;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `build_private_bundle` is never used
[INFO] [stdout] --> src/mev/execution/bundle_sender.rs:7:12
[INFO] [stdout] |
[INFO] [stdout] 6 | impl BundleSender {
[INFO] [stdout] | ----------------- associated function in this implementation
[INFO] [stdout] 7 | pub fn build_private_bundle(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `encode_execute_with_capital` is never used
[INFO] [stdout] --> src/mev/execution/contract_encoder.rs:39:8
[INFO] [stdout] |
[INFO] [stdout] 39 | pub fn encode_execute_with_capital(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `decode_revert_reason` is never used
[INFO] [stdout] --> src/mev/execution/contract_encoder.rs:59:8
[INFO] [stdout] |
[INFO] [stdout] 59 | pub fn decode_revert_reason(data: &[u8]) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `execution` and `capital_delta_wei` are never read
[INFO] [stdout] --> src/mev/execution/finalizer.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct FinalizedExecution {
[INFO] [stdout] | ------------------ fields in this struct
[INFO] [stdout] 8 | pub execution: ManagedExecution,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 9 | pub capital_delta_wei: i128,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FinalizedExecution` 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 `borrow_token`, `borrow_amount`, and `min_profit` are never read
[INFO] [stdout] --> src/mev/execution/flashloan_builder.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct V2FlashSwapCall {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 | pub borrow_token: Address,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 9 | pub borrow_amount: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] 10 | pub min_profit: U256,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `V2FlashSwapCall` 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: methods `with_event_store` and `reconcile_chain_pending_nonce` are never used
[INFO] [stdout] --> src/mev/execution/nonce_manager.rs:40:12
[INFO] [stdout] |
[INFO] [stdout] 29 | impl NonceManager {
[INFO] [stdout] | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 | pub fn with_event_store(mut self, event_store: Arc) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 | pub fn reconcile_chain_pending_nonce(&mut self, wallet: Address, chain_pending_nonce: U256) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `min_amount_out` and `price_impact_bps` are never read
[INFO] [stdout] --> src/mev/execution/payload_builder.rs:16:9
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct ExecutionPayload {
[INFO] [stdout] | ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 | pub min_amount_out: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 | pub price_impact_bps: u64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionPayload` 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 `new_gas_price_wei` is never read
[INFO] [stdout] --> src/mev/execution/replacement_engine.rs:6:9
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct ReplacementDecision {
[INFO] [stdout] | ------------------- field in this struct
[INFO] [stdout] 5 | pub replace: bool,
[INFO] [stdout] 6 | pub new_gas_price_wei: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ReplacementDecision` 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 `created_at` is never read
[INFO] [stdout] --> src/mev/execution/tx_lifecycle.rs:35:9
[INFO] [stdout] |
[INFO] [stdout] 25 | pub struct ManagedExecution {
[INFO] [stdout] | ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub created_at: Instant,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ManagedExecution` 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: methods `with_event_store`, `mark_replaced`, and `active_for_nonce` are never used
[INFO] [stdout] --> src/mev/execution/tx_lifecycle.rs:59:12
[INFO] [stdout] |
[INFO] [stdout] 48 | impl TxLifecycleManager {
[INFO] [stdout] | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 | pub fn with_event_store(mut self, event_store: Arc) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 | pub fn mark_replaced(&mut self, old_hash: H256, new_hash: H256, gas_price_wei: U256) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 | pub fn active_for_nonce(&self, wallet: Address, nonce: U256) -> Option<&ManagedExecution> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `LowProfit` and `CapitalLimit` are never constructed
[INFO] [stdout] --> src/mev/feedback.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 9 | pub enum FailureReason {
[INFO] [stdout] | ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 | LowProfit,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 | CapitalLimit,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FailureReason` 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 `as_str` is never used
[INFO] [stdout] --> src/mev/feedback.rs:21:12
[INFO] [stdout] |
[INFO] [stdout] 20 | impl FailureReason {
[INFO] [stdout] | ------------------ method in this implementation
[INFO] [stdout] 21 | pub fn as_str(self) -> &'static str {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `gas_used`, `competition_score`, `confidence_score`, `relay_used`, and `block_delay` are never read
[INFO] [stdout] --> src/mev/feedback.rs:54:9
[INFO] [stdout] |
[INFO] [stdout] 49 | pub struct ExecutionFeedback {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub gas_used: f64,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 55 | pub tip_used: f64,
[INFO] [stdout] 56 | pub competition_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 57 | pub confidence_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 58 | pub relay_used: String,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 59 | pub block_delay: u64,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionFeedback` 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 `failure_count` is never used
[INFO] [stdout] --> src/mev/feedback.rs:157:12
[INFO] [stdout] |
[INFO] [stdout] 118 | impl FeedbackEngine {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 | pub fn failure_count(&self, reason: FailureReason) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `params` and `metrics` are never used
[INFO] [stdout] --> src/mev/feedback/survival_feedback.rs:98:12
[INFO] [stdout] |
[INFO] [stdout] 86 | impl SurvivalFeedbackEngine {
[INFO] [stdout] | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 98 | pub fn params(&self) -> SurvivalAdaptiveParams {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 | pub fn metrics(&self) -> SurvivalFeedbackMetrics {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `url` is never read
[INFO] [stdout] --> src/mev/inclusion.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct RelayEndpoint {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] 8 | pub url: String,
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `RelayEndpoint` 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 `attempts` is never read
[INFO] [stdout] --> src/mev/inclusion.rs:55:9
[INFO] [stdout] |
[INFO] [stdout] 49 | pub struct InclusionPlan {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub attempts: u8,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionPlan` 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: variant `RelayError` is never constructed
[INFO] [stdout] --> src/mev/inclusion.rs:63:5
[INFO] [stdout] |
[INFO] [stdout] 59 | pub enum InclusionFailureReason {
[INFO] [stdout] | ---------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 | RelayError,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionFailureReason` 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 `reason`, `tip_usd`, and `competition_score` are never read
[INFO] [stdout] --> src/mev/inclusion.rs:68:9
[INFO] [stdout] |
[INFO] [stdout] 67 | pub struct InclusionFeedback {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] 68 | pub reason: InclusionFailureReason,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 69 | pub tip_usd: f64,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 70 | pub competition_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionFeedback` 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: methods `relay_order`, `relay_url`, `record_success`, and `relay_score` are never used
[INFO] [stdout] --> src/mev/inclusion.rs:140:12
[INFO] [stdout] |
[INFO] [stdout] 82 | impl InclusionEngine {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 | pub fn relay_order(&self, out: &mut [Option]) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 | pub fn relay_url(&self, idx: usize) -> Option<&str> {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 | pub fn record_success(&mut self, idx: usize, latency: Duration) {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | fn relay_score(&self, idx: usize) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `Pending` is never constructed
[INFO] [stdout] --> src/mev/inclusion_truth.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 8 | pub enum BundleOutcome {
[INFO] [stdout] | ------------- variant in this enum
[INFO] [stdout] 9 | Pending,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BundleOutcome` 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 `bundle_hash` is never read
[INFO] [stdout] --> src/mev/inclusion_truth.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct PendingBundleRecord {
[INFO] [stdout] | ------------------- field in this struct
[INFO] [stdout] 19 | pub bundle_hash: Option,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PendingBundleRecord` 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 `amount_in` is never read
[INFO] [stdout] --> src/mev/inclusion_truth.rs:59:9
[INFO] [stdout] |
[INFO] [stdout] 40 | pub struct InclusionTruth {
[INFO] [stdout] | -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 | pub amount_in: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `InclusionTruth` 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 `pool` and `tx_hash` are never read
[INFO] [stdout] --> src/mev/inclusion_truth.rs:66:9
[INFO] [stdout] |
[INFO] [stdout] 65 | pub struct CompetingTxSignal {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] 66 | pub pool: Address,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 67 | pub block_number: u64,
[INFO] [stdout] 68 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CompetingTxSignal` 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: methods `recent` and `reconcile_receipts` are never used
[INFO] [stdout] --> src/mev/inclusion_truth.rs:192:12
[INFO] [stdout] |
[INFO] [stdout] 80 | impl InclusionTruthEngine {
[INFO] [stdout] | ------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 192 | pub fn recent(&self) -> impl Iterator
- {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 | pub async fn reconcile_receipts(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `stale_by_time` is never used
[INFO] [stdout] --> src/mev/inclusion_truth.rs:251:8
[INFO] [stdout] |
[INFO] [stdout] 251 | pub fn stale_by_time(record: &PendingBundleRecord, max_age: Duration) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `latency_ms` and `slippage_bps` are never read
[INFO] [stdout] --> src/mev/market_truth/execution_outcome_real.rs:31:9
[INFO] [stdout] |
[INFO] [stdout] 28 | pub struct ExecutionRealityInput {
[INFO] [stdout] | --------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub latency_ms: u128,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 32 | pub slippage_bps: f64,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionRealityInput` 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: struct `ReplayExecutionInput` is never constructed
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:18:12
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct ReplayExecutionInput {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ReplayTradeResult` is never constructed
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:27:12
[INFO] [stdout] |
[INFO] [stdout] 27 | pub struct ReplayTradeResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ReplayOutput` is never constructed
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:36:12
[INFO] [stdout] |
[INFO] [stdout] 36 | pub struct ReplayOutput {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `replay_event_store` is never used
[INFO] [stdout] --> src/mev/market_truth/execution_replay_engine.rs:69:12
[INFO] [stdout] |
[INFO] [stdout] 44 | impl ExecutionReplayEngine {
[INFO] [stdout] | -------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 | pub fn replay_event_store(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `amount_in` is never read
[INFO] [stdout] --> src/mev/market_truth/market_snapshot_engine.rs:230:9
[INFO] [stdout] |
[INFO] [stdout] 228 | pub struct ExecutionPriceObservation {
[INFO] [stdout] | ------------------------- field in this struct
[INFO] [stdout] 229 | pub execution_price: f64,
[INFO] [stdout] 230 | pub amount_in: U256,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionPriceObservation` 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 `pool_address` and `victim_tx_hash` are never read
[INFO] [stdout] --> src/mev/meta_decision.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 4 | pub struct MetaOpportunity {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub pool_address: Address,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] 12 | pub victim_tx_hash: Option,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MetaOpportunity` 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 `opportunity` is never read
[INFO] [stdout] --> src/mev/meta_decision.rs:94:9
[INFO] [stdout] |
[INFO] [stdout] 93 | Execute {
[INFO] [stdout] | ------- field in this variant
[INFO] [stdout] 94 | opportunity: MetaOpportunity,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MetaDecision` 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 `expected_profit` and `gas_used` are never read
[INFO] [stdout] --> src/mev/pnl/tracker.rs:8:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct ExecutionResult {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] 8 | pub expected_profit: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] 9 | pub realized_profit: f64,
[INFO] [stdout] 10 | pub gas_used: u64,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ExecutionResult` 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: associated function `from_receipt` is never used
[INFO] [stdout] --> src/mev/pnl/tracker.rs:35:18
[INFO] [stdout] |
[INFO] [stdout] 23 | impl PnlTracker {
[INFO] [stdout] | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub async fn from_receipt(
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `result_from_receipt` is never used
[INFO] [stdout] --> src/mev/pnl/tracker.rs:54:8
[INFO] [stdout] |
[INFO] [stdout] 54 | pub fn result_from_receipt(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tx_hash`, `pool`, `failure`, `estimated_lost_profit_usd`, and `latency_impact_ms` are never read
[INFO] [stdout] --> src/mev/post_block.rs:15:9
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct MissedOpportunityAnalysis {
[INFO] [stdout] | ------------------------- fields in this struct
[INFO] [stdout] 15 | pub tx_hash: H256,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 16 | pub pool: Option,
[INFO] [stdout] | ^^^^
[INFO] [stdout] 17 | pub failure: PostBlockFailure,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] 18 | pub estimated_lost_profit_usd: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | pub latency_impact_ms: u128,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MissedOpportunityAnalysis` 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 `recent` is never used
[INFO] [stdout] --> src/mev/post_block.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 28 | impl PostBlockAnalyzer {
[INFO] [stdout] | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 | pub fn recent(&self) -> impl Iterator
- {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `victim_tx` and `target_block` are never read
[INFO] [stdout] --> src/mev/simulation/bundle_simulator.rs:7:9
[INFO] [stdout] |
[INFO] [stdout] 6 | pub struct BundleSimulationRequest {
[INFO] [stdout] | ----------------------- fields in this struct
[INFO] [stdout] 7 | pub victim_tx: TxHash,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 8 | pub payload: ExecutionPayload,
[INFO] [stdout] 9 | pub target_block: u64,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `BundleSimulationRequest` 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: associated function `simulated_signed_bytes` is never used
[INFO] [stdout] --> src/mev/simulation/bundle_simulator.rs:54:12
[INFO] [stdout] |
[INFO] [stdout] 23 | impl BundleSimulator {
[INFO] [stdout] | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub fn simulated_signed_bytes(raw: Vec) -> Bytes {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `UniswapV3` is never constructed
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 6 | pub enum AmmState {
[INFO] [stdout] | -------- variant in this enum
[INFO] [stdout] 7 | UniswapV2(V2PoolState),
[INFO] [stdout] 8 | UniswapV3(V3PoolState),
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AmmState` 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 `0` is never read
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:13:15
[INFO] [stdout] |
[INFO] [stdout] 13 | UniswapV2(V2SwapResult),
[INFO] [stdout] | --------- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `AmmSwapResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 13 - UniswapV2(V2SwapResult),
[INFO] [stdout] 13 + UniswapV2(()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:14:15
[INFO] [stdout] |
[INFO] [stdout] 14 | UniswapV3(V3SwapResult),
[INFO] [stdout] | --------- ^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this variant
[INFO] [stdout] |
[INFO] [stdout] = note: `AmmSwapResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout] |
[INFO] [stdout] 14 - UniswapV3(V3SwapResult),
[INFO] [stdout] 14 + UniswapV3(()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `result` and `effective_price_x18` are never read
[INFO] [stdout] --> src/mev/simulation/state_simulator.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 18 | pub struct PostSwapSimulation {
[INFO] [stdout] | ------------------ fields in this struct
[INFO] [stdout] 19 | pub state_after: AmmState,
[INFO] [stdout] 20 | pub result: AmmSwapResult,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 21 | pub effective_price_x18: U256,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `PostSwapSimulation` 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: methods `save_snapshot` and `reconcile_wallet_nonces` are never used
[INFO] [stdout] --> src/mev/state/recovery.rs:70:12
[INFO] [stdout] |
[INFO] [stdout] 25 | impl RecoveryEngine {
[INFO] [stdout] | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 | pub fn save_snapshot(
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 | pub async fn reconcile_wallet_nonces(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `unix_ms` is never used
[INFO] [stdout] --> src/mev/state/recovery.rs:120:4
[INFO] [stdout] |
[INFO] [stdout] 120 | fn unix_ms() -> u64 {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `force_tx` is never read
[INFO] [stdout] --> src/mev/state/snapshot_daemon.rs:29:5
[INFO] [stdout] |
[INFO] [stdout] 28 | pub struct SnapshotDaemonHandle {
[INFO] [stdout] | -------------------- field in this struct
[INFO] [stdout] 29 | force_tx: mpsc::Sender,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `SnapshotDaemonHandle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `force_snapshot` is never used
[INFO] [stdout] --> src/mev/state/snapshot_daemon.rs:33:18
[INFO] [stdout] |
[INFO] [stdout] 32 | impl SnapshotDaemonHandle {
[INFO] [stdout] | ------------------------- method in this implementation
[INFO] [stdout] 33 | pub async fn force_snapshot(&self) {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `ForceSnapshot` is never constructed
[INFO] [stdout] --> src/mev/state/snapshot_daemon.rs:40:5
[INFO] [stdout] |
[INFO] [stdout] 39 | enum SnapshotCommand {
[INFO] [stdout] | --------------- variant in this enum
[INFO] [stdout] 40 | ForceSnapshot,
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `SnapshotCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `BackrunV3`, `Liquidation`, and `Unknown` are never constructed
[INFO] [stdout] --> src/mev/tip_discovery.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 4 | pub enum OpportunityClass {
[INFO] [stdout] | ---------------- variants in this enum
[INFO] [stdout] 5 | BackrunV2,
[INFO] [stdout] 6 | BackrunV3,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 7 | Liquidation,
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] 8 | Unknown,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `OpportunityClass` 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 `competition_score` is never read
[INFO] [stdout] --> src/mev/tip_discovery.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct TipOutcome {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub competition_score: f64,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `TipOutcome` 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 `recommended_tip_bps` is never used
[INFO] [stdout] --> src/mev/tip_discovery.rs:72:12
[INFO] [stdout] |
[INFO] [stdout] 44 | impl TipDiscoveryEngine {
[INFO] [stdout] | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 72 | pub fn recommended_tip_bps(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `band_midpoint_bps` is never used
[INFO] [stdout] --> src/mev/tip_discovery.rs:112:4
[INFO] [stdout] |
[INFO] [stdout] 112 | fn band_midpoint_bps(idx: usize) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `scale_for_competition` is never used
[INFO] [stdout] --> src/mev/tip_discovery.rs:116:4
[INFO] [stdout] |
[INFO] [stdout] 116 | fn scale_for_competition(base: u64, competition: f64) -> u64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `estimate_token_value_wei` is never used
[INFO] [stdout] --> src/monitor.rs:828:10
[INFO] [stdout] |
[INFO] [stdout] 828 | async fn estimate_token_value_wei(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout] --> src/queue.rs:29:12
[INFO] [stdout] |
[INFO] [stdout] 28 | impl ExecutionMode {
[INFO] [stdout] | ------------------ method in this implementation
[INFO] [stdout] 29 | pub fn as_str(self) -> &'static str {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `requires_approve` and `timestamp` are never read
[INFO] [stdout] --> src/queue.rs:42:9
[INFO] [stdout] |
[INFO] [stdout] 38 | pub struct ResidualCandidate {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 | pub requires_approve: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | pub timestamp: Instant,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ResidualCandidate` 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: methods `total_value_eth_f64` and `net_profit_eth_f64` are never used
[INFO] [stdout] --> src/queue.rs:58:12
[INFO] [stdout] |
[INFO] [stdout] 57 | impl ResidualCandidate {
[INFO] [stdout] | ---------------------- methods in this implementation
[INFO] [stdout] 58 | pub fn total_value_eth_f64(&self) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 | pub fn net_profit_eth_f64(&self) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `peek_top_profit` is never used
[INFO] [stdout] --> src/queue.rs:213:12
[INFO] [stdout] |
[INFO] [stdout] 160 | impl SweepQueue {
[INFO] [stdout] | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 213 | pub fn peek_top_profit(&self) -> Option {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `wei_to_eth_f64` is never used
[INFO] [stdout] --> src/queue.rs:220:4
[INFO] [stdout] |
[INFO] [stdout] 220 | fn wei_to_eth_f64(wei: U256) -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `set` is never used
[INFO] [stdout] --> src/runtime_mode.rs:46:12
[INFO] [stdout] |
[INFO] [stdout] 35 | impl RuntimeModeController {
[INFO] [stdout] | -------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 | pub fn set(&self, mode: RuntimeMode) {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 54s
[INFO] running `Command { std: "docker" "inspect" "3980848b9e89dabc9ba7e8a6e027ef7a011b6ec0e28ae0215ec78ea3ed8462bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3980848b9e89dabc9ba7e8a6e027ef7a011b6ec0e28ae0215ec78ea3ed8462bc", kill_on_drop: false }`
[INFO] [stdout] 3980848b9e89dabc9ba7e8a6e027ef7a011b6ec0e28ae0215ec78ea3ed8462bc