[INFO] cloning repository https://github.com/raymogg/basalt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raymogg/basalt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraymogg%2Fbasalt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraymogg%2Fbasalt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e0044622560778922ea4efce83ffeb75aeee5c2 [INFO] testing raymogg/basalt against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraymogg%2Fbasalt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raymogg/basalt [INFO] finished tweaking git repo https://github.com/raymogg/basalt [INFO] tweaked toml for git repo https://github.com/raymogg/basalt written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raymogg/basalt on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raymogg/basalt 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18636f4b260e2e062d41794be21a654eae8c3124207779d8834ba19ae0ed628f [INFO] running `Command { std: "docker" "start" "-a" "18636f4b260e2e062d41794be21a654eae8c3124207779d8834ba19ae0ed628f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18636f4b260e2e062d41794be21a654eae8c3124207779d8834ba19ae0ed628f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18636f4b260e2e062d41794be21a654eae8c3124207779d8834ba19ae0ed628f", kill_on_drop: false }` [INFO] [stdout] 18636f4b260e2e062d41794be21a654eae8c3124207779d8834ba19ae0ed628f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3155ebbb1e5842fd37f82aae3bf8f9aeb8a0d224972e8de207c222b44577ae36 [INFO] running `Command { std: "docker" "start" "-a" "3155ebbb1e5842fd37f82aae3bf8f9aeb8a0d224972e8de207c222b44577ae36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Compiling c-kzg v1.0.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling const-hex v1.18.0 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling syn-solidity v0.8.26 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling alloy-sol-type-parser v0.8.26 [INFO] [stderr] Compiling nybbles v0.3.4 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling alloy-rlp v0.3.13 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling alloy-primitives v0.8.26 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling alloy-json-abi v0.8.26 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling alloy-serde v0.8.3 [INFO] [stderr] Compiling alloy-trie v0.7.9 [INFO] [stderr] Compiling alloy-eip2930 v0.1.0 [INFO] [stderr] Compiling alloy-eip7702 v0.4.2 [INFO] [stderr] Compiling alloy-signer v0.8.3 [INFO] [stderr] Compiling alloy-chains v0.1.69 [INFO] [stderr] Compiling alloy-sol-macro-input v0.8.26 [INFO] [stderr] Compiling alloy-eips v0.8.3 [INFO] [stderr] Compiling alloy-sol-macro-expander v0.8.26 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling alloy-genesis v0.8.3 [INFO] [stderr] Compiling alloy-node-bindings v0.8.3 [INFO] [stderr] Compiling alloy-consensus v0.8.3 [INFO] [stderr] Compiling alloy-sol-macro v0.8.26 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling interprocess v2.4.0 [INFO] [stderr] Compiling alloy-sol-types v0.8.26 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling alloy-network-primitives v0.8.3 [INFO] [stderr] Compiling alloy-consensus-any v0.8.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling alloy-json-rpc v0.8.3 [INFO] [stderr] Compiling alloy-rpc-types-eth v0.8.3 [INFO] [stderr] Compiling alloy-dyn-abi v0.8.26 [INFO] [stderr] Compiling alloy-transport v0.8.3 [INFO] [stderr] Compiling alloy-pubsub v0.8.3 [INFO] [stderr] Compiling alloy-transport-http v0.8.3 [INFO] [stderr] Compiling alloy-core v0.8.26 [INFO] [stderr] Compiling alloy-transport-ws v0.8.3 [INFO] [stderr] Compiling alloy-transport-ipc v0.8.3 [INFO] [stderr] Compiling alloy-rpc-client v0.8.3 [INFO] [stderr] Compiling alloy-rpc-types-any v0.8.3 [INFO] [stderr] Compiling alloy-rpc-types-trace v0.8.3 [INFO] [stderr] Compiling alloy-rpc-types-anvil v0.8.3 [INFO] [stderr] Compiling alloy-network v0.8.3 [INFO] [stderr] Compiling alloy-signer-local v0.8.3 [INFO] [stderr] Compiling alloy-provider v0.8.3 [INFO] [stderr] Compiling alloy-rpc-types v0.8.3 [INFO] [stderr] Compiling alloy-contract v0.8.3 [INFO] [stderr] Compiling alloy v0.8.3 [INFO] [stderr] Compiling basalt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stdout] --> src/dex/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloy::transports::http::reqwest; [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: `crate::constants::resolve_token_address` [INFO] [stdout] --> src/quote.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use crate::constants::resolve_token_address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals_in` [INFO] [stdout] --> src/quote.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | decimals_in: u8, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/quote.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_out_meta` [INFO] [stdout] --> src/quote.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolByIdResponse` is never constructed [INFO] [stdout] --> src/poolscout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct PoolByIdResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stdout] --> src/dex/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloy::transports::http::reqwest; [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: `crate::constants::resolve_token_address` [INFO] [stdout] --> src/quote.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use crate::constants::resolve_token_address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals_in` [INFO] [stdout] --> src/quote.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | decimals_in: u8, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/quote.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_out_meta` [INFO] [stdout] --> src/quote.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_RPCS` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const BASE_RPCS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_ZERO` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const ETH_ZERO: &str = "0x0000000000000000000000000000000000000000"; // native ETH in V4 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/dex/token.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DexScreenerPair` is never constructed [INFO] [stdout] --> src/dexscreener.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DexScreenerPair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenInfo` is never constructed [INFO] [stdout] --> src/dexscreener.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TokenInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Liquidity` is never constructed [INFO] [stdout] --> src/dexscreener.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Liquidity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DexScreenerResponse` is never constructed [INFO] [stdout] --> src/dexscreener.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct DexScreenerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version`, `liquidity_usd`, `pool_id`, `quote_token_address`, and `estimate_creation_block` are never used [INFO] [stdout] --> src/dexscreener.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl DexScreenerPair { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 43 | /// Get the DEX version (v2, v3, v4) from labels [INFO] [stdout] 44 | pub fn version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn liquidity_usd(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn pool_id(&self) -> Option<[u8; 32]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn quote_token_address(&self) -> Option
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn estimate_creation_block(&self, current_block: u64, current_timestamp: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pairs` is never used [INFO] [stdout] --> src/dexscreener.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_pairs(token_address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_v4_pairs` is never used [INFO] [stdout] --> src/dexscreener.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn get_v4_pairs(token_address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/poolscout.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PoolScoutPool { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub tick: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolScoutPool` 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 `PoolByIdResponse` is never constructed [INFO] [stdout] --> src/poolscout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct PoolByIdResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_pool_for_pair_from_list` is never used [INFO] [stdout] --> src/poolscout.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn find_pool_for_pair_from_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `balance` are never read [INFO] [stdout] --> src/types.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokenBalance { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub metadata: TokenMetadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub balance: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenBalance` 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 `sqrt_price_x96` and `liquidity` are never read [INFO] [stdout] --> src/types.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct V4PoolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub sqrt_price_x96: alloy::primitives::Uint<160, 3>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `V4PoolInfo` 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 `display_name` is never read [INFO] [stdout] --> src/types.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct QuoteResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 48 | pub method: String, // Internal route key for caching (e.g. "v4-direct(8388608,200,0xbb...)") [INFO] [stdout] 49 | pub display_name: String, // Human-readable route (e.g. "UniV4: MESH -> WETH") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuoteResult` 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 `token` is never read [INFO] [stdout] --> src/types.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FullQuoteResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 58 | pub token: TokenBalance, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullQuoteResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `router_address` is never used [INFO] [stdout] --> src/universal_router.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn router_address() -> Address { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "3155ebbb1e5842fd37f82aae3bf8f9aeb8a0d224972e8de207c222b44577ae36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3155ebbb1e5842fd37f82aae3bf8f9aeb8a0d224972e8de207c222b44577ae36", kill_on_drop: false }` [INFO] [stdout] 3155ebbb1e5842fd37f82aae3bf8f9aeb8a0d224972e8de207c222b44577ae36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44fe6afe92425046a4846fd6be5f9b94dc688b0a984f9d0e1c61156a7343869a [INFO] running `Command { std: "docker" "start" "-a" "44fe6afe92425046a4846fd6be5f9b94dc688b0a984f9d0e1c61156a7343869a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stdout] --> src/dex/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloy::transports::http::reqwest; [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: `crate::constants::resolve_token_address` [INFO] [stdout] --> src/quote.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use crate::constants::resolve_token_address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals_in` [INFO] [stdout] --> src/quote.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | decimals_in: u8, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling basalt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/quote.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_out_meta` [INFO] [stdout] --> src/quote.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolByIdResponse` is never constructed [INFO] [stdout] --> src/poolscout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct PoolByIdResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stdout] --> src/dex/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloy::transports::http::reqwest; [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: `crate::constants::resolve_token_address` [INFO] [stdout] --> src/quote.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use crate::constants::resolve_token_address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals_in` [INFO] [stdout] --> src/quote.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | decimals_in: u8, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/quote.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_out_meta` [INFO] [stdout] --> src/quote.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_RPCS` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const BASE_RPCS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_ZERO` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const ETH_ZERO: &str = "0x0000000000000000000000000000000000000000"; // native ETH in V4 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/dex/token.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DexScreenerPair` is never constructed [INFO] [stdout] --> src/dexscreener.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DexScreenerPair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenInfo` is never constructed [INFO] [stdout] --> src/dexscreener.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TokenInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Liquidity` is never constructed [INFO] [stdout] --> src/dexscreener.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Liquidity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DexScreenerResponse` is never constructed [INFO] [stdout] --> src/dexscreener.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct DexScreenerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version`, `liquidity_usd`, `pool_id`, `quote_token_address`, and `estimate_creation_block` are never used [INFO] [stdout] --> src/dexscreener.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl DexScreenerPair { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 43 | /// Get the DEX version (v2, v3, v4) from labels [INFO] [stdout] 44 | pub fn version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn liquidity_usd(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn pool_id(&self) -> Option<[u8; 32]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn quote_token_address(&self) -> Option
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn estimate_creation_block(&self, current_block: u64, current_timestamp: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pairs` is never used [INFO] [stdout] --> src/dexscreener.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_pairs(token_address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_v4_pairs` is never used [INFO] [stdout] --> src/dexscreener.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn get_v4_pairs(token_address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/poolscout.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PoolScoutPool { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub tick: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolScoutPool` 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 `PoolByIdResponse` is never constructed [INFO] [stdout] --> src/poolscout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct PoolByIdResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_pool_for_pair_from_list` is never used [INFO] [stdout] --> src/poolscout.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn find_pool_for_pair_from_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `balance` are never read [INFO] [stdout] --> src/types.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokenBalance { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub metadata: TokenMetadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub balance: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenBalance` 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 `sqrt_price_x96` and `liquidity` are never read [INFO] [stdout] --> src/types.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct V4PoolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub sqrt_price_x96: alloy::primitives::Uint<160, 3>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `V4PoolInfo` 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 `display_name` is never read [INFO] [stdout] --> src/types.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct QuoteResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 48 | pub method: String, // Internal route key for caching (e.g. "v4-direct(8388608,200,0xbb...)") [INFO] [stdout] 49 | pub display_name: String, // Human-readable route (e.g. "UniV4: MESH -> WETH") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuoteResult` 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 `token` is never read [INFO] [stdout] --> src/types.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FullQuoteResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 58 | pub token: TokenBalance, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullQuoteResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `router_address` is never used [INFO] [stdout] --> src/universal_router.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn router_address() -> Address { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> tests/universal_router_test.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let hex = alloy::primitives::hex::encode(&calldata); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stdout] --> src/dex/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloy::transports::http::reqwest; [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: `crate::constants::resolve_token_address` [INFO] [stdout] --> src/quote.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use crate::constants::resolve_token_address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stdout] --> src/dex/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloy::transports::http::reqwest; [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: `crate::constants::resolve_token_address` [INFO] [stdout] --> src/quote.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use crate::constants::resolve_token_address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals_in` [INFO] [stdout] --> src/quote.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | decimals_in: u8, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/quote.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_out_meta` [INFO] [stdout] --> src/quote.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals_in` [INFO] [stdout] --> src/quote.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | decimals_in: u8, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/quote.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let start = std::time::Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_out_meta` [INFO] [stdout] --> src/quote.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolByIdResponse` is never constructed [INFO] [stdout] --> src/poolscout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct PoolByIdResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_RPCS` is never used [INFO] [stdout] --> src/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const BASE_RPCS: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ETH_ZERO` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const ETH_ZERO: &str = "0x0000000000000000000000000000000000000000"; // native ETH in V4 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_balance` is never used [INFO] [stdout] --> src/dex/token.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get_token_balance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DexScreenerPair` is never constructed [INFO] [stdout] --> src/dexscreener.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DexScreenerPair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenInfo` is never constructed [INFO] [stdout] --> src/dexscreener.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TokenInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Liquidity` is never constructed [INFO] [stdout] --> src/dexscreener.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Liquidity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DexScreenerResponse` is never constructed [INFO] [stdout] --> src/dexscreener.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct DexScreenerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `version`, `liquidity_usd`, `pool_id`, `quote_token_address`, and `estimate_creation_block` are never used [INFO] [stdout] --> src/dexscreener.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl DexScreenerPair { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 43 | /// Get the DEX version (v2, v3, v4) from labels [INFO] [stdout] 44 | pub fn version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn liquidity_usd(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn pool_id(&self) -> Option<[u8; 32]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn quote_token_address(&self) -> Option
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn estimate_creation_block(&self, current_block: u64, current_timestamp: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pairs` is never used [INFO] [stdout] --> src/dexscreener.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn get_pairs(token_address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_v4_pairs` is never used [INFO] [stdout] --> src/dexscreener.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn get_v4_pairs(token_address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tick` is never read [INFO] [stdout] --> src/poolscout.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PoolScoutPool { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub tick: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolScoutPool` 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 `PoolByIdResponse` is never constructed [INFO] [stdout] --> src/poolscout.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct PoolByIdResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_pool_for_pair_from_list` is never used [INFO] [stdout] --> src/poolscout.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn find_pool_for_pair_from_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `balance` are never read [INFO] [stdout] --> src/types.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TokenBalance { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | pub metadata: TokenMetadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub balance: U256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenBalance` 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 `sqrt_price_x96` and `liquidity` are never read [INFO] [stdout] --> src/types.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct V4PoolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub sqrt_price_x96: alloy::primitives::Uint<160, 3>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub liquidity: u128, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `V4PoolInfo` 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 `display_name` is never read [INFO] [stdout] --> src/types.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct QuoteResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 48 | pub method: String, // Internal route key for caching (e.g. "v4-direct(8388608,200,0xbb...)") [INFO] [stdout] 49 | pub display_name: String, // Human-readable route (e.g. "UniV4: MESH -> WETH") [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuoteResult` 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 `token` is never read [INFO] [stdout] --> src/types.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FullQuoteResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 58 | pub token: TokenBalance, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullQuoteResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `router_address` is never used [INFO] [stdout] --> src/universal_router.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn router_address() -> Address { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.48s [INFO] running `Command { std: "docker" "inspect" "44fe6afe92425046a4846fd6be5f9b94dc688b0a984f9d0e1c61156a7343869a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fe6afe92425046a4846fd6be5f9b94dc688b0a984f9d0e1c61156a7343869a", kill_on_drop: false }` [INFO] [stdout] 44fe6afe92425046a4846fd6be5f9b94dc688b0a984f9d0e1c61156a7343869a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 814a99056b7a42f48246e623c3c06d138701ad996b35cfc2fcbca6270e7ff583 [INFO] running `Command { std: "docker" "start" "-a" "814a99056b7a42f48246e623c3c06d138701ad996b35cfc2fcbca6270e7ff583", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `alloy::transports::http::reqwest` [INFO] [stderr] --> src/dex/token.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use alloy::transports::http::reqwest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::constants::resolve_token_address` [INFO] [stderr] --> src/quote.rs:1020:9 [INFO] [stderr] | [INFO] [stderr] 1020 | use crate::constants::resolve_token_address; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decimals_in` [INFO] [stderr] --> src/quote.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | decimals_in: u8, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals_in` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/quote.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | let start = std::time::Instant::now(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_out_meta` [INFO] [stderr] --> src/quote.rs:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | let token_out_meta = dex::get_token_metadata(&rpc_url, token_out).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_out_meta` [INFO] [stderr] [INFO] [stderr] warning: struct `PoolByIdResponse` is never constructed [INFO] [stderr] --> src/poolscout.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | struct PoolByIdResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `basalt` (lib) generated 6 warnings (run `cargo fix --lib -p basalt` to apply 5 suggestions) [INFO] [stderr] warning: `basalt` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: constant `BASE_RPCS` is never used [INFO] [stderr] --> src/constants.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const BASE_RPCS: &[&str] = &[ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `ETH_ZERO` is never used [INFO] [stderr] --> src/constants.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const ETH_ZERO: &str = "0x0000000000000000000000000000000000000000"; // native ETH in V4 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_token_balance` is never used [INFO] [stderr] --> src/dex/token.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | pub async fn get_token_balance( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DexScreenerPair` is never constructed [INFO] [stderr] --> src/dexscreener.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct DexScreenerPair { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TokenInfo` is never constructed [INFO] [stderr] --> src/dexscreener.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct TokenInfo { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Liquidity` is never constructed [INFO] [stderr] --> src/dexscreener.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Liquidity { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DexScreenerResponse` is never constructed [INFO] [stderr] --> src/dexscreener.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | struct DexScreenerResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `version`, `liquidity_usd`, `pool_id`, `quote_token_address`, and `estimate_creation_block` are never used [INFO] [stderr] --> src/dexscreener.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl DexScreenerPair { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] 43 | /// Get the DEX version (v2, v3, v4) from labels [INFO] [stderr] 44 | pub fn version(&self) -> Option<&str> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn liquidity_usd(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn pool_id(&self) -> Option<[u8; 32]> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn quote_token_address(&self) -> Option
{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn estimate_creation_block(&self, current_block: u64, current_timestamp: u64) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_pairs` is never used [INFO] [stderr] --> src/dexscreener.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | pub async fn get_pairs(token_address: Address) -> Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_v4_pairs` is never used [INFO] [stderr] --> src/dexscreener.rs:135:14 [INFO] [stderr] | [INFO] [stderr] 135 | pub async fn get_v4_pairs(token_address: Address) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `tick` is never read [INFO] [stderr] --> src/poolscout.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct PoolScoutPool { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub tick: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PoolScoutPool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PoolByIdResponse` is never constructed [INFO] [stderr] --> src/poolscout.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | struct PoolByIdResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_pool_for_pair_from_list` is never used [INFO] [stderr] --> src/poolscout.rs:135:8 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn find_pool_for_pair_from_list( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `metadata` and `balance` are never read [INFO] [stderr] --> src/types.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct TokenBalance { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 14 | pub metadata: TokenMetadata, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | pub balance: U256, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenBalance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `sqrt_price_x96` and `liquidity` are never read [INFO] [stderr] --> src/types.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct V4PoolInfo { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 41 | pub sqrt_price_x96: alloy::primitives::Uint<160, 3>, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 42 | pub liquidity: u128, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `V4PoolInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `display_name` is never read [INFO] [stderr] --> src/types.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct QuoteResult { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 48 | pub method: String, // Internal route key for caching (e.g. "v4-direct(8388608,200,0xbb...)") [INFO] [stderr] 49 | pub display_name: String, // Human-readable route (e.g. "UniV4: MESH -> WETH") [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QuoteResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `token` is never read [INFO] [stderr] --> src/types.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct FullQuoteResult { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 58 | pub token: TokenBalance, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FullQuoteResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `router_address` is never used [INFO] [stderr] --> src/universal_router.rs:273:8 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn router_address() -> Address { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hex` [INFO] [stderr] --> tests/universal_router_test.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | let hex = alloy::primitives::hex::encode(&calldata); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `basalt` (bin "basalt") generated 23 warnings (5 duplicates) [INFO] [stderr] warning: `basalt` (bin "basalt" test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: `basalt` (test "universal_router_test") generated 1 warning (run `cargo fix --test "universal_router_test" -p basalt` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/basalt-bbb6f5b7f9de48ac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basalt-ff6410569170f9e6) [INFO] [stderr] Running tests/cache_test.rs (/opt/rustwide/target/debug/deps/cache_test-78a2016f21e4a31b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test test_aerodrome_pool_type_parsing_from_cached_method ... ok [INFO] [stdout] test test_cache_key_format ... ok [INFO] [stdout] test test_v3_fee_parsing_from_cached_method ... ok [INFO] [stdout] test test_v4_pool_params_parsing_from_cached_method ... ok [INFO] [stdout] test test_empty_quotes_doesnt_cache ... ok [INFO] [stdout] test test_parse_cache_keys_into_token_pairs ... ok [INFO] [stdout] test test_refresh_resets_usage_count ... ok [INFO] [stdout] test test_load_route_cache_returns_all_pairs ... ok [INFO] [stdout] test test_cache_refresh_after_threshold ... ok [INFO] [stdout] test test_bidirectional_caching ... ok [INFO] [stdout] test test_cache_routes_stores_top_3_within_threshold ... ok [INFO] [stdout] test test_updated_at_changes_on_refresh ... ok [INFO] [stderr] Running tests/universal_router_test.rs (/opt/rustwide/target/debug/deps/universal_router_test-fc34cbdac17aa079) [INFO] [stdout] test test_usage_counter_increments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_encode_v4_single_command_byte_is_v4_swap ... ok [INFO] [stdout] test test_encode_v4_single_different_directions ... ok [INFO] [stdout] test test_encode_v4_v3_multihop_has_two_commands ... ok [INFO] [stdout] test test_encode_v3_single_produces_valid_calldata ... ok [INFO] [stdout] test test_encode_v4_single_produces_valid_calldata ... ok [INFO] [stdout] test test_encode_v4_v4_multihop_has_two_commands ... ok [INFO] [stdout] test test_encode_v3_single_command_byte_is_v3_swap ... ok [INFO] [stdout] test test_encode_v3_different_fees_produce_different_calldata ... ok [INFO] [stdout] test test_router_address_is_valid ... ok [INFO] [stdout] test test_encode_v4_single_deterministic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests basalt [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "814a99056b7a42f48246e623c3c06d138701ad996b35cfc2fcbca6270e7ff583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814a99056b7a42f48246e623c3c06d138701ad996b35cfc2fcbca6270e7ff583", kill_on_drop: false }` [INFO] [stdout] 814a99056b7a42f48246e623c3c06d138701ad996b35cfc2fcbca6270e7ff583