[INFO] cloning repository https://github.com/personalcodecare/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/personalcodecare/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpersonalcodecare%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpersonalcodecare%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba889f6327f5b96e1d93b0afc78f2b2ab682c0f1 [INFO] checking personalcodecare/zero2prod/ba889f6327f5b96e1d93b0afc78f2b2ab682c0f1 against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpersonalcodecare%2Fzero2prod" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/personalcodecare/zero2prod [INFO] finished tweaking git repo https://github.com/personalcodecare/zero2prod [INFO] tweaked toml for git repo https://github.com/personalcodecare/zero2prod written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/personalcodecare/zero2prod on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/personalcodecare/zero2prod 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-sessions-redis-store v0.12.0 [INFO] [stderr] Downloaded tower-sessions-memory-store v0.12.2 [INFO] [stderr] Downloaded tower-sessions-core v0.12.2 [INFO] [stderr] Downloaded reserve-port v2.0.1 [INFO] [stderr] Downloaded tower-sessions v0.12.2 [INFO] [stderr] Downloaded auto-future v1.0.0 [INFO] [stderr] Downloaded axum-flash v0.8.0 [INFO] [stderr] Downloaded rust-multipart-rfc7578_2 v0.6.1 [INFO] [stderr] Downloaded axum-test v15.0.1 [INFO] [stderr] Downloaded fake v2.9.2 [INFO] [stderr] Downloaded fred v8.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e5da70f3be1e6664f5cf7590788c22198ce87495b47eae20da08f337a5a12d7 [INFO] running `Command { std: "docker" "start" "-a" "1e5da70f3be1e6664f5cf7590788c22198ce87495b47eae20da08f337a5a12d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5da70f3be1e6664f5cf7590788c22198ce87495b47eae20da08f337a5a12d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5da70f3be1e6664f5cf7590788c22198ce87495b47eae20da08f337a5a12d7", kill_on_drop: false }` [INFO] [stdout] 1e5da70f3be1e6664f5cf7590788c22198ce87495b47eae20da08f337a5a12d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cae7193b50ffce155139f3b39dec24e2764a50b840dd3d24188938595ed39c50 [INFO] running `Command { std: "docker" "start" "-a" "cae7193b50ffce155139f3b39dec24e2764a50b840dd3d24188938595ed39c50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Checking reserve-port v2.0.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking auto-future v1.0.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking linkify v0.10.0 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.6.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking redis-protocol v4.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking serde-aux v4.5.0 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-sessions-core v0.12.2 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking tower-sessions-memory-store v0.12.2 [INFO] [stderr] Checking tower-sessions v0.12.2 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking fred v8.0.6 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking wiremock v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking axum-test v15.0.1 [INFO] [stderr] Checking axum-flash v0.8.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking tower-sessions-redis-store v0.12.0 [INFO] [stderr] Checking zero2prod 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/authentication/credentials.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | let row: Option<_> = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 91 | | r#"SELECT user_id, password_hash FROM users [INFO] [stdout] 92 | | WHERE username = $1"#, [INFO] [stdout] 93 | | username, [INFO] [stdout] 94 | | ) [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/authentication/credentials.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | let row: Option<_> = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 91 | | r#"SELECT user_id, password_hash FROM users [INFO] [stdout] 92 | | WHERE username = $1"#, [INFO] [stdout] 93 | | username, [INFO] [stdout] 94 | | ) [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/authentication/credentials.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / sqlx::query!( [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | UPDATE users SET password_hash = $1 [INFO] [stdout] 116 | | WHERE user_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 119 | | user_id [INFO] [stdout] 120 | | ) [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/authentication/credentials.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / sqlx::query!( [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | UPDATE users SET password_hash = $1 [INFO] [stdout] 116 | | WHERE user_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 119 | | user_id [INFO] [stdout] 120 | | ) [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/database/user_db.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT username [INFO] [stdout] 10 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 13 | | user_id, [INFO] [stdout] 14 | | ) [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/database/user_db.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT username [INFO] [stdout] 10 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 13 | | user_id, [INFO] [stdout] 14 | | ) [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/idempotency/persistence.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let saved_response = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 26 | | r#" [INFO] [stdout] 27 | | SELECT [INFO] [stdout] 28 | | response_status_code as "response_status_code!", [INFO] [stdout] ... | [INFO] [stdout] 37 | | idempotency_key.as_ref() [INFO] [stdout] 38 | | ) [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/idempotency/persistence.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let saved_response = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 26 | | r#" [INFO] [stdout] 27 | | SELECT [INFO] [stdout] 28 | | response_status_code as "response_status_code!", [INFO] [stdout] ... | [INFO] [stdout] 37 | | idempotency_key.as_ref() [INFO] [stdout] 38 | | ) [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/idempotency/persistence.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | let num_inserted_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | INSERT INTO idempotency ( [INFO] [stdout] 69 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 77 | | idempotency_key.as_ref() [INFO] [stdout] 78 | | ) [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/idempotency/persistence.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | let num_inserted_rows = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | INSERT INTO idempotency ( [INFO] [stdout] 69 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 77 | | idempotency_key.as_ref() [INFO] [stdout] 78 | | ) [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/idempotency/persistence.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / sqlx::query_unchecked!( [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | UPDATE idempotency [INFO] [stdout] 117 | | SET [INFO] [stdout] ... | [INFO] [stdout] 129 | | body.as_ref() [INFO] [stdout] 130 | | ) [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_unchecked` (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/idempotency/persistence.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / sqlx::query_unchecked!( [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | UPDATE idempotency [INFO] [stdout] 117 | | SET [INFO] [stdout] ... | [INFO] [stdout] 129 | | body.as_ref() [INFO] [stdout] 130 | | ) [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_unchecked` (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/issue_delivery_worker.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | SELECT newsletter_issue_id, subscriber_email [INFO] [stdout] 107 | | FROM issue_delivery_queue [INFO] [stdout] ... | [INFO] [stdout] 111 | | "#, [INFO] [stdout] 112 | | ) [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/issue_delivery_worker.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let r = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | SELECT newsletter_issue_id, subscriber_email [INFO] [stdout] 107 | | FROM issue_delivery_queue [INFO] [stdout] ... | [INFO] [stdout] 111 | | "#, [INFO] [stdout] 112 | | ) [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/issue_delivery_worker.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | DELETE FROM issue_delivery_queue [INFO] [stdout] 136 | | WHERE [INFO] [stdout] ... | [INFO] [stdout] 141 | | email [INFO] [stdout] 142 | | ); [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/issue_delivery_worker.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let issue = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 158 | | NewsletterIssue, [INFO] [stdout] 159 | | r#" [INFO] [stdout] 160 | | SELECT title, text_content, html_content [INFO] [stdout] ... | [INFO] [stdout] 165 | | issue_id [INFO] [stdout] 166 | | ) [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/issue_delivery_worker.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | DELETE FROM issue_delivery_queue [INFO] [stdout] 136 | | WHERE [INFO] [stdout] ... | [INFO] [stdout] 141 | | email [INFO] [stdout] 142 | | ); [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/issue_delivery_worker.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let issue = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 158 | | NewsletterIssue, [INFO] [stdout] 159 | | r#" [INFO] [stdout] 160 | | SELECT title, text_content, html_content [INFO] [stdout] ... | [INFO] [stdout] 165 | | issue_id [INFO] [stdout] 166 | | ) [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/routes/admin/newsletters.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / sqlx::query!( [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | INSERT INTO newsletter_issues ( [INFO] [stdout] 125 | | newsletter_issue_id, [INFO] [stdout] ... | [INFO] [stdout] 136 | | html_content [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/routes/admin/newsletters.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / sqlx::query!( [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | INSERT INTO newsletter_issues ( [INFO] [stdout] 125 | | newsletter_issue_id, [INFO] [stdout] ... | [INFO] [stdout] 136 | | html_content [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/routes/admin/newsletters.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / sqlx::query!( [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | INSERT INTO issue_delivery_queue ( [INFO] [stdout] 152 | | newsletter_issue_id, [INFO] [stdout] ... | [INFO] [stdout] 160 | | SubscriptionStatus::Confirmed.to_string() [INFO] [stdout] 161 | | ) [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/routes/admin/newsletters.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / sqlx::query!( [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | INSERT INTO issue_delivery_queue ( [INFO] [stdout] 152 | | newsletter_issue_id, [INFO] [stdout] ... | [INFO] [stdout] 160 | | SubscriptionStatus::Confirmed.to_string() [INFO] [stdout] 161 | | ) [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/routes/subscriptions.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 203 | | "SELECT id, name, email, status FROM subscriptions \ [INFO] [stdout] 204 | | WHERE email = $1", [INFO] [stdout] 205 | | email.as_ref() [INFO] [stdout] 206 | | ) [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/routes/subscriptions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | "SELECT subscription_token FROM subscription_tokens \ [INFO] [stdout] 231 | | WHERE subscriber_id = $1", [INFO] [stdout] 232 | | subscriber_id [INFO] [stdout] 233 | | ) [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/routes/subscriptions.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 203 | | "SELECT id, name, email, status FROM subscriptions \ [INFO] [stdout] 204 | | WHERE email = $1", [INFO] [stdout] 205 | | email.as_ref() [INFO] [stdout] 206 | | ) [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/routes/subscriptions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | "SELECT subscription_token FROM subscription_tokens \ [INFO] [stdout] 231 | | WHERE subscriber_id = $1", [INFO] [stdout] 232 | | subscriber_id [INFO] [stdout] 233 | | ) [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/routes/subscriptions.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / sqlx::query!( [INFO] [stdout] 251 | | r#" [INFO] [stdout] 252 | | INSERT INTO subscriptions (id, name, email, subscribed_at, status) [INFO] [stdout] 253 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 259 | | SubscriptionStatus::PendingConfirmation.to_string(), [INFO] [stdout] 260 | | ) [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/routes/subscriptions.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / sqlx::query!( [INFO] [stdout] 251 | | r#" [INFO] [stdout] 252 | | INSERT INTO subscriptions (id, name, email, subscribed_at, status) [INFO] [stdout] 253 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 259 | | SubscriptionStatus::PendingConfirmation.to_string(), [INFO] [stdout] 260 | | ) [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/routes/subscriptions.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | / sqlx::query!( [INFO] [stdout] 305 | | r#" [INFO] [stdout] 306 | | INSERT INTO subscription_tokens (subscription_token, subscriber_id) [INFO] [stdout] 307 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 310 | | subscriber_id, [INFO] [stdout] 311 | | ) [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/routes/subscriptions.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | / sqlx::query!( [INFO] [stdout] 305 | | r#" [INFO] [stdout] 306 | | INSERT INTO subscription_tokens (subscription_token, subscriber_id) [INFO] [stdout] 307 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 310 | | subscriber_id, [INFO] [stdout] 311 | | ) [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/routes/subscriptions_confirm.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / sqlx::query!( [INFO] [stdout] 104 | | r#"UPDATE subscriptions SET status = $1 WHERE id = $2"#, [INFO] [stdout] 105 | | SubscriptionStatus::Confirmed.to_string(), [INFO] [stdout] 106 | | subscriber_id, [INFO] [stdout] 107 | | ) [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/routes/subscriptions_confirm.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 120 | | "SELECT subscriber_id FROM subscription_tokens \ [INFO] [stdout] 121 | | WHERE subscription_token = $1", [INFO] [stdout] 122 | | subscription_token.as_str(), [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/routes/subscriptions_confirm.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 136 | | "SELECT status FROM subscriptions \ [INFO] [stdout] 137 | | WHERE id = $1", [INFO] [stdout] 138 | | subscriber_id, [INFO] [stdout] 139 | | ) [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/routes/subscriptions_confirm.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / sqlx::query!( [INFO] [stdout] 104 | | r#"UPDATE subscriptions SET status = $1 WHERE id = $2"#, [INFO] [stdout] 105 | | SubscriptionStatus::Confirmed.to_string(), [INFO] [stdout] 106 | | subscriber_id, [INFO] [stdout] 107 | | ) [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/routes/subscriptions_confirm.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 120 | | "SELECT subscriber_id FROM subscription_tokens \ [INFO] [stdout] 121 | | WHERE subscription_token = $1", [INFO] [stdout] 122 | | subscription_token.as_str(), [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/routes/subscriptions_confirm.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 136 | | "SELECT status FROM subscriptions \ [INFO] [stdout] 137 | | WHERE id = $1", [INFO] [stdout] 138 | | subscriber_id, [INFO] [stdout] 139 | | ) [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 import: `domain::SubscriptionStatus` [INFO] [stdout] --> src/routes/admin/newsletters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | domain::SubscriptionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `domain::SubscriptionStatus` [INFO] [stdout] --> src/routes/admin/newsletters.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | domain::SubscriptionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` (lib test) due to 18 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zero2prod` (lib) due to 18 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cae7193b50ffce155139f3b39dec24e2764a50b840dd3d24188938595ed39c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae7193b50ffce155139f3b39dec24e2764a50b840dd3d24188938595ed39c50", kill_on_drop: false }` [INFO] [stdout] cae7193b50ffce155139f3b39dec24e2764a50b840dd3d24188938595ed39c50