[INFO] cloning repository https://github.com/JoshuaEjike/portfolio-rust-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaEjike/portfolio-rust-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaEjike%2Fportfolio-rust-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaEjike%2Fportfolio-rust-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86ef71421581c1021640caa7f4bf49afadcf0a4b [INFO] checking JoshuaEjike/portfolio-rust-server/86ef71421581c1021640caa7f4bf49afadcf0a4b against master#b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1 for pr-156992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaEjike%2Fportfolio-rust-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoshuaEjike/portfolio-rust-server [INFO] finished tweaking git repo https://github.com/JoshuaEjike/portfolio-rust-server [INFO] tweaked toml for git repo https://github.com/JoshuaEjike/portfolio-rust-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoshuaEjike/portfolio-rust-server on toolchain b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JoshuaEjike/portfolio-rust-server 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" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-cookies v0.11.0 [INFO] [stderr] Downloaded compression-codecs v0.4.36 [INFO] [stderr] Downloaded async-compression v0.4.37 [INFO] [stderr] Downloaded sqlx-cli v0.8.6 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded clap_complete v4.5.65 [INFO] [stderr] Downloaded jsonwebtoken v10.2.0 [INFO] [stderr] Downloaded bcrypt v0.18.0 [INFO] [stderr] Downloaded axum-extra v0.12.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b4828b388edb20b25ada8e9d65b94335e4d56cd65002bd9173bd0e57674542c [INFO] running `Command { std: "docker" "start" "-a" "3b4828b388edb20b25ada8e9d65b94335e4d56cd65002bd9173bd0e57674542c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b4828b388edb20b25ada8e9d65b94335e4d56cd65002bd9173bd0e57674542c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4828b388edb20b25ada8e9d65b94335e4d56cd65002bd9173bd0e57674542c", kill_on_drop: false }` [INFO] [stdout] 3b4828b388edb20b25ada8e9d65b94335e4d56cd65002bd9173bd0e57674542c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d12c9bcde9300827bf77701cefaffc437ed9167dd895698842acbde3a676aaba [INFO] running `Command { std: "docker" "start" "-a" "d12c9bcde9300827bf77701cefaffc437ed9167dd895698842acbde3a676aaba", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling aws-lc-rs v1.15.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.36.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling time-core v0.1.7 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.25 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking terminal_size v0.4.3 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking time v0.3.45 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking bcrypt v0.18.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking clap_complete v4.5.65 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Checking jsonwebtoken v10.2.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking async-compression v0.4.37 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sqlx-cli 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.13.1 [INFO] [stderr] Checking axum-extra v0.12.5 [INFO] [stderr] Checking server_hex 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/adapter/blog_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO blog ( [INFO] [stdout] 29 | | id, title, description, [INFO] [stdout] ... | [INFO] [stdout] 45 | | blog.updated_at, [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` (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/adapter/blog_adapter.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | r#"SELECT id, title, description, content, image, image_id, created_at, updated_at FROM blog WHERE title=$1"#, [INFO] [stdout] 57 | | title [INFO] [stdout] 58 | | ) [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/adapter/blog_adapter.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 81 | | r#"SELECT id, title, description, content, image, image_id, created_at, updated_at FROM blog WHERE id = $1"#, [INFO] [stdout] 82 | | blog_id, [INFO] [stdout] 83 | | ) [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/adapter/blog_adapter.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | let result = sqlx::query!("DELETE FROM blog where id = $1", blog_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/adapter/blog_adapter.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 117 | | r#" [INFO] [stdout] 118 | | UPDATE blog [INFO] [stdout] 119 | | SET description = COALESCE($1, description), [INFO] [stdout] ... | [INFO] [stdout] 136 | | blog.blog_id [INFO] [stdout] 137 | | ) [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/adapter/blog_adapter.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | ... = sqlx::query!(r#"SELECT id, title, description, content, image, image_id, created_at, updated_at FROM blog ORDER BY created_at DESC"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/adapter/blog_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO blog ( [INFO] [stdout] 29 | | id, title, description, [INFO] [stdout] ... | [INFO] [stdout] 45 | | blog.updated_at, [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` (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/adapter/blog_adapter.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | r#"SELECT id, title, description, content, image, image_id, created_at, updated_at FROM blog WHERE title=$1"#, [INFO] [stdout] 57 | | title [INFO] [stdout] 58 | | ) [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/adapter/blog_adapter.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 81 | | r#"SELECT id, title, description, content, image, image_id, created_at, updated_at FROM blog WHERE id = $1"#, [INFO] [stdout] 82 | | blog_id, [INFO] [stdout] 83 | | ) [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/adapter/blog_adapter.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | let result = sqlx::query!("DELETE FROM blog where id = $1", blog_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/adapter/blog_adapter.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 117 | | r#" [INFO] [stdout] 118 | | UPDATE blog [INFO] [stdout] 119 | | SET description = COALESCE($1, description), [INFO] [stdout] ... | [INFO] [stdout] 136 | | blog.blog_id [INFO] [stdout] 137 | | ) [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/adapter/blog_adapter.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | ... = sqlx::query!(r#"SELECT id, title, description, content, image, image_id, created_at, updated_at FROM blog ORDER BY created_at DESC"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/adapter/project_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO project ( [INFO] [stdout] 29 | | id, title, description, stack, [INFO] [stdout] ... | [INFO] [stdout] 46 | | project.updated_at, [INFO] [stdout] 47 | | ) [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/adapter/project_adapter.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 57 | | r#"SELECT id, title, description, stack, content, image, image_id, created_at, updated_at FROM project WHERE title=$1"#, [INFO] [stdout] 58 | | title [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/adapter/project_adapter.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 86 | | r#"SELECT id, title, description, stack, content, image, image_id, created_at, updated_at FROM project WHERE id = $1"#, [INFO] [stdout] 87 | | project_id, [INFO] [stdout] 88 | | ) [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/adapter/project_adapter.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let result = sqlx::query!("DELETE FROM project where id = $1", project_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/adapter/project_adapter.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | UPDATE project [INFO] [stdout] 125 | | SET description = COALESCE($1, description), [INFO] [stdout] ... | [INFO] [stdout] 144 | | project.project_id [INFO] [stdout] 145 | | ) [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/adapter/project_adapter.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | ... = sqlx::query!(r#"SELECT id, title, description, stack, content, image, image_id, created_at, updated_at FROM project ORDER BY created_at DESC"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/adapter/refresh_token_adapter.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query!( [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO refresh_tokens (id, user_id, token, expires_at) [INFO] [stdout] 27 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 32 | | Utc::now().naive_utc() + Duration::days(7), [INFO] [stdout] 33 | | ) [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/adapter/refresh_token_adapter.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let rec = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | RefreshTokenRecord, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | SELECT id, user_id, expires_at, revoked [INFO] [stdout] ... | [INFO] [stdout] 52 | | token [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/adapter/refresh_token_adapter.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#"UPDATE refresh_tokens SET revoked = true WHERE id = $1"#, [INFO] [stdout] 84 | | id [INFO] [stdout] 85 | | ) [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/adapter/refresh_token_adapter.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | r#"UPDATE refresh_tokens SET revoked = true WHERE token = $1"#, [INFO] [stdout] 96 | | token [INFO] [stdout] 97 | | ) [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/adapter/project_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO project ( [INFO] [stdout] 29 | | id, title, description, stack, [INFO] [stdout] ... | [INFO] [stdout] 46 | | project.updated_at, [INFO] [stdout] 47 | | ) [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/adapter/project_adapter.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 57 | | r#"SELECT id, title, description, stack, content, image, image_id, created_at, updated_at FROM project WHERE title=$1"#, [INFO] [stdout] 58 | | title [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/adapter/project_adapter.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 86 | | r#"SELECT id, title, description, stack, content, image, image_id, created_at, updated_at FROM project WHERE id = $1"#, [INFO] [stdout] 87 | | project_id, [INFO] [stdout] 88 | | ) [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/adapter/project_adapter.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let result = sqlx::query!("DELETE FROM project where id = $1", project_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/adapter/project_adapter.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | UPDATE project [INFO] [stdout] 125 | | SET description = COALESCE($1, description), [INFO] [stdout] ... | [INFO] [stdout] 144 | | project.project_id [INFO] [stdout] 145 | | ) [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/adapter/project_adapter.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | ... = sqlx::query!(r#"SELECT id, title, description, stack, content, image, image_id, created_at, updated_at FROM project ORDER BY created_at DESC"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/adapter/refresh_token_adapter.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query!( [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO refresh_tokens (id, user_id, token, expires_at) [INFO] [stdout] 27 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 32 | | Utc::now().naive_utc() + Duration::days(7), [INFO] [stdout] 33 | | ) [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/adapter/refresh_token_adapter.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let rec = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | RefreshTokenRecord, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | SELECT id, user_id, expires_at, revoked [INFO] [stdout] ... | [INFO] [stdout] 52 | | token [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/adapter/refresh_token_adapter.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#"UPDATE refresh_tokens SET revoked = true WHERE id = $1"#, [INFO] [stdout] 84 | | id [INFO] [stdout] 85 | | ) [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/adapter/refresh_token_adapter.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | r#"UPDATE refresh_tokens SET revoked = true WHERE token = $1"#, [INFO] [stdout] 96 | | token [INFO] [stdout] 97 | | ) [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/adapter/stack_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO stack ( [INFO] [stdout] 29 | | id, title, slug, [INFO] [stdout] ... | [INFO] [stdout] 41 | | stack.updated_at, [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` (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/adapter/stack_adapter.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 52 | | r#"SELECT id, title, slug, created_at, updated_at FROM stack WHERE title=$1"#, [INFO] [stdout] 53 | | title [INFO] [stdout] 54 | | ) [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/adapter/stack_adapter.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 74 | | r#"SELECT id, title, slug, created_at, updated_at FROM stack WHERE id=$1"#, [INFO] [stdout] 75 | | stack_id, [INFO] [stdout] 76 | | ) [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/adapter/stack_adapter.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let result = sqlx::query!("DELETE FROM stack where id = $1", stack_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/adapter/stack_adapter.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 107 | | r#" [INFO] [stdout] 108 | | UPDATE stack [INFO] [stdout] 109 | | SET title = COALESCE($1, title), [INFO] [stdout] ... | [INFO] [stdout] 122 | | stack.id [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` (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/adapter/stack_adapter.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let rows = sqlx::query!(r#"SELECT id, title, slug, created_at, updated_at FROM stack"#) [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/adapter/stack_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO stack ( [INFO] [stdout] 29 | | id, title, slug, [INFO] [stdout] ... | [INFO] [stdout] 41 | | stack.updated_at, [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` (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/adapter/stack_adapter.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 52 | | r#"SELECT id, title, slug, created_at, updated_at FROM stack WHERE title=$1"#, [INFO] [stdout] 53 | | title [INFO] [stdout] 54 | | ) [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/adapter/stack_adapter.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 74 | | r#"SELECT id, title, slug, created_at, updated_at FROM stack WHERE id=$1"#, [INFO] [stdout] 75 | | stack_id, [INFO] [stdout] 76 | | ) [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/adapter/stack_adapter.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let result = sqlx::query!("DELETE FROM stack where id = $1", stack_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/adapter/stack_adapter.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 107 | | r#" [INFO] [stdout] 108 | | UPDATE stack [INFO] [stdout] 109 | | SET title = COALESCE($1, title), [INFO] [stdout] ... | [INFO] [stdout] 122 | | stack.id [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` (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/adapter/stack_adapter.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let rows = sqlx::query!(r#"SELECT id, title, slug, created_at, updated_at FROM stack"#) [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/adapter/user_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO users ( [INFO] [stdout] 29 | | id, email, name, phone_number, password, roles, [INFO] [stdout] ... | [INFO] [stdout] 44 | | user.updated_at, [INFO] [stdout] 45 | | ) [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/adapter/user_adapter.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 55 | | r#"SELECT id, email, name, phone_number, roles, password, created_at, updated_at FROM users WHERE email=$1"#, [INFO] [stdout] 56 | | email.as_str() [INFO] [stdout] 57 | | ) [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/adapter/user_adapter.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 80 | | r#"SELECT id, email, name, phone_number, roles, password, created_at, updated_at FROM users WHERE id=$1"#, [INFO] [stdout] 81 | | user_id, [INFO] [stdout] 82 | | ) [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/adapter/user_adapter.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let result = sqlx::query!("DELETE FROM users where id = $1", user_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/adapter/user_adapter.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | UPDATE users [INFO] [stdout] 117 | | SET name = COALESCE($1, name), [INFO] [stdout] ... | [INFO] [stdout] 134 | | users.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/adapter/user_adapter.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 145 | | r#"SELECT id, email, name, phone_number, roles, created_at, updated_at FROM users"# [INFO] [stdout] 146 | | ) [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/adapter/user_adapter.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO users ( [INFO] [stdout] 29 | | id, email, name, phone_number, password, roles, [INFO] [stdout] ... | [INFO] [stdout] 44 | | user.updated_at, [INFO] [stdout] 45 | | ) [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/adapter/user_adapter.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 55 | | r#"SELECT id, email, name, phone_number, roles, password, created_at, updated_at FROM users WHERE email=$1"#, [INFO] [stdout] 56 | | email.as_str() [INFO] [stdout] 57 | | ) [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/adapter/user_adapter.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 80 | | r#"SELECT id, email, name, phone_number, roles, password, created_at, updated_at FROM users WHERE id=$1"#, [INFO] [stdout] 81 | | user_id, [INFO] [stdout] 82 | | ) [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/adapter/user_adapter.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let result = sqlx::query!("DELETE FROM users where id = $1", user_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/adapter/user_adapter.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | UPDATE users [INFO] [stdout] 117 | | SET name = COALESCE($1, name), [INFO] [stdout] ... | [INFO] [stdout] 134 | | users.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/adapter/user_adapter.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 145 | | r#"SELECT id, email, name, phone_number, roles, created_at, updated_at FROM users"# [INFO] [stdout] 146 | | ) [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: `Duration` and `Utc` [INFO] [stdout] --> src/adapter/refresh_token_adapter.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Duration, Utc}; [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: `Duration` and `Utc` [INFO] [stdout] --> src/adapter/refresh_token_adapter.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Duration, Utc}; [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 `server_hex` (bin "server_hex") due to 28 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `server_hex` (bin "server_hex" test) due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d12c9bcde9300827bf77701cefaffc437ed9167dd895698842acbde3a676aaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12c9bcde9300827bf77701cefaffc437ed9167dd895698842acbde3a676aaba", kill_on_drop: false }` [INFO] [stdout] d12c9bcde9300827bf77701cefaffc437ed9167dd895698842acbde3a676aaba