[INFO] cloning repository https://github.com/kyomei-indexer/indexer-evm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyomei-indexer/indexer-evm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyomei-indexer%2Findexer-evm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyomei-indexer%2Findexer-evm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25ac5b4519562f0a9ea99d5fd1697c4ec04263ec [INFO] checking kyomei-indexer/indexer-evm against try#24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkyomei-indexer%2Findexer-evm" "/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/kyomei-indexer/indexer-evm [INFO] finished tweaking git repo https://github.com/kyomei-indexer/indexer-evm [INFO] tweaked toml for git repo https://github.com/kyomei-indexer/indexer-evm written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kyomei-indexer/indexer-evm on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kyomei-indexer/indexer-evm 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" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca [INFO] running `Command { std: "docker" "start" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca", 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" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca", 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" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.13 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [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 tracing v0.1.44 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling zerocopy v0.8.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling syn-solidity v1.5.7 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking const-hex v1.18.1 [INFO] [stderr] Compiling ruint v1.17.2 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling alloy-sol-type-parser v1.5.7 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking alloy-rlp v0.3.13 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling alloy-primitives v1.5.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking nybbles v0.4.8 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling alloy-json-abi v1.5.7 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking alloy-eip2124 v0.2.0 [INFO] [stderr] Checking alloy-eip2930 v0.2.3 [INFO] [stderr] Checking alloy-eip7702 v0.6.3 [INFO] [stderr] Checking alloy-eip7928 v0.3.3 [INFO] [stderr] Checking alloy-serde v1.7.3 [INFO] [stderr] Checking alloy-trie v0.9.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking futures-utils-wasm v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling alloy-sol-macro-input v1.5.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling alloy-sol-macro-expander v1.5.7 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Compiling alloy-tx-macros v1.7.3 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde_with v3.17.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking alloy-signer v1.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling alloy-sol-macro v1.5.7 [INFO] [stderr] Checking alloy-eips v1.7.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking alloy-sol-types v1.5.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking alloy-consensus v1.7.3 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking alloy-chains v0.2.31 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking metrics v0.24.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Checking sketches-ddsketch v0.3.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking arc-swap v1.8.2 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking metrics-util v0.19.1 [INFO] [stderr] Checking alloy-json-rpc v1.7.3 [INFO] [stderr] Checking alloy-dyn-abi v1.5.7 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking alloy-transport v1.7.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking alloy-network-primitives v1.7.3 [INFO] [stderr] Checking alloy-consensus-any v1.7.3 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking alloy-core v1.5.7 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking alloy-rpc-types-eth v1.7.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking regex-lite v0.1.9 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking alloy-rpc-types-any v1.7.3 [INFO] [stderr] Checking alloy-rpc-types v1.7.3 [INFO] [stderr] Checking alloy-network v1.7.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking alloy-signer-local v1.7.3 [INFO] [stderr] Checking redis v0.27.6 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking metrics-exporter-prometheus v0.16.2 [INFO] [stderr] Checking alloy-transport-http v1.7.3 [INFO] [stderr] Checking alloy-rpc-client v1.7.3 [INFO] [stderr] Checking alloy-provider v1.7.3 [INFO] [stderr] Checking alloy-contract v1.7.3 [INFO] [stderr] Checking alloy v1.7.3 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking kyomei-indexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/sources/mod.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 31 - let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] 31 + let _ = self.current.try_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/sources/mod.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 40 - let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] 40 + let _ = self.current.try_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/sources/mod.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 31 - let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] 31 + let _ = self.current.try_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> src/sources/mod.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 40 - let _ = self.current.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] 40 + let _ = self.current.try_update(Ordering::Relaxed, Ordering::Relaxed, |current| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `signature_to_event_name`, `contract_signatures`, `decode_raw_event_for_contract`, and `decode_raw_event_to_copy_row` are never used [INFO] [stdout] --> src/abi/decoder.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl AbiDecoder { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn signature_to_event_name(&self) -> HashMap<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn contract_signatures(&self, contract_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn decode_raw_event_for_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn decode_raw_event_to_copy_row<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signature_string` and `outputs` are never read [INFO] [stdout] --> src/abi/function_decoder.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ParsedFunction { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub signature_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub outputs: Vec<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedFunction` 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: multiple fields are never read [INFO] [stdout] --> src/abi/function_decoder.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DecodedTraceRow { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 28 | /// Target table name (e.g., "trace_uniswap_v2_router_swap_exact_tokens_for_tokens") [INFO] [stdout] 29 | pub table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | /// Original contract name [INFO] [stdout] 31 | pub contract_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub input_columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | /// Decoded input parameter values as strings [INFO] [stdout] 37 | pub input_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | // Base trace fields [INFO] [stdout] 39 | pub chain_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub block_number: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | pub tx_index: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | pub trace_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub block_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub block_timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub tx_hash: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub from_address: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub to_address: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub gas: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub gas_used: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodedTraceRow` 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_functions`, `all_selectors`, and `generate_trace_table_sql` are never used [INFO] [stdout] --> src/abi/function_decoder.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl FunctionDecoder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_functions(&self, contract_name: &str) -> Option<&[ParsedFunction]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn all_selectors(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn generate_trace_table_sql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/config/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl IndexerConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 36 | /// Load configuration from a YAML file [INFO] [stdout] 37 | pub fn from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `finality` is never read [INFO] [stdout] --> src/config/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 197 | Rpc { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 200 | finality: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceConfig` 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 `finality` is never read [INFO] [stdout] --> src/config/mod.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 203 | Erpc { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 206 | finality: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceConfig` 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 `event_buffer_size` is never read [INFO] [stdout] --> src/config/mod.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct SyncConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 251 | pub event_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncConfig` 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 `child_abi_path` is never read [INFO] [stdout] --> src/config/mod.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct FactoryContractConfig { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 405 | pub child_abi_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactoryContractConfig` 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 `factory_ref` and `start_block` are never read [INFO] [stdout] --> src/config/mod.rs:646:9 [INFO] [stdout] | [INFO] [stdout] 641 | pub struct TraceContractConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 646 | pub factory_ref: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub start_block: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceContractConfig` 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 `start_block` is never read [INFO] [stdout] --> src/config/mod.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 664 | pub struct AccountAddressConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 667 | pub start_block: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountAddressConfig` 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 `insert_batch_in_tx`, `get_latest_block`, and `count` are never used [INFO] [stdout] --> src/db/accounts.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl AccountEventRepository { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn insert_batch_in_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn get_latest_block(&self, chain_id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_batch_in_tx` is never used [INFO] [stdout] --> src/db/decoded.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl DecodedEventRepository { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn insert_batch_in_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `query_range`, `count`, and `has_block` are never used [INFO] [stdout] --> src/db/events.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl EventRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn query_range( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub async fn has_block(&self, chain_id: i32, block_number: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_children_by_factory` and `count` are never used [INFO] [stdout] --> src/db/factory.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl FactoryRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn get_children_by_factory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_traces_table_sql` is never used [INFO] [stdout] --> src/db/migrations.rs:713:8 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn raw_traces_table_sql(schema: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_account_events_table_sql` is never used [INFO] [stdout] --> src/db/migrations.rs:742:8 [INFO] [stdout] | [INFO] [stdout] 742 | pub fn raw_account_events_table_sql(schema: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `continuous_aggregate_sql` is never used [INFO] [stdout] --> src/db/migrations.rs:764:8 [INFO] [stdout] | [INFO] [stdout] 764 | pub fn continuous_aggregate_sql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `continuous_aggregate_sql_with_custom` is never used [INFO] [stdout] --> src/db/migrations.rs:773:8 [INFO] [stdout] | [INFO] [stdout] 773 | pub fn continuous_aggregate_sql_with_custom( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_batch_in_tx`, `get_latest_block`, and `count` are never used [INFO] [stdout] --> src/db/traces.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TraceRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn insert_batch_in_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn get_latest_block(&self, chain_id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_all_events_view` is never used [INFO] [stdout] --> src/db/views.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl ViewCreator { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn create_all_events_view( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete_worker` is never used [INFO] [stdout] --> src/db/workers.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl WorkerRepository { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn delete_worker(&self, chain_id: i32, worker_id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output_dir` is never used [INFO] [stdout] --> src/export/csv.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CsvExporter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn output_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `factory_addresses` is never used [INFO] [stdout] --> src/factory/watcher.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FactoryWatcher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn factory_addresses(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StreamMessage` is never used [INFO] [stdout] --> src/queue/publisher.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum StreamMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish_factory_child` is never used [INFO] [stdout] --> src/queue/publisher.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl EventPublisher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn publish_factory_child( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `finality_blocks` is never read [INFO] [stdout] --> src/reorg/detector.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ReorgDetector { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | finality_blocks: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reorged_blocks` is never read [INFO] [stdout] --> src/reorg/detector.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | Reorg { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 28 | reorged_blocks: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReorgCheckResult` 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 `find_common_ancestor_with_source`, `latest_known_block`, and `is_final` are never used [INFO] [stdout] --> src/reorg/detector.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl ReorgDetector { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn find_common_ancestor_with_source( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn latest_known_block(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn is_final(&self, block_number: u64, current_block: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_hash` is never used [INFO] [stdout] --> src/sources/mod.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait BlockSource: Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | async fn get_block_hash(&self, block_number: u64) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace_method` is never used [INFO] [stdout] --> src/sources/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait TraceSource: Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 86 | fn trace_method(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_permits` is never used [INFO] [stdout] --> src/sources/concurrency.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AdaptiveConcurrency { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn current_permits(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocks_per_request` is never read [INFO] [stdout] --> src/sources/rpc.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct RpcBlockSource { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 56 | provider: Box, [INFO] [stdout] 57 | blocks_per_request: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sources/rpc.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 64 | impl RpcBlockSource { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 65 | /// Create a new RPC block source from a URL [INFO] [stdout] 66 | pub async fn new(url: &str, chain_id: u32, blocks_per_request: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_bloom_empty` is never used [INFO] [stdout] --> src/sources/rpc.rs:866:8 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn is_bloom_empty(bloom: &Bloom) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sources/erpc.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl ErpcBlockSource { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 63 | /// Create a new eRPC block source [INFO] [stdout] 64 | pub async fn new(url: &str, chain_id: u32, blocks_per_request: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archive_height` is never read [INFO] [stdout] --> src/sources/hypersync.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct HyperSyncResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | archive_height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `query_block_hash` are never used [INFO] [stdout] --> src/sources/hypersync.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 126 | impl HyperSyncBlockSource { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 127 | /// Create a new HyperSync block source. [INFO] [stdout] 128 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | async fn query_block_hash(&self, block_number: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/sources/traces.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TraceMethod { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_transfer_events_from_traces` is never used [INFO] [stdout] --> src/sync/account_syncer.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl AccountSyncer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn extract_transfer_events_from_traces( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_log_filter` is never used [INFO] [stdout] --> src/sync/chain_syncer.rs:1199:14 [INFO] [stdout] | [INFO] [stdout] 160 | impl ChainSyncer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1199 | async fn build_log_filter(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressTracker` is never constructed [INFO] [stdout] --> src/sync/progress.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ProgressTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressInner` is never constructed [INFO] [stdout] --> src/sync/progress.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct ProgressInner { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/sync/progress.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ProgressTracker { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 24 | /// Create a new progress tracker [INFO] [stdout] 25 | pub fn new(chain_id: u32, chain_name: &str, start_block: u64, target_block: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_current_block(&self, block: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_target_block(&self, block: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_events(&self, count: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn current_block(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn target_block(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn events_stored(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn is_synced(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn blocks_per_second(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn log_progress(&self, mode: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn eta_seconds(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_retry` is never used [INFO] [stdout] --> src/sync/retry.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn with_retry( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingBlock`, `BlockHeaderUnavailable`, and `LogOutOfRange` are never constructed [INFO] [stdout] --> src/sync/retry.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum BlockValidationError { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | MissingBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | BlockHeaderUnavailable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | LogOutOfRange { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockValidationError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_views` is never used [INFO] [stdout] --> src/sync/view_indexer.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ViewFunctionIndexer { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn has_views(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerConfig` is never constructed [INFO] [stdout] --> src/sync/worker.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WorkerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sync/worker.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl WorkerConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 23 | /// Create a default config with standard error thresholds [INFO] [stdout] 24 | pub fn new(chain_id: i32, blocks_per_request: u64, checkpoint_interval: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_historic_worker` is never used [INFO] [stdout] --> src/sync/worker.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn run_historic_worker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkpoint` is never used [INFO] [stdout] --> src/sync/worker.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | async fn checkpoint( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerStats` is never constructed [INFO] [stdout] --> src/sync/worker.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct WorkerStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncProgress` is never constructed [INFO] [stdout] --> src/types.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct SyncProgress { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SyncPhase` is never used [INFO] [stdout] --> src/types.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | pub enum SyncPhase { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyncStatus` is never constructed [INFO] [stdout] --> src/types.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct SyncStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/types.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct BlockWithTraces { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 174 | pub block: BlockInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockWithTraces` 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: multiple fields are never read [INFO] [stdout] --> src/types.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct TransactionInfo { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 275 | pub block_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 276 | pub block_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 277 | pub block_timestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub gas_price: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 287 | pub gas_used: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 288 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 289 | pub nonce: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionInfo` 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 `decode_raw_event_for_contract` and `decode_raw_event_to_copy_row` are never used [INFO] [stdout] --> src/abi/decoder.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl AbiDecoder { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn decode_raw_event_for_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn decode_raw_event_to_copy_row<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/abi/function_decoder.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DecodedTraceRow { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub contract_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub chain_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub block_number: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | pub tx_index: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | pub trace_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub block_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub block_timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub tx_hash: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub from_address: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub to_address: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | pub gas: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | pub gas_used: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodedTraceRow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/config/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl IndexerConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 36 | /// Load configuration from a YAML file [INFO] [stdout] 37 | pub fn from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `finality` is never read [INFO] [stdout] --> src/config/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 197 | Rpc { [INFO] [stdout] | --- field in this variant [INFO] [stdout] ... [INFO] [stdout] 200 | finality: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceConfig` 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 `child_abi_path` is never read [INFO] [stdout] --> src/config/mod.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct FactoryContractConfig { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 405 | pub child_abi_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FactoryContractConfig` 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 `insert_batch_in_tx`, `get_latest_block`, and `count` are never used [INFO] [stdout] --> src/db/accounts.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl AccountEventRepository { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn insert_batch_in_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn get_latest_block(&self, chain_id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_batch_in_tx` is never used [INFO] [stdout] --> src/db/decoded.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl DecodedEventRepository { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn insert_batch_in_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `query_range`, `count`, and `has_block` are never used [INFO] [stdout] --> src/db/events.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl EventRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub async fn query_range( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub async fn has_block(&self, chain_id: i32, block_number: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_children_by_factory` and `count` are never used [INFO] [stdout] --> src/db/factory.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl FactoryRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn get_children_by_factory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_batch_in_tx`, `get_latest_block`, and `count` are never used [INFO] [stdout] --> src/db/traces.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl TraceRepository { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn insert_batch_in_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn get_latest_block(&self, chain_id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub async fn count(&self, chain_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_all_events_view` is never used [INFO] [stdout] --> src/db/views.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl ViewCreator { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn create_all_events_view( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete_worker` is never used [INFO] [stdout] --> src/db/workers.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl WorkerRepository { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn delete_worker(&self, chain_id: i32, worker_id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish_factory_child` is never used [INFO] [stdout] --> src/queue/publisher.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl EventPublisher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn publish_factory_child( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace_method` is never used [INFO] [stdout] --> src/sources/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait TraceSource: Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 86 | fn trace_method(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blocks_per_request` is never read [INFO] [stdout] --> src/sources/rpc.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct RpcBlockSource { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 56 | provider: Box, [INFO] [stdout] 57 | blocks_per_request: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sources/rpc.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 64 | impl RpcBlockSource { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 65 | /// Create a new RPC block source from a URL [INFO] [stdout] 66 | pub async fn new(url: &str, chain_id: u32, blocks_per_request: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sources/erpc.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl ErpcBlockSource { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 63 | /// Create a new eRPC block source [INFO] [stdout] 64 | pub async fn new(url: &str, chain_id: u32, blocks_per_request: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calls` is never used [INFO] [stdout] --> src/sources/fallback.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl MockSource { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | fn calls(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `archive_height` is never read [INFO] [stdout] --> src/sources/hypersync.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct HyperSyncResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | archive_height: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sources/hypersync.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 126 | impl HyperSyncBlockSource { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 127 | /// Create a new HyperSync block source. [INFO] [stdout] 128 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_transfer_events_from_traces` is never used [INFO] [stdout] --> src/sync/account_syncer.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl AccountSyncer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn extract_transfer_events_from_traces( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_log_filter` is never used [INFO] [stdout] --> src/sync/chain_syncer.rs:1199:14 [INFO] [stdout] | [INFO] [stdout] 160 | impl ChainSyncer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1199 | async fn build_log_filter(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain_id` and `chain_name` are never read [INFO] [stdout] --> src/sync/progress.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct ProgressInner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | chain_id: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | chain_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_progress` is never used [INFO] [stdout] --> src/sync/progress.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ProgressTracker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn log_progress(&self, mode: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_views` is never used [INFO] [stdout] --> src/sync/view_indexer.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ViewFunctionIndexer { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn has_views(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_historic_worker` is never used [INFO] [stdout] --> src/sync/worker.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn run_historic_worker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkpoint` is never used [INFO] [stdout] --> src/sync/worker.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | async fn checkpoint( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block` is never read [INFO] [stdout] --> src/types.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct BlockWithTraces { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 174 | pub block: BlockInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockWithTraces` 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 1m 13s [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 1` [INFO] running `Command { std: "docker" "inspect" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca", kill_on_drop: false }` [INFO] [stdout] a0b639d7d6b86bcf84ce12c12d582e952cac1ffad3c212b26e167439195829ca