[INFO] fetching crate ragit-server 0.4.2... [INFO] building ragit-server-0.4.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate ragit-server 0.4.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ragit-server 0.4.2 [INFO] finished tweaking crates.io crate ragit-server 0.4.2 [INFO] tweaked toml for crates.io crate ragit-server 0.4.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ragit-server 0.4.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ragit-server 0.4.2 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ragit-api v0.4.2 [INFO] [stderr] Downloaded ragit-cli v0.4.2 [INFO] [stderr] Downloaded ragit-ignore v0.4.2 [INFO] [stderr] Downloaded ragit-pdl v0.4.2 [INFO] [stderr] Downloaded ragit-fs v0.4.2 [INFO] [stderr] Downloaded ragit v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 869776e94dab30a971c4e652b09441be02c0f469dddcc64c32a4d150f178a62a [INFO] running `Command { std: "docker" "start" "-a" "869776e94dab30a971c4e652b09441be02c0f469dddcc64c32a4d150f178a62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "869776e94dab30a971c4e652b09441be02c0f469dddcc64c32a4d150f178a62a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869776e94dab30a971c4e652b09441be02c0f469dddcc64c32a4d150f178a62a", kill_on_drop: false }` [INFO] [stdout] 869776e94dab30a971c4e652b09441be02c0f469dddcc64c32a4d150f178a62a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b3f7ddcbf5835bd6f2993629eddd16c2b4294f6fd7bf699a83600485bcbb024 [INFO] running `Command { std: "docker" "start" "-a" "4b3f7ddcbf5835bd6f2993629eddd16c2b4294f6fd7bf699a83600485bcbb024", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ragit-fs v0.4.2 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling ragit-pdl v0.4.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling ragit-api v0.4.2 [INFO] [stderr] Compiling ragit-ignore v0.4.2 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling ragit-cli v0.4.2 [INFO] [stderr] Compiling ragit v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling ragit-server v0.4.2 (/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/methods/admin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | sqlx::query!("DROP TABLE ai_model").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sqlx::query!("DROP TABLE api_key").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | sqlx::query!("DROP TABLE archive").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sqlx::query!("DROP TABLE chat").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sqlx::query!("DROP TABLE chat_history").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sqlx::query!("DROP TABLE chat_history_chunk_uid").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sqlx::query!("DROP TABLE issue").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sqlx::query!("DROP TABLE issue_comment").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sqlx::query!("DROP TABLE issue_comment_content_history").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | sqlx::query!("DROP TABLE issue_content_history").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | sqlx::query!("DROP TABLE push_session").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sqlx::query!("DROP TABLE repository").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | sqlx::query!("DROP TABLE repository_stat").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | sqlx::query!("DROP TABLE user_").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | sqlx::query!("DROP TABLE user_ai_model").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | sqlx::query!("TRUNCATE _sqlx_migrations").execute(pool).await?; // so that you can run `sqlx migrate run` again [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/methods/admin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | sqlx::query!("TRUNCATE ai_model").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | sqlx::query!("TRUNCATE api_key").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | sqlx::query!("TRUNCATE archive").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | sqlx::query!("TRUNCATE chat").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | sqlx::query!("TRUNCATE chat_history").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("TRUNCATE chat_history_chunk_uid").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | sqlx::query!("TRUNCATE issue").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | sqlx::query!("TRUNCATE issue_comment").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | sqlx::query!("TRUNCATE issue_comment_content_history").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | sqlx::query!("TRUNCATE issue_content_history").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sqlx::query!("TRUNCATE push_session").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | sqlx::query!("TRUNCATE repository").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query!("TRUNCATE repository_stat").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | sqlx::query!("TRUNCATE user_").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/methods/admin.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | sqlx::query!("TRUNCATE user_ai_model").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/ai_model.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / crate::query!( [INFO] [stdout] 94 | | "INSERT [INFO] [stdout] 95 | | INTO ai_model ( [INFO] [stdout] 96 | | id, [INFO] [stdout] ... | [INFO] [stdout] 153 | | &model.tags.clone(), [INFO] [stdout] 154 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | let mut models = crate::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 179 | | AiModel, [INFO] [stdout] 180 | | "SELECT [INFO] [stdout] 181 | | id, [INFO] [stdout] ... | [INFO] [stdout] 198 | | inner_offset, [INFO] [stdout] 199 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | let models = crate::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 252 | | AiModel, [INFO] [stdout] 253 | | "SELECT [INFO] [stdout] 254 | | id, [INFO] [stdout] ... | [INFO] [stdout] 272 | | offset, [INFO] [stdout] 273 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | let mut models = crate::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 279 | | AiModel, [INFO] [stdout] 280 | | "SELECT [INFO] [stdout] 281 | | id, [INFO] [stdout] ... | [INFO] [stdout] 301 | | offset, [INFO] [stdout] 302 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:317:16 [INFO] [stdout] | [INFO] [stdout] 317 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 318 | | "SELECT [INFO] [stdout] 319 | | ai_model.id, [INFO] [stdout] 320 | | ai_model.name, [INFO] [stdout] ... | [INFO] [stdout] 333 | | user, [INFO] [stdout] 334 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | / crate::query!( [INFO] [stdout] 368 | | "INSERT [INFO] [stdout] 369 | | INTO user_ai_model (user_, ai_model_id, api_key, default_model, added_at) [INFO] [stdout] 370 | | VALUES ($1, $2, $3, $4, NOW()) [INFO] [stdout] ... | [INFO] [stdout] 376 | | update.default_model, [INFO] [stdout] 377 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:382:16 [INFO] [stdout] | [INFO] [stdout] 382 | let name = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 383 | | "SELECT ai_model.name [INFO] [stdout] 384 | | FROM ai_model JOIN user_ai_model ON ai_model.id = user_ai_model.ai_model_id [INFO] [stdout] 385 | | WHERE user_ai_model.default_model = TRUE AND user_ai_model.user_ = $1", [INFO] [stdout] 386 | | user, [INFO] [stdout] 387 | | ).fetch_one(pool).await?.name; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:392:15 [INFO] [stdout] | [INFO] [stdout] 392 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 393 | | "SELECT [INFO] [stdout] 394 | | ai_model.name, [INFO] [stdout] 395 | | ai_model.api_name, [INFO] [stdout] ... | [INFO] [stdout] 407 | | model_name, [INFO] [stdout] 408 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | let model_id = crate::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 432 | | "SELECT ai_model.id [INFO] [stdout] 433 | | FROM ai_model JOIN user_ai_model ON user_ai_model.ai_model_id = ai_model.id [INFO] [stdout] 434 | | WHERE user_ai_model.user_ = $1 AND ai_model.name = $2", [INFO] [stdout] 435 | | user, [INFO] [stdout] 436 | | model, [INFO] [stdout] 437 | | ).fetch_one(pool).await?.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 `crate::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/models/ai_model.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | / crate::query!( [INFO] [stdout] 439 | | "UPDATE user_ai_model SET api_key = $1 WHERE user_ = $2 AND ai_model_id = $3", [INFO] [stdout] 440 | | api_key.as_ref().map(|s| s.as_str()), [INFO] [stdout] 441 | | user, [INFO] [stdout] 442 | | model_id, [INFO] [stdout] 443 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/ai_model.rs:449:20 [INFO] [stdout] | [INFO] [stdout] 449 | let model_id = crate::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 450 | | "SELECT ai_model.id [INFO] [stdout] 451 | | FROM ai_model JOIN user_ai_model ON user_ai_model.ai_model_id = ai_model.id [INFO] [stdout] 452 | | WHERE user_ai_model.user_ = $1 AND ai_model.name = $2", [INFO] [stdout] 453 | | user, [INFO] [stdout] 454 | | model, [INFO] [stdout] 455 | | ).fetch_one(pool).await?.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 `crate::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/models/ai_model.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | / crate::query!( [INFO] [stdout] 457 | | "UPDATE user_ai_model SET default_model = (ai_model_id = $1) WHERE user_ = $2", [INFO] [stdout] 458 | | model_id, [INFO] [stdout] 459 | | user, [INFO] [stdout] 460 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 22 | | "SELECT archive_id FROM archive WHERE session_id = $1", [INFO] [stdout] 23 | | session_id, [INFO] [stdout] 24 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | "SELECT blob_id [INFO] [stdout] 32 | | FROM archive [INFO] [stdout] 33 | | WHERE session_id = $1 AND archive_id = $2", [INFO] [stdout] 34 | | session_id, [INFO] [stdout] 35 | | archive_id, [INFO] [stdout] 36 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let curr_sessions = crate::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 43 | | "SELECT id FROM push_session WHERE repo_id = $1 AND session_state = 'going' LIMIT 1;", [INFO] [stdout] 44 | | repo_id, [INFO] [stdout] 45 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / crate::query!( [INFO] [stdout] 60 | | "INSERT [INFO] [stdout] 61 | | INTO push_session (id, repo_id, session_state, updated_at) [INFO] [stdout] 62 | | VALUES ($1, $2, 'going', NOW())", [INFO] [stdout] 63 | | &session_id, [INFO] [stdout] 64 | | repo_id, [INFO] [stdout] 65 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let curr_session = crate::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 71 | | "UPDATE push_session SET updated_at = NOW() WHERE id = $1", [INFO] [stdout] 72 | | session_id, [INFO] [stdout] 73 | | ).execute(pool).await?.rows_affected(); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / crate::query!( [INFO] [stdout] 87 | | "INSERT [INFO] [stdout] 88 | | INTO archive (session_id, archive_id, blob_size, blob_id, created_at) [INFO] [stdout] 89 | | VALUES ($1, $2, $3, $4, NOW())", [INFO] [stdout] ... | [INFO] [stdout] 93 | | &blob_id, [INFO] [stdout] 94 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / crate::query!( [INFO] [stdout] 108 | | "UPDATE push_session SET session_state = $1, updated_at = NOW() WHERE id = $2", [INFO] [stdout] 109 | | result.as_str(), [INFO] [stdout] 110 | | session_id, [INFO] [stdout] 111 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / crate::query!( [INFO] [stdout] 113 | | "UPDATE repository [INFO] [stdout] 114 | | SET [INFO] [stdout] 115 | | push_session_id = $1, [INFO] [stdout] ... | [INFO] [stdout] 120 | | repo_id, [INFO] [stdout] 121 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / crate::query!( [INFO] [stdout] 123 | | "INSERT [INFO] [stdout] 124 | | INTO repository_stat (repo_id, date_str, year, month, day, push, clone) [INFO] [stdout] 125 | | VALUES ($1, $2, $3, $4, $5, 1, 0) [INFO] [stdout] ... | [INFO] [stdout] 132 | | day as i32, [INFO] [stdout] 133 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | / crate::query!( [INFO] [stdout] 143 | | "INSERT [INFO] [stdout] 144 | | INTO repository_stat (repo_id, date_str, year, month, day, push, clone) [INFO] [stdout] 145 | | VALUES ($1, $2, $3, $4, $5, 0, 1) [INFO] [stdout] ... | [INFO] [stdout] 152 | | day as i32, [INFO] [stdout] 153 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/archive.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_row = crate::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 159 | | "SELECT archive_id FROM archive WHERE session_id = $1 ORDER BY created_at DESC LIMIT 1", [INFO] [stdout] 160 | | session_id, [INFO] [stdout] 161 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/auth.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 34 | | "SELECT user_, is_admin FROM api_key JOIN user_ ON api_key.user_ = user_.id WHERE api_key = $1 AND expire > NOW()", [INFO] [stdout] 35 | | api_key, [INFO] [stdout] 36 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/auth.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / crate::query!( [INFO] [stdout] 47 | | "INSERT INTO api_key (api_key, name, user_, expire) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 48 | | &key, [INFO] [stdout] 49 | | name, [INFO] [stdout] 50 | | user, [INFO] [stdout] 51 | | expire, [INFO] [stdout] 52 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/auth.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 58 | | "SELECT api_key, name, expire FROM api_key WHERE user_ = $1", [INFO] [stdout] 59 | | user, [INFO] [stdout] 60 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/auth.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 76 | | "SELECT salt, password FROM user_ WHERE id = $1", [INFO] [stdout] 77 | | user, [INFO] [stdout] 78 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/auth.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 87 | | "SELECT is_admin FROM user_ JOIN api_key ON api_key.user_ = user_.id WHERE api_key.api_key = $1", [INFO] [stdout] 88 | | api_key, [INFO] [stdout] 89 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 50 | | "INSERT INTO chat (repo_id, title, created_at, updated_at) VALUES ($1, NULL, NOW(), NOW()) RETURNING id", [INFO] [stdout] 51 | | repo_id, [INFO] [stdout] 52 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 59 | | "SELECT id, repo_id, title, created_at, updated_at FROM chat WHERE id = $1", [INFO] [stdout] 60 | | id, [INFO] [stdout] 61 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 93 | | "SELECT id, repo_id, title, created_at, updated_at FROM chat WHERE repo_id = $1 LIMIT $2 OFFSET $3", [INFO] [stdout] 94 | | repo_id, [INFO] [stdout] 95 | | limit, [INFO] [stdout] 96 | | offset, [INFO] [stdout] 97 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / crate::query!( [INFO] [stdout] 124 | | "UPDATE chat SET updated_at = $1 WHERE id = $2", [INFO] [stdout] 125 | | now, [INFO] [stdout] 126 | | chat_id, [INFO] [stdout] 127 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let chat_history_id = crate::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 135 | | "INSERT [INFO] [stdout] 136 | | INTO chat_history (chat_id, turn, user_, model, query, response, multi_turn_schema, created_at) [INFO] [stdout] 137 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8) [INFO] [stdout] ... | [INFO] [stdout] 146 | | now, [INFO] [stdout] 147 | | ).fetch_one(pool).await?.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 `crate::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/models/chat.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / crate::query!( [INFO] [stdout] 151 | | "INSERT [INFO] [stdout] 152 | | INTO chat_history_chunk_uid (chat_history_id, seq, chunk_uid) [INFO] [stdout] 153 | | VALUES ($1, $2, $3)", [INFO] [stdout] ... | [INFO] [stdout] 156 | | chunk.uid.to_string(), [INFO] [stdout] 157 | | ).execute(pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 165 | | "SELECT id, query, response, user_, model, multi_turn_schema, created_at FROM chat_history WHERE chat_id = $1 ORDER BY turn", [INFO] [stdout] 166 | | chat_id, [INFO] [stdout] 167 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/chat.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let chunk_uids = crate::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 177 | | "SELECT chunk_uid FROM chat_history_chunk_uid WHERE chat_history_id = $1 ORDER BY seq", [INFO] [stdout] 178 | | row.id, [INFO] [stdout] 179 | | ).fetch_all(pool).await?.into_iter().map(|row| row.chunk_uid).collect(); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 76 | | "SELECT repository.id FROM repository JOIN user_ ON user_.id = $1 WHERE owner = user_.id AND repository.name = $2", [INFO] [stdout] 77 | | user, [INFO] [stdout] 78 | | repo, [INFO] [stdout] 79 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 92 | | "SELECT [INFO] [stdout] 93 | | repository.id, [INFO] [stdout] 94 | | repository.name AS repo_name, [INFO] [stdout] ... | [INFO] [stdout] 111 | | offset, [INFO] [stdout] 112 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 141 | | "SELECT [INFO] [stdout] 142 | | repository.id, [INFO] [stdout] 143 | | repository.name as name, [INFO] [stdout] ... | [INFO] [stdout] 156 | | repo_id, [INFO] [stdout] 157 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 176 | let rows = crate::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 177 | | "SELECT id FROM repository WHERE owner = $1 AND name = $2", [INFO] [stdout] 178 | | user, [INFO] [stdout] 179 | | repo, [INFO] [stdout] 180 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | let repo_id = crate::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 186 | | "INSERT [INFO] [stdout] 187 | | INTO repository ( [INFO] [stdout] 188 | | owner, [INFO] [stdout] ... | [INFO] [stdout] 235 | | repo.public_chat, [INFO] [stdout] 236 | | ).fetch_one(pool).await?.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 `crate::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/models/repo.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | / crate::query!( [INFO] [stdout] 243 | | "UPDATE repository [INFO] [stdout] 244 | | SET [INFO] [stdout] 245 | | description = $1, [INFO] [stdout] ... | [INFO] [stdout] 262 | | repo_id, [INFO] [stdout] 263 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let session_id = crate::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 269 | | "SELECT push_session_id FROM repository WHERE id = $1", [INFO] [stdout] 270 | | repo_id, [INFO] [stdout] 271 | | ).fetch_one(pool).await?.push_session_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 `crate::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/models/repo.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | let maybe_row = crate::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 284 | | "SELECT push, clone FROM repository_stat WHERE repo_id = $1 AND date_str = $2", [INFO] [stdout] 285 | | repo_id, [INFO] [stdout] 286 | | key, [INFO] [stdout] 287 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 297 | | "SELECT SUM(push) AS push, SUM(clone) AS clone FROM repository_stat WHERE repo_id = $1", [INFO] [stdout] 298 | | repo_id, [INFO] [stdout] 299 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | let row = crate::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 311 | | "SELECT owner, public_read, public_write, public_clone, public_push, public_chat FROM repository WHERE id = $1", [INFO] [stdout] 312 | | repo_id, [INFO] [stdout] 313 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/repo.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | / crate::query!( [INFO] [stdout] 352 | | "UPDATE repository SET search_index_built_at = NOW() WHERE id = $1", [INFO] [stdout] 353 | | repo_id, [INFO] [stdout] 354 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/user.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let rows = crate::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 47 | | UserSimple, [INFO] [stdout] 48 | | "SELECT id, name, email, public, created_at, last_login_at FROM user_ ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 49 | | limit, [INFO] [stdout] 50 | | offset, [INFO] [stdout] 51 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/user.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let rows = crate::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | UserSimple, [INFO] [stdout] 59 | | "SELECT id, name, email, public, created_at, last_login_at FROM user_ WHERE public = TRUE ORDER BY id LIMIT $1 OFFSET $2", [INFO] [stdout] 60 | | limit, [INFO] [stdout] 61 | | offset, [INFO] [stdout] 62 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/user.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let result = crate::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 70 | | UserDetail, [INFO] [stdout] 71 | | "SELECT id, name, email, public, readme, created_at, last_login_at FROM user_ WHERE id = $1", [INFO] [stdout] 72 | | id, [INFO] [stdout] 73 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/user.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / crate::query!( [INFO] [stdout] 83 | | "INSERT [INFO] [stdout] 84 | | INTO user_ ( [INFO] [stdout] 85 | | id, [INFO] [stdout] ... | [INFO] [stdout] 116 | | user.public, [INFO] [stdout] 117 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::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/models/user.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | let rows = crate::query!("SELECT id FROM user_ LIMIT 1").fetch_all(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `crate::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/ai_model.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let mut models = crate::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | if models.is_empty() { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `models` an explicit type [INFO] [stdout] | [INFO] [stdout] 178 | let mut models: /* Type */ = crate::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/ai_model.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let mut models = crate::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | models = models.into_iter().filter( [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `models` an explicit type [INFO] [stdout] | [INFO] [stdout] 278 | let mut models: /* Type */ = crate::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/ai_model.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | let mut result = Vec::with_capacity(rows.len()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 317 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/archive.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(rows.into_iter().map(|row| row.archive_id).collect()) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/archive.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let curr_sessions = crate::query!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | if curr_sessions.len() > 0 { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `curr_sessions` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let curr_sessions: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/archive.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | ).execute(pool).await?.rows_affected(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/archive.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_row = crate::query!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | match maybe_row.get(0) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `maybe_row` an explicit type [INFO] [stdout] | [INFO] [stdout] 158 | let maybe_row: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/auth.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | match rows.get(0) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/auth.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | let mut result = Vec::with_capacity(rows.len()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 57 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/auth.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | match rows.get(0) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/chat.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | for row in rows.iter() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/chat.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | for row in rows.iter() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 164 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/models/chat.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | let multi_turn_schema = if let Some(multi_turn_schema) = &row.multi_turn_schema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/option.rs:602:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/chat.rs:179:34 [INFO] [stdout] | [INFO] [stdout] 179 | ).fetch_all(pool).await?.into_iter().map(|row| row.chunk_uid).collect(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/repo.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | let mut result = Vec::with_capacity(rows.len()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 91 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/repo.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let rows = crate::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | Ok(!rows.is_empty()) [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 176 | let rows: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/repo.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let maybe_row = crate::query!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | match maybe_row.get(0) { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `maybe_row` an explicit type [INFO] [stdout] | [INFO] [stdout] 283 | let maybe_row: /* Type */ = crate::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/models/user.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let rows = crate::query!("SELECT id FROM user_ LIMIT 1").fetch_all(pool).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | Ok(rows.len() == 0) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let rows: /* Type */ = crate::query!("SELECT id FROM user_ LIMIT 1").fetch_all(pool).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ragit-server` (lib) due to 101 previous errors [INFO] running `Command { std: "docker" "inspect" "4b3f7ddcbf5835bd6f2993629eddd16c2b4294f6fd7bf699a83600485bcbb024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3f7ddcbf5835bd6f2993629eddd16c2b4294f6fd7bf699a83600485bcbb024", kill_on_drop: false }` [INFO] [stdout] 4b3f7ddcbf5835bd6f2993629eddd16c2b4294f6fd7bf699a83600485bcbb024