[INFO] cloning repository https://github.com/Xlaez/ex-todo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xlaez/ex-todo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXlaez%2Fex-todo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXlaez%2Fex-todo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f79e127b04d247fe126566450b679e2743925ce [INFO] checking Xlaez/ex-todo-api/8f79e127b04d247fe126566450b679e2743925ce against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXlaez%2Fex-todo-api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xlaez/ex-todo-api on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xlaez/ex-todo-api [INFO] finished tweaking git repo https://github.com/Xlaez/ex-todo-api [INFO] tweaked toml for git repo https://github.com/Xlaez/ex-todo-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Xlaez/ex-todo-api 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded httparse v1.9.1 [INFO] [stderr] Downloaded cloudinary v0.4.0 [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded polling v3.7.1 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95a46ba5ef07b6b604e3cd0e4cee6845c4f362d9ee5ca20c4d51e03f70fdb58f [INFO] running `Command { std: "docker" "start" "-a" "95a46ba5ef07b6b604e3cd0e4cee6845c4f362d9ee5ca20c4d51e03f70fdb58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a46ba5ef07b6b604e3cd0e4cee6845c4f362d9ee5ca20c4d51e03f70fdb58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a46ba5ef07b6b604e3cd0e4cee6845c4f362d9ee5ca20c4d51e03f70fdb58f", kill_on_drop: false }` [INFO] [stdout] 95a46ba5ef07b6b604e3cd0e4cee6845c4f362d9ee5ca20c4d51e03f70fdb58f [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad8ade15252d36374838d0a903aecb55b5004203660915695cbbf6d489d7d780 [INFO] running `Command { std: "docker" "start" "-a" "ad8ade15252d36374838d0a903aecb55b5004203660915695cbbf6d489d7d780", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking email-encoding v0.2.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.1 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [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 h2 v0.3.26 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cloudinary v0.4.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking todo-app 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/handlers/list.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | ... let query_result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 38 | | ... "INSERT INTO lists (user_id, title, descr, body, importance) VALUES ($1, $2, $3, $4, $5) RETURNING id, user_id, title, descr, b... [INFO] [stdout] 39 | | ... current_user.id, [INFO] [stdout] 40 | | ... body.title, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ... importance [INFO] [stdout] 44 | | ... ) [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/handlers/list.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | ... let query_result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 38 | | ... "INSERT INTO lists (user_id, title, descr, body, importance) VALUES ($1, $2, $3, $4, $5) RETURNING id, user_id, title, descr, b... [INFO] [stdout] 39 | | ... current_user.id, [INFO] [stdout] 40 | | ... body.title, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ... importance [INFO] [stdout] 44 | | ... ) [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/handlers/list.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | ... let query_result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 38 | | ... "INSERT INTO lists (user_id, title, descr, body, importance) VALUES ($1, $2, $3, $4, $5) RETURNING id, user_id, title, descr, b... [INFO] [stdout] 39 | | ... current_user.id, [INFO] [stdout] 40 | | ... body.title, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ... importance [INFO] [stdout] 44 | | ... ) [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/handlers/list.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | match sqlx::query!("SELECT * FROM lists WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/list.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let total_count = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | "SELECT COUNT(*) FROM lists WHERE user_id = $1 AND title ILIKE $2", [INFO] [stdout] 118 | | current_user.id, [INFO] [stdout] 119 | | search_pattern [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/handlers/list.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 131 | | "SELECT * FROM lists WHERE user_id = $1 AND title ILIKE $2 LIMIT $3 OFFSET $4", [INFO] [stdout] 132 | | current_user.id, [INFO] [stdout] 133 | | search_pattern, [INFO] [stdout] 134 | | page_size as i64, [INFO] [stdout] 135 | | offset [INFO] [stdout] 136 | | ) [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/handlers/list.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | let query_result = sqlx::query!("SELECT * FROM lists WHERE id = $1", body.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/handlers/list.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | ... match sqlx::query!("UPDATE lists SET title = $1, descr = $2, importance = $3, updated_at = $4 WHERE id = $5 RETURNING id, title, de... [INFO] [stdout] | _____________^ [INFO] [stdout] 200 | | ... body.title.as_deref().unwrap_or(&list.title), [INFO] [stdout] 201 | | ... body.descr.as_deref().unwrap_or_else(|| list.descr.as_deref().unwrap_or("")), [INFO] [stdout] 202 | | ... body.importance.unwrap_or(list.importance), [INFO] [stdout] 203 | | ... now, [INFO] [stdout] 204 | | ... list.id [INFO] [stdout] 205 | | ... ).fetch_one(&data.db).await { [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/handlers/list.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | let delete_request = sqlx::query!("DELETE FROM lists WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/list.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 267 | | "SELECT * FROM lists WHERE title = $1 AND user_id = $2", [INFO] [stdout] 268 | | title, [INFO] [stdout] 269 | | user_id [INFO] [stdout] 270 | | ) [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/handlers/user_and_auth.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 25 | | UserModel, [INFO] [stdout] 26 | | "INSERT INTO users (username,email,password,email_verified) VALUES ($1,$2,$3,$4) RETURNING *", [INFO] [stdout] 27 | | body.username.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 30 | | Some(false), [INFO] [stdout] 31 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | match sqlx::query_as!(UserModel, "SELECT * FROM users WHERE email = $1", email.to_string()).fetch_one(pool).await [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/handlers/user_and_auth.rs:153:48 [INFO] [stdout] | [INFO] [stdout] 153 | ... let query_result = sqlx::query_as!(UserModel, "UPDATE users SET email_verified=$1, updated_at=$2 WHERE email=$3 RETURNING *", [INFO] [stdout] | __________________________^ [INFO] [stdout] 154 | | ... Some(true), [INFO] [stdout] 155 | | ... now, [INFO] [stdout] 156 | | ... &body.email, [INFO] [stdout] 157 | | ... ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 193 | | OtpModel, [INFO] [stdout] 194 | | "SELECT * FROM otps WHERE otp = $1", [INFO] [stdout] 195 | | otp.to_string(), [INFO] [stdout] 196 | | ).fetch_one(pool).await [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/handlers/user_and_auth.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 205 | | OtpModel, [INFO] [stdout] 206 | | "INSERT INTO otps (email,otp) VALUES ($1,$2) RETURNING *", [INFO] [stdout] 207 | | otp_body.email, [INFO] [stdout] 208 | | otp_body.otp, [INFO] [stdout] 209 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | let query_result = sqlx::query_as!(UserModel, "UPDATE users SET img=$1, updated_at=$2 WHERE email=$3 RETURNING *", [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 254 | | result_str, [INFO] [stdout] 255 | | now, [INFO] [stdout] 256 | | ¤t_user.email, [INFO] [stdout] 257 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | let query_result = sqlx::query_as!(UserModel, "UPDATE users SET password=$1, updated_at=$2 WHERE email=$3 RETURNING *", [INFO] [stdout] | ________________________^ [INFO] [stdout] 303 | | hashed_password.to_string(), [INFO] [stdout] 304 | | now, [INFO] [stdout] 305 | | ¤t_user.email, [INFO] [stdout] 306 | | ).fetch_one(&data.db).await; [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/handlers/list.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | ... let query_result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 38 | | ... "INSERT INTO lists (user_id, title, descr, body, importance) VALUES ($1, $2, $3, $4, $5) RETURNING id, user_id, title, descr, b... [INFO] [stdout] 39 | | ... current_user.id, [INFO] [stdout] 40 | | ... body.title, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ... importance [INFO] [stdout] 44 | | ... ) [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/handlers/user_and_auth.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | let query_result = sqlx::query_as!(UserModel, "SELECT * FROM users WHERE username = $1", username).fetch_one(&data.db).await; [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/handlers/list.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | ... let query_result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 38 | | ... "INSERT INTO lists (user_id, title, descr, body, importance) VALUES ($1, $2, $3, $4, $5) RETURNING id, user_id, title, descr, b... [INFO] [stdout] 39 | | ... current_user.id, [INFO] [stdout] 40 | | ... body.title, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ... importance [INFO] [stdout] 44 | | ... ) [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/handlers/list.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | ... let query_result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 38 | | ... "INSERT INTO lists (user_id, title, descr, body, importance) VALUES ($1, $2, $3, $4, $5) RETURNING id, user_id, title, descr, b... [INFO] [stdout] 39 | | ... current_user.id, [INFO] [stdout] 40 | | ... body.title, [INFO] [stdout] ... | [INFO] [stdout] 43 | | ... importance [INFO] [stdout] 44 | | ... ) [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/handlers/list.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | match sqlx::query!("SELECT * FROM lists WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/list.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let total_count = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 117 | | "SELECT COUNT(*) FROM lists WHERE user_id = $1 AND title ILIKE $2", [INFO] [stdout] 118 | | current_user.id, [INFO] [stdout] 119 | | search_pattern [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/handlers/list.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 131 | | "SELECT * FROM lists WHERE user_id = $1 AND title ILIKE $2 LIMIT $3 OFFSET $4", [INFO] [stdout] 132 | | current_user.id, [INFO] [stdout] 133 | | search_pattern, [INFO] [stdout] 134 | | page_size as i64, [INFO] [stdout] 135 | | offset [INFO] [stdout] 136 | | ) [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/handlers/list.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | let query_result = sqlx::query!("SELECT * FROM lists WHERE id = $1", body.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/handlers/list.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | ... match sqlx::query!("UPDATE lists SET title = $1, descr = $2, importance = $3, updated_at = $4 WHERE id = $5 RETURNING id, title, de... [INFO] [stdout] | _____________^ [INFO] [stdout] 200 | | ... body.title.as_deref().unwrap_or(&list.title), [INFO] [stdout] 201 | | ... body.descr.as_deref().unwrap_or_else(|| list.descr.as_deref().unwrap_or("")), [INFO] [stdout] 202 | | ... body.importance.unwrap_or(list.importance), [INFO] [stdout] 203 | | ... now, [INFO] [stdout] 204 | | ... list.id [INFO] [stdout] 205 | | ... ).fetch_one(&data.db).await { [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/handlers/list.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | let delete_request = sqlx::query!("DELETE FROM lists WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/list.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 267 | | "SELECT * FROM lists WHERE title = $1 AND user_id = $2", [INFO] [stdout] 268 | | title, [INFO] [stdout] 269 | | user_id [INFO] [stdout] 270 | | ) [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/handlers/user_and_auth.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 25 | | UserModel, [INFO] [stdout] 26 | | "INSERT INTO users (username,email,password,email_verified) VALUES ($1,$2,$3,$4) RETURNING *", [INFO] [stdout] 27 | | body.username.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 30 | | Some(false), [INFO] [stdout] 31 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | match sqlx::query_as!(UserModel, "SELECT * FROM users WHERE email = $1", email.to_string()).fetch_one(pool).await [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/handlers/user_and_auth.rs:153:48 [INFO] [stdout] | [INFO] [stdout] 153 | ... let query_result = sqlx::query_as!(UserModel, "UPDATE users SET email_verified=$1, updated_at=$2 WHERE email=$3 RETURNING *", [INFO] [stdout] | __________________________^ [INFO] [stdout] 154 | | ... Some(true), [INFO] [stdout] 155 | | ... now, [INFO] [stdout] 156 | | ... &body.email, [INFO] [stdout] 157 | | ... ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 193 | | OtpModel, [INFO] [stdout] 194 | | "SELECT * FROM otps WHERE otp = $1", [INFO] [stdout] 195 | | otp.to_string(), [INFO] [stdout] 196 | | ).fetch_one(pool).await [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/handlers/user_and_auth.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let query_result = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 205 | | OtpModel, [INFO] [stdout] 206 | | "INSERT INTO otps (email,otp) VALUES ($1,$2) RETURNING *", [INFO] [stdout] 207 | | otp_body.email, [INFO] [stdout] 208 | | otp_body.otp, [INFO] [stdout] 209 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | let query_result = sqlx::query_as!(UserModel, "UPDATE users SET img=$1, updated_at=$2 WHERE email=$3 RETURNING *", [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 254 | | result_str, [INFO] [stdout] 255 | | now, [INFO] [stdout] 256 | | ¤t_user.email, [INFO] [stdout] 257 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | let query_result = sqlx::query_as!(UserModel, "UPDATE users SET password=$1, updated_at=$2 WHERE email=$3 RETURNING *", [INFO] [stdout] | ________________________^ [INFO] [stdout] 303 | | hashed_password.to_string(), [INFO] [stdout] 304 | | now, [INFO] [stdout] 305 | | ¤t_user.email, [INFO] [stdout] 306 | | ).fetch_one(&data.db).await; [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/handlers/user_and_auth.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | let query_result = sqlx::query_as!(UserModel, "SELECT * FROM users WHERE username = $1", username).fetch_one(&data.db).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/handlers/list.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{query, PgPool}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/handlers/list.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let page_size = (pagination.page_size.unwrap_or(10)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - let page_size = (pagination.page_size.unwrap_or(10)); [INFO] [stdout] 110 + let page_size = pagination.page_size.unwrap_or(10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/handlers/list.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{query, PgPool}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/handlers/list.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let page_size = (pagination.page_size.unwrap_or(10)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - let page_size = (pagination.page_size.unwrap_or(10)); [INFO] [stdout] 110 + let page_size = pagination.page_size.unwrap_or(10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-app` (bin "todo-app" 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 `todo-app` (bin "todo-app") due to 18 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ad8ade15252d36374838d0a903aecb55b5004203660915695cbbf6d489d7d780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8ade15252d36374838d0a903aecb55b5004203660915695cbbf6d489d7d780", kill_on_drop: false }` [INFO] [stdout] ad8ade15252d36374838d0a903aecb55b5004203660915695cbbf6d489d7d780