[INFO] cloning repository https://github.com/fractalbeauty/sorrel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fractalbeauty/sorrel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffractalbeauty%2Fsorrel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffractalbeauty%2Fsorrel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af367f0d33e7c6e6c0d69b28dc2967bb67f0be70 [INFO] checking fractalbeauty/sorrel/af367f0d33e7c6e6c0d69b28dc2967bb67f0be70 against master#fe7294f8793d001bc3f9d197e7cdef6cdb46c15a for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffractalbeauty%2Fsorrel" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fractalbeauty/sorrel [INFO] finished tweaking git repo https://github.com/fractalbeauty/sorrel [INFO] tweaked toml for git repo https://github.com/fractalbeauty/sorrel written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fractalbeauty/sorrel on toolchain fe7294f8793d001bc3f9d197e7cdef6cdb46c15a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fractalbeauty/sorrel 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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded client-ip v0.2.1 [INFO] [stderr] Downloaded monostate v1.0.2 [INFO] [stderr] Downloaded axum-client-ip v1.3.1 [INFO] [stderr] Downloaded monostate-impl v1.0.2 [INFO] [stderr] Downloaded maud v0.27.0 [INFO] [stderr] Downloaded maud_macros v0.27.0 [INFO] [stderr] Downloaded reqwest v0.12.25 [INFO] [stderr] Downloaded openidconnect v4.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cf3122a8fafe7840d56761539993ee55fc4559e632145f0ff44d25bfdb1d743 [INFO] running `Command { std: "docker" "start" "-a" "3cf3122a8fafe7840d56761539993ee55fc4559e632145f0ff44d25bfdb1d743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cf3122a8fafe7840d56761539993ee55fc4559e632145f0ff44d25bfdb1d743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cf3122a8fafe7840d56761539993ee55fc4559e632145f0ff44d25bfdb1d743", kill_on_drop: false }` [INFO] [stdout] 3cf3122a8fafe7840d56761539993ee55fc4559e632145f0ff44d25bfdb1d743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5636a608bd77b365b77fb226cf2f2fab230b1f6ce20efe9bbd233d6611e5285 [INFO] running `Command { std: "docker" "start" "-a" "a5636a608bd77b365b77fb226cf2f2fab230b1f6ce20efe9bbd233d6611e5285", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking generic-array v0.14.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking base64ct v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling monostate-impl v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking monostate v1.0.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling snafu-derive v0.8.9 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking jiff v0.2.19 [INFO] [stderr] Checking snafu v0.8.9 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking tower-sessions-core v0.14.0 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking curve25519-dalek v4.1.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking figment v0.10.19 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Checking tower-sessions-memory-store v0.14.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Compiling maud_macros v0.27.0 [INFO] [stderr] Checking client-ip v0.2.1 [INFO] [stderr] Checking tower-sessions v0.14.0 [INFO] [stderr] Checking rsa v0.9.9 [INFO] [stderr] Checking webbrowser v1.1.0 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking maud v0.27.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking sorrel-api v0.1.0 (/opt/rustwide/workdir/crates/sorrel-api) [INFO] [stderr] Checking axum-client-ip v1.3.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.25 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking sorrel-client v0.1.0 (/opt/rustwide/workdir/crates/sorrel-client) [INFO] [stderr] Checking oauth2 v5.0.0 [INFO] [stderr] Checking sorrel-cli v0.1.0 (/opt/rustwide/workdir/crates/sorrel-cli) [INFO] [stderr] Checking openidconnect v4.0.1 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sorrel-server v0.1.0 (/opt/rustwide/workdir/crates/sorrel-server) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / sqlx::query!( [INFO] [stdout] 93 | | r#" [INFO] [stdout] 94 | | INSERT INTO auth_codes (auth_code_hash, client_id, redirect_uri, code_challenge, expires_at, user_id, device_name) [INFO] [stdout] 95 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 103 | | device_name [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 116 | | ... AuthCode, [INFO] [stdout] 117 | | ... r#" [INFO] [stdout] 118 | | ... SELECT auth_code_hash, client_id, redirect_uri, code_challenge, expires_at, user_id as "user_id: Uuid", is_used, device... [INFO] [stdout] ... | [INFO] [stdout] 122 | | ... auth_code_hash [INFO] [stdout] 123 | | ... ) [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] --> crates/sorrel-server/src/database.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query!( [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | INSERT INTO device_codes (device_code_hash, user_code_hash, expires_at, device_name_hint, device_ip_hint) [INFO] [stdout] 141 | | VALUES (?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 147 | | device_ip_hint [INFO] [stdout] 148 | | ) [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] --> crates/sorrel-server/src/database.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 157 | | r#" [INFO] [stdout] 158 | | SELECT 1 as "exists: bool" FROM device_codes [INFO] [stdout] 159 | | WHERE user_code_hash = ? [INFO] [stdout] 160 | | "#, [INFO] [stdout] 161 | | user_code_hash [INFO] [stdout] 162 | | ) [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] --> crates/sorrel-server/src/database.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 174 | | ... DeviceCode, [INFO] [stdout] 175 | | ... r#" [INFO] [stdout] 176 | | ... SELECT device_code_hash, user_code_hash, expires_at, user_id as "user_id: Uuid", is_used, device_name_hint, device_ip_hint [INFO] [stdout] ... | [INFO] [stdout] 180 | | ... user_code_hash [INFO] [stdout] 181 | | ... ) [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] --> crates/sorrel-server/src/database.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 193 | | ... DeviceCode, [INFO] [stdout] 194 | | ... r#" [INFO] [stdout] 195 | | ... SELECT device_code_hash, user_code_hash, expires_at, user_id as "user_id: Uuid", is_used, device_name_hint, device_ip_hint [INFO] [stdout] ... | [INFO] [stdout] 199 | | ... device_code_hash [INFO] [stdout] 200 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> crates/sorrel-server/src/database.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | / sqlx::query!( [INFO] [stdout] 213 | | r#" [INFO] [stdout] 214 | | UPDATE device_codes [INFO] [stdout] 215 | | SET user_id = ? [INFO] [stdout] ... | [INFO] [stdout] 219 | | device_code_hash [INFO] [stdout] 220 | | ) [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] --> crates/sorrel-server/src/database.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / sqlx::query!( [INFO] [stdout] 229 | | r#" [INFO] [stdout] 230 | | UPDATE device_codes [INFO] [stdout] 231 | | SET is_used = 1 [INFO] [stdout] ... | [INFO] [stdout] 234 | | device_code_hash [INFO] [stdout] 235 | | ) [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] --> crates/sorrel-server/src/database.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 244 | | r#" [INFO] [stdout] 245 | | SELECT user_id as "user_id: Uuid" FROM credentials [INFO] [stdout] 246 | | WHERE provider = ? AND subject = ? [INFO] [stdout] ... | [INFO] [stdout] 249 | | subject [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] --> crates/sorrel-server/src/database.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | / sqlx::query!( [INFO] [stdout] 261 | | r#" [INFO] [stdout] 262 | | INSERT INTO users (id) VALUES (?) [INFO] [stdout] 263 | | "#, [INFO] [stdout] 264 | | user_id [INFO] [stdout] 265 | | ) [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] --> crates/sorrel-server/src/database.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | / sqlx::query!( [INFO] [stdout] 270 | | r#" [INFO] [stdout] 271 | | INSERT INTO credentials (provider, subject, user_id) [INFO] [stdout] 272 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 276 | | user_id [INFO] [stdout] 277 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | / sqlx::query!( [INFO] [stdout] 299 | | r#" [INFO] [stdout] 300 | | INSERT INTO sessions (id, token_hash, last_used_at, user_id, device_name) [INFO] [stdout] 301 | | VALUES (?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 307 | | device_name [INFO] [stdout] 308 | | ) [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] --> crates/sorrel-server/src/database.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 320 | | Session, [INFO] [stdout] 321 | | r#" [INFO] [stdout] 322 | | SELECT id as "id: Uuid", token_hash, last_used_at, user_id as "user_id: Uuid", device_name [INFO] [stdout] ... | [INFO] [stdout] 326 | | token_hash [INFO] [stdout] 327 | | ) [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] --> crates/sorrel-server/src/database.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | / sqlx::query!( [INFO] [stdout] 338 | | r#" [INFO] [stdout] 339 | | UPDATE sessions [INFO] [stdout] 340 | | SET last_used_at = ? [INFO] [stdout] ... | [INFO] [stdout] 344 | | token_hash [INFO] [stdout] 345 | | ) [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] --> crates/sorrel-server/src/database.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 354 | | Session, [INFO] [stdout] 355 | | r#" [INFO] [stdout] 356 | | SELECT id as "id: Uuid", token_hash, last_used_at, user_id as "user_id: Uuid", device_name [INFO] [stdout] ... | [INFO] [stdout] 360 | | user_id [INFO] [stdout] 361 | | ) [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] --> crates/sorrel-server/src/database.rs:373:19 [INFO] [stdout] | [INFO] [stdout] 373 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 374 | | r#" [INFO] [stdout] 375 | | DELETE FROM sessions [INFO] [stdout] 376 | | WHERE id = ? AND user_id = ? [INFO] [stdout] ... | [INFO] [stdout] 379 | | user_id [INFO] [stdout] 380 | | ) [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] --> crates/sorrel-server/src/database.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | / sqlx::query!( [INFO] [stdout] 396 | | r#" [INFO] [stdout] 397 | | DELETE FROM keys [INFO] [stdout] 398 | | WHERE session_id = ? AND app = ? [INFO] [stdout] ... | [INFO] [stdout] 401 | | app [INFO] [stdout] 402 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | / sqlx::query!( [INFO] [stdout] 407 | | r#" [INFO] [stdout] 408 | | INSERT INTO keys (session_id, app, public_key) [INFO] [stdout] 409 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 413 | | public_key [INFO] [stdout] 414 | | ) [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] --> crates/sorrel-server/src/database.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | ... let rows = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 425 | | ... Key, [INFO] [stdout] 426 | | ... r#" [INFO] [stdout] 427 | | ... SELECT k.public_key, k.app, s.id as "session_id: Uuid", s.last_used_at as "session_last_used_at: i64", s.device_name as... [INFO] [stdout] ... | [INFO] [stdout] 432 | | ... user_id [INFO] [stdout] 433 | | ... ) [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] --> crates/sorrel-server/src/database.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / sqlx::query!( [INFO] [stdout] 93 | | r#" [INFO] [stdout] 94 | | INSERT INTO auth_codes (auth_code_hash, client_id, redirect_uri, code_challenge, expires_at, user_id, device_name) [INFO] [stdout] 95 | | VALUES (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 103 | | device_name [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 116 | | ... AuthCode, [INFO] [stdout] 117 | | ... r#" [INFO] [stdout] 118 | | ... SELECT auth_code_hash, client_id, redirect_uri, code_challenge, expires_at, user_id as "user_id: Uuid", is_used, device... [INFO] [stdout] ... | [INFO] [stdout] 122 | | ... auth_code_hash [INFO] [stdout] 123 | | ... ) [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] --> crates/sorrel-server/src/database.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query!( [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | INSERT INTO device_codes (device_code_hash, user_code_hash, expires_at, device_name_hint, device_ip_hint) [INFO] [stdout] 141 | | VALUES (?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 147 | | device_ip_hint [INFO] [stdout] 148 | | ) [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] --> crates/sorrel-server/src/database.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 157 | | r#" [INFO] [stdout] 158 | | SELECT 1 as "exists: bool" FROM device_codes [INFO] [stdout] 159 | | WHERE user_code_hash = ? [INFO] [stdout] 160 | | "#, [INFO] [stdout] 161 | | user_code_hash [INFO] [stdout] 162 | | ) [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] --> crates/sorrel-server/src/database.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 174 | | ... DeviceCode, [INFO] [stdout] 175 | | ... r#" [INFO] [stdout] 176 | | ... SELECT device_code_hash, user_code_hash, expires_at, user_id as "user_id: Uuid", is_used, device_name_hint, device_ip_hint [INFO] [stdout] ... | [INFO] [stdout] 180 | | ... user_code_hash [INFO] [stdout] 181 | | ... ) [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] --> crates/sorrel-server/src/database.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 193 | | ... DeviceCode, [INFO] [stdout] 194 | | ... r#" [INFO] [stdout] 195 | | ... SELECT device_code_hash, user_code_hash, expires_at, user_id as "user_id: Uuid", is_used, device_name_hint, device_ip_hint [INFO] [stdout] ... | [INFO] [stdout] 199 | | ... device_code_hash [INFO] [stdout] 200 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> crates/sorrel-server/src/database.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | / sqlx::query!( [INFO] [stdout] 213 | | r#" [INFO] [stdout] 214 | | UPDATE device_codes [INFO] [stdout] 215 | | SET user_id = ? [INFO] [stdout] ... | [INFO] [stdout] 219 | | device_code_hash [INFO] [stdout] 220 | | ) [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] --> crates/sorrel-server/src/database.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / sqlx::query!( [INFO] [stdout] 229 | | r#" [INFO] [stdout] 230 | | UPDATE device_codes [INFO] [stdout] 231 | | SET is_used = 1 [INFO] [stdout] ... | [INFO] [stdout] 234 | | device_code_hash [INFO] [stdout] 235 | | ) [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] --> crates/sorrel-server/src/database.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 244 | | r#" [INFO] [stdout] 245 | | SELECT user_id as "user_id: Uuid" FROM credentials [INFO] [stdout] 246 | | WHERE provider = ? AND subject = ? [INFO] [stdout] ... | [INFO] [stdout] 249 | | subject [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] --> crates/sorrel-server/src/database.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | / sqlx::query!( [INFO] [stdout] 261 | | r#" [INFO] [stdout] 262 | | INSERT INTO users (id) VALUES (?) [INFO] [stdout] 263 | | "#, [INFO] [stdout] 264 | | user_id [INFO] [stdout] 265 | | ) [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] --> crates/sorrel-server/src/database.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | / sqlx::query!( [INFO] [stdout] 270 | | r#" [INFO] [stdout] 271 | | INSERT INTO credentials (provider, subject, user_id) [INFO] [stdout] 272 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 276 | | user_id [INFO] [stdout] 277 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | / sqlx::query!( [INFO] [stdout] 299 | | r#" [INFO] [stdout] 300 | | INSERT INTO sessions (id, token_hash, last_used_at, user_id, device_name) [INFO] [stdout] 301 | | VALUES (?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 307 | | device_name [INFO] [stdout] 308 | | ) [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] --> crates/sorrel-server/src/database.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 320 | | Session, [INFO] [stdout] 321 | | r#" [INFO] [stdout] 322 | | SELECT id as "id: Uuid", token_hash, last_used_at, user_id as "user_id: Uuid", device_name [INFO] [stdout] ... | [INFO] [stdout] 326 | | token_hash [INFO] [stdout] 327 | | ) [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] --> crates/sorrel-server/src/database.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | / sqlx::query!( [INFO] [stdout] 338 | | r#" [INFO] [stdout] 339 | | UPDATE sessions [INFO] [stdout] 340 | | SET last_used_at = ? [INFO] [stdout] ... | [INFO] [stdout] 344 | | token_hash [INFO] [stdout] 345 | | ) [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] --> crates/sorrel-server/src/database.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 354 | | Session, [INFO] [stdout] 355 | | r#" [INFO] [stdout] 356 | | SELECT id as "id: Uuid", token_hash, last_used_at, user_id as "user_id: Uuid", device_name [INFO] [stdout] ... | [INFO] [stdout] 360 | | user_id [INFO] [stdout] 361 | | ) [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] --> crates/sorrel-server/src/database.rs:373:19 [INFO] [stdout] | [INFO] [stdout] 373 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 374 | | r#" [INFO] [stdout] 375 | | DELETE FROM sessions [INFO] [stdout] 376 | | WHERE id = ? AND user_id = ? [INFO] [stdout] ... | [INFO] [stdout] 379 | | user_id [INFO] [stdout] 380 | | ) [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] --> crates/sorrel-server/src/database.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | / sqlx::query!( [INFO] [stdout] 396 | | r#" [INFO] [stdout] 397 | | DELETE FROM keys [INFO] [stdout] 398 | | WHERE session_id = ? AND app = ? [INFO] [stdout] ... | [INFO] [stdout] 401 | | app [INFO] [stdout] 402 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/sorrel-server/src/database.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | / sqlx::query!( [INFO] [stdout] 407 | | r#" [INFO] [stdout] 408 | | INSERT INTO keys (session_id, app, public_key) [INFO] [stdout] 409 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 413 | | public_key [INFO] [stdout] 414 | | ) [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] --> crates/sorrel-server/src/database.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | ... let rows = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 425 | | ... Key, [INFO] [stdout] 426 | | ... r#" [INFO] [stdout] 427 | | ... SELECT k.public_key, k.app, s.id as "session_id: Uuid", s.last_used_at as "session_last_used_at: i64", s.device_name as... [INFO] [stdout] ... | [INFO] [stdout] 432 | | ... user_id [INFO] [stdout] 433 | | ... ) [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 variable: `client` [INFO] [stdout] --> crates/sorrel-server/src/lib.rs:511:14 [INFO] [stdout] | [INFO] [stdout] 511 | let Some(client) = client else { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> crates/sorrel-server/src/lib.rs:511:14 [INFO] [stdout] | [INFO] [stdout] 511 | let Some(client) = client else { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sorrel-server` (lib) due to 19 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sorrel-server` (lib test) due to 19 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a5636a608bd77b365b77fb226cf2f2fab230b1f6ce20efe9bbd233d6611e5285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5636a608bd77b365b77fb226cf2f2fab230b1f6ce20efe9bbd233d6611e5285", kill_on_drop: false }` [INFO] [stdout] a5636a608bd77b365b77fb226cf2f2fab230b1f6ce20efe9bbd233d6611e5285