[INFO] cloning repository https://github.com/theabecaster/invoice-manager-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theabecaster/invoice-manager-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabecaster%2Finvoice-manager-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabecaster%2Finvoice-manager-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14e9fafd423f008638757438ff3b6ecbfdce44d8 [INFO] testing theabecaster/invoice-manager-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabecaster%2Finvoice-manager-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theabecaster/invoice-manager-rs [INFO] finished tweaking git repo https://github.com/theabecaster/invoice-manager-rs [INFO] tweaked toml for git repo https://github.com/theabecaster/invoice-manager-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theabecaster/invoice-manager-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theabecaster/invoice-manager-rs 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43e4159a7175f8a77c996481822ea9d12a9088326a602e41d300e38c22a8dca4 [INFO] running `Command { std: "docker" "start" "-a" "43e4159a7175f8a77c996481822ea9d12a9088326a602e41d300e38c22a8dca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43e4159a7175f8a77c996481822ea9d12a9088326a602e41d300e38c22a8dca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e4159a7175f8a77c996481822ea9d12a9088326a602e41d300e38c22a8dca4", kill_on_drop: false }` [INFO] [stdout] 43e4159a7175f8a77c996481822ea9d12a9088326a602e41d300e38c22a8dca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5515012700d99a1c516459375e84b54f708c085b3a7f43472fbbfd0b0b8088e3 [INFO] running `Command { std: "docker" "start" "-a" "5515012700d99a1c516459375e84b54f708c085b3a7f43472fbbfd0b0b8088e3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 tracing v0.1.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling envy v0.4.2 [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 lettre v0.11.15 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling invoice_manager 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/db/mod.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let profiles = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 32 | | Profile, [INFO] [stdout] 33 | | "SELECT * FROM profiles ORDER BY name ASC" [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let profile = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 43 | | Profile, [INFO] [stdout] 44 | | "SELECT * FROM profiles WHERE id = $1", [INFO] [stdout] 45 | | 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/db/mod.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let id = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | INSERT INTO profiles (name, phonenumber, address, email, bank_name, bank_account_number, bank_routing_number) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 66 | | profile.bank_routing_number [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query!( [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | UPDATE profiles [INFO] [stdout] 78 | | SET name = $1, phonenumber = $2, address = $3, email = $4, [INFO] [stdout] ... | [INFO] [stdout] 89 | | profile.id [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/db/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let clients = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 103 | | Client, [INFO] [stdout] 104 | | "SELECT * FROM clients WHERE profile_id = $1", [INFO] [stdout] 105 | | id [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/db/mod.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | let projects = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 114 | | Project, [INFO] [stdout] 115 | | "SELECT * FROM projects WHERE client_id = $1", [INFO] [stdout] 116 | | client.id [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/db/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | / sqlx::query!( [INFO] [stdout] 125 | | "DELETE FROM invoice_line_item WHERE invoice_id IN (SELECT id FROM invoices WHERE project_id = $1)", [INFO] [stdout] 126 | | project.id [INFO] [stdout] 127 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/db/mod.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | / sqlx::query!( [INFO] [stdout] 133 | | "DELETE FROM invoices WHERE project_id = $1", [INFO] [stdout] 134 | | project.id [INFO] [stdout] 135 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/db/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | / sqlx::query!( [INFO] [stdout] 142 | | "DELETE FROM projects WHERE client_id = $1", [INFO] [stdout] 143 | | client.id [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/db/mod.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / sqlx::query!( [INFO] [stdout] 151 | | "DELETE FROM clients WHERE profile_id = $1", [INFO] [stdout] 152 | | id [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | sqlx::query!("DELETE FROM profiles WHERE id = $1", 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | let clients = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 171 | | Client, [INFO] [stdout] 172 | | "SELECT * FROM clients WHERE profile_id = $1 ORDER BY name ASC", [INFO] [stdout] 173 | | profile_id [INFO] [stdout] 174 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | let client = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 183 | | Client, [INFO] [stdout] 184 | | "SELECT * FROM clients WHERE id = $1", [INFO] [stdout] 185 | | id [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | let id = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | INSERT INTO clients (name, phone, address, email, profile_id) [INFO] [stdout] 197 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 204 | | client.profile_id [INFO] [stdout] 205 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | / sqlx::query!( [INFO] [stdout] 214 | | r#" [INFO] [stdout] 215 | | UPDATE clients [INFO] [stdout] 216 | | SET name = $1, phone = $2, address = $3, email = $4 [INFO] [stdout] ... | [INFO] [stdout] 223 | | client.id [INFO] [stdout] 224 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | let projects = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 237 | | Project, [INFO] [stdout] 238 | | "SELECT * FROM projects WHERE client_id = $1", [INFO] [stdout] 239 | | id [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_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/db/mod.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | / sqlx::query!( [INFO] [stdout] 248 | | "DELETE FROM invoice_line_item WHERE invoice_id IN (SELECT id FROM invoices WHERE project_id = $1)", [INFO] [stdout] 249 | | project.id [INFO] [stdout] 250 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/db/mod.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | / sqlx::query!( [INFO] [stdout] 256 | | "DELETE FROM invoices WHERE project_id = $1", [INFO] [stdout] 257 | | project.id [INFO] [stdout] 258 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/db/mod.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | / sqlx::query!( [INFO] [stdout] 265 | | "DELETE FROM projects WHERE client_id = $1", [INFO] [stdout] 266 | | id [INFO] [stdout] 267 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | sqlx::query!("DELETE FROM clients WHERE id = $1", 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | let projects = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 285 | | Project, [INFO] [stdout] 286 | | r#" [INFO] [stdout] 287 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 297 | | client_id [INFO] [stdout] 298 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | let project = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 307 | | Project, [INFO] [stdout] 308 | | r#" [INFO] [stdout] 309 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 318 | | id [INFO] [stdout] 319 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/db/mod.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | let id = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 328 | | r#" [INFO] [stdout] 329 | | INSERT INTO projects (client_id, name, start_date, end_date) [INFO] [stdout] 330 | | VALUES ($1, $2, $3::date, $4::date) [INFO] [stdout] ... | [INFO] [stdout] 336 | | project.end_date as _ [INFO] [stdout] 337 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | / sqlx::query!( [INFO] [stdout] 346 | | r#" [INFO] [stdout] 347 | | UPDATE projects [INFO] [stdout] 348 | | SET name = $1, start_date = $2::date, end_date = $3::date [INFO] [stdout] ... | [INFO] [stdout] 354 | | project.id [INFO] [stdout] 355 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | sqlx::query!("DELETE FROM projects WHERE id = $1", 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | let invoices = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 373 | | Invoice, [INFO] [stdout] 374 | | r#" [INFO] [stdout] 375 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 387 | | project_id [INFO] [stdout] 388 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:396:23 [INFO] [stdout] | [INFO] [stdout] 396 | let invoice = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 397 | | Invoice, [INFO] [stdout] 398 | | r#" [INFO] [stdout] 399 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 410 | | id [INFO] [stdout] 411 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | let id = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 420 | | r#" [INFO] [stdout] 421 | | INSERT INTO invoices (project_id, number, submit_date, due_date, rate, status) [INFO] [stdout] 422 | | VALUES ($1, $2, $3::date, $4::date, $5::float8, $6) [INFO] [stdout] ... | [INFO] [stdout] 430 | | invoice.status [INFO] [stdout] 431 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/db/mod.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | / sqlx::query!( [INFO] [stdout] 440 | | r#" [INFO] [stdout] 441 | | UPDATE invoices [INFO] [stdout] 442 | | SET submit_date = $1::date, due_date = $2::date, rate = $3::float8, status = $4 [INFO] [stdout] ... | [INFO] [stdout] 449 | | invoice.id [INFO] [stdout] 450 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | sqlx::query!("DELETE FROM invoices WHERE id = $1", 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:467:26 [INFO] [stdout] | [INFO] [stdout] 467 | let line_items = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 468 | | InvoiceLineItem, [INFO] [stdout] 469 | | r#" [INFO] [stdout] 470 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 479 | | invoice_id [INFO] [stdout] 480 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 488 | let id = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 489 | | r#" [INFO] [stdout] 490 | | INSERT INTO invoice_line_item (invoice_id, description, hours) [INFO] [stdout] 491 | | VALUES ($1, $2, $3::float8) [INFO] [stdout] ... | [INFO] [stdout] 496 | | line_item.hours as f64 [INFO] [stdout] 497 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/db/mod.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | / sqlx::query!( [INFO] [stdout] 506 | | r#" [INFO] [stdout] 507 | | UPDATE invoice_line_item [INFO] [stdout] 508 | | SET description = $1, hours = $2::float8 [INFO] [stdout] ... | [INFO] [stdout] 513 | | line_item.id [INFO] [stdout] 514 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | sqlx::query!("DELETE FROM invoice_line_item WHERE id = $1", 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | sqlx::query!("DELETE FROM invoice_line_item WHERE invoice_id = $1", invoice_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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:549:22 [INFO] [stdout] | [INFO] [stdout] 549 | let id = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 550 | | r#" [INFO] [stdout] 551 | | INSERT INTO invoices (project_id, number, submit_date, due_date, rate, status) [INFO] [stdout] 552 | | VALUES ($1, $2, $3::date, $4::date, $5::float8, $6) [INFO] [stdout] ... | [INFO] [stdout] 560 | | invoice.status [INFO] [stdout] 561 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/db/mod.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | / sqlx::query!( [INFO] [stdout] 569 | | r#" [INFO] [stdout] 570 | | UPDATE invoices [INFO] [stdout] 571 | | SET submit_date = $1::date, due_date = $2::date, rate = $3::float8, status = $4 [INFO] [stdout] ... | [INFO] [stdout] 578 | | invoice.id [INFO] [stdout] 579 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/db/mod.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | sqlx::query!("DELETE FROM invoice_line_item WHERE invoice_id = $1", invoice_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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/mod.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | / sqlx::query!( [INFO] [stdout] 596 | | r#" [INFO] [stdout] 597 | | INSERT INTO invoice_line_item (invoice_id, description, hours) [INFO] [stdout] 598 | | VALUES ($1, $2, $3::float8) [INFO] [stdout] ... | [INFO] [stdout] 602 | | line_item.hours as f64 [INFO] [stdout] 603 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/db/mod.rs:623:24 [INFO] [stdout] | [INFO] [stdout] 623 | let invoices = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 624 | | Invoice, [INFO] [stdout] 625 | | r#" [INFO] [stdout] 626 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 638 | | project_id [INFO] [stdout] 639 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:648:24 [INFO] [stdout] | [INFO] [stdout] 648 | let projects = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 649 | | Project, [INFO] [stdout] 650 | | "SELECT * FROM projects WHERE client_id = $1 ORDER BY name ASC", [INFO] [stdout] 651 | | client_id [INFO] [stdout] 652 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:661:23 [INFO] [stdout] | [INFO] [stdout] 661 | let clients = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 662 | | Client, [INFO] [stdout] 663 | | "SELECT * FROM clients WHERE profile_id = $1 ORDER BY name ASC", [INFO] [stdout] 664 | | profile_id [INFO] [stdout] 665 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/db/mod.rs:674:24 [INFO] [stdout] | [INFO] [stdout] 674 | let profiles = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 675 | | Profile, [INFO] [stdout] 676 | | "SELECT * FROM profiles ORDER BY name ASC" [INFO] [stdout] 677 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ui/invoices.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | self, EmailWizardState, EmailWizardAction, [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 import: `DatePart` [INFO] [stdout] --> src/ui/invoice_wizard.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ui::components::date_input::{DateInputState, DatePart}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Datelike` and `NaiveDate` [INFO] [stdout] --> src/ui/project_wizard.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatePart` [INFO] [stdout] --> src/ui/project_wizard.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ui::components::date_input::{DateInputState, DatePart}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/ui/components/date_input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/ui/components/date_input.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::event::{Event, KeyCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Color`, `Frame`, `Modifier`, `Paragraph`, `Span`, `Spans`, `Style`, and `layout::Rect` [INFO] [stdout] --> src/ui/components/date_input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | layout::Rect, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 8 | text::{Span, Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 9 | widgets::{Block, Borders, Paragraph}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::Backend` [INFO] [stdout] --> src/ui/components/date_input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_hours` is assigned to, but never used [INFO] [stdout] --> src/invoice_gen.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut total_hours = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_hours` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project` [INFO] [stdout] --> src/invoice_gen.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | project: &Project [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `invoice_manager` (bin "invoice_manager") due to 43 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5515012700d99a1c516459375e84b54f708c085b3a7f43472fbbfd0b0b8088e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5515012700d99a1c516459375e84b54f708c085b3a7f43472fbbfd0b0b8088e3", kill_on_drop: false }` [INFO] [stdout] 5515012700d99a1c516459375e84b54f708c085b3a7f43472fbbfd0b0b8088e3