[INFO] cloning repository https://github.com/cesa87/p19-be
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cesa87/p19-be" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcesa87%2Fp19-be", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcesa87%2Fp19-be'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a822b4070b9165bae3a67464e74ff4f1d69371d
[INFO] documenting cesa87/p19-be against 1.98.0-beta.1 for beta-rustdoc-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcesa87%2Fp19-be" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cesa87/p19-be
[INFO] finished tweaking git repo https://github.com/cesa87/p19-be
[INFO] tweaked toml for git repo https://github.com/cesa87/p19-be written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cesa87/p19-be on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cesa87/p19-be already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ta v0.5.0
[INFO] [stderr]   Downloaded zmij v1.0.20
[INFO] [stderr]   Downloaded uuid v1.20.0
[INFO] [stderr]   Downloaded redox_syscall v0.7.0
[INFO] [stderr]   Downloaded grammers-tl-types v0.6.0
[INFO] [stderr]   Downloaded grammers-tl-gen v0.6.0
[INFO] [stderr]   Downloaded grammers-tl-parser v1.2.0
[INFO] [stderr]   Downloaded grammers-session v0.5.2
[INFO] [stderr]   Downloaded grammers-crypto v0.6.1
[INFO] [stderr]   Downloaded glass_pumpkin v1.9.0
[INFO] [stderr]   Downloaded os_info v3.14.0
[INFO] [stderr]   Downloaded grammers-client v0.6.0
[INFO] [stderr]   Downloaded locate-locale v0.2.0
[INFO] [stderr]   Downloaded envy v0.4.2
[INFO] [stderr]   Downloaded argon2 v0.5.3
[INFO] [stderr]   Downloaded grammers-mtproto v0.6.0
[INFO] [stderr]   Downloaded actix-http v3.11.2
[INFO] [stderr]   Downloaded actix-web v4.12.1
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded grammers-mtsender v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a
[INFO] running `Command { std: "docker" "start" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling zmij v1.0.20
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling grammers-tl-parser v1.2.0
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling grammers-tl-gen v0.6.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling grammers-tl-types v0.6.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking glass_pumpkin v1.9.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling bigdecimal v0.3.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking grammers-crypto v0.6.1
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling grammers-session v0.5.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rand_core v0.10.0
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]    Compiling bigdecimal v0.4.10
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking actix-web v4.12.1
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking os_info v3.14.0
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking locate-locale v0.2.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking rand v0.10.0
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking ta v0.5.0
[INFO] [stderr]     Checking grammers-mtproto v0.6.0
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking grammers-mtsender v0.5.1
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking grammers-client v0.6.0
[INFO] [stderr]  Documenting aureum-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/ensemble.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | /         sqlx::query!(
[INFO] [stdout] 133 | |             r#"
[INFO] [stdout] 134 | |             INSERT INTO cross_bot_learnings 
[INFO] [stdout] 135 | |                 (cluster_id, pattern_hash, regime, session, outcome, confidence, pnl, trade_id, bot_id)
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | |             bot_id
[INFO] [stdout] 147 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/ensemble.rs:170:29
[INFO] [stdout]     |
[INFO] [stdout] 170 |           let recent_trades = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 171 | |             r#"
[INFO] [stdout] 172 | |             SELECT outcome, confidence, pnl, created_at
[INFO] [stdout] 173 | |             FROM cross_bot_learnings
[INFO] [stdout] ...   |
[INFO] [stdout] 181 | |             pattern_hash
[INFO] [stdout] 182 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/ensemble.rs:270:21
[INFO] [stdout]     |
[INFO] [stdout] 270 |           let stats = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 271 | |             r#"
[INFO] [stdout] 272 | |             SELECT 
[INFO] [stdout] 273 | |                 regime,
[INFO] [stdout] ...   |
[INFO] [stdout] 285 | |             cluster_str
[INFO] [stdout] 286 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/correlation.rs:134:17
[INFO] [stdout]     |
[INFO] [stdout] 134 | /                 sqlx::query!(
[INFO] [stdout] 135 | |                     r#"
[INFO] [stdout] 136 | |                     INSERT INTO instrument_correlations 
[INFO] [stdout] 137 | |                         (instrument_a, instrument_b, correlation, window_days, sample_size, last_updated)
[INFO] [stdout] ...   |
[INFO] [stdout] 150 | |                     Utc::now().naive_utc()
[INFO] [stdout] 151 | |                 )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/correlation.rs:172:22
[INFO] [stdout]     |
[INFO] [stdout] 172 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 173 | |             r#"
[INFO] [stdout] 174 | |             SELECT correlation
[INFO] [stdout] 175 | |             FROM instrument_correlations
[INFO] [stdout] ...   |
[INFO] [stdout] 179 | |             b
[INFO] [stdout] 180 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 | /         sqlx::query!(
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |             INSERT INTO bot_variants 
[INFO] [stdout] 266 | |                 (id, parent_bot_id, variant_name, generation, status, params, 
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |             Utc::now().naive_utc()
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:286:20
[INFO] [stdout]     |
[INFO] [stdout] 286 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 287 | |             r#"
[INFO] [stdout] 288 | |             SELECT 
[INFO] [stdout] 289 | |                 b.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 305 | |             "#
[INFO] [stdout] 306 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:333:30
[INFO] [stdout]     |
[INFO] [stdout] 333 |           let ready_variants = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 334 | |             r#"
[INFO] [stdout] 335 | |             SELECT id, parent_bot_id, trades_count, win_rate, profit_factor, total_pnl
[INFO] [stdout] 336 | |             FROM bot_variants
[INFO] [stdout] 337 | |             WHERE status = 'testing' AND trades_count >= 50
[INFO] [stdout] 338 | |             "#
[INFO] [stdout] 339 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:376:9
[INFO] [stdout]     |
[INFO] [stdout] 376 | /         sqlx::query!(
[INFO] [stdout] 377 | |             r#"
[INFO] [stdout] 378 | |             UPDATE bot_variants
[INFO] [stdout] 379 | |             SET status = 'promoted', promoted_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 383 | |             Utc::now().naive_utc()
[INFO] [stdout] 384 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:393:9
[INFO] [stdout]     |
[INFO] [stdout] 393 | /         sqlx::query!(
[INFO] [stdout] 394 | |             r#"
[INFO] [stdout] 395 | |             UPDATE bot_variants
[INFO] [stdout] 396 | |             SET status = 'retired', retired_at = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 400 | |             Utc::now().naive_utc()
[INFO] [stdout] 401 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:410:22
[INFO] [stdout]     |
[INFO] [stdout] 410 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 411 | |             r#"
[INFO] [stdout] 412 | |             SELECT MAX(generation) as max_gen
[INFO] [stdout] 413 | |             FROM bot_variants
[INFO] [stdout] ...   |
[INFO] [stdout] 416 | |             bot_id
[INFO] [stdout] 417 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:443:22
[INFO] [stdout]     |
[INFO] [stdout] 443 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 444 | |             r#"
[INFO] [stdout] 445 | |             SELECT 
[INFO] [stdout] 446 | |                 COUNT(*) as trades,
[INFO] [stdout] ...   |
[INFO] [stdout] 454 | |             bot_id
[INFO] [stdout] 455 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/evolution.rs:487:20
[INFO] [stdout]     |
[INFO] [stdout] 487 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 488 | |             r#"
[INFO] [stdout] 489 | |             SELECT id, parent_bot_id, variant_name, generation, status, params,
[INFO] [stdout] 490 | |                    trades_count, wins, losses, total_pnl, win_rate, profit_factor,
[INFO] [stdout] ...   |
[INFO] [stdout] 496 | |             bot_id
[INFO] [stdout] 497 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trailing_stop.rs:346:9
[INFO] [stdout]     |
[INFO] [stdout] 346 | /         sqlx::query!(
[INFO] [stdout] 347 | |             r#"
[INFO] [stdout] 348 | |             INSERT INTO trailing_stop_state 
[INFO] [stdout] 349 | |                 (position_id, external_trade_id, instrument, direction, entry_price, original_stop, original_tp,
[INFO] [stdout] ...   |
[INFO] [stdout] 386 | |             state.last_updated,
[INFO] [stdout] 387 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trailing_stop.rs:396:19
[INFO] [stdout]     |
[INFO] [stdout] 396 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 397 | |             r#"
[INFO] [stdout] 398 | |             SELECT * FROM trailing_stop_state
[INFO] [stdout] 399 | |             WHERE position_id = $1
[INFO] [stdout] 400 | |             "#,
[INFO] [stdout] 401 | |             position_id
[INFO] [stdout] 402 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trailing_stop.rs:432:20
[INFO] [stdout]     |
[INFO] [stdout] 432 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 433 | |             r#"
[INFO] [stdout] 434 | |             SELECT * FROM trailing_stop_state
[INFO] [stdout] 435 | |             WHERE trailing_active = true
[INFO] [stdout] 436 | |             ORDER BY last_updated DESC
[INFO] [stdout] 437 | |             "#
[INFO] [stdout] 438 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trailing_stop.rs:471:20
[INFO] [stdout]     |
[INFO] [stdout] 471 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 472 | |             r#"
[INFO] [stdout] 473 | |             SELECT * FROM trailing_stop_state
[INFO] [stdout] 474 | |             ORDER BY last_updated DESC
[INFO] [stdout] 475 | |             "#
[INFO] [stdout] 476 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trailing_stop.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 | /         sqlx::query!(
[INFO] [stdout] 510 | |             "DELETE FROM trailing_stop_state WHERE position_id = $1",
[INFO] [stdout] 511 | |             position_id
[INFO] [stdout] 512 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trailing_stop.rs:521:19
[INFO] [stdout]     |
[INFO] [stdout] 521 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 522 | |             r#"
[INFO] [stdout] 523 | |             SELECT fear_greed_index, reddit_crypto as reddit_crypto_sentiment, reddit_btc as reddit_btc_sentiment
[INFO] [stdout] 524 | |             FROM sentiment_signals
[INFO] [stdout] ...   |
[INFO] [stdout] 527 | |             "#
[INFO] [stdout] 528 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/analytics/trade_analyzer.rs:181:28
[INFO] [stdout]     |
[INFO] [stdout] 181 |               let bot_info = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 182 | |                 r#"
[INFO] [stdout] 183 | |                 SELECT b.id, b.name, s.mrate_category
[INFO] [stdout] 184 | |                 FROM bots b
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |                 trade.instrument.replace("_", "")
[INFO] [stdout] 190 | |             )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/api/ai.rs:48:20
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let clusters = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 49 | |         r#"
[INFO] [stdout] 50 | |         SELECT 
[INFO] [stdout] 51 | |             cluster_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |         "#
[INFO] [stdout] 65 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:104:26
[INFO] [stdout]     |
[INFO] [stdout] 104 |       let total_patterns = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 105 | |         "SELECT COUNT(*) FROM cross_bot_learnings"
[INFO] [stdout] 106 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:411:30
[INFO] [stdout]     |
[INFO] [stdout] 411 |       let current_generation = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 412 | |         "SELECT COALESCE(MAX(generation), 0) FROM bot_variants"
[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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:419:26
[INFO] [stdout]     |
[INFO] [stdout] 419 |       let total_variants = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 420 | |         "SELECT COUNT(*) FROM bot_variants"
[INFO] [stdout] 421 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:427:28
[INFO] [stdout]     |
[INFO] [stdout] 427 |       let testing_variants = sqlx::query_scalar!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 428 | |         "SELECT COUNT(*) FROM bot_variants WHERE status = 'testing'"
[INFO] [stdout] 429 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:435:29
[INFO] [stdout]     |
[INFO] [stdout] 435 |       let promoted_variants = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 436 | |         "SELECT COUNT(*) FROM bot_variants WHERE status = 'promoted'"
[INFO] [stdout] 437 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:443:28
[INFO] [stdout]     |
[INFO] [stdout] 443 |       let retired_variants = sqlx::query_scalar!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 444 | |         "SELECT COUNT(*) FROM bot_variants WHERE status = 'retired'"
[INFO] [stdout] 445 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:452:24
[INFO] [stdout]     |
[INFO] [stdout] 452 |       let top_variants = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 453 | |         r#"
[INFO] [stdout] 454 | |         SELECT 
[INFO] [stdout] 455 | |             bv.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 469 | |         "#
[INFO] [stdout] 470 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:529:24
[INFO] [stdout]     |
[INFO] [stdout] 529 |               let corr = sqlx::query_scalar!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 530 | |                 r#"
[INFO] [stdout] 531 | |                 SELECT correlation
[INFO] [stdout] 532 | |                 FROM instrument_correlations
[INFO] [stdout] ...   |
[INFO] [stdout] 538 | |                 instr2
[INFO] [stdout] 539 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:555:24
[INFO] [stdout]     |
[INFO] [stdout] 555 |       let last_updated = sqlx::query_scalar!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 556 | |         r#"
[INFO] [stdout] 557 | |         SELECT MAX(last_updated)::text
[INFO] [stdout] 558 | |         FROM instrument_correlations
[INFO] [stdout] 559 | |         "#
[INFO] [stdout] 560 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:615:23
[INFO] [stdout]     |
[INFO] [stdout] 615 |       let high_impact = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 616 | |         r#"
[INFO] [stdout] 617 | |         SELECT 
[INFO] [stdout] 618 | |             event_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 627 | |         "#
[INFO] [stdout] 628 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:645:18
[INFO] [stdout]     |
[INFO] [stdout] 645 |       let recent = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 646 | |         r#"
[INFO] [stdout] 647 | |         SELECT 
[INFO] [stdout] 648 | |             event_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 657 | |         "#
[INFO] [stdout] 658 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:675:24
[INFO] [stdout]     |
[INFO] [stdout] 675 |       let total_events = sqlx::query_scalar!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 676 | |         "SELECT COUNT(*) FROM event_impacts"
[INFO] [stdout] 677 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:705:18
[INFO] [stdout]     |
[INFO] [stdout] 705 |       let latest = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 706 | |         r#"
[INFO] [stdout] 707 | |         SELECT 
[INFO] [stdout] 708 | |             fear_greed_index,
[INFO] [stdout] ...   |
[INFO] [stdout] 715 | |         "#
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:900:24
[INFO] [stdout]     |
[INFO] [stdout] 900 |       let latest_mrate = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 901 | |         r#"
[INFO] [stdout] 902 | |         SELECT fear_greed_index, reddit_crypto, reddit_btc, reddit_gold
[INFO] [stdout] 903 | |         FROM sentiment_signals
[INFO] [stdout] ...   |
[INFO] [stdout] 906 | |         "#
[INFO] [stdout] 907 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/api/ai.rs:953:31
[INFO] [stdout]     |
[INFO] [stdout] 953 |       let recent_cluster_data = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 954 | |         r#"
[INFO] [stdout] 955 | |         SELECT cluster_id,
[INFO] [stdout] 956 | |                COUNT(*) as trade_count,
[INFO] [stdout] ...   |
[INFO] [stdout] 964 | |         format!("{}%", instrument)
[INFO] [stdout] 965 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1001:27
[INFO] [stdout]      |
[INFO] [stdout] 1001 |       let upcoming_events = sqlx::query!(
[INFO] [stdout]      |  ___________________________^
[INFO] [stdout] 1002 | |         r#"
[INFO] [stdout] 1003 | |         SELECT event_name, impact_score
[INFO] [stdout] 1004 | |         FROM event_impacts
[INFO] [stdout] ...    |
[INFO] [stdout] 1008 | |         "#
[INFO] [stdout] 1009 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1503:23
[INFO] [stdout]      |
[INFO] [stdout] 1503 |     let active_bots = sqlx::query_scalar!("SELECT COUNT(*) FROM bots WHERE is_active = true")
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1509:23
[INFO] [stdout]      |
[INFO] [stdout] 1509 |     let paused_bots = sqlx::query_scalar!("SELECT COUNT(*) FROM bots WHERE is_active = false")
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1529:29
[INFO] [stdout]      |
[INFO] [stdout] 1529 |       let signals_last_hour = sqlx::query_scalar!(
[INFO] [stdout]      |  _____________________________^
[INFO] [stdout] 1530 | |         "SELECT COUNT(*) FROM bot_activities WHERE activity_type = 'signal' AND created_at > NOW() - INTERVAL '1 hour'"
[INFO] [stdout] 1531 | |     )
[INFO] [stdout]      | |_____^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1537:22
[INFO] [stdout]      |
[INFO] [stdout] 1537 |       let trades_24h = sqlx::query_scalar!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1538 | |         "SELECT COUNT(*) FROM bot_activities WHERE activity_type IN ('order_filled', 'order_closed') AND created_at > NOW() - IN...
[INFO] [stdout] 1539 | |     )
[INFO] [stdout]      | |_____^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1545:25
[INFO] [stdout]      |
[INFO] [stdout] 1545 |       let recent_errors = sqlx::query_scalar!(
[INFO] [stdout]      |  _________________________^
[INFO] [stdout] 1546 | |         "SELECT COUNT(*) FROM bot_activities WHERE activity_type = 'error' AND created_at > NOW() - INTERVAL '1 hour'"
[INFO] [stdout] 1547 | |     )
[INFO] [stdout]      | |_____^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1553:23
[INFO] [stdout]      |
[INFO] [stdout] 1553 |       let last_signal = sqlx::query_scalar!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout] 1554 | |         "SELECT MAX(created_at)::text FROM bot_activities WHERE activity_type = 'signal'"
[INFO] [stdout] 1555 | |     )
[INFO] [stdout]      | |_____^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1573:26
[INFO] [stdout]      |
[INFO] [stdout] 1573 |     let total_patterns = sqlx::query_scalar!("SELECT COUNT(*) FROM cross_bot_learnings")
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]     --> src/api/ai.rs:1579:25
[INFO] [stdout]      |
[INFO] [stdout] 1579 |     let event_impacts = sqlx::query_scalar!("SELECT COUNT(*) FROM event_impacts")
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/feeds/event_learner.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let existing = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 149 | |             r#"
[INFO] [stdout] 150 | |             SELECT avg_volatility_spike, max_volatility_spike, avg_price_move_pct, sample_size
[INFO] [stdout] 151 | |             FROM event_impacts
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |             event_name
[INFO] [stdout] 155 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/feeds/event_learner.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 | /         sqlx::query!(
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             INSERT INTO event_impacts 
[INFO] [stdout] 177 | |                 (event_name, avg_volatility_spike, max_volatility_spike, 
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |             Utc::now().naive_utc()
[INFO] [stdout] 198 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/feeds/event_learner.rs:207:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 208 | |             r#"
[INFO] [stdout] 209 | |             SELECT event_name, event_category, avg_volatility_spike, max_volatility_spike,
[INFO] [stdout] 210 | |                    avg_price_move_pct, sample_size, impact_score, last_occurrence
[INFO] [stdout] ...   |
[INFO] [stdout] 214 | |             event_name
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/feeds/event_learner.rs:247:20
[INFO] [stdout]     |
[INFO] [stdout] 247 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 248 | |             r#"
[INFO] [stdout] 249 | |             SELECT event_name, event_category, avg_volatility_spike, max_volatility_spike,
[INFO] [stdout] 250 | |                    avg_price_move_pct, sample_size, impact_score, last_occurrence
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |             "#
[INFO] [stdout] 254 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/feeds/event_learner.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 | /             sqlx::query!(
[INFO] [stdout] 326 | |                 r#"
[INFO] [stdout] 327 | |                 INSERT INTO event_impacts 
[INFO] [stdout] 328 | |                     (event_name, event_category, avg_volatility_spike, avg_price_move_pct, 
[INFO] [stdout] ...   |
[INFO] [stdout] 339 | |                 Utc::now().naive_utc()
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/mrate/orchestrator.rs:915:20
[INFO] [stdout]     |
[INFO] [stdout] 915 |           let bots = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 916 | |             r#"
[INFO] [stdout] 917 | |             SELECT 
[INFO] [stdout] 918 | |                 b.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 928 | |             "#
[INFO] [stdout] 929 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/mrate/predictor.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | /         sqlx::query!(
[INFO] [stdout] 66 | |             r#"
[INFO] [stdout] 67 | |             INSERT INTO regime_snapshots 
[INFO] [stdout] 68 | |                 (timestamp, regime, liquidity_score, risk_score, uncertainty_score,
[INFO] [stdout] ...  |
[INFO] [stdout] 84 | |             sp500_trend
[INFO] [stdout] 85 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/mrate/predictor.rs:95:23
[INFO] [stdout]     |
[INFO] [stdout]  95 |           let updated = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout]  96 | |             r#"
[INFO] [stdout]  97 | |             WITH transitions AS (
[INFO] [stdout]  98 | |                 SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |             "#
[INFO] [stdout] 117 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/mrate/predictor.rs:343:20
[INFO] [stdout]     |
[INFO] [stdout] 343 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 344 | |             r#"
[INFO] [stdout] 345 | |             SELECT 
[INFO] [stdout] 346 | |                 r1.regime as from_regime,
[INFO] [stdout] ...   |
[INFO] [stdout] 362 | |             "#
[INFO] [stdout] 363 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/mrate/advisor.rs:596:22
[INFO] [stdout]     |
[INFO] [stdout] 596 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 597 | |             r#"
[INFO] [stdout] 598 | |             SELECT 
[INFO] [stdout] 599 | |                 mrate_regime,
[INFO] [stdout] ...   |
[INFO] [stdout] 611 | |             "#
[INFO] [stdout] 612 | |         )
[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] error: could not document `aureum-backend`
[INFO] running `Command { std: "docker" "inspect" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a", kill_on_drop: false }`
[INFO] [stdout] 6d4e97d30993b2a6849766f2ddd3aad9149e868bd886eafed6e65db1a1e6843a
