[INFO] cloning repository https://github.com/blakemancill/homebase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blakemancill/homebase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakemancill%2Fhomebase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakemancill%2Fhomebase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d952711bc286b93ed47975c52431db5ad09a43e [INFO] checking blakemancill/homebase/4d952711bc286b93ed47975c52431db5ad09a43e against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakemancill%2Fhomebase" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blakemancill/homebase [INFO] finished tweaking git repo https://github.com/blakemancill/homebase [INFO] tweaked toml for git repo https://github.com/blakemancill/homebase written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blakemancill/homebase on toolchain 507271bc119683008ec719ecee48814e8ac86c65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blakemancill/homebase 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic v0.14.6 [INFO] [stderr] Downloaded pin-project-internal v1.1.12 [INFO] [stderr] Downloaded pin-project v1.1.12 [INFO] [stderr] Downloaded tower-sessions-sqlx-store v0.15.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.12 [INFO] [stderr] Downloaded tokio v1.52.0 [INFO] [stderr] Downloaded tower-sessions-memory-store v0.15.0 [INFO] [stderr] Downloaded tower-sessions-core v0.15.0 [INFO] [stderr] Downloaded tower-sessions v0.15.0 [INFO] [stderr] Downloaded password-auth v1.0.0 [INFO] [stderr] Downloaded axum-login v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac7c17b1e33d28b47464344234d70a0eecd3556a4003727303127431ecbcc907 [INFO] running `Command { std: "docker" "start" "-a" "ac7c17b1e33d28b47464344234d70a0eecd3556a4003727303127431ecbcc907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac7c17b1e33d28b47464344234d70a0eecd3556a4003727303127431ecbcc907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7c17b1e33d28b47464344234d70a0eecd3556a4003727303127431ecbcc907", kill_on_drop: false }` [INFO] [stdout] ac7c17b1e33d28b47464344234d70a0eecd3556a4003727303127431ecbcc907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f59d4455551e7dc0ce7df88f9e274cb803523cb415a6355db4d073ae041bf8b [INFO] running `Command { std: "docker" "start" "-a" "0f59d4455551e7dc0ce7df88f9e274cb803523cb415a6355db4d073ae041bf8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls v0.23.38 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Checking tokio v1.52.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling rustls-webpki v0.103.12 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Checking tower-sessions-core v0.14.0 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling pin-project-internal v1.1.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Checking tower-sessions-core v0.15.0 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Checking pin-project v1.1.12 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Checking governor v0.10.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking rmp-serde v1.3.1 [INFO] [stderr] Checking tower-sessions-memory-store v0.15.0 [INFO] [stderr] Checking forwarded-header-value v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling maud_macros v0.27.0 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking tower-sessions v0.14.0 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking maud v0.27.0 [INFO] [stderr] Checking password-auth v1.0.0 [INFO] [stderr] Checking tower-sessions v0.15.0 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking strum v0.28.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking tonic v0.14.6 [INFO] [stderr] Checking axum-login v0.18.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking tower-sessions-sqlx-store v0.15.0 [INFO] [stderr] Checking tower_governor v0.8.0 [INFO] [stderr] Checking homebase 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/features/accounts/queries.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let was_inserted = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 13 | | r#" [INFO] [stdout] 14 | | INSERT INTO accounts (user_id, name, bank, opening_balance_pennies) [INFO] [stdout] 15 | | VALUES (?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 21 | | opening_balance [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!( [INFO] [stdout] 35 | | Account, [INFO] [stdout] 36 | | r#" [INFO] [stdout] 37 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 45 | | user_id, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | AccountSummary, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 71 | | user_id [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | INSERT INTO valuations (account_id, value_pennies) [INFO] [stdout] 85 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 89 | | value_pennies [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | / sqlx::query_scalar!( [INFO] [stdout] 98 | | r#" [INFO] [stdout] 99 | | SELECT COALESCE(SUM(estimated_balance_pennies), 0) AS "net_worth!: i64" [INFO] [stdout] 100 | | FROM account_balances [INFO] [stdout] ... | [INFO] [stdout] 103 | | user_id [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_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/features/auth/backend.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | let user: Option = sqlx::query_as!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 34 | | User, [INFO] [stdout] 35 | | r#"SELECT id as "id!", username, password_hash FROM users WHERE username = ?"#, [INFO] [stdout] 36 | | creds.username [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/features/auth/backend.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!( [INFO] [stdout] 50 | | User, [INFO] [stdout] 51 | | r#"SELECT id as "id!", username, password_hash FROM users WHERE id = ?"#, [INFO] [stdout] 52 | | user_id [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/features/accounts/queries.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let was_inserted = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 13 | | r#" [INFO] [stdout] 14 | | INSERT INTO accounts (user_id, name, bank, opening_balance_pennies) [INFO] [stdout] 15 | | VALUES (?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 21 | | opening_balance [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!( [INFO] [stdout] 35 | | Account, [INFO] [stdout] 36 | | r#" [INFO] [stdout] 37 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 45 | | user_id, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | AccountSummary, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 71 | | user_id [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | INSERT INTO valuations (account_id, value_pennies) [INFO] [stdout] 85 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 89 | | value_pennies [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/accounts/queries.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | / sqlx::query_scalar!( [INFO] [stdout] 98 | | r#" [INFO] [stdout] 99 | | SELECT COALESCE(SUM(estimated_balance_pennies), 0) AS "net_worth!: i64" [INFO] [stdout] 100 | | FROM account_balances [INFO] [stdout] ... | [INFO] [stdout] 103 | | user_id [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_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/features/budget/queries.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / sqlx::query_as!( [INFO] [stdout] 11 | | BudgetEntry, [INFO] [stdout] 12 | | r#" [INFO] [stdout] 13 | | SELECT id as "id!", label, amount, entry_type as "entry_type: EntryType" [INFO] [stdout] ... | [INFO] [stdout] 18 | | user_id, [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/budget/queries.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query_scalar!( [INFO] [stdout] 36 | | r#" [INFO] [stdout] 37 | | INSERT INTO pay_period (user_id, start_date, end_date) VALUES (?, ?, ?) [INFO] [stdout] 38 | | ON CONFLICT (user_id, start_date, end_date) DO UPDATE SET start_date = pay_period.start_date [INFO] [stdout] ... | [INFO] [stdout] 41 | | user_id, start, end [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/budget/queries.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let was_inserted = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | INSERT INTO budget_entries (user_id, pay_period_id, label, amount, entry_type) [INFO] [stdout] 58 | | SELECT ?, ?, ?, ?, ? [INFO] [stdout] ... | [INFO] [stdout] 70 | | user_id [INFO] [stdout] 71 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/budget/queries.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query!( [INFO] [stdout] 84 | | "DELETE FROM budget_entries WHERE id = ? AND user_id = ?", [INFO] [stdout] 85 | | id, [INFO] [stdout] 86 | | user_id [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/auth/backend.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | let user: Option = sqlx::query_as!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 34 | | User, [INFO] [stdout] 35 | | r#"SELECT id as "id!", username, password_hash FROM users WHERE username = ?"#, [INFO] [stdout] 36 | | creds.username [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/features/auth/backend.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!( [INFO] [stdout] 50 | | User, [INFO] [stdout] 51 | | r#"SELECT id as "id!", username, password_hash FROM users WHERE id = ?"#, [INFO] [stdout] 52 | | user_id [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/features/budget/queries.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / sqlx::query_as!( [INFO] [stdout] 11 | | BudgetEntry, [INFO] [stdout] 12 | | r#" [INFO] [stdout] 13 | | SELECT id as "id!", label, amount, entry_type as "entry_type: EntryType" [INFO] [stdout] ... | [INFO] [stdout] 18 | | user_id, [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/budget/queries.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query_scalar!( [INFO] [stdout] 36 | | r#" [INFO] [stdout] 37 | | INSERT INTO pay_period (user_id, start_date, end_date) VALUES (?, ?, ?) [INFO] [stdout] 38 | | ON CONFLICT (user_id, start_date, end_date) DO UPDATE SET start_date = pay_period.start_date [INFO] [stdout] ... | [INFO] [stdout] 41 | | user_id, start, end [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/budget/queries.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let was_inserted = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | INSERT INTO budget_entries (user_id, pay_period_id, label, amount, entry_type) [INFO] [stdout] 58 | | SELECT ?, ?, ?, ?, ? [INFO] [stdout] ... | [INFO] [stdout] 70 | | user_id [INFO] [stdout] 71 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/budget/queries.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query!( [INFO] [stdout] 84 | | "DELETE FROM budget_entries WHERE id = ? AND user_id = ?", [INFO] [stdout] 85 | | id, [INFO] [stdout] 86 | | user_id [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/features/transactions/queries.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 14 | | r#" [INFO] [stdout] 15 | | INSERT INTO transactions [INFO] [stdout] 16 | | (user_id, account_id, date, description, raw_description, [INFO] [stdout] ... | [INFO] [stdout] 28 | | t.status, [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/features/transactions/queries.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 14 | | r#" [INFO] [stdout] 15 | | INSERT INTO transactions [INFO] [stdout] 16 | | (user_id, account_id, date, description, raw_description, [INFO] [stdout] ... | [INFO] [stdout] 28 | | t.status, [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/features/accounts/queries.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime` and `NaiveDate` [INFO] [stdout] --> src/features/accounts/queries.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `homebase` (lib test) due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `homebase` (lib) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0f59d4455551e7dc0ce7df88f9e274cb803523cb415a6355db4d073ae041bf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f59d4455551e7dc0ce7df88f9e274cb803523cb415a6355db4d073ae041bf8b", kill_on_drop: false }` [INFO] [stdout] 0f59d4455551e7dc0ce7df88f9e274cb803523cb415a6355db4d073ae041bf8b