[INFO] cloning repository https://github.com/pbspbsingh/TRW [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pbspbsingh/TRW" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpbspbsingh%2FTRW", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpbspbsingh%2FTRW'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb4268903e7673ec95d22d47adbd4770ea2917d8 [INFO] checking pbspbsingh/TRW/eb4268903e7673ec95d22d47adbd4770ea2917d8 against master#d9563937fa3b030c5845811113505070109414d2 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpbspbsingh%2FTRW" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pbspbsingh/TRW [INFO] finished tweaking git repo https://github.com/pbspbsingh/TRW [INFO] tweaked toml for git repo https://github.com/pbspbsingh/TRW written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pbspbsingh/TRW on toolchain d9563937fa3b030c5845811113505070109414d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pbspbsingh/TRW 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" "+d9563937fa3b030c5845811113505070109414d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded askama_macros v0.15.4 [INFO] [stderr] Downloaded askama v0.15.4 [INFO] [stderr] Downloaded deranged v0.5.6 [INFO] [stderr] Downloaded cookie_store v0.22.1 [INFO] [stderr] Downloaded askama_parser v0.15.4 [INFO] [stderr] Downloaded askama_derive v0.15.4 [INFO] [stderr] Downloaded bumpalo v3.20.1 [INFO] [stderr] Downloaded aws-lc-rs v1.16.0 [INFO] [stderr] Downloaded aws-lc-sys v0.37.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cb2dad8ef4b187524a0277dfb8f7640b5ef72f014eb9bd5b2f0e48fa4835e62 [INFO] running `Command { std: "docker" "start" "-a" "1cb2dad8ef4b187524a0277dfb8f7640b5ef72f014eb9bd5b2f0e48fa4835e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cb2dad8ef4b187524a0277dfb8f7640b5ef72f014eb9bd5b2f0e48fa4835e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb2dad8ef4b187524a0277dfb8f7640b5ef72f014eb9bd5b2f0e48fa4835e62", kill_on_drop: false }` [INFO] [stdout] 1cb2dad8ef4b187524a0277dfb8f7640b5ef72f014eb9bd5b2f0e48fa4835e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adfd5ffffbf2a4614631cfd92195ea9bfebff0a6661702a8906424a9710adb1b [INFO] running `Command { std: "docker" "start" "-a" "adfd5ffffbf2a4614631cfd92195ea9bfebff0a6661702a8906424a9710adb1b", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling cookie v0.18.1 [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] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking zerofrom v0.1.6 [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 icu_collections v2.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling askama_parser v0.15.4 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking cookie_store v0.22.1 [INFO] [stderr] Compiling askama_derive v0.15.4 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking toml v1.0.3+spec-1.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling askama_macros v0.15.4 [INFO] [stderr] Checking askama v0.15.4 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking trw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 84 | | "INSERT INTO watchlists (name) VALUES (?) RETURNING id, name, created_at", [INFO] [stdout] 85 | | form.name [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | sqlx::query!("DELETE FROM watchlists WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sqlx::query!("UPDATE watchlists SET name = ? WHERE id = ?", name, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / sqlx::query!( [INFO] [stdout] 148 | | "INSERT OR IGNORE INTO watchlist_tickers (watchlist_id, symbol) VALUES (?, ?)", [INFO] [stdout] 149 | | watchlist_id, [INFO] [stdout] 150 | | info.symbol [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / sqlx::query!( [INFO] [stdout] 164 | | "DELETE FROM watchlist_tickers WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 165 | | watchlist_id, [INFO] [stdout] 166 | | symbol [INFO] [stdout] 167 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / sqlx::query!( [INFO] [stdout] 179 | | "UPDATE watchlist_tickers SET status = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 180 | | form.status, [INFO] [stdout] 181 | | watchlist_id, [INFO] [stdout] 182 | | symbol [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | let existing = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 197 | | "SELECT outcome_reviewed_at FROM watchlist_tickers WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 198 | | watchlist_id, [INFO] [stdout] 199 | | symbol [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | / sqlx::query!( [INFO] [stdout] 206 | | "UPDATE watchlist_tickers [INFO] [stdout] 207 | | SET outcome = ?, outcome_reviewed_at = datetime('now') [INFO] [stdout] 208 | | WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] ... | [INFO] [stdout] 211 | | symbol [INFO] [stdout] 212 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / sqlx::query!( [INFO] [stdout] 217 | | "UPDATE watchlist_tickers SET outcome = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 218 | | form.outcome, [INFO] [stdout] 219 | | watchlist_id, [INFO] [stdout] 220 | | symbol [INFO] [stdout] 221 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / sqlx::query!( [INFO] [stdout] 236 | | "UPDATE watchlist_tickers SET outcome_notes = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 237 | | form.outcome_notes, [INFO] [stdout] 238 | | watchlist_id, [INFO] [stdout] 239 | | symbol [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let count = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 251 | | "SELECT COUNT(*) as cnt FROM watchlist_tickers [INFO] [stdout] 252 | | WHERE watchlist_id = ? AND is_top5 = 1 AND symbol != ?", [INFO] [stdout] 253 | | watchlist_id, [INFO] [stdout] 254 | | symbol [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | let current = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 261 | | "SELECT is_top5 FROM watchlist_tickers WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 262 | | watchlist_id, [INFO] [stdout] 263 | | symbol [INFO] [stdout] 264 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / sqlx::query!( [INFO] [stdout] 278 | | "UPDATE watchlist_tickers SET is_top5 = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 279 | | new_val, [INFO] [stdout] 280 | | watchlist_id, [INFO] [stdout] 281 | | symbol [INFO] [stdout] 282 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | sqlx::query!("SELECT id, name, created_at FROM watchlists ORDER BY created_at DESC") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 316 | | "SELECT id, name, created_at FROM watchlists WHERE id = ?", [INFO] [stdout] 317 | | id [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 335 | | r#"SELECT wt.id, wt.watchlist_id, wt.symbol, ti.company_name, ti.sector, [INFO] [stdout] 336 | | wt.status, wt.is_top5, wt.outcome, wt.outcome_notes, [INFO] [stdout] 337 | | wt.outcome_reviewed_at, wt.added_at [INFO] [stdout] ... | [INFO] [stdout] 342 | | watchlist_id [INFO] [stdout] 343 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 371 | | r#"SELECT wt.id, wt.watchlist_id, wt.symbol, ti.company_name, ti.sector, [INFO] [stdout] 372 | | wt.status, wt.is_top5, wt.outcome, wt.outcome_notes, [INFO] [stdout] 373 | | wt.outcome_reviewed_at, wt.added_at [INFO] [stdout] ... | [INFO] [stdout] 378 | | symbol [INFO] [stdout] 379 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | "SELECT cached_at FROM cache_meta WHERE symbol = ? AND data_type = ?", [INFO] [stdout] 28 | | symbol, [INFO] [stdout] 29 | | data_type [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 54 | | "INSERT INTO cache_meta (symbol, data_type, cached_at) [INFO] [stdout] 55 | | VALUES (?, ?, datetime('now')) [INFO] [stdout] 56 | | ON CONFLICT(symbol, data_type) DO UPDATE SET cached_at = excluded.cached_at", [INFO] [stdout] 57 | | symbol, [INFO] [stdout] 58 | | data_type [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | "SELECT symbol, company_name, sector, industry FROM ticker_info WHERE symbol = ?", [INFO] [stdout] 74 | | symbol [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / sqlx::query!( [INFO] [stdout] 93 | | "INSERT INTO ticker_info (symbol, company_name, sector, industry, cached_at) [INFO] [stdout] 94 | | VALUES (?, ?, ?, ?, datetime('now')) [INFO] [stdout] 95 | | ON CONFLICT(symbol) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 103 | | info.industry [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 119 | | "SELECT data FROM fundamentals_cache WHERE symbol = ?", [INFO] [stdout] 120 | | symbol [INFO] [stdout] 121 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | "INSERT INTO fundamentals_cache (symbol, data, cached_at) [INFO] [stdout] 138 | | VALUES (?, ?, datetime('now')) [INFO] [stdout] 139 | | ON CONFLICT(symbol) DO UPDATE SET data = excluded.data, cached_at = excluded.cached_at", [INFO] [stdout] 140 | | f.symbol, [INFO] [stdout] 141 | | json [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let rows = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 155 | | "SELECT date, open, high, low, close, volume [INFO] [stdout] 156 | | FROM price_bars WHERE symbol = ? [INFO] [stdout] 157 | | ORDER BY date ASC [INFO] [stdout] ... | [INFO] [stdout] 160 | | limit [INFO] [stdout] 161 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query!( [INFO] [stdout] 186 | | "INSERT INTO price_bars (symbol, date, open, high, low, close, volume) [INFO] [stdout] 187 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] 188 | | ON CONFLICT(symbol, date) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 198 | | bar.volume [INFO] [stdout] 199 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 84 | | "INSERT INTO watchlists (name) VALUES (?) RETURNING id, name, created_at", [INFO] [stdout] 85 | | form.name [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | sqlx::query!("DELETE FROM watchlists WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sqlx::query!("UPDATE watchlists SET name = ? WHERE id = ?", name, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / sqlx::query!( [INFO] [stdout] 148 | | "INSERT OR IGNORE INTO watchlist_tickers (watchlist_id, symbol) VALUES (?, ?)", [INFO] [stdout] 149 | | watchlist_id, [INFO] [stdout] 150 | | info.symbol [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / sqlx::query!( [INFO] [stdout] 164 | | "DELETE FROM watchlist_tickers WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 165 | | watchlist_id, [INFO] [stdout] 166 | | symbol [INFO] [stdout] 167 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / sqlx::query!( [INFO] [stdout] 179 | | "UPDATE watchlist_tickers SET status = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 180 | | form.status, [INFO] [stdout] 181 | | watchlist_id, [INFO] [stdout] 182 | | symbol [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | let existing = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 197 | | "SELECT outcome_reviewed_at FROM watchlist_tickers WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 198 | | watchlist_id, [INFO] [stdout] 199 | | symbol [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | / sqlx::query!( [INFO] [stdout] 206 | | "UPDATE watchlist_tickers [INFO] [stdout] 207 | | SET outcome = ?, outcome_reviewed_at = datetime('now') [INFO] [stdout] 208 | | WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] ... | [INFO] [stdout] 211 | | symbol [INFO] [stdout] 212 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / sqlx::query!( [INFO] [stdout] 217 | | "UPDATE watchlist_tickers SET outcome = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 218 | | form.outcome, [INFO] [stdout] 219 | | watchlist_id, [INFO] [stdout] 220 | | symbol [INFO] [stdout] 221 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / sqlx::query!( [INFO] [stdout] 236 | | "UPDATE watchlist_tickers SET outcome_notes = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 237 | | form.outcome_notes, [INFO] [stdout] 238 | | watchlist_id, [INFO] [stdout] 239 | | symbol [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let count = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 251 | | "SELECT COUNT(*) as cnt FROM watchlist_tickers [INFO] [stdout] 252 | | WHERE watchlist_id = ? AND is_top5 = 1 AND symbol != ?", [INFO] [stdout] 253 | | watchlist_id, [INFO] [stdout] 254 | | symbol [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | let current = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 261 | | "SELECT is_top5 FROM watchlist_tickers WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 262 | | watchlist_id, [INFO] [stdout] 263 | | symbol [INFO] [stdout] 264 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / sqlx::query!( [INFO] [stdout] 278 | | "UPDATE watchlist_tickers SET is_top5 = ? WHERE watchlist_id = ? AND symbol = ?", [INFO] [stdout] 279 | | new_val, [INFO] [stdout] 280 | | watchlist_id, [INFO] [stdout] 281 | | symbol [INFO] [stdout] 282 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | sqlx::query!("SELECT id, name, created_at FROM watchlists ORDER BY created_at DESC") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 316 | | "SELECT id, name, created_at FROM watchlists WHERE id = ?", [INFO] [stdout] 317 | | id [INFO] [stdout] 318 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 335 | | r#"SELECT wt.id, wt.watchlist_id, wt.symbol, ti.company_name, ti.sector, [INFO] [stdout] 336 | | wt.status, wt.is_top5, wt.outcome, wt.outcome_notes, [INFO] [stdout] 337 | | wt.outcome_reviewed_at, wt.added_at [INFO] [stdout] ... | [INFO] [stdout] 342 | | watchlist_id [INFO] [stdout] 343 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/routes/watchlist.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 371 | | r#"SELECT wt.id, wt.watchlist_id, wt.symbol, ti.company_name, ti.sector, [INFO] [stdout] 372 | | wt.status, wt.is_top5, wt.outcome, wt.outcome_notes, [INFO] [stdout] 373 | | wt.outcome_reviewed_at, wt.added_at [INFO] [stdout] ... | [INFO] [stdout] 378 | | symbol [INFO] [stdout] 379 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | "SELECT cached_at FROM cache_meta WHERE symbol = ? AND data_type = ?", [INFO] [stdout] 28 | | symbol, [INFO] [stdout] 29 | | data_type [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 54 | | "INSERT INTO cache_meta (symbol, data_type, cached_at) [INFO] [stdout] 55 | | VALUES (?, ?, datetime('now')) [INFO] [stdout] 56 | | ON CONFLICT(symbol, data_type) DO UPDATE SET cached_at = excluded.cached_at", [INFO] [stdout] 57 | | symbol, [INFO] [stdout] 58 | | data_type [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 73 | | "SELECT symbol, company_name, sector, industry FROM ticker_info WHERE symbol = ?", [INFO] [stdout] 74 | | symbol [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / sqlx::query!( [INFO] [stdout] 93 | | "INSERT INTO ticker_info (symbol, company_name, sector, industry, cached_at) [INFO] [stdout] 94 | | VALUES (?, ?, ?, ?, datetime('now')) [INFO] [stdout] 95 | | ON CONFLICT(symbol) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 103 | | info.industry [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 119 | | "SELECT data FROM fundamentals_cache WHERE symbol = ?", [INFO] [stdout] 120 | | symbol [INFO] [stdout] 121 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | "INSERT INTO fundamentals_cache (symbol, data, cached_at) [INFO] [stdout] 138 | | VALUES (?, ?, datetime('now')) [INFO] [stdout] 139 | | ON CONFLICT(symbol) DO UPDATE SET data = excluded.data, cached_at = excluded.cached_at", [INFO] [stdout] 140 | | f.symbol, [INFO] [stdout] 141 | | json [INFO] [stdout] 142 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let rows = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 155 | | "SELECT date, open, high, low, close, volume [INFO] [stdout] 156 | | FROM price_bars WHERE symbol = ? [INFO] [stdout] 157 | | ORDER BY date ASC [INFO] [stdout] ... | [INFO] [stdout] 160 | | limit [INFO] [stdout] 161 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/services/cache.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query!( [INFO] [stdout] 186 | | "INSERT INTO price_bars (symbol, date, open, high, low, close, volume) [INFO] [stdout] 187 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] 188 | | ON CONFLICT(symbol, date) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 198 | | bar.volume [INFO] [stdout] 199 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 compile `trw` (bin "trw" test) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trw` (bin "trw") due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "adfd5ffffbf2a4614631cfd92195ea9bfebff0a6661702a8906424a9710adb1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adfd5ffffbf2a4614631cfd92195ea9bfebff0a6661702a8906424a9710adb1b", kill_on_drop: false }` [INFO] [stdout] adfd5ffffbf2a4614631cfd92195ea9bfebff0a6661702a8906424a9710adb1b