[INFO] cloning repository https://github.com/henrywong-crypto/api-keys-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henrywong-crypto/api-keys-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrywong-crypto%2Fapi-keys-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrywong-crypto%2Fapi-keys-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54403c25cbd6802df1b787424ff51fa84288acb8 [INFO] testing henrywong-crypto/api-keys-test against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrywong-crypto%2Fapi-keys-test" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/henrywong-crypto/api-keys-test [INFO] finished tweaking git repo https://github.com/henrywong-crypto/api-keys-test [INFO] tweaked toml for git repo https://github.com/henrywong-crypto/api-keys-test written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/henrywong-crypto/api-keys-test on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/henrywong-crypto/api-keys-test 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79f089f1e0d87befa0edf33ff75f91bbe6d47b98b25739502236f76ffc3eeacb [INFO] running `Command { std: "docker" "start" "-a" "79f089f1e0d87befa0edf33ff75f91bbe6d47b98b25739502236f76ffc3eeacb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79f089f1e0d87befa0edf33ff75f91bbe6d47b98b25739502236f76ffc3eeacb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f089f1e0d87befa0edf33ff75f91bbe6d47b98b25739502236f76ffc3eeacb", kill_on_drop: false }` [INFO] [stdout] 79f089f1e0d87befa0edf33ff75f91bbe6d47b98b25739502236f76ffc3eeacb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1227b41798bd7d2e01f06b78822d38d10632467d545a8d4a47204cde0f202065 [INFO] running `Command { std: "docker" "start" "-a" "1227b41798bd7d2e01f06b78822d38d10632467d545a8d4a47204cde0f202065", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling clap_builder v4.5.29 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tempfile v3.17.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.29 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling api-key-test2 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/main.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | let id = sqlx::query!( [INFO] [stdout] | ______________^ [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | INSERT INTO users (email, role, max_budget) [INFO] [stdout] 160 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 164 | | max_budget [INFO] [stdout] 165 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/main.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / sqlx::query!( [INFO] [stdout] 191 | | r#" [INFO] [stdout] 192 | | INSERT INTO api_keys (user_id, key, name, expires_at) [INFO] [stdout] 193 | | VALUES (?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 198 | | expires_at [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | let id = sqlx::query!( [INFO] [stdout] | ______________^ [INFO] [stdout] 222 | | r#" [INFO] [stdout] 223 | | INSERT INTO models (name, display_name, input_cost_per_token, output_cost_per_token) [INFO] [stdout] 224 | | VALUES (?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 229 | | output_cost [INFO] [stdout] 230 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let model = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 255 | | r#" [INFO] [stdout] 256 | | SELECT id, [INFO] [stdout] 257 | | input_cost_per_token, [INFO] [stdout] ... | [INFO] [stdout] 262 | | model_name [INFO] [stdout] 263 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/main.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 273 | let api_key_record = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 274 | | r#" [INFO] [stdout] 275 | | SELECT id, user_id [INFO] [stdout] 276 | | FROM api_keys [INFO] [stdout] ... | [INFO] [stdout] 279 | | api_key [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | / sqlx::query!( [INFO] [stdout] 286 | | r#" [INFO] [stdout] 287 | | INSERT INTO usages (api_key_id, model_id, input_tokens, output_tokens, total_tokens, cost) [INFO] [stdout] 288 | | VALUES (?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 295 | | cost [INFO] [stdout] 296 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/main.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | / sqlx::query!( [INFO] [stdout] 302 | | r#" [INFO] [stdout] 303 | | UPDATE api_keys [INFO] [stdout] 304 | | SET spend = spend + ?, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 308 | | api_key_record.id [INFO] [stdout] 309 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/main.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | / sqlx::query!( [INFO] [stdout] 315 | | r#" [INFO] [stdout] 316 | | UPDATE users [INFO] [stdout] 317 | | SET total_spend = total_spend + ?, updated_at = CURRENT_TIMESTAMP [INFO] [stdout] ... | [INFO] [stdout] 321 | | api_key_record.user_id [INFO] [stdout] 322 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/main.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 334 | | User, [INFO] [stdout] 335 | | r#" [INFO] [stdout] 336 | | SELECT id, email, [INFO] [stdout] ... | [INFO] [stdout] 342 | | "# [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_as` (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/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | / sqlx::query_as!( [INFO] [stdout] 361 | | ApiKey, [INFO] [stdout] 362 | | r#" [INFO] [stdout] 363 | | SELECT id, key, name, spend, expires_at as "expires_at?: DateTime" [INFO] [stdout] ... | [INFO] [stdout] 368 | | uid [INFO] [stdout] 369 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | / sqlx::query_as!( [INFO] [stdout] 375 | | ApiKey, [INFO] [stdout] 376 | | r#" [INFO] [stdout] 377 | | SELECT id, key, name, spend, expires_at as "expires_at?: DateTime" [INFO] [stdout] ... | [INFO] [stdout] 380 | | "# [INFO] [stdout] 381 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | let models = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 405 | | Model, [INFO] [stdout] 406 | | r#" [INFO] [stdout] 407 | | SELECT id, name, display_name, [INFO] [stdout] ... | [INFO] [stdout] 412 | | "# [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_as` (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/main.rs:434:18 [INFO] [stdout] | [INFO] [stdout] 434 | let usages = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 435 | | r#" [INFO] [stdout] 436 | | WITH usage_stats AS ( [INFO] [stdout] 437 | | SELECT m.id as model_id, [INFO] [stdout] ... | [INFO] [stdout] 457 | | api_key [INFO] [stdout] 458 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 `api-key-test2` (bin "api-key-test2") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "1227b41798bd7d2e01f06b78822d38d10632467d545a8d4a47204cde0f202065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1227b41798bd7d2e01f06b78822d38d10632467d545a8d4a47204cde0f202065", kill_on_drop: false }` [INFO] [stdout] 1227b41798bd7d2e01f06b78822d38d10632467d545a8d4a47204cde0f202065