[INFO] cloning repository https://github.com/braulionova/base_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/braulionova/base_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraulionova%2Fbase_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraulionova%2Fbase_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80db8823f69c76b2af9a1d78a40ea2761a1bb233 [INFO] checking braulionova/base_bot against 47574b82ff3fe9b0a45ff65a4fe189e295ecb748 for pr-160780 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraulionova%2Fbase_bot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/braulionova/base_bot [INFO] finished tweaking git repo https://github.com/braulionova/base_bot [INFO] tweaked toml for git repo https://github.com/braulionova/base_bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/braulionova/base_bot on toolchain 47574b82ff3fe9b0a45ff65a4fe189e295ecb748 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/braulionova/base_bot 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" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf [INFO] running `Command { std: "docker" "start" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf" "/opt/rustwide/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf" "/opt/rustwide/cargo-home/bin/cargo" "+47574b82ff3fe9b0a45ff65a4fe189e295ecb748" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.15 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling const-hex v1.18.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking alloy-rlp v0.3.15 [INFO] [stderr] Checking tokio v1.51.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling alloy-sol-type-parser v1.5.7 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling aws-lc-sys v0.39.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking alloy-primitives v1.5.7 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling c-kzg v2.1.7 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Checking alloy-json-abi v1.5.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip7928 v0.3.3 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Checking alloy-serde v1.8.3 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Checking nybbles v0.4.8 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling serde_with_macros v3.18.0 [INFO] [stderr] Checking alloy-trie v0.9.5 [INFO] [stderr] Compiling alloy-tx-macros v1.8.3 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking serde_with v3.18.0 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling doctest-file v1.1.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking alloy-signer v1.8.3 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking interprocess v2.4.0 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking alloy-eips v1.8.3 [INFO] [stderr] Checking alloy-rpc-types-debug v1.8.3 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Checking num_enum v0.7.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Checking alloy-sol-types v1.5.7 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking alloy-consensus v1.8.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking alloy-chains v0.2.33 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking alloy-json-rpc v1.8.3 [INFO] [stderr] Checking alloy-dyn-abi v1.5.7 [INFO] [stderr] Checking alloy-transport v1.8.3 [INFO] [stderr] Checking alloy-core v1.5.7 [INFO] [stderr] Checking alloy-network-primitives v1.8.3 [INFO] [stderr] Checking alloy-consensus-any v1.8.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking alloy-pubsub v1.8.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking alloy-rpc-types-eth v1.8.3 [INFO] [stderr] Checking alloy-transport-ipc v1.8.3 [INFO] [stderr] Checking alloy-rpc-types-any v1.8.3 [INFO] [stderr] Checking alloy-rpc-types-anvil v1.8.3 [INFO] [stderr] Checking alloy-rpc-types-trace v1.8.3 [INFO] [stderr] Checking alloy-network v1.8.3 [INFO] [stderr] Checking alloy-rpc-types-txpool v1.8.3 [INFO] [stderr] Checking alloy-signer-local v1.8.3 [INFO] [stderr] Checking alloy-rpc-types v1.8.3 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking alloy-transport-ws v1.8.3 [INFO] [stderr] Checking alloy-transport-http v1.8.3 [INFO] [stderr] Checking alloy-rpc-client v1.8.3 [INFO] [stderr] Checking alloy-provider v1.8.3 [INFO] [stderr] Checking alloy-contract v1.8.3 [INFO] [stderr] Checking alloy v1.8.3 [INFO] [stderr] Checking longtail-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/backrun.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::arbitrage::{self, ArbOpportunity, ArbPath, ArbitrageEngine, PairIndex, PoolState, wei_to_eth}; [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: `warn` [INFO] [stdout] --> src/liquidation.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, warn, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/oracle_arb.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arbitrage::ArbOpportunity` [INFO] [stdout] --> src/oracle_arb.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::arbitrage::ArbOpportunity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/pools.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/websocket.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{info, error, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/backrun.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::arbitrage::{self, ArbOpportunity, ArbPath, ArbitrageEngine, PairIndex, PoolState, wei_to_eth}; [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: `warn` [INFO] [stdout] --> src/liquidation.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, warn, debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/oracle_arb.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arbitrage::ArbOpportunity` [INFO] [stdout] --> src/oracle_arb.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::arbitrage::ArbOpportunity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/pools.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/websocket.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{info, error, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_collateral` [INFO] [stdout] --> src/liquidation.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | ... let total_collateral = data.totalCollateralBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_collateral` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_addr` [INFO] [stdout] --> src/oracle_arb.rs:209:71 [INFO] [stdout] | [INFO] [stdout] 209 | fn calc_v3_price(&self, sqrt_price_x96: U256, lst_token: Address, pool_addr: Address) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_collateral` [INFO] [stdout] --> src/liquidation.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | ... let total_collateral = data.totalCollateralBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_collateral` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_addr` [INFO] [stdout] --> src/oracle_arb.rs:209:71 [INFO] [stdout] | [INFO] [stdout] 209 | fn calc_v3_price(&self, sqrt_price_x96: U256, lst_token: Address, pool_addr: Address) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let mut liq_refresh_cycle = 0u64; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liq_refresh_cycle` [INFO] [stdout] --> src/main.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let mut liq_refresh_cycle = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liq_refresh_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expected_out` is never read [INFO] [stdout] --> src/arbitrage.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ArbOpportunity { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub expected_out: U256, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArbOpportunity` has derived impls for the traits `Clone` and `Debug`, but these are 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: variant `Unknown` is never constructed [INFO] [stdout] --> src/arbitrage.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum PoolState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolState` 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 `indexed_count` is never read [INFO] [stdout] --> src/arbitrage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PairIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub indexed_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_opportunities` is never used [INFO] [stdout] --> src/arbitrage.rs:539:18 [INFO] [stdout] | [INFO] [stdout] 134 | impl ArbitrageEngine { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 539 | pub async fn find_opportunities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool`, `block`, `amount0`, `amount1`, `is_v3`, and `timestamp` are never read [INFO] [stdout] --> src/backrun.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LargeSwapEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | pub pool: Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub block: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub amount0: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub amount1: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub is_v3: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub timestamp: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LargeSwapEvent` 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 `hard_blacklist`, `whitelist`, and `worst_tokens` are never used [INFO] [stdout] --> src/blacklist.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl TokenBlacklist { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn hard_blacklist(&mut self, token: Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn whitelist(&mut self, token: Address) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn worst_tokens(&self, limit: usize) -> Vec<(Address, &TokenScore)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompetitionDetector` is never constructed [INFO] [stdout] --> src/competition.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CompetitionDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `analyze_pools` are never used [INFO] [stdout] --> src/competition.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl CompetitionDetector { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(rpc: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn analyze_pools( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_bot_activity` is never used [INFO] [stdout] --> src/competition.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn count_bot_activity(block_numbers: &[u64]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_pool_competition` is never used [INFO] [stdout] --> src/competition.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn update_pool_competition(pools: &DashMap, addr: Address, bot_count: u64, block: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `categorize` is never used [INFO] [stdout] --> src/competition.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn categorize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_id`, `min_profit_wei`, `max_trade_size_eth`, `poll_interval_ms`, `max_pools`, and `competition_threshold` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub chain_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub min_profit_wei: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub max_trade_size_eth: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub poll_interval_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub max_pools: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub competition_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current` is never used [INFO] [stdout] --> src/executor.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl NonceManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn current(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_pending` is never read [INFO] [stdout] --> src/executor.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Executor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | max_pending: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `net_profit_after_gas`, `current_gas_price`, and `total_samples` are never used [INFO] [stdout] --> src/gas_predictor.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl GasPredictor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn net_profit_after_gas(&self, gross_profit_wei: U256, estimated_gas_units: u64) -> (bool, U256) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn current_gas_price(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn total_samples(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tracked_count` is never used [INFO] [stdout] --> src/liquidation.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl LiquidationMonitor { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn tracked_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/oracle_arb.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct OracleArbOpp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 233 | pub token: Address, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleArbOpp` 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 `get_fastest`, `get_at`, `provider_count`, and `get_latency` are never used [INFO] [stdout] --> src/rpc.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl MultiRpcProvider { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_fastest(&self) -> &BoxProvider { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_at(&self, idx: usize) -> &BoxProvider { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn provider_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_latency(&self, idx: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenSafetyResult` is never constructed [INFO] [stdout] --> src/safety.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TokenSafetyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_token` and `check_pool_tokens` are never used [INFO] [stdout] --> src/safety.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SafetyChecker { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn check_token(&mut self, token: Address) -> TokenSafetyResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn check_pool_tokens(&mut self, token0: Address, token1: Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_signing_provider` is never used [INFO] [stdout] --> src/signer.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn create_signing_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/websocket.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | NewBlock { number: u64 }, [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChainEvent` 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 `pool` is never read [INFO] [stdout] --> src/websocket.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | SwapDetected { pool: Address }, [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChainEvent` 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let mut liq_refresh_cycle = 0u64; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liq_refresh_cycle` [INFO] [stdout] --> src/main.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let mut liq_refresh_cycle = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liq_refresh_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expected_out` is never read [INFO] [stdout] --> src/arbitrage.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ArbOpportunity { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub expected_out: U256, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArbOpportunity` has derived impls for the traits `Clone` and `Debug`, but these are 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: variant `Unknown` is never constructed [INFO] [stdout] --> src/arbitrage.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum PoolState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolState` 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 `indexed_count` is never read [INFO] [stdout] --> src/arbitrage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PairIndex { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub indexed_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_opportunities` is never used [INFO] [stdout] --> src/arbitrage.rs:539:18 [INFO] [stdout] | [INFO] [stdout] 134 | impl ArbitrageEngine { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 539 | pub async fn find_opportunities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool`, `block`, `amount0`, `amount1`, `is_v3`, and `timestamp` are never read [INFO] [stdout] --> src/backrun.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LargeSwapEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | pub pool: Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub block: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub amount0: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | pub amount1: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub is_v3: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub timestamp: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LargeSwapEvent` 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 `hard_blacklist`, `whitelist`, and `worst_tokens` are never used [INFO] [stdout] --> src/blacklist.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl TokenBlacklist { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn hard_blacklist(&mut self, token: Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn whitelist(&mut self, token: Address) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn worst_tokens(&self, limit: usize) -> Vec<(Address, &TokenScore)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompetitionDetector` is never constructed [INFO] [stdout] --> src/competition.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CompetitionDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `analyze_pools` are never used [INFO] [stdout] --> src/competition.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl CompetitionDetector { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(rpc: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn analyze_pools( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_bot_activity` is never used [INFO] [stdout] --> src/competition.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn count_bot_activity(block_numbers: &[u64]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_pool_competition` is never used [INFO] [stdout] --> src/competition.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn update_pool_competition(pools: &DashMap, addr: Address, bot_count: u64, block: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `categorize` is never used [INFO] [stdout] --> src/competition.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn categorize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_id`, `min_profit_wei`, `max_trade_size_eth`, `poll_interval_ms`, `max_pools`, and `competition_threshold` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub chain_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub min_profit_wei: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub max_trade_size_eth: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub poll_interval_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub max_pools: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub competition_threshold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current` is never used [INFO] [stdout] --> src/executor.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl NonceManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn current(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_pending` is never read [INFO] [stdout] --> src/executor.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Executor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | max_pending: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `net_profit_after_gas`, `current_gas_price`, and `total_samples` are never used [INFO] [stdout] --> src/gas_predictor.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl GasPredictor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn net_profit_after_gas(&self, gross_profit_wei: U256, estimated_gas_units: u64) -> (bool, U256) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn current_gas_price(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn total_samples(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tracked_count` is never used [INFO] [stdout] --> src/liquidation.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl LiquidationMonitor { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn tracked_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/oracle_arb.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct OracleArbOpp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 233 | pub token: Address, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OracleArbOpp` 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 `get_fastest`, `get_at`, `provider_count`, and `get_latency` are never used [INFO] [stdout] --> src/rpc.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl MultiRpcProvider { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_fastest(&self) -> &BoxProvider { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_at(&self, idx: usize) -> &BoxProvider { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn provider_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_latency(&self, idx: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenSafetyResult` is never constructed [INFO] [stdout] --> src/safety.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TokenSafetyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_token` and `check_pool_tokens` are never used [INFO] [stdout] --> src/safety.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SafetyChecker { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn check_token(&mut self, token: Address) -> TokenSafetyResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn check_pool_tokens(&mut self, token0: Address, token1: Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_signing_provider` is never used [INFO] [stdout] --> src/signer.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn create_signing_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/websocket.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | NewBlock { number: u64 }, [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChainEvent` 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 `pool` is never read [INFO] [stdout] --> src/websocket.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | SwapDetected { pool: Address }, [INFO] [stdout] | ------------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChainEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf", kill_on_drop: false }` [INFO] [stdout] 27f3d63468dcf93b1aac43fb783f942b0d849dbcf496844042775c9ad2b92edf