[INFO] cloning repository https://github.com/richardhenry/nano-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richardhenry/nano-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhenry%2Fnano-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhenry%2Fnano-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb8189fccd3b288360235ea5be00e55fa160baf5 [INFO] checking richardhenry/nano-server against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhenry%2Fnano-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/richardhenry/nano-server [INFO] finished tweaking git repo https://github.com/richardhenry/nano-server [INFO] tweaked toml for git repo https://github.com/richardhenry/nano-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/richardhenry/nano-server on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/richardhenry/nano-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ba5812bb118e46c79e7325b4272e715b57bc00453b0278c630cbd44fe476b91 [INFO] running `Command { std: "docker" "start" "-a" "5ba5812bb118e46c79e7325b4272e715b57bc00453b0278c630cbd44fe476b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba5812bb118e46c79e7325b4272e715b57bc00453b0278c630cbd44fe476b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba5812bb118e46c79e7325b4272e715b57bc00453b0278c630cbd44fe476b91", kill_on_drop: false }` [INFO] [stdout] 5ba5812bb118e46c79e7325b4272e715b57bc00453b0278c630cbd44fe476b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 549c34da56c5e07433eec5c752b683599823eb68cffcc86c8c7fc4b5efe08d0b [INFO] running `Command { std: "docker" "start" "-a" "549c34da56c5e07433eec5c752b683599823eb68cffcc86c8c7fc4b5efe08d0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking value-bag v1.8.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling aws-types v1.2.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling crc32c v0.6.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Checking aws-smithy-xml v0.60.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking map-macro v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking rmp-serde v1.2.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking aws-smithy-async v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking bb8 v0.8.3 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking aws-smithy-types v1.1.8 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking rustis v0.13.1 [INFO] [stderr] Checking aws-smithy-runtime-api v1.4.0 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.4 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking aws-smithy-http v0.60.8 [INFO] [stderr] Checking aws-credential-types v1.2.0 [INFO] [stderr] Checking aws-sigv4 v1.2.0 [INFO] [stderr] Checking aws-smithy-checksums v0.60.7 [INFO] [stderr] Checking aws-runtime v1.2.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking aws-smithy-runtime v1.3.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking aws-sdk-sts v1.20.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.20.0 [INFO] [stderr] Checking aws-sdk-sso v1.20.0 [INFO] [stderr] Checking aws-sdk-s3 v1.23.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking aws-config v1.2.0 [INFO] [stderr] Checking rocket_ws v0.1.0 [INFO] [stderr] Checking nano-server 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/endpoint/healthz.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query!( [INFO] [stdout] 17 | | "INSERT INTO healthz (healthz) [INFO] [stdout] 18 | | VALUES (TRUE) [INFO] [stdout] 19 | | ON CONFLICT (healthz) DO NOTHING", [INFO] [stdout] 20 | | ) [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/endpoint/healthz.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query!( [INFO] [stdout] 17 | | "INSERT INTO healthz (healthz) [INFO] [stdout] 18 | | VALUES (TRUE) [INFO] [stdout] 19 | | ON CONFLICT (healthz) DO NOTHING", [INFO] [stdout] 20 | | ) [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/model/fetch/epoch_mac.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 49 | | EpochMac, [INFO] [stdout] 50 | | "SELECT [INFO] [stdout] 51 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 68 | | Self::limit() [INFO] [stdout] 69 | | ) [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/model/fetch/member.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 36 | | Member, [INFO] [stdout] 37 | | "SELECT * FROM member [INFO] [stdout] 38 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 49 | | Self::limit() [INFO] [stdout] 50 | | ) [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/model/fetch/member_recovery.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let mut items: Vec<_> = sqlx::query_as!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 96 | | MemberRecovery, [INFO] [stdout] 97 | | "SELECT * FROM member_recovery [INFO] [stdout] 98 | | WHERE user_id = $1 AND sender_session_id != $2 [INFO] [stdout] ... | [INFO] [stdout] 110 | | Self::limit() [INFO] [stdout] 111 | | ) [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/model/fetch/member_recovery.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | / sqlx::query_as!( [INFO] [stdout] 124 | | Member, [INFO] [stdout] 125 | | "SELECT * FROM member [INFO] [stdout] 126 | | WHERE user_id = $1 AND state = $2 [INFO] [stdout] ... | [INFO] [stdout] 140 | | Self::limit() [INFO] [stdout] 141 | | ) [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/model/fetch/member_virtual.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 49 | | VirtualMember, [INFO] [stdout] 50 | | "SELECT * FROM member_virtual [INFO] [stdout] 51 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 62 | | Self::limit() [INFO] [stdout] 63 | | ) [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/model/fetch/message.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 43 | | Message, [INFO] [stdout] 44 | | "SELECT [INFO] [stdout] 45 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 70 | | Self::limit() [INFO] [stdout] 71 | | ) [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/model/fetch/thread_activity.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 78 | | "SELECT thread_id, activity_timestamp, badge_timestamp [INFO] [stdout] 79 | | FROM thread [INFO] [stdout] 80 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 91 | | Self::limit() [INFO] [stdout] 92 | | ) [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/model/group/ban.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 25 | | Self, [INFO] [stdout] 26 | | "INSERT INTO group_ban (group_id, user_id, banned_by_user_id, timestamp) [INFO] [stdout] 27 | | VALUES ($1, $2, $3, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 32 | | self.banned_by_user_id, [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/group/ban.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let exists = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 51 | | "SELECT group_id, user_id FROM group_ban [INFO] [stdout] 52 | | WHERE group_id = $1 [INFO] [stdout] 53 | | AND user_id = $2", [INFO] [stdout] 54 | | group_id, [INFO] [stdout] 55 | | user_id [INFO] [stdout] 56 | | ) [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/model/group/epoch/entropy.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query!( [INFO] [stdout] 45 | | "INSERT INTO entropy ( [INFO] [stdout] 46 | | group_id, [INFO] [stdout] 47 | | epoch_id, [INFO] [stdout] ... | [INFO] [stdout] 57 | | self.ciphertext, [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/group/epoch/mac.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query!( [INFO] [stdout] 40 | | "INSERT INTO epoch_mac ( [INFO] [stdout] 41 | | group_id, [INFO] [stdout] 42 | | epoch_id, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.mac [INFO] [stdout] 51 | | ) [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/model/fetch/epoch_mac.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 49 | | EpochMac, [INFO] [stdout] 50 | | "SELECT [INFO] [stdout] 51 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 68 | | Self::limit() [INFO] [stdout] 69 | | ) [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/model/fetch/member.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 36 | | Member, [INFO] [stdout] 37 | | "SELECT * FROM member [INFO] [stdout] 38 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 49 | | Self::limit() [INFO] [stdout] 50 | | ) [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/model/fetch/member_recovery.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let mut items: Vec<_> = sqlx::query_as!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 96 | | MemberRecovery, [INFO] [stdout] 97 | | "SELECT * FROM member_recovery [INFO] [stdout] 98 | | WHERE user_id = $1 AND sender_session_id != $2 [INFO] [stdout] ... | [INFO] [stdout] 110 | | Self::limit() [INFO] [stdout] 111 | | ) [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/model/fetch/member_recovery.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | / sqlx::query_as!( [INFO] [stdout] 124 | | Member, [INFO] [stdout] 125 | | "SELECT * FROM member [INFO] [stdout] 126 | | WHERE user_id = $1 AND state = $2 [INFO] [stdout] ... | [INFO] [stdout] 140 | | Self::limit() [INFO] [stdout] 141 | | ) [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/model/fetch/member_virtual.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 49 | | VirtualMember, [INFO] [stdout] 50 | | "SELECT * FROM member_virtual [INFO] [stdout] 51 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 62 | | Self::limit() [INFO] [stdout] 63 | | ) [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/model/fetch/message.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 43 | | Message, [INFO] [stdout] 44 | | "SELECT [INFO] [stdout] 45 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 70 | | Self::limit() [INFO] [stdout] 71 | | ) [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/model/fetch/thread_activity.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 78 | | "SELECT thread_id, activity_timestamp, badge_timestamp [INFO] [stdout] 79 | | FROM thread [INFO] [stdout] 80 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 91 | | Self::limit() [INFO] [stdout] 92 | | ) [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/model/group/ban.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 25 | | Self, [INFO] [stdout] 26 | | "INSERT INTO group_ban (group_id, user_id, banned_by_user_id, timestamp) [INFO] [stdout] 27 | | VALUES ($1, $2, $3, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 32 | | self.banned_by_user_id, [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/group/ban.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let exists = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 51 | | "SELECT group_id, user_id FROM group_ban [INFO] [stdout] 52 | | WHERE group_id = $1 [INFO] [stdout] 53 | | AND user_id = $2", [INFO] [stdout] 54 | | group_id, [INFO] [stdout] 55 | | user_id [INFO] [stdout] 56 | | ) [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/model/group/epoch/entropy.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query!( [INFO] [stdout] 45 | | "INSERT INTO entropy ( [INFO] [stdout] 46 | | group_id, [INFO] [stdout] 47 | | epoch_id, [INFO] [stdout] ... | [INFO] [stdout] 57 | | self.ciphertext, [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/group/invite.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | Self, [INFO] [stdout] 36 | | "INSERT INTO invite ( [INFO] [stdout] 37 | | token, [INFO] [stdout] ... | [INFO] [stdout] 49 | | self.lifetime, [INFO] [stdout] 50 | | ) [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/model/group/invite.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query_as!( [INFO] [stdout] 62 | | Self, [INFO] [stdout] 63 | | "SELECT * FROM invite [INFO] [stdout] 64 | | WHERE token = $1 AND ( [INFO] [stdout] ... | [INFO] [stdout] 68 | | token [INFO] [stdout] 69 | | ) [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/model/group/epoch/mac.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query!( [INFO] [stdout] 40 | | "INSERT INTO epoch_mac ( [INFO] [stdout] 41 | | group_id, [INFO] [stdout] 42 | | epoch_id, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.mac [INFO] [stdout] 51 | | ) [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/model/group/member.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 77 | | Self, [INFO] [stdout] 78 | | "INSERT INTO member ( [INFO] [stdout] 79 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 95 | | self.state as i16, [INFO] [stdout] 96 | | ) [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/model/group/member.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / sqlx::query_as!( [INFO] [stdout] 113 | | Self, [INFO] [stdout] 114 | | "UPDATE member [INFO] [stdout] 115 | | SET state = $1, [INFO] [stdout] ... | [INFO] [stdout] 123 | | user_id [INFO] [stdout] 124 | | ) [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/model/group/member.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 134 | | "SELECT group_id, user_id FROM member [INFO] [stdout] 135 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] 136 | | group_id, [INFO] [stdout] 137 | | user_id, [INFO] [stdout] 138 | | MemberState::Live as i16, [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/model/group/member.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | "SELECT group_id, user_id FROM member [INFO] [stdout] 156 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] 157 | | group_id, [INFO] [stdout] 158 | | user_id, [INFO] [stdout] 159 | | MemberState::Historic as i16, [INFO] [stdout] 160 | | ) [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/model/group/member.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | / sqlx::query_as!( [INFO] [stdout] 172 | | Self, [INFO] [stdout] 173 | | "SELECT * FROM member [INFO] [stdout] 174 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] ... | [INFO] [stdout] 177 | | MemberState::Live as i16, [INFO] [stdout] 178 | | ) [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/model/group/member.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query_as!( [INFO] [stdout] 192 | | Self, [INFO] [stdout] 193 | | "SELECT * FROM member [INFO] [stdout] 194 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] ... | [INFO] [stdout] 197 | | MemberState::Historic as i16, [INFO] [stdout] 198 | | ) [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/model/group/member.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / sqlx::query_as!( [INFO] [stdout] 208 | | Self, [INFO] [stdout] 209 | | "SELECT * FROM member [INFO] [stdout] 210 | | WHERE group_id = $1 AND user_id = $2", [INFO] [stdout] 211 | | group_id, [INFO] [stdout] 212 | | user_id, [INFO] [stdout] 213 | | ) [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/model/group/member.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / sqlx::query_as!( [INFO] [stdout] 227 | | Self, [INFO] [stdout] 228 | | "SELECT * FROM member [INFO] [stdout] 229 | | WHERE group_id = $1 AND user_id = $2", [INFO] [stdout] 230 | | group_id, [INFO] [stdout] 231 | | user_id, [INFO] [stdout] 232 | | ) [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/model/group/member.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / sqlx::query_as!( [INFO] [stdout] 242 | | Self, [INFO] [stdout] 243 | | "SELECT * FROM member [INFO] [stdout] 244 | | WHERE group_id = $1 AND state = $2", [INFO] [stdout] 245 | | group_id, [INFO] [stdout] 246 | | MemberState::Live as i16, [INFO] [stdout] 247 | | ) [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/model/group/member.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / sqlx::query_as!( [INFO] [stdout] 257 | | Self, [INFO] [stdout] 258 | | "SELECT * FROM member [INFO] [stdout] 259 | | WHERE user_id = $1 AND state = $2", [INFO] [stdout] 260 | | user_id, [INFO] [stdout] 261 | | MemberState::Live as i16, [INFO] [stdout] 262 | | ) [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/model/group/member_recovery.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | Self, [INFO] [stdout] 32 | | "INSERT INTO member_recovery ( [INFO] [stdout] 33 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 55 | | self.sender_session_id, [INFO] [stdout] 56 | | ) [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/model/group/invite.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | Self, [INFO] [stdout] 36 | | "INSERT INTO invite ( [INFO] [stdout] 37 | | token, [INFO] [stdout] ... | [INFO] [stdout] 49 | | self.lifetime, [INFO] [stdout] 50 | | ) [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/model/group/invite.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query_as!( [INFO] [stdout] 62 | | Self, [INFO] [stdout] 63 | | "SELECT * FROM invite [INFO] [stdout] 64 | | WHERE token = $1 AND ( [INFO] [stdout] ... | [INFO] [stdout] 68 | | token [INFO] [stdout] 69 | | ) [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/model/group/member_virtual.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 59 | | Self, [INFO] [stdout] 60 | | "INSERT INTO member_virtual ( [INFO] [stdout] 61 | | virtual_id, [INFO] [stdout] ... | [INFO] [stdout] 81 | | self.signature, [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/group/member_virtual.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / sqlx::query!( [INFO] [stdout] 98 | | "UPDATE member_virtual [INFO] [stdout] 99 | | SET secrets = NULL, [INFO] [stdout] 100 | | timestamp = utms_now() [INFO] [stdout] ... | [INFO] [stdout] 103 | | owner_user_id [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/group/member_virtual.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 116 | | Self, [INFO] [stdout] 117 | | "SELECT * FROM member_virtual [INFO] [stdout] 118 | | WHERE virtual_id = $1 AND secrets IS NOT NULL", [INFO] [stdout] 119 | | virtual_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_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/model/group/member_virtual.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / sqlx::query_as!( [INFO] [stdout] 131 | | Self, [INFO] [stdout] 132 | | "SELECT * FROM member_virtual [INFO] [stdout] 133 | | WHERE group_id = $1 AND secrets IS NOT NULL [INFO] [stdout] 134 | | ORDER BY timestamp ASC", [INFO] [stdout] 135 | | group_id [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_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/model/group/member.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 77 | | Self, [INFO] [stdout] 78 | | "INSERT INTO member ( [INFO] [stdout] 79 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 95 | | self.state as i16, [INFO] [stdout] 96 | | ) [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/model/group/member.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / sqlx::query_as!( [INFO] [stdout] 113 | | Self, [INFO] [stdout] 114 | | "UPDATE member [INFO] [stdout] 115 | | SET state = $1, [INFO] [stdout] ... | [INFO] [stdout] 123 | | user_id [INFO] [stdout] 124 | | ) [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/model/group/member.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 134 | | "SELECT group_id, user_id FROM member [INFO] [stdout] 135 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] 136 | | group_id, [INFO] [stdout] 137 | | user_id, [INFO] [stdout] 138 | | MemberState::Live as i16, [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/model/group/member.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | "SELECT group_id, user_id FROM member [INFO] [stdout] 156 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] 157 | | group_id, [INFO] [stdout] 158 | | user_id, [INFO] [stdout] 159 | | MemberState::Historic as i16, [INFO] [stdout] 160 | | ) [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/model/group/member.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | / sqlx::query_as!( [INFO] [stdout] 172 | | Self, [INFO] [stdout] 173 | | "SELECT * FROM member [INFO] [stdout] 174 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] ... | [INFO] [stdout] 177 | | MemberState::Live as i16, [INFO] [stdout] 178 | | ) [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/model/group/member.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query_as!( [INFO] [stdout] 192 | | Self, [INFO] [stdout] 193 | | "SELECT * FROM member [INFO] [stdout] 194 | | WHERE group_id = $1 AND user_id = $2 AND state = $3", [INFO] [stdout] ... | [INFO] [stdout] 197 | | MemberState::Historic as i16, [INFO] [stdout] 198 | | ) [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/model/group/member.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / sqlx::query_as!( [INFO] [stdout] 208 | | Self, [INFO] [stdout] 209 | | "SELECT * FROM member [INFO] [stdout] 210 | | WHERE group_id = $1 AND user_id = $2", [INFO] [stdout] 211 | | group_id, [INFO] [stdout] 212 | | user_id, [INFO] [stdout] 213 | | ) [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/model/group/member.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / sqlx::query_as!( [INFO] [stdout] 227 | | Self, [INFO] [stdout] 228 | | "SELECT * FROM member [INFO] [stdout] 229 | | WHERE group_id = $1 AND user_id = $2", [INFO] [stdout] 230 | | group_id, [INFO] [stdout] 231 | | user_id, [INFO] [stdout] 232 | | ) [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/model/group/member.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / sqlx::query_as!( [INFO] [stdout] 242 | | Self, [INFO] [stdout] 243 | | "SELECT * FROM member [INFO] [stdout] 244 | | WHERE group_id = $1 AND state = $2", [INFO] [stdout] 245 | | group_id, [INFO] [stdout] 246 | | MemberState::Live as i16, [INFO] [stdout] 247 | | ) [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/model/group/metadata.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 69 | | Self, [INFO] [stdout] 70 | | "INSERT INTO metadata ( [INFO] [stdout] 71 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 93 | | self.signature, [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_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/model/group/member.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / sqlx::query_as!( [INFO] [stdout] 257 | | Self, [INFO] [stdout] 258 | | "SELECT * FROM member [INFO] [stdout] 259 | | WHERE user_id = $1 AND state = $2", [INFO] [stdout] 260 | | user_id, [INFO] [stdout] 261 | | MemberState::Live as i16, [INFO] [stdout] 262 | | ) [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/model/group/metadata.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / sqlx::query_as!( [INFO] [stdout] 106 | | Metadata, [INFO] [stdout] 107 | | "SELECT * FROM metadata WHERE group_id = $1", [INFO] [stdout] 108 | | group_id [INFO] [stdout] 109 | | ) [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/model/group/member_recovery.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | Self, [INFO] [stdout] 32 | | "INSERT INTO member_recovery ( [INFO] [stdout] 33 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 55 | | self.sender_session_id, [INFO] [stdout] 56 | | ) [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/model/group/role/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | / sqlx::query!( [INFO] [stdout] 316 | | "DELETE FROM role [INFO] [stdout] 317 | | WHERE group_id = $1 AND user_id = $2", [INFO] [stdout] 318 | | group_id, [INFO] [stdout] 319 | | user_id [INFO] [stdout] 320 | | ) [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/model/group/role/mod.rs:336:22 [INFO] [stdout] | [INFO] [stdout] 336 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 337 | | "SELECT group_id, user_id FROM role [INFO] [stdout] 338 | | WHERE group_id = $1 [INFO] [stdout] 339 | | AND user_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 343 | | permission as i16 [INFO] [stdout] 344 | | ) [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/model/group/role/mod.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 362 | | "SELECT group_id, user_id FROM role [INFO] [stdout] 363 | | WHERE group_id = $1 [INFO] [stdout] 364 | | AND user_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 368 | | permission as i16 [INFO] [stdout] 369 | | ) [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/model/group/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 30 | | Self, [INFO] [stdout] 31 | | "INSERT INTO \"group\" (group_id, timestamp) [INFO] [stdout] 32 | | VALUES ($1, utms_now()) [INFO] [stdout] 33 | | RETURNING *", [INFO] [stdout] 34 | | self.group_id, [INFO] [stdout] 35 | | ) [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/model/group/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query_as!( [INFO] [stdout] 47 | | Self, [INFO] [stdout] 48 | | "SELECT * FROM \"group\" [INFO] [stdout] 49 | | WHERE group_id = $1", [INFO] [stdout] 50 | | group_id [INFO] [stdout] 51 | | ) [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/model/group/member_virtual.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 59 | | Self, [INFO] [stdout] 60 | | "INSERT INTO member_virtual ( [INFO] [stdout] 61 | | virtual_id, [INFO] [stdout] ... | [INFO] [stdout] 81 | | self.signature, [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/group/member_virtual.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / sqlx::query!( [INFO] [stdout] 98 | | "UPDATE member_virtual [INFO] [stdout] 99 | | SET secrets = NULL, [INFO] [stdout] 100 | | timestamp = utms_now() [INFO] [stdout] ... | [INFO] [stdout] 103 | | owner_user_id [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/group/member_virtual.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 116 | | Self, [INFO] [stdout] 117 | | "SELECT * FROM member_virtual [INFO] [stdout] 118 | | WHERE virtual_id = $1 AND secrets IS NOT NULL", [INFO] [stdout] 119 | | virtual_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_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/model/group/member_virtual.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / sqlx::query_as!( [INFO] [stdout] 131 | | Self, [INFO] [stdout] 132 | | "SELECT * FROM member_virtual [INFO] [stdout] 133 | | WHERE group_id = $1 AND secrets IS NOT NULL [INFO] [stdout] 134 | | ORDER BY timestamp ASC", [INFO] [stdout] 135 | | group_id [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_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/model/group/metadata.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 69 | | Self, [INFO] [stdout] 70 | | "INSERT INTO metadata ( [INFO] [stdout] 71 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 93 | | self.signature, [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_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/model/group/metadata.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / sqlx::query_as!( [INFO] [stdout] 106 | | Metadata, [INFO] [stdout] 107 | | "SELECT * FROM metadata WHERE group_id = $1", [INFO] [stdout] 108 | | group_id [INFO] [stdout] 109 | | ) [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/model/message/delete.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!( [INFO] [stdout] 28 | | Message, [INFO] [stdout] 29 | | "UPDATE message [INFO] [stdout] 30 | | SET epoch_id = NULL, [INFO] [stdout] ... | [INFO] [stdout] 55 | | self.message_type as i16 [INFO] [stdout] 56 | | ) [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/model/message/update.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 45 | | Message, [INFO] [stdout] 46 | | "INSERT INTO message ( [INFO] [stdout] 47 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 81 | | &self.signature, [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/message/update.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 113 | | Message, [INFO] [stdout] 114 | | "UPDATE message [INFO] [stdout] 115 | | SET epoch_id = $1, [INFO] [stdout] ... | [INFO] [stdout] 145 | | self.message_type as i16 [INFO] [stdout] 146 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/group/role/mod.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | / sqlx::query!( [INFO] [stdout] 316 | | "DELETE FROM role [INFO] [stdout] 317 | | WHERE group_id = $1 AND user_id = $2", [INFO] [stdout] 318 | | group_id, [INFO] [stdout] 319 | | user_id [INFO] [stdout] 320 | | ) [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/model/group/role/mod.rs:336:22 [INFO] [stdout] | [INFO] [stdout] 336 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 337 | | "SELECT group_id, user_id FROM role [INFO] [stdout] 338 | | WHERE group_id = $1 [INFO] [stdout] 339 | | AND user_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 343 | | permission as i16 [INFO] [stdout] 344 | | ) [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/model/group/role/mod.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 362 | | "SELECT group_id, user_id FROM role [INFO] [stdout] 363 | | WHERE group_id = $1 [INFO] [stdout] 364 | | AND user_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 368 | | permission as i16 [INFO] [stdout] 369 | | ) [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/model/group/mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 30 | | Self, [INFO] [stdout] 31 | | "INSERT INTO \"group\" (group_id, timestamp) [INFO] [stdout] 32 | | VALUES ($1, utms_now()) [INFO] [stdout] 33 | | RETURNING *", [INFO] [stdout] 34 | | self.group_id, [INFO] [stdout] 35 | | ) [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/model/group/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query_as!( [INFO] [stdout] 47 | | Self, [INFO] [stdout] 48 | | "SELECT * FROM \"group\" [INFO] [stdout] 49 | | WHERE group_id = $1", [INFO] [stdout] 50 | | group_id [INFO] [stdout] 51 | | ) [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/model/message/delete.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / sqlx::query_as!( [INFO] [stdout] 28 | | Message, [INFO] [stdout] 29 | | "UPDATE message [INFO] [stdout] 30 | | SET epoch_id = NULL, [INFO] [stdout] ... | [INFO] [stdout] 55 | | self.message_type as i16 [INFO] [stdout] 56 | | ) [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/model/message/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / sqlx::query_as!( [INFO] [stdout] 118 | | Self, [INFO] [stdout] 119 | | "SELECT [INFO] [stdout] 120 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 135 | | message_id [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_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/model/message/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / sqlx::query_as!( [INFO] [stdout] 150 | | Self, [INFO] [stdout] 151 | | "SELECT [INFO] [stdout] 152 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 171 | | MessageType::Message as i16 [INFO] [stdout] 172 | | ) [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/model/message/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query_as!( [INFO] [stdout] 186 | | Self, [INFO] [stdout] 187 | | "SELECT [INFO] [stdout] 188 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 207 | | MessageType::Message as i16 [INFO] [stdout] 208 | | ) [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/model/message/mod.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 223 | | "SELECT COUNT(*) as count [INFO] [stdout] 224 | | FROM message [INFO] [stdout] 225 | | WHERE group_id = $1 AND thread_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 232 | | after_timestamp [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/model/push.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query!( [INFO] [stdout] 43 | | "DELETE FROM push [INFO] [stdout] 44 | | WHERE platform = $1 AND token = $2 [INFO] [stdout] 45 | | AND (user_id != $3 OR session_id != $4)", [INFO] [stdout] ... | [INFO] [stdout] 49 | | self.session_id, [INFO] [stdout] 50 | | ) [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/model/message/update.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 45 | | Message, [INFO] [stdout] 46 | | "INSERT INTO message ( [INFO] [stdout] 47 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 81 | | &self.signature, [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/push.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 55 | | Self, [INFO] [stdout] 56 | | "INSERT INTO push (user_id, session_id, platform, token, sandbox, timestamp) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 68 | | self.sandbox, [INFO] [stdout] 69 | | ) [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/model/push.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | sqlx::query_as!(Push, "SELECT * FROM push WHERE user_id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/message/update.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 113 | | Message, [INFO] [stdout] 114 | | "UPDATE message [INFO] [stdout] 115 | | SET epoch_id = $1, [INFO] [stdout] ... | [INFO] [stdout] 145 | | self.message_type as i16 [INFO] [stdout] 146 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/push.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / sqlx::query!( [INFO] [stdout] 118 | | "DELETE FROM push [INFO] [stdout] 119 | | WHERE user_id = $1 AND session_id = $2", [INFO] [stdout] 120 | | user_id, [INFO] [stdout] 121 | | session_id, [INFO] [stdout] 122 | | ) [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/model/push.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | "DELETE FROM push [INFO] [stdout] 138 | | WHERE platform = $1 AND token = $2", [INFO] [stdout] 139 | | platform as i16, [INFO] [stdout] 140 | | token [INFO] [stdout] 141 | | ) [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/model/read_state.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query_as!( [INFO] [stdout] 37 | | ReadState, [INFO] [stdout] 38 | | "SELECT group_id, thread_id, timestamp, force_unread FROM read_state [INFO] [stdout] 39 | | WHERE user_id = $1 AND group_id = $2 AND thread_id IS NULL", [INFO] [stdout] 40 | | user_id, [INFO] [stdout] 41 | | group_id [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/read_state.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / sqlx::query_as!( [INFO] [stdout] 57 | | ReadState, [INFO] [stdout] 58 | | "SELECT group_id, thread_id, timestamp, force_unread FROM read_state [INFO] [stdout] 59 | | WHERE user_id = $1 AND group_id = $2 AND thread_id = $3", [INFO] [stdout] ... | [INFO] [stdout] 62 | | thread_id [INFO] [stdout] 63 | | ) [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/model/read_state.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 73 | | Self, [INFO] [stdout] 74 | | "INSERT INTO read_state (user_id, group_id, thread_id, timestamp, force_unread) [INFO] [stdout] 75 | | VALUES ($1, $2, $3, utms_now(), $4) [INFO] [stdout] ... | [INFO] [stdout] 92 | | self.force_unread [INFO] [stdout] 93 | | ) [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/model/message/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / sqlx::query_as!( [INFO] [stdout] 118 | | Self, [INFO] [stdout] 119 | | "SELECT [INFO] [stdout] 120 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 135 | | message_id [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_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/model/message/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / sqlx::query_as!( [INFO] [stdout] 150 | | Self, [INFO] [stdout] 151 | | "SELECT [INFO] [stdout] 152 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 171 | | MessageType::Message as i16 [INFO] [stdout] 172 | | ) [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/model/message/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query_as!( [INFO] [stdout] 186 | | Self, [INFO] [stdout] 187 | | "SELECT [INFO] [stdout] 188 | | group_id, [INFO] [stdout] ... | [INFO] [stdout] 207 | | MessageType::Message as i16 [INFO] [stdout] 208 | | ) [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/model/message/mod.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 223 | | "SELECT COUNT(*) as count [INFO] [stdout] 224 | | FROM message [INFO] [stdout] 225 | | WHERE group_id = $1 AND thread_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 232 | | after_timestamp [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/model/register.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | Self, [INFO] [stdout] 23 | | "INSERT INTO register (token, email, timestamp) [INFO] [stdout] 24 | | VALUES ($1, $2, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 30 | | email, [INFO] [stdout] 31 | | ) [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/model/register.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | Self, [INFO] [stdout] 42 | | "SELECT * FROM register [INFO] [stdout] 43 | | WHERE email = $1 AND timestamp + $2 > utms_now()", [INFO] [stdout] 44 | | email, [INFO] [stdout] 45 | | LIFETIME, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/register.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | Self, [INFO] [stdout] 57 | | "SELECT * FROM register [INFO] [stdout] 58 | | WHERE token = $1 AND timestamp + $2 > utms_now()", [INFO] [stdout] 59 | | token, [INFO] [stdout] 60 | | LIFETIME, [INFO] [stdout] 61 | | ) [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/model/register.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query_as!( [INFO] [stdout] 71 | | Self, [INFO] [stdout] 72 | | "DELETE FROM register [INFO] [stdout] 73 | | WHERE token = $1 AND timestamp + $2 > utms_now() [INFO] [stdout] ... | [INFO] [stdout] 76 | | LIFETIME, [INFO] [stdout] 77 | | ) [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/model/push.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query!( [INFO] [stdout] 43 | | "DELETE FROM push [INFO] [stdout] 44 | | WHERE platform = $1 AND token = $2 [INFO] [stdout] 45 | | AND (user_id != $3 OR session_id != $4)", [INFO] [stdout] ... | [INFO] [stdout] 49 | | self.session_id, [INFO] [stdout] 50 | | ) [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/model/push.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 55 | | Self, [INFO] [stdout] 56 | | "INSERT INTO push (user_id, session_id, platform, token, sandbox, timestamp) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 68 | | self.sandbox, [INFO] [stdout] 69 | | ) [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/model/push.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | sqlx::query_as!(Push, "SELECT * FROM push WHERE user_id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/push.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / sqlx::query!( [INFO] [stdout] 118 | | "DELETE FROM push [INFO] [stdout] 119 | | WHERE user_id = $1 AND session_id = $2", [INFO] [stdout] 120 | | user_id, [INFO] [stdout] 121 | | session_id, [INFO] [stdout] 122 | | ) [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/model/push.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | "DELETE FROM push [INFO] [stdout] 138 | | WHERE platform = $1 AND token = $2", [INFO] [stdout] 139 | | platform as i16, [INFO] [stdout] 140 | | token [INFO] [stdout] 141 | | ) [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/model/secret.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | Self, [INFO] [stdout] 50 | | "INSERT INTO secret ( [INFO] [stdout] 51 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 68 | | self.ciphertext, [INFO] [stdout] 69 | | ) [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/model/secret.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query_as!( [INFO] [stdout] 86 | | Secret, [INFO] [stdout] 87 | | "SELECT secret_id, secret_type, object_id, ciphertext, timestamp [INFO] [stdout] 88 | | FROM secret [INFO] [stdout] ... | [INFO] [stdout] 95 | | object_id [INFO] [stdout] 96 | | ) [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/model/secret.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query_as!( [INFO] [stdout] 111 | | Secret, [INFO] [stdout] 112 | | "SELECT secret_id, secret_type, object_id, ciphertext, timestamp [INFO] [stdout] 113 | | FROM secret [INFO] [stdout] ... | [INFO] [stdout] 120 | | object_id [INFO] [stdout] 121 | | ) [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/model/read_state.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query_as!( [INFO] [stdout] 37 | | ReadState, [INFO] [stdout] 38 | | "SELECT group_id, thread_id, timestamp, force_unread FROM read_state [INFO] [stdout] 39 | | WHERE user_id = $1 AND group_id = $2 AND thread_id IS NULL", [INFO] [stdout] 40 | | user_id, [INFO] [stdout] 41 | | group_id [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/read_state.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / sqlx::query_as!( [INFO] [stdout] 57 | | ReadState, [INFO] [stdout] 58 | | "SELECT group_id, thread_id, timestamp, force_unread FROM read_state [INFO] [stdout] 59 | | WHERE user_id = $1 AND group_id = $2 AND thread_id = $3", [INFO] [stdout] ... | [INFO] [stdout] 62 | | thread_id [INFO] [stdout] 63 | | ) [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/model/session.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | Session, [INFO] [stdout] 57 | | "SELECT user_id, session_id, timestamp FROM session [INFO] [stdout] 58 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 62 | | session_id [INFO] [stdout] 63 | | ) [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/model/read_state.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 73 | | Self, [INFO] [stdout] 74 | | "INSERT INTO read_state (user_id, group_id, thread_id, timestamp, force_unread) [INFO] [stdout] 75 | | VALUES ($1, $2, $3, utms_now(), $4) [INFO] [stdout] ... | [INFO] [stdout] 92 | | self.force_unread [INFO] [stdout] 93 | | ) [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/model/session.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | Session, [INFO] [stdout] 74 | | "SELECT user_id, session_id, timestamp FROM session [INFO] [stdout] 75 | | WHERE token = $1 [INFO] [stdout] 76 | | AND delete_timestamp IS NULL", [INFO] [stdout] 77 | | token [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_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/model/session.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / sqlx::query!( [INFO] [stdout] 88 | | "UPDATE session [INFO] [stdout] 89 | | SET delete_timestamp = utms_now() [INFO] [stdout] 90 | | WHERE user_id = $1 AND session_id = $2", [INFO] [stdout] 91 | | user_id, [INFO] [stdout] 92 | | session_id [INFO] [stdout] 93 | | ) [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/model/session.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / sqlx::query!( [INFO] [stdout] 105 | | "UPDATE session [INFO] [stdout] 106 | | SET delete_timestamp = utms_now() [INFO] [stdout] 107 | | WHERE user_id = $1", [INFO] [stdout] 108 | | user_id [INFO] [stdout] 109 | | ) [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/model/session.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / sqlx::query_as!( [INFO] [stdout] 128 | | Self, [INFO] [stdout] 129 | | "INSERT INTO session (token, user_id, session_id, timestamp) [INFO] [stdout] 130 | | VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 142 | | user_id, [INFO] [stdout] 143 | | ) [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/model/register.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | Self, [INFO] [stdout] 23 | | "INSERT INTO register (token, email, timestamp) [INFO] [stdout] 24 | | VALUES ($1, $2, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 30 | | email, [INFO] [stdout] 31 | | ) [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/model/session.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 218 | | "INSERT INTO session (token, user_id, session_id, timestamp) [INFO] [stdout] 219 | | VALUES ($1, $2, 2147483646, utms_now()) [INFO] [stdout] 220 | | RETURNING *", [INFO] [stdout] 221 | | &check_byte_token::generate(), [INFO] [stdout] 222 | | user_id1, [INFO] [stdout] 223 | | ) [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/model/register.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | Self, [INFO] [stdout] 42 | | "SELECT * FROM register [INFO] [stdout] 43 | | WHERE email = $1 AND timestamp + $2 > utms_now()", [INFO] [stdout] 44 | | email, [INFO] [stdout] 45 | | LIFETIME, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/register.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | Self, [INFO] [stdout] 57 | | "SELECT * FROM register [INFO] [stdout] 58 | | WHERE token = $1 AND timestamp + $2 > utms_now()", [INFO] [stdout] 59 | | token, [INFO] [stdout] 60 | | LIFETIME, [INFO] [stdout] 61 | | ) [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/model/register.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query_as!( [INFO] [stdout] 71 | | Self, [INFO] [stdout] 72 | | "DELETE FROM register [INFO] [stdout] 73 | | WHERE token = $1 AND timestamp + $2 > utms_now() [INFO] [stdout] ... | [INFO] [stdout] 76 | | LIFETIME, [INFO] [stdout] 77 | | ) [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/model/setting/group.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | Self, [INFO] [stdout] 55 | | "SELECT * FROM group_setting [INFO] [stdout] 56 | | WHERE user_id = $1 AND group_id = $2 AND setting_type = $3", [INFO] [stdout] ... | [INFO] [stdout] 59 | | setting_type as i16 [INFO] [stdout] 60 | | ) [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/model/setting/group.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let value = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 76 | | "SELECT value FROM group_setting [INFO] [stdout] 77 | | WHERE user_id = $1 AND group_id = $2 AND setting_type = $3", [INFO] [stdout] 78 | | user_id, [INFO] [stdout] 79 | | group_id, [INFO] [stdout] 80 | | setting_type as i16 [INFO] [stdout] 81 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/setting/group.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 93 | | Self, [INFO] [stdout] 94 | | "INSERT INTO group_setting ( [INFO] [stdout] 95 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 109 | | self.value, [INFO] [stdout] 110 | | ) [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/model/secret.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | Self, [INFO] [stdout] 50 | | "INSERT INTO secret ( [INFO] [stdout] 51 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 68 | | self.ciphertext, [INFO] [stdout] 69 | | ) [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/model/secret.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query_as!( [INFO] [stdout] 86 | | Secret, [INFO] [stdout] 87 | | "SELECT secret_id, secret_type, object_id, ciphertext, timestamp [INFO] [stdout] 88 | | FROM secret [INFO] [stdout] ... | [INFO] [stdout] 95 | | object_id [INFO] [stdout] 96 | | ) [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/model/secret.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query_as!( [INFO] [stdout] 111 | | Secret, [INFO] [stdout] 112 | | "SELECT secret_id, secret_type, object_id, ciphertext, timestamp [INFO] [stdout] 113 | | FROM secret [INFO] [stdout] ... | [INFO] [stdout] 120 | | object_id [INFO] [stdout] 121 | | ) [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/model/session.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | Session, [INFO] [stdout] 57 | | "SELECT user_id, session_id, timestamp FROM session [INFO] [stdout] 58 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 62 | | session_id [INFO] [stdout] 63 | | ) [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/model/session.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | Session, [INFO] [stdout] 74 | | "SELECT user_id, session_id, timestamp FROM session [INFO] [stdout] 75 | | WHERE token = $1 [INFO] [stdout] 76 | | AND delete_timestamp IS NULL", [INFO] [stdout] 77 | | token [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_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/model/setting/secret.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | Self, [INFO] [stdout] 47 | | "SELECT * FROM secret_setting [INFO] [stdout] 48 | | WHERE user_id = $1 AND setting_type = $2", [INFO] [stdout] 49 | | user_id, [INFO] [stdout] 50 | | setting_type as i16 [INFO] [stdout] 51 | | ) [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/model/setting/secret.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 61 | | Self, [INFO] [stdout] 62 | | "INSERT INTO secret_setting (user_id, setting_type, ciphertext, timestamp) [INFO] [stdout] 63 | | VALUES ($1, $2, $3, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 70 | | self.ciphertext, [INFO] [stdout] 71 | | ) [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/model/session.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / sqlx::query!( [INFO] [stdout] 88 | | "UPDATE session [INFO] [stdout] 89 | | SET delete_timestamp = utms_now() [INFO] [stdout] 90 | | WHERE user_id = $1 AND session_id = $2", [INFO] [stdout] 91 | | user_id, [INFO] [stdout] 92 | | session_id [INFO] [stdout] 93 | | ) [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/model/session.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / sqlx::query!( [INFO] [stdout] 105 | | "UPDATE session [INFO] [stdout] 106 | | SET delete_timestamp = utms_now() [INFO] [stdout] 107 | | WHERE user_id = $1", [INFO] [stdout] 108 | | user_id [INFO] [stdout] 109 | | ) [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/model/session.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / sqlx::query_as!( [INFO] [stdout] 128 | | Self, [INFO] [stdout] 129 | | "INSERT INTO session (token, user_id, session_id, timestamp) [INFO] [stdout] 130 | | VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 142 | | user_id, [INFO] [stdout] 143 | | ) [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/model/setting/thread.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | Self, [INFO] [stdout] 52 | | "SELECT * FROM thread_setting [INFO] [stdout] 53 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 60 | | setting_type as i16 [INFO] [stdout] 61 | | ) [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/model/setting/thread.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let value = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 78 | | "SELECT value FROM thread_setting [INFO] [stdout] 79 | | WHERE user_id = $1 [INFO] [stdout] 80 | | AND group_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 86 | | setting_type as i16 [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/setting/group.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | Self, [INFO] [stdout] 55 | | "SELECT * FROM group_setting [INFO] [stdout] 56 | | WHERE user_id = $1 AND group_id = $2 AND setting_type = $3", [INFO] [stdout] ... | [INFO] [stdout] 59 | | setting_type as i16 [INFO] [stdout] 60 | | ) [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/model/setting/thread.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 99 | | Self, [INFO] [stdout] 100 | | "INSERT INTO thread_setting ( [INFO] [stdout] 101 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 117 | | self.value, [INFO] [stdout] 118 | | ) [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/model/setting/group.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let value = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 76 | | "SELECT value FROM group_setting [INFO] [stdout] 77 | | WHERE user_id = $1 AND group_id = $2 AND setting_type = $3", [INFO] [stdout] 78 | | user_id, [INFO] [stdout] 79 | | group_id, [INFO] [stdout] 80 | | setting_type as i16 [INFO] [stdout] 81 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/setting/group.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 93 | | Self, [INFO] [stdout] 94 | | "INSERT INTO group_setting ( [INFO] [stdout] 95 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 109 | | self.value, [INFO] [stdout] 110 | | ) [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/model/setting/secret.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | Self, [INFO] [stdout] 47 | | "SELECT * FROM secret_setting [INFO] [stdout] 48 | | WHERE user_id = $1 AND setting_type = $2", [INFO] [stdout] 49 | | user_id, [INFO] [stdout] 50 | | setting_type as i16 [INFO] [stdout] 51 | | ) [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/model/setting/secret.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 61 | | Self, [INFO] [stdout] 62 | | "INSERT INTO secret_setting (user_id, setting_type, ciphertext, timestamp) [INFO] [stdout] 63 | | VALUES ($1, $2, $3, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 70 | | self.ciphertext, [INFO] [stdout] 71 | | ) [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/model/thread.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let exists = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 11 | | "SELECT thread_id FROM thread [INFO] [stdout] 12 | | WHERE group_id = $1 AND thread_id = $2", [INFO] [stdout] 13 | | group_id, [INFO] [stdout] 14 | | thread_id [INFO] [stdout] 15 | | ) [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/model/thread.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let count = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 32 | | "SELECT COUNT(*) as count [INFO] [stdout] 33 | | FROM thread [INFO] [stdout] 34 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 37 | | after_timestamp [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/model/setting/thread.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | Self, [INFO] [stdout] 52 | | "SELECT * FROM thread_setting [INFO] [stdout] 53 | | WHERE user_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 60 | | setting_type as i16 [INFO] [stdout] 61 | | ) [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/model/thread.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / sqlx::query!( [INFO] [stdout] 61 | | "INSERT INTO thread (group_id, thread_id, activity_timestamp, badge_timestamp) [INFO] [stdout] 62 | | VALUES ($1, $2, $3, $3) [INFO] [stdout] 63 | | ON CONFLICT (group_id, thread_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 77 | | timestamp [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/model/thread.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | "INSERT INTO thread (group_id, thread_id, activity_timestamp, badge_timestamp) [INFO] [stdout] 84 | | VALUES ($1, $2, $3, $3) [INFO] [stdout] 85 | | ON CONFLICT (group_id, thread_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 94 | | timestamp [INFO] [stdout] 95 | | ) [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/model/setting/thread.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let value = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 78 | | "SELECT value FROM thread_setting [INFO] [stdout] 79 | | WHERE user_id = $1 [INFO] [stdout] 80 | | AND group_id = $2 [INFO] [stdout] ... | [INFO] [stdout] 86 | | setting_type as i16 [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/model/setting/thread.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 99 | | Self, [INFO] [stdout] 100 | | "INSERT INTO thread_setting ( [INFO] [stdout] 101 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 117 | | self.value, [INFO] [stdout] 118 | | ) [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/model/user/email.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 23 | | Self, [INFO] [stdout] 24 | | "INSERT INTO user_email (email, user_id, timestamp) [INFO] [stdout] 25 | | VALUES ($1, $2, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 29 | | self.user_id, [INFO] [stdout] 30 | | ) [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/model/user/email.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 47 | | "SELECT user_id FROM user_email [INFO] [stdout] 48 | | WHERE email = $1", [INFO] [stdout] 49 | | email [INFO] [stdout] 50 | | ) [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/model/thread.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let exists = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 11 | | "SELECT thread_id FROM thread [INFO] [stdout] 12 | | WHERE group_id = $1 AND thread_id = $2", [INFO] [stdout] 13 | | group_id, [INFO] [stdout] 14 | | thread_id [INFO] [stdout] 15 | | ) [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/model/thread.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let count = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 32 | | "SELECT COUNT(*) as count [INFO] [stdout] 33 | | FROM thread [INFO] [stdout] 34 | | WHERE group_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 37 | | after_timestamp [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/model/thread.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / sqlx::query!( [INFO] [stdout] 61 | | "INSERT INTO thread (group_id, thread_id, activity_timestamp, badge_timestamp) [INFO] [stdout] 62 | | VALUES ($1, $2, $3, $3) [INFO] [stdout] 63 | | ON CONFLICT (group_id, thread_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 77 | | timestamp [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/model/thread.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | "INSERT INTO thread (group_id, thread_id, activity_timestamp, badge_timestamp) [INFO] [stdout] 84 | | VALUES ($1, $2, $3, $3) [INFO] [stdout] 85 | | ON CONFLICT (group_id, thread_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 94 | | timestamp [INFO] [stdout] 95 | | ) [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/model/user/key.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | Self, [INFO] [stdout] 24 | | "INSERT INTO user_key (user_id, signing_key, timestamp) [INFO] [stdout] 25 | | VALUES ($1, $2, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 28 | | self.signing_key, [INFO] [stdout] 29 | | ) [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/model/user/key.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | UserKey, [INFO] [stdout] 42 | | "SELECT * FROM user_key [INFO] [stdout] 43 | | WHERE user_id = $1", [INFO] [stdout] 44 | | user_id [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/user/email.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let new = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 23 | | Self, [INFO] [stdout] 24 | | "INSERT INTO user_email (email, user_id, timestamp) [INFO] [stdout] 25 | | VALUES ($1, $2, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 29 | | self.user_id, [INFO] [stdout] 30 | | ) [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/model/user/email.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 47 | | "SELECT user_id FROM user_email [INFO] [stdout] 48 | | WHERE email = $1", [INFO] [stdout] 49 | | email [INFO] [stdout] 50 | | ) [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/model/user/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 28 | | Self, [INFO] [stdout] 29 | | "INSERT INTO \"user\" (user_id, name, image, timestamp) [INFO] [stdout] 30 | | VALUES ($1, $2, $3, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 34 | | self.image, [INFO] [stdout] 35 | | ) [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/model/user/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 47 | | Self, [INFO] [stdout] 48 | | "UPDATE \"user\" [INFO] [stdout] 49 | | SET name = $2, [INFO] [stdout] ... | [INFO] [stdout] 56 | | self.image, [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/user/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query_as!( [INFO] [stdout] 69 | | Self, [INFO] [stdout] 70 | | "SELECT * FROM \"user\" [INFO] [stdout] 71 | | WHERE user_id = $1 [INFO] [stdout] 72 | | ORDER BY timestamp DESC", [INFO] [stdout] 73 | | user_id [INFO] [stdout] 74 | | ) [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/model/user/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | Self, [INFO] [stdout] 85 | | "SELECT * FROM \"user\" [INFO] [stdout] 86 | | WHERE user_id = $1 [INFO] [stdout] 87 | | ORDER BY timestamp DESC", [INFO] [stdout] 88 | | user_id [INFO] [stdout] 89 | | ) [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/model/user/key.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | Self, [INFO] [stdout] 24 | | "INSERT INTO user_key (user_id, signing_key, timestamp) [INFO] [stdout] 25 | | VALUES ($1, $2, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 28 | | self.signing_key, [INFO] [stdout] 29 | | ) [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/model/user/key.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | UserKey, [INFO] [stdout] 42 | | "SELECT * FROM user_key [INFO] [stdout] 43 | | WHERE user_id = $1", [INFO] [stdout] 44 | | user_id [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/user/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 28 | | Self, [INFO] [stdout] 29 | | "INSERT INTO \"user\" (user_id, name, image, timestamp) [INFO] [stdout] 30 | | VALUES ($1, $2, $3, utms_now()) [INFO] [stdout] ... | [INFO] [stdout] 34 | | self.image, [INFO] [stdout] 35 | | ) [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/model/user/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | *self = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 47 | | Self, [INFO] [stdout] 48 | | "UPDATE \"user\" [INFO] [stdout] 49 | | SET name = $2, [INFO] [stdout] ... | [INFO] [stdout] 56 | | self.image, [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/model/user/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query_as!( [INFO] [stdout] 69 | | Self, [INFO] [stdout] 70 | | "SELECT * FROM \"user\" [INFO] [stdout] 71 | | WHERE user_id = $1 [INFO] [stdout] 72 | | ORDER BY timestamp DESC", [INFO] [stdout] 73 | | user_id [INFO] [stdout] 74 | | ) [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/model/user/mod.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | Self, [INFO] [stdout] 85 | | "SELECT * FROM \"user\" [INFO] [stdout] 86 | | WHERE user_id = $1 [INFO] [stdout] 87 | | ORDER BY timestamp DESC", [INFO] [stdout] 88 | | user_id [INFO] [stdout] 89 | | ) [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/test_utils.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let ts1 = sqlx::query!("SELECT utms_now() AS now") [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/test_utils.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let ts2 = sqlx::query!("SELECT utms_now() AS now") [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: `crate::check_byte_token` [INFO] [stdout] --> src/model/register.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::check_byte_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check_byte_token` [INFO] [stdout] --> src/model/register.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::check_byte_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nano-server` (lib) due to 83 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nano-server` (lib test) due to 86 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "549c34da56c5e07433eec5c752b683599823eb68cffcc86c8c7fc4b5efe08d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549c34da56c5e07433eec5c752b683599823eb68cffcc86c8c7fc4b5efe08d0b", kill_on_drop: false }` [INFO] [stdout] 549c34da56c5e07433eec5c752b683599823eb68cffcc86c8c7fc4b5efe08d0b