[INFO] cloning repository https://github.com/dtrosien/data-collector
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dtrosien/data-collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtrosien%2Fdata-collector", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtrosien%2Fdata-collector'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f11735acfb901f935e159e5d8909e8e6de4ac5b6
[INFO] checking dtrosien/data-collector against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtrosien%2Fdata-collector" "/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/dtrosien/data-collector
[INFO] finished tweaking git repo https://github.com/dtrosien/data-collector
[INFO] tweaked toml for git repo https://github.com/dtrosien/data-collector written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dtrosien/data-collector on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/mehcode/config-rs`
[INFO] [stderr]      Locking 479 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding httpmock v0.7.0 (available: v0.8.3)
[INFO] [stderr]       Adding opentelemetry v0.22.0 (available: v0.31.0)
[INFO] [stderr]       Adding opentelemetry-otlp v0.15.0 (available: v0.31.1)
[INFO] [stderr]       Adding opentelemetry_sdk v0.22.1 (available: v0.31.0)
[INFO] [stderr]       Adding rand v0.8.6 (available: v0.10.1)
[INFO] [stderr]       Adding reqwest v0.12.28 (available: v0.13.3)
[INFO] [stderr]       Adding secrecy v0.8.0 (available: v0.10.3)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding tracing-opentelemetry v0.23.0 (available: v0.32.1)
[INFO] [stderr]       Adding zip v0.6.6 (available: v8.6.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 768168c9340869c93a7f0f5f068672b9830d24ff16d32b6a070ad58c1f9a20e4
[INFO] running `Command { std: "docker" "start" "-a" "768168c9340869c93a7f0f5f068672b9830d24ff16d32b6a070ad58c1f9a20e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "768168c9340869c93a7f0f5f068672b9830d24ff16d32b6a070ad58c1f9a20e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "768168c9340869c93a7f0f5f068672b9830d24ff16d32b6a070ad58c1f9a20e4", kill_on_drop: false }`
[INFO] [stdout] 768168c9340869c93a7f0f5f068672b9830d24ff16d32b6a070ad58c1f9a20e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a0e96df0576e25f78d691c868e5c7160bc1b70cd2ea4990c4b7c0d1477d0d98
[INFO] running `Command { std: "docker" "start" "-a" "9a0e96df0576e25f78d691c868e5c7160bc1b70cd2ea4990c4b7c0d1477d0d98", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking value-bag v1.12.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling bigdecimal v0.4.10
[INFO] [stderr]    Compiling rustls v0.23.39
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling openssl-sys v0.9.114
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling openssl v0.10.78
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking opentelemetry v0.22.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking tokio-io-timeout v1.2.1
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]     Checking opentelemetry_sdk v0.22.1
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]     Checking prost v0.12.6
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling lalrpop-util v0.20.2
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking piper v0.2.5
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking num-conv v0.2.1
[INFO] [stderr]    Compiling fsio v0.1.3
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]     Checking winnow v1.0.2
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]     Checking toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling envmnt v0.8.4
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking tonic v0.11.0
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking erased-serde v0.4.10
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking hashlink v0.11.0
[INFO] [stderr]     Checking async-signal v0.2.14
[INFO] [stderr]     Checking async-executor v1.14.0
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking unicode-segmentation v1.13.2
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking yaml-rust2 v0.11.0
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking opentelemetry-proto v0.5.0
[INFO] [stderr]     Checking toml v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking ron v0.12.1
[INFO] [stderr]     Checking serde-untagged v0.1.9
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking async-process v2.5.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]    Compiling serde_with_macros v3.18.0
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling ci_info v0.10.2
[INFO] [stderr]     Checking rust-ini v0.21.3
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking gethostname v0.2.3
[INFO] [stderr]     Checking opentelemetry-semantic-conventions v0.14.0
[INFO] [stderr]    Compiling nias v0.5.0
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]     Checking config v0.15.22 (https://github.com/mehcode/config-rs#7f4482c7)
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking serde_with v3.18.0
[INFO] [stderr]     Checking tracing-bunyan-formatter v0.3.10
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking opentelemetry-otlp v0.15.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking serde-aux v4.7.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking tracing-opentelemetry v0.23.0
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking priority-queue v2.7.0
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking filetime v0.2.27
[INFO] [stderr]    Compiling rusty-hook v0.11.2
[INFO] [stderr]     Checking getopts v0.2.24
[INFO] [stderr]     Checking serde_regex v1.1.0
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking levenshtein v1.0.5
[INFO] [stderr]     Checking data_collector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/actions/collect/financialmodelingprep_company_profile.rs:225:33
[INFO] [stdout]     |
[INFO] [stdout] 225 |       let missing_issue_symbols = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 226 | |         IssueSymbols,
[INFO] [stdout] 227 | |         "SELECT issue_symbol FROM source_symbol_warden ssw  where financial_modeling_prep = false and issue_symbol > $1::text ord...
[INFO] [stdout] 228 | |         last_issue_symbol
[INFO] [stdout] 229 | |     )
[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/actions/collect/financialmodelingprep_company_profile.rs:237:24
[INFO] [stdout]     |
[INFO] [stdout] 237 |       let query_result = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 238 | |         "select issue_symbol
[INFO] [stdout] 239 | |         from master_data md
[INFO] [stdout] 240 | |         where issue_symbol not in 
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |         last_issue_symbol
[INFO] [stdout] 247 | |     )
[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/actions/collect/financialmodelingprep_company_profile.rs:260:24
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let query_result = sqlx::query!(r#"INSERT INTO financialmodelingprep_company_profile (symbol, price, beta, vol_avg, "marketCa...
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 261 | |     Select * from UNNEST ($1::text[], $2::float[], $3::float[], $4::float[], $5::float[], $6::float[], $7::text[], $8::float[], $...
[INFO] [stdout] 262 | |    &vec![data[0].symbol.to_string()],
[INFO] [stdout] 263 | |    &vec![data[0].price] as _,
[INFO] [stdout] ...   |
[INFO] [stdout] 298 | |    &vec![data[0].average_volume] as _,
[INFO] [stdout] 299 | |     )
[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/actions/collect/financialmodelingprep_company_profile.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 314 | /     sqlx::query!(
[INFO] [stdout] 315 | |         r#"INSERT INTO source_symbol_warden (issue_symbol, financial_modeling_prep)
[INFO] [stdout] 316 | |       VALUES($1, false)
[INFO] [stdout] 317 | |       ON CONFLICT(issue_symbol)
[INFO] [stdout] ...   |
[INFO] [stdout] 320 | |         issue_symbol
[INFO] [stdout] 321 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:259:18
[INFO] [stdout]     |
[INFO] [stdout] 259 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 260 | |         "select max(business_date) 
[INFO] [stdout] 261 | |         from financialmodelingprep_market_cap
[INFO] [stdout] 262 | |         where symbol = $1::text 
[INFO] [stdout] 263 | |         group by symbol",
[INFO] [stdout] 264 | |         issue_sybmol
[INFO] [stdout] 265 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:277:18
[INFO] [stdout]     |
[INFO] [stdout] 277 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 278 | |         "select concat(start_nyse, start_nyse_arca, start_nyse_american, start_nasdaq, start_nasdaq_global_select_market, start_n...
[INFO] [stdout] 279 | |         issue_sybmol
[INFO] [stdout] 280 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:300:24
[INFO] [stdout]     |
[INFO] [stdout] 300 |       let query_result = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 301 | |         "select issue_symbol from master_data_eligible mde
[INFO] [stdout] 302 | |          where
[INFO] [stdout] 303 | |         (start_nyse != '1792-05-17' or start_nyse is null) and
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |         already_searched
[INFO] [stdout] 319 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:327:24
[INFO] [stdout]     |
[INFO] [stdout] 327 |       let query_result = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 328 | |         "select issue_symbol from master_data_eligible mde
[INFO] [stdout] 329 | |          where
[INFO] [stdout] 330 | |         not ((start_nyse != '1792-05-17' or start_nyse is null) and
[INFO] [stdout] ...   |
[INFO] [stdout] 345 | |         already_searched
[INFO] [stdout] 346 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:359:33
[INFO] [stdout]     |
[INFO] [stdout] 359 |       let missing_issue_symbols = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 360 | |         IssueSymbols,
[INFO] [stdout] 361 | |         "SELECT issue_symbol FROM source_symbol_warden ssw  where financial_modeling_prep = false"
[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_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/actions/collect/financialmodelingprep_market_capitalization.rs:378:18
[INFO] [stdout]     |
[INFO] [stdout] 378 |       let result = sqlx::query!(r#"
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 379 | |     select r.symbol, r.maxDate from
[INFO] [stdout] 380 | |         (select symbol ,max(business_date) as maxDate from financialmodelingprep_market_cap group by symbol) as r
[INFO] [stdout] 381 | |     where r.symbol not in (select unnest($1::text[])) 
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |     already_searched,
[INFO] [stdout] 386 | | )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:407:5
[INFO] [stdout]     |
[INFO] [stdout] 407 | /     sqlx::query!(
[INFO] [stdout] 408 | |         r#"INSERT INTO financialmodelingprep_market_cap (symbol, business_date, market_cap)
[INFO] [stdout] 409 | |         Select * from UNNEST ($1::text[], $2::date[], $3::float[]) on conflict do nothing"#,
[INFO] [stdout] 410 | |         &transposed_data.symbol[..],
[INFO] [stdout] 411 | |         &transposed_data.date[..],
[INFO] [stdout] 412 | |         &transposed_data.market_cap[..]
[INFO] [stdout] 413 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:424:5
[INFO] [stdout]     |
[INFO] [stdout] 424 | /     sqlx::query!(
[INFO] [stdout] 425 | |         r#"INSERT INTO source_symbol_warden (issue_symbol, financial_modeling_prep)
[INFO] [stdout] 426 | |       VALUES($1, false)
[INFO] [stdout] 427 | |       ON CONFLICT(issue_symbol)
[INFO] [stdout] ...   |
[INFO] [stdout] 430 | |         issue_symbol
[INFO] [stdout] 431 | |     )
[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/actions/collect/nyse_events.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 | /         sqlx::query!("INSERT INTO nyse_events
[INFO] [stdout] 146 | |             (action_date, action_status, action_type, issue_symbol, issuer_name, updated_at, market_event)
[INFO] [stdout] 147 | |             Select * from UNNEST ($1::date[], $2::text[], $3::text[], $4::text[], $5::text[], $6::text[], $7::text[]) on conflict...
[INFO] [stdout] 148 | |         &week_data.action_date[..],
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |         &week_data.market_event[..],
[INFO] [stdout] 155 | |     ).execute(&connection_pool)
[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/actions/collect/nyse_events.rs:299:21
[INFO] [stdout]     |
[INFO] [stdout] 299 |       let db_result = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 300 | |         MaxDate,
[INFO] [stdout] 301 | |         "select max(action_date) as max_date from nyse_events"
[INFO] [stdout] 302 | |     )
[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/actions/collect/nyse_instruments.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     sqlx::query!("INSERT INTO nyse_instruments
[INFO] [stdout] 134 | |     (instrument_name, instrument_type, symbol_ticker, symbol_exchange_ticker, normalized_ticker, symbol_esignal_ticker, mic_code)
[INFO] [stdout] 135 | |     Select * from UNNEST ($1::text[], $2::text[], $3::text[], $4::text[], $5::text[], $6::text[], $7::text[]) on conflict do noth...
[INFO] [stdout] 136 | |         &instruments.instrument_name[..],
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         &instruments.mic_code[..],
[INFO] [stdout] 143 | |     ).execute(&connection_pool).await?;
[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/actions/collect/polygon_grouped_daily.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 151 | |         "select max(business_date) as business_date
[INFO] [stdout] 152 | |         from polygon_grouped_daily"
[INFO] [stdout] 153 | |     )
[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/actions/collect/polygon_grouped_daily.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 | / ...   sqlx::query!(r#"INSERT INTO public.polygon_grouped_daily ("close", business_date, high, low, "open", symbol, order_amount, ...
[INFO] [stdout] 182 | | ...       Select * from UNNEST ($1::float[], $2::date[], $3::float[], $4::float[], $5::float[], $6::text[], $7::float[], $8::floa...
[INFO] [stdout] 183 | | ...       &open_close.close[..],
[INFO] [stdout] 184 | | ...       &open_close.business_date[..],
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | | ...       &open_close.stock_traded[..],
[INFO] [stdout] 191 | | ...       &open_close.volume_weighted_average_price[..] as _,)
[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/actions/collect/polygon_open_close.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 | / ...   sqlx::query!(r#"INSERT INTO polygon_open_close
[INFO] [stdout] 173 | | ...   (after_hours, "close", business_date, high, low, "open", pre_market, symbol, volume)
[INFO] [stdout] 174 | | ...   Select * from UNNEST ($1::float[], $2::float[], $3::date[], $4::float[], $5::float[], $6::float[], $7::float[], $8::text[],...
[INFO] [stdout] 175 | | ...   &open_close_data.after_hours[..] as _,
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | | ...   &open_close_data.symbol[..],
[INFO] [stdout] 183 | | ...   &open_close_data.volume[..] as _,)
[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/actions/collect/polygon_open_close.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 | /     sqlx::query!(
[INFO] [stdout] 229 | |         r#"INSERT INTO source_symbol_warden (issue_symbol, polygon)
[INFO] [stdout] 230 | |       VALUES($1, false)
[INFO] [stdout] 231 | |       ON CONFLICT(issue_symbol)
[INFO] [stdout] ...   |
[INFO] [stdout] 234 | |         issue_symbol
[INFO] [stdout] 235 | |     )
[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/actions/collect/polygon_open_close.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |       let a = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 251 | |         "SELECT symbol
[INFO] [stdout] 252 | |         FROM polygon_open_close poc 
[INFO] [stdout] 253 | |         GROUP BY symbol
[INFO] [stdout] ...   |
[INFO] [stdout] 258 | |         lower_symbol_bound
[INFO] [stdout] 259 | |     )
[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/actions/collect/polygon_open_close.rs:266:34
[INFO] [stdout]     |
[INFO] [stdout] 266 |       let issue_symbol_candidate = sqlx::query!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 267 | |         "select issue_symbol 
[INFO] [stdout] 268 | |         from master_data_eligible mde 
[INFO] [stdout] 269 | |         where issue_symbol not in 
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |         lower_symbol_bound
[INFO] [stdout] 277 | |     )
[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/actions/collect/polygon_open_close.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 |       let a = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 326 | |         "select MAX(business_date) as max_date from polygon_open_close pgd where symbol = $1::text",
[INFO] [stdout] 327 | |         issue_symbol
[INFO] [stdout] 328 | |     )
[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/actions/collect/sec_companies.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | /     sqlx::query!("INSERT INTO sec_companies (cik, sic, \"name\", ticker, exchange, state_of_incorporation) Select * from UNNEST (...
[INFO] [stdout] 132 | |     &transposed_data.cik[..],
[INFO] [stdout] 133 | |     &transposed_data.sic[..] as _, //cast due to None's in the vector
[INFO] [stdout] 134 | |     &transposed_data.name[..],
[INFO] [stdout] 135 | |     &transposed_data.tickers[..],
[INFO] [stdout] 136 | |     &transposed_data.exchanges[..] as _, //cast due to None's in the vector
[INFO] [stdout] 137 | |     &transposed_data.state_of_incorporation[..] as _ ) //cast due to None's in the vector
[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/actions/stage/financialmodelingprep_company_profile.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "update financialmodelingprep_company_profile 
[INFO] [stdout] 54 | |             set is_staged = true
[INFO] [stdout] 55 | |             where ipo_date is null"
[INFO] [stdout] 56 | |     )
[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/actions/stage/financialmodelingprep_company_profile.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | /     sqlx::query!(r##"
[INFO] [stdout] 66 | |      update master_data md set 
[INFO] [stdout] 67 | |         start_nyse                         = case WHEN md.start_nyse is not null then r.ipo_date end,
[INFO] [stdout] 68 | |         start_nyse_arca                    = case WHEN md.start_nyse_arca is not null then r.ipo_date end,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         ) as r
[INFO] [stdout] 82 | |     where md.issue_symbol = r.issue_symbol;"##)
[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/actions/stage/financialmodelingprep_company_profile.rs:91:5
[INFO] [stdout]     |
[INFO] [stdout]  91 | /     sqlx::query!(
[INFO] [stdout]  92 | |         r##"
[INFO] [stdout]  93 | |         update financialmodelingprep_company_profile fcp set 
[INFO] [stdout]  94 | |         is_staged = true 
[INFO] [stdout] ...   |
[INFO] [stdout] 108 | |         where fcp.symbol = r.issue_symbol and fcp.is_staged = false"##
[INFO] [stdout] 109 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | /     sqlx::query!(
[INFO] [stdout] 290 | |         "update financialmodelingprep_market_cap fmc 
[INFO] [stdout] 291 | |             set is_staged = true 
[INFO] [stdout] 292 | |             from (
[INFO] [stdout] ...   |
[INFO] [stdout] 300 | |             where fmc.symbol = r.symbol and fmc.business_date = r.business_date"
[INFO] [stdout] 301 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:315:18
[INFO] [stdout]     |
[INFO] [stdout] 315 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 316 | |         "select c.oid
[INFO] [stdout] 317 | |     from pg_catalog.pg_class c
[INFO] [stdout] 318 | |     where relname ='market_data'"
[INFO] [stdout] 319 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:333:18
[INFO] [stdout]     |
[INFO] [stdout] 333 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 334 | |         "SELECT
[INFO] [stdout] 335 | |             pg_catalog.pg_get_expr(c.relpartbound, c.oid)
[INFO] [stdout] 336 | |         FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |         help_int
[INFO] [stdout] 340 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:381:40
[INFO] [stdout]     |
[INFO] [stdout] 381 |   ...ily_stream = sqlx::query_as!( FinModPrepMarketCapTable,
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 382 | | ...bol, fmc.business_date, fmc.market_cap  from financialmodelingprep_market_cap fmc where fmc.is_staged = false"##).fetch(connec...
[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/actions/stage/financialmodelingprep_market_capitalization.rs:476:5
[INFO] [stdout]     |
[INFO] [stdout] 476 | /     sqlx::query!(
[INFO] [stdout] 477 | |         r##"INSERT INTO market_data
[INFO] [stdout] 478 | |         (symbol, business_date, stock_price, "open", "close", stock_traded, order_amount, after_hours, pre_market, market_capital...
[INFO] [stdout] 479 | |         Select * from UNNEST($1::text[], $2::date[], $3::float[], $4::float[], $5::float[], $6::float[], $7::float[], $8::float[]...
[INFO] [stdout] ...   |
[INFO] [stdout] 490 | |         data.year_month as _,
[INFO] [stdout] 491 | |     ).execute(connection_pool).await?;
[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/actions/stage/financialmodelingprep_market_capitalization.rs:496:5
[INFO] [stdout]     |
[INFO] [stdout] 496 | /     sqlx::query!(r#"
[INFO] [stdout] 497 | |         update market_data md 
[INFO] [stdout] 498 | |         set market_capitalization = coalesce(md.market_capitalization , fmc.market_cap)
[INFO] [stdout] 499 | |         from financialmodelingprep_market_cap fmc
[INFO] [stdout] ...   |
[INFO] [stdout] 503 | |             and fmc.business_date = md.business_date
[INFO] [stdout] 504 | |             and md.year_month = (EXTRACT(YEAR FROM fmc.business_date) * 100) + EXTRACT(MONTH FROM fmc.business_date)"#)
[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/actions/stage/nyse_instruments.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | /     sqlx::query!(
[INFO] [stdout] 101 | |         r##"
[INFO] [stdout] 102 | |     update nyse_instruments 
[INFO] [stdout] 103 | |     set 
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |         instrument_type = 'TEST'"##
[INFO] [stdout] 107 | |     )
[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/actions/stage/nyse_instruments.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | /     sqlx::query!(
[INFO] [stdout] 122 | |         r##"update master_data set 
[INFO] [stdout] 123 | |                 start_nyse                         = case WHEN r.mic_code = 'XNYS' then TO_DATE('1792-05-17','YYYY-MM-DD') end,
[INFO] [stdout] 124 | |                 start_nyse_arca                    = case WHEN r.mic_code = 'ARCX' then TO_DATE('1792-05-17','YYYY-MM-DD') end,
[INFO] [stdout] ...   |
[INFO] [stdout] 137 | |                 ) as r
[INFO] [stdout] 138 | |             where master_data.issuer_name = r.issuer_name and master_data.issue_symbol = r.issue_symbol"##)
[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/actions/stage/nyse_instruments.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | /     sqlx::query!(
[INFO] [stdout] 147 | |         r##"
[INFO] [stdout] 148 | |         update master_data set instrument = instrument_type
[INFO] [stdout] 149 | |         from (select replace(symbol_esignal_ticker,'/','-') as ni_ticker, instrument_type
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             master_data.issue_symbol  = ni_ticker;"##
[INFO] [stdout] 157 | |     )
[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/actions/stage/nyse_instruments.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | /     sqlx::query!(
[INFO] [stdout] 168 | |         r##"
[INFO] [stdout] 169 | |     update nyse_instruments  set is_staged = true
[INFO] [stdout] 170 | |     from   (select issue_symbol
[INFO] [stdout] ...   |
[INFO] [stdout] 175 | |         replace(symbol_esignal_ticker,'/','-') = r.issue_symbol;"##
[INFO] [stdout] 176 | |     )
[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/actions/stage/polygon_grouped_daily.rs:284:5
[INFO] [stdout]     |
[INFO] [stdout] 284 | /     sqlx::query!(r#"
[INFO] [stdout] 285 | |     update market_data md 
[INFO] [stdout] 286 | |     set stock_traded = coalesce(md.stock_traded, pgd.stock_traded ),
[INFO] [stdout] 287 | |               "open" = coalesce(md.open, pgd."open"),
[INFO] [stdout] ...   |
[INFO] [stdout] 295 | |     and pgd.business_date = md.business_date
[INFO] [stdout] 296 | |     and md.year_month = (EXTRACT(YEAR FROM pgd.business_date) * 100) + EXTRACT(MONTH FROM pgd.business_date)"#).execute(connectio...
[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/actions/stage/polygon_grouped_daily.rs:390:5
[INFO] [stdout]     |
[INFO] [stdout] 390 | /     sqlx::query!(
[INFO] [stdout] 391 | |         r##"INSERT INTO market_data
[INFO] [stdout] 392 | |         (symbol, business_date, stock_price, "open", "close", stock_traded, order_amount, after_hours, pre_market, market_capital...
[INFO] [stdout] 393 | |         Select * from UNNEST($1::text[], $2::date[], $3::float[], $4::float[], $5::float[], $6::float[], $7::float[], $8::float[]...
[INFO] [stdout] ...   |
[INFO] [stdout] 404 | |         data.year_month as _,
[INFO] [stdout] 405 | |     ).execute(connection_pool).await?;
[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/actions/stage/polygon_grouped_daily.rs:429:40
[INFO] [stdout]     |
[INFO] [stdout] 429 |   ... = sqlx::query_as!( PolygonGroupedDailyTable,
[INFO] [stdout]     |  _______^
[INFO] [stdout] 430 | | ...open", pgd."close", pgd.business_date, pgd.order_amount, pgd.stock_traded from polygon_grouped_daily pgd where pgd.is_staged = false"##).fe...
[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/actions/stage/polygon_grouped_daily.rs:442:18
[INFO] [stdout]     |
[INFO] [stdout] 442 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 443 | |         "select c.oid
[INFO] [stdout] 444 | |     from pg_catalog.pg_class c
[INFO] [stdout] 445 | |     where relname ='market_data'"
[INFO] [stdout] 446 | |     )
[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/actions/stage/polygon_grouped_daily.rs:460:18
[INFO] [stdout]     |
[INFO] [stdout] 460 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 461 | |         "SELECT
[INFO] [stdout] 462 | |             pg_catalog.pg_get_expr(c.relpartbound, c.oid)
[INFO] [stdout] 463 | |         FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i
[INFO] [stdout] ...   |
[INFO] [stdout] 466 | |         help_int
[INFO] [stdout] 467 | |     )
[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/actions/stage/polygon_grouped_daily.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 | /     sqlx::query!(
[INFO] [stdout] 494 | |         r#"update polygon_grouped_daily pgd
[INFO] [stdout] 495 | |             set is_staged = true
[INFO] [stdout] 496 | |             from (
[INFO] [stdout] ...   |
[INFO] [stdout] 512 | |             where pgd.symbol = r.symbol and pgd.business_date = r.business_date"#
[INFO] [stdout] 513 | |     )
[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/actions/stage/sec_companies.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     sqlx::query!("insert into master_data (issuer_name, issue_symbol) select name , ticker from sec_companies where is_staged = false on conflict do nothing").ex...
[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/actions/stage/sec_companies.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     sqlx::query!(
[INFO] [stdout] 62 | |         r##" update master_data 
[INFO] [stdout] 63 | |     set
[INFO] [stdout] 64 | |       instrument = 'OTC'
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |       sec_name = issuer_name  and issue_symbol = ticker"##
[INFO] [stdout] 74 | |     )
[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/actions/stage/sec_companies.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     sqlx::query!(r##"
[INFO] [stdout] 84 | |     update master_data set 
[INFO] [stdout] 85 | |         location = country_code
[INFO] [stdout] 86 | |     from 
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |        where is_staged = false) a
[INFO] [stdout] 91 | |     where issuer_name = c_name and issue_symbol = ticker"##)
[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/actions/stage/sec_companies.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | /     sqlx::query!(
[INFO] [stdout] 101 | |         r##" 
[INFO] [stdout] 102 | |     update sec_companies 
[INFO] [stdout] 103 | |       set is_staged = true 
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |     where "name" = c_name and ticker = c_ticker"##
[INFO] [stdout] 112 | |     )
[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] [stderr]     Checking async-object-pool v0.1.5
[INFO] [stderr]    Compiling basic-cookies v0.1.5
[INFO] [stderr]     Checking httpmock v0.7.0
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/actions/collect/financialmodelingprep_company_profile.rs:225:33
[INFO] [stdout]     |
[INFO] [stdout] 225 |       let missing_issue_symbols = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 226 | |         IssueSymbols,
[INFO] [stdout] 227 | |         "SELECT issue_symbol FROM source_symbol_warden ssw  where financial_modeling_prep = false and issue_symbol > $1::text ord...
[INFO] [stdout] 228 | |         last_issue_symbol
[INFO] [stdout] 229 | |     )
[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/actions/collect/financialmodelingprep_company_profile.rs:237:24
[INFO] [stdout]     |
[INFO] [stdout] 237 |       let query_result = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 238 | |         "select issue_symbol
[INFO] [stdout] 239 | |         from master_data md
[INFO] [stdout] 240 | |         where issue_symbol not in 
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |         last_issue_symbol
[INFO] [stdout] 247 | |     )
[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/actions/collect/financialmodelingprep_company_profile.rs:260:24
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let query_result = sqlx::query!(r#"INSERT INTO financialmodelingprep_company_profile (symbol, price, beta, vol_avg, "marketCa...
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 261 | |     Select * from UNNEST ($1::text[], $2::float[], $3::float[], $4::float[], $5::float[], $6::float[], $7::text[], $8::float[], $...
[INFO] [stdout] 262 | |    &vec![data[0].symbol.to_string()],
[INFO] [stdout] 263 | |    &vec![data[0].price] as _,
[INFO] [stdout] ...   |
[INFO] [stdout] 298 | |    &vec![data[0].average_volume] as _,
[INFO] [stdout] 299 | |     )
[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/actions/collect/financialmodelingprep_company_profile.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 314 | /     sqlx::query!(
[INFO] [stdout] 315 | |         r#"INSERT INTO source_symbol_warden (issue_symbol, financial_modeling_prep)
[INFO] [stdout] 316 | |       VALUES($1, false)
[INFO] [stdout] 317 | |       ON CONFLICT(issue_symbol)
[INFO] [stdout] ...   |
[INFO] [stdout] 320 | |         issue_symbol
[INFO] [stdout] 321 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:259:18
[INFO] [stdout]     |
[INFO] [stdout] 259 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 260 | |         "select max(business_date) 
[INFO] [stdout] 261 | |         from financialmodelingprep_market_cap
[INFO] [stdout] 262 | |         where symbol = $1::text 
[INFO] [stdout] 263 | |         group by symbol",
[INFO] [stdout] 264 | |         issue_sybmol
[INFO] [stdout] 265 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:277:18
[INFO] [stdout]     |
[INFO] [stdout] 277 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 278 | |         "select concat(start_nyse, start_nyse_arca, start_nyse_american, start_nasdaq, start_nasdaq_global_select_market, start_n...
[INFO] [stdout] 279 | |         issue_sybmol
[INFO] [stdout] 280 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:300:24
[INFO] [stdout]     |
[INFO] [stdout] 300 |       let query_result = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 301 | |         "select issue_symbol from master_data_eligible mde
[INFO] [stdout] 302 | |          where
[INFO] [stdout] 303 | |         (start_nyse != '1792-05-17' or start_nyse is null) and
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |         already_searched
[INFO] [stdout] 319 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:327:24
[INFO] [stdout]     |
[INFO] [stdout] 327 |       let query_result = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 328 | |         "select issue_symbol from master_data_eligible mde
[INFO] [stdout] 329 | |          where
[INFO] [stdout] 330 | |         not ((start_nyse != '1792-05-17' or start_nyse is null) and
[INFO] [stdout] ...   |
[INFO] [stdout] 345 | |         already_searched
[INFO] [stdout] 346 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:359:33
[INFO] [stdout]     |
[INFO] [stdout] 359 |       let missing_issue_symbols = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 360 | |         IssueSymbols,
[INFO] [stdout] 361 | |         "SELECT issue_symbol FROM source_symbol_warden ssw  where financial_modeling_prep = false"
[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_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/actions/collect/financialmodelingprep_market_capitalization.rs:378:18
[INFO] [stdout]     |
[INFO] [stdout] 378 |       let result = sqlx::query!(r#"
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 379 | |     select r.symbol, r.maxDate from
[INFO] [stdout] 380 | |         (select symbol ,max(business_date) as maxDate from financialmodelingprep_market_cap group by symbol) as r
[INFO] [stdout] 381 | |     where r.symbol not in (select unnest($1::text[])) 
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |     already_searched,
[INFO] [stdout] 386 | | )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:407:5
[INFO] [stdout]     |
[INFO] [stdout] 407 | /     sqlx::query!(
[INFO] [stdout] 408 | |         r#"INSERT INTO financialmodelingprep_market_cap (symbol, business_date, market_cap)
[INFO] [stdout] 409 | |         Select * from UNNEST ($1::text[], $2::date[], $3::float[]) on conflict do nothing"#,
[INFO] [stdout] 410 | |         &transposed_data.symbol[..],
[INFO] [stdout] 411 | |         &transposed_data.date[..],
[INFO] [stdout] 412 | |         &transposed_data.market_cap[..]
[INFO] [stdout] 413 | |     )
[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/actions/collect/financialmodelingprep_market_capitalization.rs:424:5
[INFO] [stdout]     |
[INFO] [stdout] 424 | /     sqlx::query!(
[INFO] [stdout] 425 | |         r#"INSERT INTO source_symbol_warden (issue_symbol, financial_modeling_prep)
[INFO] [stdout] 426 | |       VALUES($1, false)
[INFO] [stdout] 427 | |       ON CONFLICT(issue_symbol)
[INFO] [stdout] ...   |
[INFO] [stdout] 430 | |         issue_symbol
[INFO] [stdout] 431 | |     )
[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/actions/collect/nyse_events.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 | /         sqlx::query!("INSERT INTO nyse_events
[INFO] [stdout] 146 | |             (action_date, action_status, action_type, issue_symbol, issuer_name, updated_at, market_event)
[INFO] [stdout] 147 | |             Select * from UNNEST ($1::date[], $2::text[], $3::text[], $4::text[], $5::text[], $6::text[], $7::text[]) on conflict...
[INFO] [stdout] 148 | |         &week_data.action_date[..],
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |         &week_data.market_event[..],
[INFO] [stdout] 155 | |     ).execute(&connection_pool)
[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/actions/collect/nyse_events.rs:299:21
[INFO] [stdout]     |
[INFO] [stdout] 299 |       let db_result = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 300 | |         MaxDate,
[INFO] [stdout] 301 | |         "select max(action_date) as max_date from nyse_events"
[INFO] [stdout] 302 | |     )
[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/actions/collect/nyse_events.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 | / ...   sqlx::query!(
[INFO] [stdout] 340 | | ...       r#"INSERT INTO nyse_events (action_date, action_status, action_type, issue_symbol, issuer_name, updated_at, market_even...
[INFO] [stdout] 341 | | ...   ).execute(&pool).await.unwrap();
[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/actions/collect/nyse_events.rs:570:21
[INFO] [stdout]     |
[INFO] [stdout] 570 | ... = sqlx::query!("SELECT action_date, action_status, action_type, issue_symbol, issuer_name, updated_at, market_event, is_staged FROM nyse_events;").fe...
[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/actions/collect/nyse_instruments.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     sqlx::query!("INSERT INTO nyse_instruments
[INFO] [stdout] 134 | |     (instrument_name, instrument_type, symbol_ticker, symbol_exchange_ticker, normalized_ticker, symbol_esignal_ticker, mic_code)
[INFO] [stdout] 135 | |     Select * from UNNEST ($1::text[], $2::text[], $3::text[], $4::text[], $5::text[], $6::text[], $7::text[]) on conflict do noth...
[INFO] [stdout] 136 | |         &instruments.instrument_name[..],
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |         &instruments.mic_code[..],
[INFO] [stdout] 143 | |     ).execute(&connection_pool).await?;
[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/actions/collect/nyse_instruments.rs:317:21
[INFO] [stdout]     |
[INFO] [stdout] 317 | ... = sqlx::query!("SELECT instrument_name, instrument_type, symbol_ticker, symbol_exchange_ticker, normalized_ticker, symbol_esignal_ticker, mic_code, dateloaded, is_staged FROM public.nyse_instruments;").fe...
[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/actions/collect/polygon_grouped_daily.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 151 | |         "select max(business_date) as business_date
[INFO] [stdout] 152 | |         from polygon_grouped_daily"
[INFO] [stdout] 153 | |     )
[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/actions/collect/polygon_grouped_daily.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 | / ...   sqlx::query!(r#"INSERT INTO public.polygon_grouped_daily ("close", business_date, high, low, "open", symbol, order_amount, ...
[INFO] [stdout] 182 | | ...       Select * from UNNEST ($1::float[], $2::date[], $3::float[], $4::float[], $5::float[], $6::text[], $7::float[], $8::floa...
[INFO] [stdout] 183 | | ...       &open_close.close[..],
[INFO] [stdout] 184 | | ...       &open_close.business_date[..],
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | | ...       &open_close.stock_traded[..],
[INFO] [stdout] 191 | | ...       &open_close.volume_weighted_average_price[..] as _,)
[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/actions/collect/polygon_open_close.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 | / ...   sqlx::query!(r#"INSERT INTO polygon_open_close
[INFO] [stdout] 173 | | ...   (after_hours, "close", business_date, high, low, "open", pre_market, symbol, volume)
[INFO] [stdout] 174 | | ...   Select * from UNNEST ($1::float[], $2::float[], $3::date[], $4::float[], $5::float[], $6::float[], $7::float[], $8::text[],...
[INFO] [stdout] 175 | | ...   &open_close_data.after_hours[..] as _,
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | | ...   &open_close_data.symbol[..],
[INFO] [stdout] 183 | | ...   &open_close_data.volume[..] as _,)
[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/actions/collect/polygon_open_close.rs:228:5
[INFO] [stdout]     |
[INFO] [stdout] 228 | /     sqlx::query!(
[INFO] [stdout] 229 | |         r#"INSERT INTO source_symbol_warden (issue_symbol, polygon)
[INFO] [stdout] 230 | |       VALUES($1, false)
[INFO] [stdout] 231 | |       ON CONFLICT(issue_symbol)
[INFO] [stdout] ...   |
[INFO] [stdout] 234 | |         issue_symbol
[INFO] [stdout] 235 | |     )
[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/actions/collect/polygon_open_close.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |       let a = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 251 | |         "SELECT symbol
[INFO] [stdout] 252 | |         FROM polygon_open_close poc 
[INFO] [stdout] 253 | |         GROUP BY symbol
[INFO] [stdout] ...   |
[INFO] [stdout] 258 | |         lower_symbol_bound
[INFO] [stdout] 259 | |     )
[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/actions/collect/polygon_open_close.rs:266:34
[INFO] [stdout]     |
[INFO] [stdout] 266 |       let issue_symbol_candidate = sqlx::query!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 267 | |         "select issue_symbol 
[INFO] [stdout] 268 | |         from master_data_eligible mde 
[INFO] [stdout] 269 | |         where issue_symbol not in 
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |         lower_symbol_bound
[INFO] [stdout] 277 | |     )
[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/actions/collect/polygon_open_close.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 |       let a = sqlx::query!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 326 | |         "select MAX(business_date) as max_date from polygon_open_close pgd where symbol = $1::text",
[INFO] [stdout] 327 | |         issue_symbol
[INFO] [stdout] 328 | |     )
[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/actions/collect/sec_companies.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | /     sqlx::query!("INSERT INTO sec_companies (cik, sic, \"name\", ticker, exchange, state_of_incorporation) Select * from UNNEST (...
[INFO] [stdout] 132 | |     &transposed_data.cik[..],
[INFO] [stdout] 133 | |     &transposed_data.sic[..] as _, //cast due to None's in the vector
[INFO] [stdout] 134 | |     &transposed_data.name[..],
[INFO] [stdout] 135 | |     &transposed_data.tickers[..],
[INFO] [stdout] 136 | |     &transposed_data.exchanges[..] as _, //cast due to None's in the vector
[INFO] [stdout] 137 | |     &transposed_data.state_of_incorporation[..] as _ ) //cast due to None's in the vector
[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/actions/collect/sec_companies.rs:534:22
[INFO] [stdout]     |
[INFO] [stdout] 534 | ... = sqlx::query!("SELECT cik, sic, \"name\", ticker, exchange, state_of_incorporation, date_loaded, is_staged FROM sec_companies").fe...
[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/actions/collect/sec_companies.rs:568:9
[INFO] [stdout]     |
[INFO] [stdout] 568 |         sqlx::query!("Truncate table sec_companies")
[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/actions/collect/sec_companies.rs:578:22
[INFO] [stdout]     |
[INFO] [stdout] 578 | ... = sqlx::query!("SELECT cik, sic, \"name\", ticker, exchange, state_of_incorporation, date_loaded, is_staged FROM sec_companies").fe...
[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/actions/stage/financialmodelingprep_company_profile.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "update financialmodelingprep_company_profile 
[INFO] [stdout] 54 | |             set is_staged = true
[INFO] [stdout] 55 | |             where ipo_date is null"
[INFO] [stdout] 56 | |     )
[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/actions/stage/financialmodelingprep_company_profile.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | /     sqlx::query!(r##"
[INFO] [stdout] 66 | |      update master_data md set 
[INFO] [stdout] 67 | |         start_nyse                         = case WHEN md.start_nyse is not null then r.ipo_date end,
[INFO] [stdout] 68 | |         start_nyse_arca                    = case WHEN md.start_nyse_arca is not null then r.ipo_date end,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         ) as r
[INFO] [stdout] 82 | |     where md.issue_symbol = r.issue_symbol;"##)
[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/actions/stage/financialmodelingprep_company_profile.rs:91:5
[INFO] [stdout]     |
[INFO] [stdout]  91 | /     sqlx::query!(
[INFO] [stdout]  92 | |         r##"
[INFO] [stdout]  93 | |         update financialmodelingprep_company_profile fcp set 
[INFO] [stdout]  94 | |         is_staged = true 
[INFO] [stdout] ...   |
[INFO] [stdout] 108 | |         where fcp.symbol = r.issue_symbol and fcp.is_staged = false"##
[INFO] [stdout] 109 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | /     sqlx::query!(
[INFO] [stdout] 290 | |         "update financialmodelingprep_market_cap fmc 
[INFO] [stdout] 291 | |             set is_staged = true 
[INFO] [stdout] 292 | |             from (
[INFO] [stdout] ...   |
[INFO] [stdout] 300 | |             where fmc.symbol = r.symbol and fmc.business_date = r.business_date"
[INFO] [stdout] 301 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:315:18
[INFO] [stdout]     |
[INFO] [stdout] 315 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 316 | |         "select c.oid
[INFO] [stdout] 317 | |     from pg_catalog.pg_class c
[INFO] [stdout] 318 | |     where relname ='market_data'"
[INFO] [stdout] 319 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:333:18
[INFO] [stdout]     |
[INFO] [stdout] 333 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 334 | |         "SELECT
[INFO] [stdout] 335 | |             pg_catalog.pg_get_expr(c.relpartbound, c.oid)
[INFO] [stdout] 336 | |         FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |         help_int
[INFO] [stdout] 340 | |     )
[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/actions/stage/financialmodelingprep_market_capitalization.rs:381:40
[INFO] [stdout]     |
[INFO] [stdout] 381 |   ...ily_stream = sqlx::query_as!( FinModPrepMarketCapTable,
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 382 | | ...bol, fmc.business_date, fmc.market_cap  from financialmodelingprep_market_cap fmc where fmc.is_staged = false"##).fetch(connec...
[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/actions/stage/financialmodelingprep_market_capitalization.rs:476:5
[INFO] [stdout]     |
[INFO] [stdout] 476 | /     sqlx::query!(
[INFO] [stdout] 477 | |         r##"INSERT INTO market_data
[INFO] [stdout] 478 | |         (symbol, business_date, stock_price, "open", "close", stock_traded, order_amount, after_hours, pre_market, market_capital...
[INFO] [stdout] 479 | |         Select * from UNNEST($1::text[], $2::date[], $3::float[], $4::float[], $5::float[], $6::float[], $7::float[], $8::float[]...
[INFO] [stdout] ...   |
[INFO] [stdout] 490 | |         data.year_month as _,
[INFO] [stdout] 491 | |     ).execute(connection_pool).await?;
[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/actions/stage/financialmodelingprep_market_capitalization.rs:496:5
[INFO] [stdout]     |
[INFO] [stdout] 496 | /     sqlx::query!(r#"
[INFO] [stdout] 497 | |         update market_data md 
[INFO] [stdout] 498 | |         set market_capitalization = coalesce(md.market_capitalization , fmc.market_cap)
[INFO] [stdout] 499 | |         from financialmodelingprep_market_cap fmc
[INFO] [stdout] ...   |
[INFO] [stdout] 503 | |             and fmc.business_date = md.business_date
[INFO] [stdout] 504 | |             and md.year_month = (EXTRACT(YEAR FROM fmc.business_date) * 100) + EXTRACT(MONTH FROM fmc.business_date)"#)
[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/actions/stage/nyse_instruments.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | /     sqlx::query!(
[INFO] [stdout] 101 | |         r##"
[INFO] [stdout] 102 | |     update nyse_instruments 
[INFO] [stdout] 103 | |     set 
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |         instrument_type = 'TEST'"##
[INFO] [stdout] 107 | |     )
[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/actions/stage/nyse_instruments.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | /     sqlx::query!(
[INFO] [stdout] 122 | |         r##"update master_data set 
[INFO] [stdout] 123 | |                 start_nyse                         = case WHEN r.mic_code = 'XNYS' then TO_DATE('1792-05-17','YYYY-MM-DD') end,
[INFO] [stdout] 124 | |                 start_nyse_arca                    = case WHEN r.mic_code = 'ARCX' then TO_DATE('1792-05-17','YYYY-MM-DD') end,
[INFO] [stdout] ...   |
[INFO] [stdout] 137 | |                 ) as r
[INFO] [stdout] 138 | |             where master_data.issuer_name = r.issuer_name and master_data.issue_symbol = r.issue_symbol"##)
[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/actions/stage/nyse_instruments.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | /     sqlx::query!(
[INFO] [stdout] 147 | |         r##"
[INFO] [stdout] 148 | |         update master_data set instrument = instrument_type
[INFO] [stdout] 149 | |         from (select replace(symbol_esignal_ticker,'/','-') as ni_ticker, instrument_type
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             master_data.issue_symbol  = ni_ticker;"##
[INFO] [stdout] 157 | |     )
[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/actions/stage/nyse_instruments.rs:167:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | /     sqlx::query!(
[INFO] [stdout] 168 | |         r##"
[INFO] [stdout] 169 | |     update nyse_instruments  set is_staged = true
[INFO] [stdout] 170 | |     from   (select issue_symbol
[INFO] [stdout] ...   |
[INFO] [stdout] 175 | |         replace(symbol_esignal_ticker,'/','-') = r.issue_symbol;"##
[INFO] [stdout] 176 | |     )
[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/actions/stage/nyse_instruments.rs:223:13
[INFO] [stdout]     |
[INFO] [stdout] 223 |             sqlx::query!("select * from nyse_instruments where instrument_type = 'TEST'")
[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/actions/stage/nyse_instruments.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |             sqlx::query!("select * from nyse_instruments where instrument_type = 'TEST'")
[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/actions/stage/nyse_instruments.rs:249:25
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let md_result = query!("select count(*) from master_data")
[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 `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/actions/stage/nyse_instruments.rs:255:45
[INFO] [stdout]     |
[INFO] [stdout] 255 |           let md_result: Vec<MasterDataRow> = sqlx::query_as!(
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 256 | |             MasterDataRow,
[INFO] [stdout] 257 | |             "select * from master_data where
[INFO] [stdout] 258 | |                 Start_NYSE notnull or
[INFO] [stdout] ...   |
[INFO] [stdout] 265 | |                 Start_CBOE notnull"
[INFO] [stdout] 266 | |         )
[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/actions/stage/nyse_instruments.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |             sqlx::query_as!(MasterDataRow, "select * from master_data")
[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/actions/stage/nyse_instruments.rs:343:25
[INFO] [stdout]     |
[INFO] [stdout] 343 |           let md_result = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 344 | |             MasterDataRow,
[INFO] [stdout] 345 | |             "select * from master_data where issuer_name = 'TEST Company'"
[INFO] [stdout] 346 | |         )
[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/actions/stage/nyse_instruments.rs:358:25
[INFO] [stdout]     |
[INFO] [stdout] 358 |           let md_result = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 359 | |             MasterDataRow,
[INFO] [stdout] 360 | |             "select * from master_data where issuer_name = 'TEST Company'"
[INFO] [stdout] 361 | |         )
[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/actions/stage/nyse_instruments.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |             query!("select * from nyse_instruments where symbol_exchange_ticker = 'MHLA'")
[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 `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/actions/stage/nyse_instruments.rs:389:25
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let md_result = sqlx::query!("select * from master_data where issue_symbol = 'MHLA'")
[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/actions/stage/nyse_instruments.rs:399:25
[INFO] [stdout]     |
[INFO] [stdout] 399 |         let md_result = sqlx::query!("select * from master_data where issue_symbol = 'MHLA'")
[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/actions/stage/nyse_instruments.rs:415:25
[INFO] [stdout]     |
[INFO] [stdout] 415 |         let md_result = sqlx::query!("select * from master_data where issue_symbol = 'ABC'")
[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/actions/stage/nyse_instruments.rs:422:13
[INFO] [stdout]     |
[INFO] [stdout] 422 |             sqlx::query!("select * from nyse_instruments where instrument_type notnull")
[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/actions/stage/nyse_instruments.rs:431:25
[INFO] [stdout]     |
[INFO] [stdout] 431 |         let md_result = sqlx::query!("select * from master_data where issue_symbol = 'ABC'")
[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/actions/stage/nyse_instruments.rs:446:13
[INFO] [stdout]     |
[INFO] [stdout] 446 |             query!("select * from nyse_instruments where symbol_exchange_ticker = 'BOH'")
[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 `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/actions/stage/nyse_instruments.rs:459:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |             query!("select * from nyse_instruments where symbol_exchange_ticker = 'BOH'")
[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 `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/actions/stage/nyse_instruments.rs:476:13
[INFO] [stdout]     |
[INFO] [stdout] 476 |             sqlx::query!("select * from nyse_instruments where symbol_esignal_ticker = 'MHLA'")
[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/actions/stage/nyse_instruments.rs:483:25
[INFO] [stdout]     |
[INFO] [stdout] 483 |         let md_result = sqlx::query!("select * from master_data where issue_symbol = 'MHLA'")
[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/actions/stage/nyse_instruments.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |             sqlx::query!("select * from nyse_instruments where symbol_esignal_ticker = 'MHLA'")
[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/actions/stage/nyse_instruments.rs:512:25
[INFO] [stdout]     |
[INFO] [stdout] 512 |         let md_result = sqlx::query!("Select * from master_data where issue_symbol = 'KARO2'")
[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/actions/stage/nyse_instruments.rs:519:13
[INFO] [stdout]     |
[INFO] [stdout] 519 |             sqlx::query!("select * from nyse_instruments where symbol_esignal_ticker = 'KARO2'")
[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/actions/stage/nyse_instruments.rs:529:25
[INFO] [stdout]     |
[INFO] [stdout] 529 |         let md_result = sqlx::query!("Select * from master_data where issue_symbol = 'KARO2'")
[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/actions/stage/polygon_grouped_daily.rs:284:5
[INFO] [stdout]     |
[INFO] [stdout] 284 | /     sqlx::query!(r#"
[INFO] [stdout] 285 | |     update market_data md 
[INFO] [stdout] 286 | |     set stock_traded = coalesce(md.stock_traded, pgd.stock_traded ),
[INFO] [stdout] 287 | |               "open" = coalesce(md.open, pgd."open"),
[INFO] [stdout] ...   |
[INFO] [stdout] 295 | |     and pgd.business_date = md.business_date
[INFO] [stdout] 296 | |     and md.year_month = (EXTRACT(YEAR FROM pgd.business_date) * 100) + EXTRACT(MONTH FROM pgd.business_date)"#).execute(connectio...
[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/actions/stage/polygon_grouped_daily.rs:390:5
[INFO] [stdout]     |
[INFO] [stdout] 390 | /     sqlx::query!(
[INFO] [stdout] 391 | |         r##"INSERT INTO market_data
[INFO] [stdout] 392 | |         (symbol, business_date, stock_price, "open", "close", stock_traded, order_amount, after_hours, pre_market, market_capital...
[INFO] [stdout] 393 | |         Select * from UNNEST($1::text[], $2::date[], $3::float[], $4::float[], $5::float[], $6::float[], $7::float[], $8::float[]...
[INFO] [stdout] ...   |
[INFO] [stdout] 404 | |         data.year_month as _,
[INFO] [stdout] 405 | |     ).execute(connection_pool).await?;
[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/actions/stage/polygon_grouped_daily.rs:429:40
[INFO] [stdout]     |
[INFO] [stdout] 429 |   ... = sqlx::query_as!( PolygonGroupedDailyTable,
[INFO] [stdout]     |  _______^
[INFO] [stdout] 430 | | ...open", pgd."close", pgd.business_date, pgd.order_amount, pgd.stock_traded from polygon_grouped_daily pgd where pgd.is_staged = false"##).fe...
[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/actions/stage/polygon_grouped_daily.rs:442:18
[INFO] [stdout]     |
[INFO] [stdout] 442 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 443 | |         "select c.oid
[INFO] [stdout] 444 | |     from pg_catalog.pg_class c
[INFO] [stdout] 445 | |     where relname ='market_data'"
[INFO] [stdout] 446 | |     )
[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/actions/stage/polygon_grouped_daily.rs:460:18
[INFO] [stdout]     |
[INFO] [stdout] 460 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 461 | |         "SELECT
[INFO] [stdout] 462 | |             pg_catalog.pg_get_expr(c.relpartbound, c.oid)
[INFO] [stdout] 463 | |         FROM pg_catalog.pg_class c, pg_catalog.pg_inherits i
[INFO] [stdout] ...   |
[INFO] [stdout] 466 | |         help_int
[INFO] [stdout] 467 | |     )
[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/actions/stage/polygon_grouped_daily.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 | /     sqlx::query!(
[INFO] [stdout] 494 | |         r#"update polygon_grouped_daily pgd
[INFO] [stdout] 495 | |             set is_staged = true
[INFO] [stdout] 496 | |             from (
[INFO] [stdout] ...   |
[INFO] [stdout] 512 | |             where pgd.symbol = r.symbol and pgd.business_date = r.business_date"#
[INFO] [stdout] 513 | |     )
[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/actions/stage/polygon_grouped_daily.rs:686:38
[INFO] [stdout]     |
[INFO] [stdout] 686 |           let is_staged_prerequisite = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 687 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-04'"
[INFO] [stdout] 688 | |         )
[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/actions/stage/polygon_grouped_daily.rs:695:32
[INFO] [stdout]     |
[INFO] [stdout] 695 |           let is_staged_result = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 696 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-04'"
[INFO] [stdout] 697 | |         )
[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/actions/stage/polygon_grouped_daily.rs:714:38
[INFO] [stdout]     |
[INFO] [stdout] 714 |           let is_staged_prerequisite = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 715 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-07'"
[INFO] [stdout] 716 | |         )
[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/actions/stage/polygon_grouped_daily.rs:723:32
[INFO] [stdout]     |
[INFO] [stdout] 723 |           let is_staged_result = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 724 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-07'"
[INFO] [stdout] 725 | |         )
[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/actions/stage/polygon_grouped_daily.rs:743:13
[INFO] [stdout]     |
[INFO] [stdout] 743 |             sqlx::query!("select order_amount from market_data where business_date = '2022-03-07'")
[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/actions/stage/polygon_grouped_daily.rs:751:13
[INFO] [stdout]     |
[INFO] [stdout] 751 |             sqlx::query!("select order_amount from market_data where business_date = '2022-03-07'")
[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/actions/stage/polygon_grouped_daily.rs:769:13
[INFO] [stdout]     |
[INFO] [stdout] 769 |             sqlx::query!("select order_amount from market_data where business_date = '2022-03-08'")
[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/actions/stage/polygon_grouped_daily.rs:777:13
[INFO] [stdout]     |
[INFO] [stdout] 777 |             sqlx::query!("select order_amount from market_data where business_date = '2022-03-08'")
[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/actions/stage/polygon_grouped_daily.rs:794:38
[INFO] [stdout]     |
[INFO] [stdout] 794 |           let is_staged_prerequisite = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 795 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-08'"
[INFO] [stdout] 796 | |         )
[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/actions/stage/polygon_grouped_daily.rs:803:32
[INFO] [stdout]     |
[INFO] [stdout] 803 |           let is_staged_result = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 804 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-08'"
[INFO] [stdout] 805 | |         )
[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/actions/stage/polygon_grouped_daily.rs:823:13
[INFO] [stdout]     |
[INFO] [stdout] 823 |             sqlx::query!("select order_amount from market_data where business_date = '2022-03-09'")
[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/actions/stage/polygon_grouped_daily.rs:831:13
[INFO] [stdout]     |
[INFO] [stdout] 831 |             sqlx::query!("select order_amount from market_data where business_date = '2022-03-09'")
[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/actions/stage/polygon_grouped_daily.rs:848:38
[INFO] [stdout]     |
[INFO] [stdout] 848 |           let is_staged_prerequisite = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 849 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-09'"
[INFO] [stdout] 850 | |         )
[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/actions/stage/polygon_grouped_daily.rs:857:32
[INFO] [stdout]     |
[INFO] [stdout] 857 |           let is_staged_result = sqlx::query!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 858 | |             "select is_staged from polygon_grouped_daily where business_date = '2022-03-09'"
[INFO] [stdout] 859 | |         )
[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/actions/stage/sec_companies.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     sqlx::query!("insert into master_data (issuer_name, issue_symbol) select name , ticker from sec_companies where is_staged = false on conflict do nothing").ex...
[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/actions/stage/sec_companies.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     sqlx::query!(
[INFO] [stdout] 62 | |         r##" update master_data 
[INFO] [stdout] 63 | |     set
[INFO] [stdout] 64 | |       instrument = 'OTC'
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |       sec_name = issuer_name  and issue_symbol = ticker"##
[INFO] [stdout] 74 | |     )
[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/actions/stage/sec_companies.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     sqlx::query!(r##"
[INFO] [stdout] 84 | |     update master_data set 
[INFO] [stdout] 85 | |         location = country_code
[INFO] [stdout] 86 | |     from 
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |        where is_staged = false) a
[INFO] [stdout] 91 | |     where issuer_name = c_name and issue_symbol = ticker"##)
[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/actions/stage/sec_companies.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | /     sqlx::query!(
[INFO] [stdout] 101 | |         r##" 
[INFO] [stdout] 102 | |     update sec_companies 
[INFO] [stdout] 103 | |       set is_staged = true 
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |     where "name" = c_name and ticker = c_ticker"##
[INFO] [stdout] 112 | |     )
[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/actions/stage/sec_companies.rs:172:25
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let db_result = sqlx::query_as!(MasterDataRow, "select * from master_data")
[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/actions/stage/sec_companies.rs:185:25
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let db_result = sqlx::query_as!(MasterDataRow, "select * from master_data")
[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/actions/stage/sec_companies.rs:203:41
[INFO] [stdout]     |
[INFO] [stdout] 203 |           let sec_result: SecCompanyRow = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 204 | |             SecCompanyRow,
[INFO] [stdout] 205 | |             "select * from sec_companies where cik = 1098462"
[INFO] [stdout] 206 | |         )
[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/actions/stage/sec_companies.rs:212:45
[INFO] [stdout]     |
[INFO] [stdout] 212 |           let md_result: Vec<MasterDataRow> = sqlx::query_as!(
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 213 | |             MasterDataRow,
[INFO] [stdout] 214 | |             "select * from master_data where issuer_name = 'METALINK LTD'"
[INFO] [stdout] 215 | |         )
[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/actions/stage/sec_companies.rs:223:45
[INFO] [stdout]     |
[INFO] [stdout] 223 |           let md_result: Vec<MasterDataRow> = sqlx::query_as!(
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 224 | |             MasterDataRow,
[INFO] [stdout] 225 | |             "select * from master_data where issuer_name = 'METALINK LTD'"
[INFO] [stdout] 226 | |         )
[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/actions/stage/sec_companies.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |             sqlx::query_as!(MasterDataRow, "select * from master_data")
[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/actions/stage/sec_companies.rs:252:40
[INFO] [stdout]     |
[INFO] [stdout] 252 |           let md_result: MasterDataRow = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________________^
[INFO] [stdout] 253 | |             MasterDataRow,
[INFO] [stdout] 254 | |             "select * from master_data where issuer_name = 'VIVEVE MEDICAL, INC.'"
[INFO] [stdout] 255 | |         )
[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/actions/stage/sec_companies.rs:271:25
[INFO] [stdout]     |
[INFO] [stdout] 271 |         let sc_result = sqlx::query!("Select * from sec_companies where name = 'METALINK LTD'")
[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/actions/stage/sec_companies.rs:279:13
[INFO] [stdout]     |
[INFO] [stdout] 279 |             sqlx::query!("select * from master_data where issuer_name = 'METALINK LTD'")
[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/actions/stage/sec_companies.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             sqlx::query!("select * from master_data where issuer_name = 'METALINK LTD'")
[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/actions/stage/sec_companies.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |             sqlx::query!("select * from master_data where issuer_name = 'VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             sqlx::query!("select * from master_data where issuer_name = 'VIRCO MFG CORPORATION'")
[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/actions/stage/sec_companies.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |             sqlx::query!("select * from master_data where issuer_name = 'VIRCO MFG CORPORATION'")
[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/actions/stage/sec_companies.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 |             sqlx::query!("select * from sec_companies where name = 'America Great Health'")
[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/actions/stage/sec_companies.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |             sqlx::query!("select * from master_data where issuer_name = 'America Great Health'")
[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/actions/stage/sec_companies.rs:366:13
[INFO] [stdout]     |
[INFO] [stdout] 366 |             sqlx::query!("select * from master_data where issuer_name ='VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:372:13
[INFO] [stdout]     |
[INFO] [stdout] 372 |             sqlx::query!("select * from sec_companies where name = 'VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |             sqlx::query!("select * from sec_companies where name = 'VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:398:13
[INFO] [stdout]     |
[INFO] [stdout] 398 |             sqlx::query!("select * from sec_companies where name = 'VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:404:25
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let md_result = sqlx::query!("select *  from master_data")
[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/actions/stage/sec_companies.rs:415:13
[INFO] [stdout]     |
[INFO] [stdout] 415 |             sqlx::query!("select * from master_data where issuer_name = 'VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:423:13
[INFO] [stdout]     |
[INFO] [stdout] 423 |             sqlx::query!("select * from sec_companies where name = 'VIVEVE MEDICAL, INC.'")
[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/actions/stage/sec_companies.rs:435:13
[INFO] [stdout]     |
[INFO] [stdout] 435 |             sqlx::query_as!(SecCompanyRow, "select * from sec_companies")
[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] [stderr] error: could not compile `data_collector` (lib) due to 46 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `data_collector` (lib test) due to 110 previous errors
[INFO] running `Command { std: "docker" "inspect" "9a0e96df0576e25f78d691c868e5c7160bc1b70cd2ea4990c4b7c0d1477d0d98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a0e96df0576e25f78d691c868e5c7160bc1b70cd2ea4990c4b7c0d1477d0d98", kill_on_drop: false }`
[INFO] [stdout] 9a0e96df0576e25f78d691c868e5c7160bc1b70cd2ea4990c4b7c0d1477d0d98
