[INFO] cloning repository https://github.com/Code-Crazier/anch-rust-indexer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Code-Crazier/anch-rust-indexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCode-Crazier%2Fanch-rust-indexer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCode-Crazier%2Fanch-rust-indexer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d430a0ee7b3b1504819e605631b2bbd745c0da30
[INFO] checking Code-Crazier/anch-rust-indexer against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCode-Crazier%2Fanch-rust-indexer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Code-Crazier/anch-rust-indexer on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Code-Crazier/anch-rust-indexer
[INFO] finished tweaking git repo https://github.com/Code-Crazier/anch-rust-indexer
[INFO] tweaked toml for git repo https://github.com/Code-Crazier/anch-rust-indexer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Code-Crazier/anch-rust-indexer 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded metrics v0.21.1
[INFO] [stderr]   Downloaded metrics-util v0.15.1
[INFO] [stderr]   Downloaded quanta v0.11.1
[INFO] [stderr]   Downloaded metrics-exporter-prometheus v0.12.2
[INFO] [stderr]   Downloaded hashbrown v0.13.1
[INFO] [stderr]   Downloaded tokio-retry v0.3.0
[INFO] [stderr]   Downloaded metrics-macros v0.7.1
[INFO] [stderr]   Downloaded allocator-api2 v0.2.20
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 914746865f3b4174699ede9e92a00be36e671c7310f06ae915066d96c6c69448
[INFO] running `Command { std: "docker" "start" "-a" "914746865f3b4174699ede9e92a00be36e671c7310f06ae915066d96c6c69448", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "914746865f3b4174699ede9e92a00be36e671c7310f06ae915066d96c6c69448", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "914746865f3b4174699ede9e92a00be36e671c7310f06ae915066d96c6c69448", kill_on_drop: false }`
[INFO] [stdout] 914746865f3b4174699ede9e92a00be36e671c7310f06ae915066d96c6c69448
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 093c5ac728963733606e8e7bcacf4afd58229195bd01f2f8b92d1e67495e1aa8
[INFO] running `Command { std: "docker" "start" "-a" "093c5ac728963733606e8e7bcacf4afd58229195bd01f2f8b92d1e67495e1aa8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]    Compiling cc v1.2.1
[INFO] [stderr]     Checking itoa v1.0.13
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling allocator-api2 v0.2.20
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking clap_lex v0.7.3
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking quanta v0.11.1
[INFO] [stderr]     Checking sketches-ddsketch v0.2.2
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking clap_builder v4.5.21
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking pathdiff v0.2.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking bs58 v0.3.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling metrics-macros v0.7.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking metrics v0.21.1
[INFO] [stderr]     Checking hashbrown v0.13.1
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking metrics-util v0.15.1
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.12.2
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]     Checking clap v4.5.21
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking hyper v1.5.1
[INFO] [stderr]     Checking tower v0.5.1
[INFO] [stderr]     Checking tokio-retry v0.3.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]     Checking redis v0.23.3
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking arch-indexer v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/handlers.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let blocks = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 41 | |         Block,
[INFO] [stdout] 42 | |         r#"
[INFO] [stdout] 43 | |         SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |         filter_no_transactions
[INFO] [stdout] 59 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/handlers.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | /         sqlx::query_scalar!(
[INFO] [stdout] 66 | |             r#"
[INFO] [stdout] 67 | |             SELECT COUNT(DISTINCT b.height) 
[INFO] [stdout] 68 | |             FROM blocks b
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |             "#
[INFO] [stdout] 73 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/handlers.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | /         sqlx::query_scalar!(
[INFO] [stdout] 78 | |             r#"
[INFO] [stdout] 79 | |             SELECT COUNT(*) FROM blocks
[INFO] [stdout] 80 | |             "#
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |       let block = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 168 | |         r#"
[INFO] [stdout] 169 | |         SELECT 
[INFO] [stdout] 170 | |             b.height,
[INFO] [stdout] ...   |
[INFO] [stdout] 180 | |         blockhash
[INFO] [stdout] 181 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 |       let transactions = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 188 | |         Transaction,
[INFO] [stdout] 189 | |         r#"
[INFO] [stdout] 190 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 201 | |         block.height
[INFO] [stdout] 202 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:221:17
[INFO] [stdout]     |
[INFO] [stdout] 221 |       let block = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 222 | |         Block,
[INFO] [stdout] 223 | |         r#"
[INFO] [stdout] 224 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 235 | |         height as i64
[INFO] [stdout] 236 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:248:24
[INFO] [stdout]     |
[INFO] [stdout] 248 |       let transactions = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 249 | |         Transaction,
[INFO] [stdout] 250 | |         r#"
[INFO] [stdout] 251 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |         "#
[INFO] [stdout] 262 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:273:11
[INFO] [stdout]     |
[INFO] [stdout] 273 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 274 | |         Transaction,
[INFO] [stdout] 275 | |         r#"
[INFO] [stdout] 276 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 286 | |         txid
[INFO] [stdout] 287 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |       let stats = match sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 335 | |         r#"
[INFO] [stdout] 336 | |         WITH time_windows AS (
[INFO] [stdout] 337 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 361 | |         "#
[INFO] [stdout] 362 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/handlers.rs:40:18
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let blocks = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 41 | |         Block,
[INFO] [stdout] 42 | |         r#"
[INFO] [stdout] 43 | |         SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |         filter_no_transactions
[INFO] [stdout] 59 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/handlers.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | /         sqlx::query_scalar!(
[INFO] [stdout] 66 | |             r#"
[INFO] [stdout] 67 | |             SELECT COUNT(DISTINCT b.height) 
[INFO] [stdout] 68 | |             FROM blocks b
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |             "#
[INFO] [stdout] 73 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/handlers.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 | /         sqlx::query_scalar!(
[INFO] [stdout] 78 | |             r#"
[INFO] [stdout] 79 | |             SELECT COUNT(*) FROM blocks
[INFO] [stdout] 80 | |             "#
[INFO] [stdout] 81 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |       let block = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 168 | |         r#"
[INFO] [stdout] 169 | |         SELECT 
[INFO] [stdout] 170 | |             b.height,
[INFO] [stdout] ...   |
[INFO] [stdout] 180 | |         blockhash
[INFO] [stdout] 181 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 |       let transactions = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 188 | |         Transaction,
[INFO] [stdout] 189 | |         r#"
[INFO] [stdout] 190 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 201 | |         block.height
[INFO] [stdout] 202 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:221:17
[INFO] [stdout]     |
[INFO] [stdout] 221 |       let block = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 222 | |         Block,
[INFO] [stdout] 223 | |         r#"
[INFO] [stdout] 224 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 235 | |         height as i64
[INFO] [stdout] 236 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:410:40
[INFO] [stdout]     |
[INFO] [stdout] 410 |           if let Ok(Some(transaction)) = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________________^
[INFO] [stdout] 411 | |             TransactionRecord,
[INFO] [stdout] 412 | |             r#"
[INFO] [stdout] 413 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 423 | |             term
[INFO] [stdout] 424 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:248:24
[INFO] [stdout]     |
[INFO] [stdout] 248 |       let transactions = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 249 | |         Transaction,
[INFO] [stdout] 250 | |         r#"
[INFO] [stdout] 251 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 261 | |         "#
[INFO] [stdout] 262 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:273:11
[INFO] [stdout]     |
[INFO] [stdout] 273 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 274 | |         Transaction,
[INFO] [stdout] 275 | |         r#"
[INFO] [stdout] 276 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 286 | |         txid
[INFO] [stdout] 287 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:432:34
[INFO] [stdout]     |
[INFO] [stdout] 432 |           if let Ok(Some(block)) = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 433 | |             Block,
[INFO] [stdout] 434 | |             r#"
[INFO] [stdout] 435 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 446 | |             term
[INFO] [stdout] 447 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:456:38
[INFO] [stdout]     |
[INFO] [stdout] 456 |               if let Ok(Some(block)) = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 457 | |                 Block,
[INFO] [stdout] 458 | |                 r#"
[INFO] [stdout] 459 | |                 SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 470 | |                 height
[INFO] [stdout] 471 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:501:24
[INFO] [stdout]     |
[INFO] [stdout] 501 |       let transactions = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 502 | |         Transaction,
[INFO] [stdout] 503 | |         r#"
[INFO] [stdout] 504 | |         SELECT DISTINCT 
[INFO] [stdout] ...   |
[INFO] [stdout] 519 | |         offset
[INFO] [stdout] 520 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |       let stats = match sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 335 | |         r#"
[INFO] [stdout] 336 | |         WITH time_windows AS (
[INFO] [stdout] 337 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 361 | |         "#
[INFO] [stdout] 362 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:525:23
[INFO] [stdout]     |
[INFO] [stdout] 525 |       let total_count = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 526 | |         r#"
[INFO] [stdout] 527 | |         SELECT COUNT(DISTINCT t.txid)
[INFO] [stdout] 528 | |         FROM transactions t
[INFO] [stdout] ...   |
[INFO] [stdout] 532 | |         program_id
[INFO] [stdout] 533 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:549:20
[INFO] [stdout]     |
[INFO] [stdout] 549 |       let programs = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 550 | |         ProgramStats,
[INFO] [stdout] 551 | |         r#"
[INFO] [stdout] 552 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 560 | |         "#
[INFO] [stdout] 561 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:410:40
[INFO] [stdout]     |
[INFO] [stdout] 410 |           if let Ok(Some(transaction)) = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________________^
[INFO] [stdout] 411 | |             TransactionRecord,
[INFO] [stdout] 412 | |             r#"
[INFO] [stdout] 413 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 423 | |             term
[INFO] [stdout] 424 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:432:34
[INFO] [stdout]     |
[INFO] [stdout] 432 |           if let Ok(Some(block)) = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 433 | |             Block,
[INFO] [stdout] 434 | |             r#"
[INFO] [stdout] 435 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 446 | |             term
[INFO] [stdout] 447 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:456:38
[INFO] [stdout]     |
[INFO] [stdout] 456 |               if let Ok(Some(block)) = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 457 | |                 Block,
[INFO] [stdout] 458 | |                 r#"
[INFO] [stdout] 459 | |                 SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 470 | |                 height
[INFO] [stdout] 471 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:501:24
[INFO] [stdout]     |
[INFO] [stdout] 501 |       let transactions = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 502 | |         Transaction,
[INFO] [stdout] 503 | |         r#"
[INFO] [stdout] 504 | |         SELECT DISTINCT 
[INFO] [stdout] ...   |
[INFO] [stdout] 519 | |         offset
[INFO] [stdout] 520 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:525:23
[INFO] [stdout]     |
[INFO] [stdout] 525 |       let total_count = sqlx::query_scalar!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 526 | |         r#"
[INFO] [stdout] 527 | |         SELECT COUNT(DISTINCT t.txid)
[INFO] [stdout] 528 | |         FROM transactions t
[INFO] [stdout] ...   |
[INFO] [stdout] 532 | |         program_id
[INFO] [stdout] 533 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/api/handlers.rs:549:20
[INFO] [stdout]     |
[INFO] [stdout] 549 |       let programs = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 550 | |         ProgramStats,
[INFO] [stdout] 551 | |         r#"
[INFO] [stdout] 552 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 560 | |         "#
[INFO] [stdout] 561 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/tests.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     sqlx::query!(
[INFO] [stdout] 72 | |         "INSERT INTO blocks (height, hash, timestamp, bitcoin_block_height)
[INFO] [stdout] 73 | |          VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 74 | |         1_i64,
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |         100_i64
[INFO] [stdout] 78 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/api/tests.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     sqlx::query!(
[INFO] [stdout] 84 | |         "INSERT INTO transactions (txid, block_height, data, status, created_at)
[INFO] [stdout] 85 | |          VALUES ($1, $2, $3, $4, $5)",
[INFO] [stdout] 86 | |         "test_txid",
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |         chrono::DateTime::<chrono::Utc>::from_timestamp(1234567890, 0).unwrap()
[INFO] [stdout] 91 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/indexer/block_processor.rs:76:22
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let exists = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 77 | |             "SELECT EXISTS(SELECT 1 FROM transactions WHERE txid = $1)",
[INFO] [stdout] 78 | |             transaction.txid
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |           match sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 101 | |             r#"
[INFO] [stdout] 102 | |             INSERT INTO transactions (txid, block_height, data, status, bitcoin_txids, created_at)
[INFO] [stdout] 103 | |             VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             created_at_utc
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:134:39
[INFO] [stdout]     |
[INFO] [stdout] 134 |   ...                   match sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 135 | | ...                       r#"
[INFO] [stdout] 136 | | ...                       INSERT INTO programs (program_id)
[INFO] [stdout] 137 | | ...                       VALUES ($1)
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | | ...                       hex_program_id
[INFO] [stdout] 144 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:152:39
[INFO] [stdout]     |
[INFO] [stdout] 152 |   ...                   match sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 153 | | ...                       r#"
[INFO] [stdout] 154 | | ...                       INSERT INTO transaction_programs (txid, program_id)
[INFO] [stdout] 155 | | ...                       VALUES ($1, $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | | ...                       hex_program_id
[INFO] [stdout] 160 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:337:22
[INFO] [stdout]     |
[INFO] [stdout] 337 |           let height = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 338 | |             "SELECT MAX(height) as last_height FROM blocks"
[INFO] [stdout] 339 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:419:15
[INFO] [stdout]     |
[INFO] [stdout] 419 |           match sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 420 | |             r#"
[INFO] [stdout] 421 | |             INSERT INTO blocks (height, hash, timestamp, bitcoin_block_height)
[INFO] [stdout] 422 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | |             block.bitcoin_block_height
[INFO] [stdout] 430 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:475:20
[INFO] [stdout]     |
[INFO] [stdout] 475 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 476 | |             r#"
[INFO] [stdout] 477 | |             SELECT 
[INFO] [stdout] 478 | |                 t.txid,
[INFO] [stdout] ...   |
[INFO] [stdout] 491 | |             "#
[INFO] [stdout] 492 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:500:17
[INFO] [stdout]     |
[INFO] [stdout] 500 | /                 sqlx::query!(
[INFO] [stdout] 501 | |                     r#"
[INFO] [stdout] 502 | |                     INSERT INTO programs (program_id)
[INFO] [stdout] 503 | |                     VALUES ($1)
[INFO] [stdout] ...   |
[INFO] [stdout] 508 | |                     program_id
[INFO] [stdout] 509 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:513:17
[INFO] [stdout]     |
[INFO] [stdout] 513 | /                 sqlx::query!(
[INFO] [stdout] 514 | |                     r#"
[INFO] [stdout] 515 | |                     INSERT INTO transaction_programs (txid, program_id)
[INFO] [stdout] 516 | |                     VALUES ($1, $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 520 | |                     program_id
[INFO] [stdout] 521 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/indexer/sync.rs:83:22
[INFO] [stdout]    |
[INFO] [stdout] 83 |           let bounds = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 84 | |             r#"
[INFO] [stdout] 85 | |             SELECT MIN(height) AS min_height, MAX(height) AS max_height
[INFO] [stdout] 86 | |             FROM blocks
[INFO] [stdout] 87 | |             "#
[INFO] [stdout] 88 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/sync.rs:101:33
[INFO] [stdout]     |
[INFO] [stdout] 101 |               let chunk_missing = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 102 | |                 r#"
[INFO] [stdout] 103 | |                 WITH chunk_bounds AS (
[INFO] [stdout] 104 | |                     SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |                 chunk_end
[INFO] [stdout] 120 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/indexer/block_processor.rs:76:22
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let exists = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 77 | |             "SELECT EXISTS(SELECT 1 FROM transactions WHERE txid = $1)",
[INFO] [stdout] 78 | |             transaction.txid
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |           match sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 101 | |             r#"
[INFO] [stdout] 102 | |             INSERT INTO transactions (txid, block_height, data, status, bitcoin_txids, created_at)
[INFO] [stdout] 103 | |             VALUES ($1, $2, $3, $4, $5, $6)
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             created_at_utc
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:134:39
[INFO] [stdout]     |
[INFO] [stdout] 134 |   ...                   match sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 135 | | ...                       r#"
[INFO] [stdout] 136 | | ...                       INSERT INTO programs (program_id)
[INFO] [stdout] 137 | | ...                       VALUES ($1)
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | | ...                       hex_program_id
[INFO] [stdout] 144 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:152:39
[INFO] [stdout]     |
[INFO] [stdout] 152 |   ...                   match sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 153 | | ...                       r#"
[INFO] [stdout] 154 | | ...                       INSERT INTO transaction_programs (txid, program_id)
[INFO] [stdout] 155 | | ...                       VALUES ($1, $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | | ...                       hex_program_id
[INFO] [stdout] 160 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:337:22
[INFO] [stdout]     |
[INFO] [stdout] 337 |           let height = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 338 | |             "SELECT MAX(height) as last_height FROM blocks"
[INFO] [stdout] 339 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:419:15
[INFO] [stdout]     |
[INFO] [stdout] 419 |           match sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 420 | |             r#"
[INFO] [stdout] 421 | |             INSERT INTO blocks (height, hash, timestamp, bitcoin_block_height)
[INFO] [stdout] 422 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 429 | |             block.bitcoin_block_height
[INFO] [stdout] 430 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:475:20
[INFO] [stdout]     |
[INFO] [stdout] 475 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 476 | |             r#"
[INFO] [stdout] 477 | |             SELECT 
[INFO] [stdout] 478 | |                 t.txid,
[INFO] [stdout] ...   |
[INFO] [stdout] 491 | |             "#
[INFO] [stdout] 492 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:500:17
[INFO] [stdout]     |
[INFO] [stdout] 500 | /                 sqlx::query!(
[INFO] [stdout] 501 | |                     r#"
[INFO] [stdout] 502 | |                     INSERT INTO programs (program_id)
[INFO] [stdout] 503 | |                     VALUES ($1)
[INFO] [stdout] ...   |
[INFO] [stdout] 508 | |                     program_id
[INFO] [stdout] 509 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/block_processor.rs:513:17
[INFO] [stdout]     |
[INFO] [stdout] 513 | /                 sqlx::query!(
[INFO] [stdout] 514 | |                     r#"
[INFO] [stdout] 515 | |                     INSERT INTO transaction_programs (txid, program_id)
[INFO] [stdout] 516 | |                     VALUES ($1, $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 520 | |                     program_id
[INFO] [stdout] 521 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/indexer/sync.rs:83:22
[INFO] [stdout]    |
[INFO] [stdout] 83 |           let bounds = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 84 | |             r#"
[INFO] [stdout] 85 | |             SELECT MIN(height) AS min_height, MAX(height) AS max_height
[INFO] [stdout] 86 | |             FROM blocks
[INFO] [stdout] 87 | |             "#
[INFO] [stdout] 88 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/indexer/sync.rs:101:33
[INFO] [stdout]     |
[INFO] [stdout] 101 |               let chunk_missing = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 102 | |                 r#"
[INFO] [stdout] 103 | |                 WITH chunk_bounds AS (
[INFO] [stdout] 104 | |                     SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |                 chunk_end
[INFO] [stdout] 120 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]   --> src/api/handlers.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/indexer/block_processor.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::query_scalar`
[INFO] [stdout]  --> src/indexer/sync.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::query_scalar;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sleep`
[INFO] [stdout]  --> src/indexer/sync.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::time::{Duration, sleep};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExponentialBackoff` and `jitter`
[INFO] [stdout]  --> src/indexer/sync.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_retry::strategy::{ExponentialBackoff, jitter};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_retry::Retry`
[INFO] [stdout]   --> src/indexer/sync.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio_retry::Retry;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]   --> src/api/handlers.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/indexer/block_processor.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::query_scalar`
[INFO] [stdout]  --> src/indexer/sync.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::query_scalar;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sleep`
[INFO] [stdout]  --> src/indexer/sync.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::time::{Duration, sleep};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExponentialBackoff` and `jitter`
[INFO] [stdout]  --> src/indexer/sync.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_retry::strategy::{ExponentialBackoff, jitter};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_retry::Retry`
[INFO] [stdout]   --> src/indexer/sync.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio_retry::Retry;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/api/handlers.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub async fn get_blocks(
[INFO] [stdout] 24 | |     State(pool): State<Arc<PgPool>>,
[INFO] [stdout] 25 | |     Query(params): Query<HashMap<String, String>>,
[INFO] [stdout] 26 | | ) -> Result<Json<HashMap<String, serde_json::Value>>, ApiError> {
[INFO] [stdout]    | |_______________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `JsonValue: From<!>` will fail
[INFO] [stdout]   --> src/api/handlers.rs:88:48
[INFO] [stdout]    |
[INFO] [stdout] 88 |     response.insert("total_count".to_string(), serde_json::Value::from(total_count));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 40 ~     let blocks: () = sqlx::query_as!(
[INFO] [stdout] 41 |         Block,
[INFO] [stdout] ...
[INFO] [stdout] 63 |     // Query to get the total count of blocks
[INFO] [stdout] 64 ~     let total_count: () = if filter_no_transactions {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/api/handlers.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub async fn get_blocks(
[INFO] [stdout] 24 | |     State(pool): State<Arc<PgPool>>,
[INFO] [stdout] 25 | |     Query(params): Query<HashMap<String, String>>,
[INFO] [stdout] 26 | | ) -> Result<Json<HashMap<String, serde_json::Value>>, ApiError> {
[INFO] [stdout]    | |_______________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `JsonValue: From<!>` will fail
[INFO] [stdout]   --> src/api/handlers.rs:88:48
[INFO] [stdout]    |
[INFO] [stdout] 88 |     response.insert("total_count".to_string(), serde_json::Value::from(total_count));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 40 ~     let blocks: () = sqlx::query_as!(
[INFO] [stdout] 41 |         Block,
[INFO] [stdout] ...
[INFO] [stdout] 63 |     // Query to get the total count of blocks
[INFO] [stdout] 64 ~     let total_count: () = if filter_no_transactions {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/api/handlers.rs:487:1
[INFO] [stdout]     |
[INFO] [stdout] 487 | / pub async fn get_transactions_by_program(
[INFO] [stdout] 488 | |     State(pool): State<Arc<PgPool>>,
[INFO] [stdout] 489 | |     Path(program_id): Path<String>,
[INFO] [stdout] 490 | |     Query(params): Query<HashMap<String, String>>,
[INFO] [stdout] 491 | | ) -> Result<Json<HashMap<String, serde_json::Value>>, ApiError> {
[INFO] [stdout]     | |_______________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout]    --> src/api/handlers.rs:541:70
[INFO] [stdout]     |
[INFO] [stdout] 541 |     response.insert("transactions".to_string(), serde_json::to_value(transactions)?);
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 501 |     let transactions: () = sqlx::query_as!(
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/api/handlers.rs:487:1
[INFO] [stdout]     |
[INFO] [stdout] 487 | / pub async fn get_transactions_by_program(
[INFO] [stdout] 488 | |     State(pool): State<Arc<PgPool>>,
[INFO] [stdout] 489 | |     Path(program_id): Path<String>,
[INFO] [stdout] 490 | |     Query(params): Query<HashMap<String, String>>,
[INFO] [stdout] 491 | | ) -> Result<Json<HashMap<String, serde_json::Value>>, ApiError> {
[INFO] [stdout]     | |_______________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail
[INFO] [stdout]    --> src/api/handlers.rs:541:70
[INFO] [stdout]     |
[INFO] [stdout] 541 |     response.insert("transactions".to_string(), serde_json::to_value(transactions)?);
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 501 |     let transactions: () = sqlx::query_as!(
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/api/tests.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let processor = BlockProcessor::new(
[INFO] [stdout]    |                     ------------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 28 |         arch_rpc
[INFO] [stdout]    |         ^^^^^^^^ expected `Arc<ArchRpcClient>`, found `ArchRpcClient`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<ArchRpcClient>`
[INFO] [stdout]               found struct `ArchRpcClient`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/indexer/block_processor.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(pool: PgPool, redis: redis::Client, arch_client: Arc<ArchRpcClient>) -> Self {
[INFO] [stdout]    |            ^^^                                     -------------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `ArchRpcClient` into `Arc<ArchRpcClient>`
[INFO] [stdout]    |
[INFO] [stdout] 28 |         arch_rpc.into()
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current`
[INFO] [stdout]   --> src/indexer/sync.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut current = self.current_height.load(Ordering::Relaxed);
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_height`
[INFO] [stdout]   --> src/indexer/sync.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut target_height = self.processor.arch_client.get_block_count().await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_sync_complete`
[INFO] [stdout]   --> src/indexer/sync.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut initial_sync_complete = false;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_sync_complete`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexer/sync.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut current = self.current_height.load(Ordering::Relaxed);
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexer/sync.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut target_height = self.processor.arch_client.get_block_count().await?;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexer/sync.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut initial_sync_complete = false;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current`
[INFO] [stdout]   --> src/indexer/sync.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut current = self.current_height.load(Ordering::Relaxed);
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_height`
[INFO] [stdout]   --> src/indexer/sync.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut target_height = self.processor.arch_client.get_block_count().await?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_sync_complete`
[INFO] [stdout]   --> src/indexer/sync.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut initial_sync_complete = false;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_sync_complete`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexer/sync.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut current = self.current_height.load(Ordering::Relaxed);
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexer/sync.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut target_height = self.processor.arch_client.get_block_count().await?;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/indexer/sync.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut initial_sync_complete = false;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `tps` on type `api::types::NetworkStats`
[INFO] [stdout]    --> src/api/tests.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |     assert_eq!(stats.tps, 0.0);
[INFO] [stdout]     |                      ^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `total_transactions`, `block_height`, `slot_height`, `current_tps`, `average_tps` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `true_tps` on type `api::types::NetworkStats`
[INFO] [stdout]    --> src/api/tests.rs:113:22
[INFO] [stdout]     |
[INFO] [stdout] 113 |     assert_eq!(stats.true_tps, 0.0);
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `total_transactions`, `block_height`, `slot_height`, `current_tps`, `average_tps` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arch-indexer` (lib) due to 26 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arch-indexer` (lib test) due to 31 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "093c5ac728963733606e8e7bcacf4afd58229195bd01f2f8b92d1e67495e1aa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "093c5ac728963733606e8e7bcacf4afd58229195bd01f2f8b92d1e67495e1aa8", kill_on_drop: false }`
[INFO] [stdout] 093c5ac728963733606e8e7bcacf4afd58229195bd01f2f8b92d1e67495e1aa8
