[INFO] cloning repository https://github.com/desonglll/ax [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/desonglll/ax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesonglll%2Fax", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesonglll%2Fax'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d3262f357f63a8e74904e0c2582e3f7cc16e0b6 [INFO] checking desonglll/ax/7d3262f357f63a8e74904e0c2582e3f7cc16e0b6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdesonglll%2Fax" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/desonglll/ax on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/desonglll/ax [INFO] finished tweaking git repo https://github.com/desonglll/ax [INFO] tweaked toml for git repo https://github.com/desonglll/ax written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/desonglll/ax 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.8.2 [INFO] [stderr] Downloaded sqlx-mysql v0.8.2 [INFO] [stderr] Downloaded gdkwayland-sys v0.15.3 [INFO] [stderr] Downloaded parse-size v1.0.0 [INFO] [stderr] Downloaded serialize-to-javascript-impl v0.1.2 [INFO] [stderr] Downloaded tao-macros v0.1.3 [INFO] [stderr] Downloaded gtk3-macros v0.15.6 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.2 [INFO] [stderr] Downloaded serialize-to-javascript v0.1.2 [INFO] [stderr] Downloaded tauri-runtime v0.14.5 [INFO] [stderr] Downloaded redis-async v0.16.1 [INFO] [stderr] Downloaded tauri-runtime-wry v0.14.10 [INFO] [stderr] Downloaded glib-macros v0.15.13 [INFO] [stderr] Downloaded tauri-codegen v1.4.5 [INFO] [stderr] Downloaded tauri-utils v1.6.1 [INFO] [stderr] Downloaded sqlx-core v0.8.2 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded wry v0.24.11 [INFO] [stderr] Downloaded sqlx-postgres v0.8.2 [INFO] [stderr] Downloaded sqlx v0.8.2 [INFO] [stderr] Downloaded hyper-util v0.1.9 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded actix-multipart v0.7.2 [INFO] [stderr] Downloaded rustls-pki-types v1.9.0 [INFO] [stderr] Downloaded tauri v1.7.2 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded cargo_toml v0.15.3 [INFO] [stderr] Downloaded json-patch v2.0.0 [INFO] [stderr] Downloaded tauri-build v1.5.4 [INFO] [stderr] Downloaded actix-multipart-derive v0.7.0 [INFO] [stderr] Downloaded tauri-macros v1.4.6 [INFO] [stderr] Downloaded infer v0.13.0 [INFO] [stderr] Downloaded jsonptr v0.4.7 [INFO] [stderr] Downloaded actix-redis v0.13.1+deprecated [INFO] [stderr] Downloaded sqlx-macros-core v0.8.2 [INFO] [stderr] Downloaded tao v0.16.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e76b547293e762cd25e3ec9577f0979464e67502d4c7074551282abec502903 [INFO] running `Command { std: "docker" "start" "-a" "5e76b547293e762cd25e3ec9577f0979464e67502d4c7074551282abec502903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e76b547293e762cd25e3ec9577f0979464e67502d4c7074551282abec502903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e76b547293e762cd25e3ec9577f0979464e67502d4c7074551282abec502903", kill_on_drop: false }` [INFO] [stdout] 5e76b547293e762cd25e3ec9577f0979464e67502d4c7074551282abec502903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da0a6d8066e5a028fca076415a91078eed3ce53aab8d5433ff6b70095e5d1f8f [INFO] running `Command { std: "docker" "start" "-a" "da0a6d8066e5a028fca076415a91078eed3ce53aab8d5433ff6b70095e5d1f8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling cfg-expr v0.9.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling gio v0.15.12 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling system-deps v5.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling glib-macros v0.15.13 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking glib v0.15.12 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling soup2-sys v0.2.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking actix-server v2.5.0 [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 either v1.13.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking cairo-rs v0.15.12 [INFO] [stderr] Checking pango v0.15.10 [INFO] [stderr] Compiling javascriptcore-rs-sys v0.4.0 [INFO] [stderr] Compiling jsonptr v0.4.7 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling gtk v0.15.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling infer v0.13.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Compiling json-patch v2.0.0 [INFO] [stderr] Compiling kuchikiki v0.8.2 [INFO] [stderr] Checking atk v0.15.1 [INFO] [stderr] Compiling gtk3-macros v0.15.6 [INFO] [stderr] Compiling webkit2gtk-sys v0.18.0 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Checking gdk-pixbuf v0.15.11 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking gdk v0.15.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tauri-utils v1.6.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling gdkx11-sys v0.15.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking redis-async v0.16.1 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking redis v0.26.1 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tao v0.16.10 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling tweet_server v0.1.0 (/opt/rustwide/workdir/tweet_server) [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking actix-redis v0.13.1+deprecated [INFO] [stderr] Checking actix-multipart v0.7.2 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking soup2 v0.2.1 [INFO] [stderr] Checking javascriptcore-rs v0.16.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking gdkwayland-sys v0.15.3 [INFO] [stderr] Compiling embed-resource v2.4.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling tauri-runtime v0.14.5 [INFO] [stderr] Compiling wry v0.24.11 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tauri-winres v0.1.1 [INFO] [stderr] Compiling ico v0.3.0 [INFO] [stderr] Compiling cargo_toml v0.15.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Compiling tauri-runtime-wry v0.14.10 [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Compiling tauri-codegen v1.4.5 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Compiling serialize-to-javascript-impl v0.1.2 [INFO] [stderr] Compiling tauri v1.7.2 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking open v3.2.0 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling tauri-build v1.5.4 [INFO] [stderr] Checking serialize-to-javascript v0.1.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking state v0.5.3 [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/comment.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 16 | | Comment, [INFO] [stdout] 17 | | "insert into comments (content, reply_to, user_id, reply_to_type) values ($1, $2, $3, $4) returning id, content, reply_to, user_i... [INFO] [stdout] 18 | | create_comment.content(), [INFO] [stdout] ... | [INFO] [stdout] 21 | | create_comment.reply_to_type(), [INFO] [stdout] 22 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/comment.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | Comment, [INFO] [stdout] 32 | | "delete from comments where id = $1 returning id, content, reply_to, user_id, user_name, created_at, updated_at, reply_to_type", [INFO] [stdout] 33 | | id [INFO] [stdout] 34 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/comment.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 47 | | Comment, [INFO] [stdout] 48 | | "select * from comments where reply_to_type = $1 and ($2::int is null or reply_to = $2) and ($3::int is null or id = $3)", [INFO] [stdout] 49 | | reply_to_type, [INFO] [stdout] 50 | | reply_to, [INFO] [stdout] 51 | | id [INFO] [stdout] 52 | | ).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 `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] --> tweet_server/src/dbaccess/file.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let file_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 12 | | File, [INFO] [stdout] 13 | | "insert into files (id, name, path, size, content_type, created_at, updated_at, user_id, description, checksum, is_deleted, is_pu... [INFO] [stdout] 14 | | create_file.id, create_file.name, create_file.path, create_file.size, create_file.content_type, create_file.created_at, create_file... [INFO] [stdout] 15 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/file.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let file_row = sqlx::query_as!(File, "select * from files where id = $1", file_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] --> tweet_server/src/dbaccess/file.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let files = sqlx::query_as!(File, "select * from files where is_pub = $1", true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/file.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let files = sqlx::query_as!(File, "select * from files 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] --> tweet_server/src/dbaccess/file.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let files = sqlx::query_as!(File, "select * from files") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/file.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let file_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 49 | | File, [INFO] [stdout] 50 | | "update files set is_deleted = $1 where checksum = $2 returning id, name, path, size, content_type, created_at, updated_at, user_... [INFO] [stdout] 51 | | true, [INFO] [stdout] 52 | | checksum) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/post.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let post_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 15 | | Post, [INFO] [stdout] 16 | | "insert into posts (content, user_id, reply_to, user_name) [INFO] [stdout] 17 | | values ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 22 | | create_post.user_name [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/post.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let post_row = sqlx::query_as!(Post, "select * from posts where id = $1", post_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] --> tweet_server/src/dbaccess/post.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let count = sqlx::query_scalar!("select count(*) from posts") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/post.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | let post_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 123 | | Post, [INFO] [stdout] 124 | | "delete from posts where id = $1 returning id, content, created_at, updated_at, user_id, reply_to, user_name, like_count, dislike... [INFO] [stdout] 125 | | post_id [INFO] [stdout] 126 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/post.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | let current_post_row = sqlx::query_as!(Post, "select * from posts where id = $1", post_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] --> tweet_server/src/dbaccess/post.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let post_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 150 | | Post, [INFO] [stdout] 151 | | "update posts set content = $1 where id = $2 returning id, content, created_at, updated_at, user_id, reply_to, user_name, like_co... [INFO] [stdout] 152 | | content, post_id [INFO] [stdout] 153 | | ).fetch_one(pool).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let reaction_row = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | Reaction, [INFO] [stdout] 32 | | "insert into reactions (user_id, to_id, reaction_name, to_type) values ($1, $2, $3, $4) on conflict (user_id, to_id, reaction_nam... [INFO] [stdout] 33 | | create_reaction.user_id, [INFO] [stdout] ... | [INFO] [stdout] 36 | | create_reaction.to_type.clone() [INFO] [stdout] 37 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let reaction_row = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 59 | | Reaction, [INFO] [stdout] 60 | | "insert into reactions (user_id, to_id, reaction_name, to_type) values ($1, $2, $3, $4) on conflict (user_id, to_id, reaction_nam... [INFO] [stdout] 61 | | create_reaction.user_id, [INFO] [stdout] ... | [INFO] [stdout] 64 | | create_reaction.to_type.clone() [INFO] [stdout] 65 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | Reaction, [INFO] [stdout] 73 | | "delete from reactions where id = $1 returning id, to_id, user_id, created_at, reaction_name, to_type", [INFO] [stdout] 74 | | id [INFO] [stdout] 75 | | ).fetch_one(pool).await [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query_as!( [INFO] [stdout] 86 | | Reaction, [INFO] [stdout] 87 | | "select * from reactions where to_id = $1 and user_id = $2 and reaction_name = $3 and to_type = $4", [INFO] [stdout] 88 | | to_id, [INFO] [stdout] ... | [INFO] [stdout] 91 | | to_type [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_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] --> tweet_server/src/dbaccess/reaction.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let like_count = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 103 | | "select count(*) from reactions where to_id = $1 and reaction_name = $2", [INFO] [stdout] 104 | | to_id, [INFO] [stdout] 105 | | "Like" [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/reaction.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let dislike_count = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 110 | | "select count(*) from reactions where to_id = $1 and reaction_name = $2", [INFO] [stdout] 111 | | to_id, [INFO] [stdout] 112 | | "Dislike" [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/reaction.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 133 | | Reaction, [INFO] [stdout] 134 | | "select * from reactions where to_id = $1 and to_type = $2 and ($3::int is null or user_id = $3) and ($4::int is null or id = $4)", [INFO] [stdout] 135 | | to_id, [INFO] [stdout] ... | [INFO] [stdout] 138 | | id [INFO] [stdout] 139 | | ).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 `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] --> tweet_server/src/dbaccess/user.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let user_row = sqlx::query_as!(User, "select * from users where user_name = $1", user_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 `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] --> tweet_server/src/dbaccess/user.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | "insert into users (user_name, email, password_hash, full_name, phone, is_active, is_admin, profile_picture) values ($1, $2, $3, ... [INFO] [stdout] 34 | | create_user.user_name, create_user.email, password_hash, create_user.full_name, create_user.phone, create_user.is_active, create_... [INFO] [stdout] 35 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/user.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let user_row = sqlx::query_as!(User, "select * from users where id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> tweet_server/src/dbaccess/user.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let user_row = sqlx::query_as!(User, "select * from users where user_name = $1", user_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 `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] --> tweet_server/src/dbaccess/user.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let users = sqlx::query_as!(User, "select * from users") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/user.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let current_user_row = sqlx::query_as!(User, "select * from users where id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> tweet_server/src/dbaccess/user.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 115 | | User, [INFO] [stdout] 116 | | "update users set user_name = $1, [INFO] [stdout] 117 | | email = $2, [INFO] [stdout] ... | [INFO] [stdout] 124 | | user_name, email, password_hash, full_name, phone,is_active, is_admin, profile_picture,user_id [INFO] [stdout] 125 | | ).fetch_one(pool).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/user.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 136 | | User, [INFO] [stdout] 137 | | "delete from users where id = $1 returning id, user_name, email, password_hash, full_name, phone, created_at, updated_at, last_lo... [INFO] [stdout] 138 | | user_id [INFO] [stdout] 139 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/services/features/user.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | SELECT id, user_name [INFO] [stdout] 22 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 25 | | user_id [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/services/features/user.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let stats = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | SELECT [INFO] [stdout] 35 | | COALESCE(SUM(liked_posts_count), 0) AS liked_posts_count, [INFO] [stdout] ... | [INFO] [stdout] 43 | | user_id [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/comment.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 16 | | Comment, [INFO] [stdout] 17 | | "insert into comments (content, reply_to, user_id, reply_to_type) values ($1, $2, $3, $4) returning id, content, reply_to, user_i... [INFO] [stdout] 18 | | create_comment.content(), [INFO] [stdout] ... | [INFO] [stdout] 21 | | create_comment.reply_to_type(), [INFO] [stdout] 22 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/comment.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | Comment, [INFO] [stdout] 32 | | "delete from comments where id = $1 returning id, content, reply_to, user_id, user_name, created_at, updated_at, reply_to_type", [INFO] [stdout] 33 | | id [INFO] [stdout] 34 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/comment.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 47 | | Comment, [INFO] [stdout] 48 | | "select * from comments where reply_to_type = $1 and ($2::int is null or reply_to = $2) and ($3::int is null or id = $3)", [INFO] [stdout] 49 | | reply_to_type, [INFO] [stdout] 50 | | reply_to, [INFO] [stdout] 51 | | id [INFO] [stdout] 52 | | ).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 `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] --> tweet_server/src/dbaccess/file.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let file_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 12 | | File, [INFO] [stdout] 13 | | "insert into files (id, name, path, size, content_type, created_at, updated_at, user_id, description, checksum, is_deleted, is_pu... [INFO] [stdout] 14 | | create_file.id, create_file.name, create_file.path, create_file.size, create_file.content_type, create_file.created_at, create_file... [INFO] [stdout] 15 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/file.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let file_row = sqlx::query_as!(File, "select * from files where id = $1", file_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] --> tweet_server/src/dbaccess/file.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let files = sqlx::query_as!(File, "select * from files where is_pub = $1", true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/file.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let files = sqlx::query_as!(File, "select * from files 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] --> tweet_server/src/dbaccess/file.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let files = sqlx::query_as!(File, "select * from files") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/file.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let file_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 49 | | File, [INFO] [stdout] 50 | | "update files set is_deleted = $1 where checksum = $2 returning id, name, path, size, content_type, created_at, updated_at, user_... [INFO] [stdout] 51 | | true, [INFO] [stdout] 52 | | checksum) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/post.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let post_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 15 | | Post, [INFO] [stdout] 16 | | "insert into posts (content, user_id, reply_to, user_name) [INFO] [stdout] 17 | | values ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 22 | | create_post.user_name [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/post.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let post_row = sqlx::query_as!(Post, "select * from posts where id = $1", post_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] --> tweet_server/src/dbaccess/post.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let count = sqlx::query_scalar!("select count(*) from posts") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/post.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | let post_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 123 | | Post, [INFO] [stdout] 124 | | "delete from posts where id = $1 returning id, content, created_at, updated_at, user_id, reply_to, user_name, like_count, dislike... [INFO] [stdout] 125 | | post_id [INFO] [stdout] 126 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/post.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | let current_post_row = sqlx::query_as!(Post, "select * from posts where id = $1", post_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] --> tweet_server/src/dbaccess/post.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let post_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 150 | | Post, [INFO] [stdout] 151 | | "update posts set content = $1 where id = $2 returning id, content, created_at, updated_at, user_id, reply_to, user_name, like_co... [INFO] [stdout] 152 | | content, post_id [INFO] [stdout] 153 | | ).fetch_one(pool).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let reaction_row = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 31 | | Reaction, [INFO] [stdout] 32 | | "insert into reactions (user_id, to_id, reaction_name, to_type) values ($1, $2, $3, $4) on conflict (user_id, to_id, reaction_nam... [INFO] [stdout] 33 | | create_reaction.user_id, [INFO] [stdout] ... | [INFO] [stdout] 36 | | create_reaction.to_type.clone() [INFO] [stdout] 37 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let reaction_row = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 59 | | Reaction, [INFO] [stdout] 60 | | "insert into reactions (user_id, to_id, reaction_name, to_type) values ($1, $2, $3, $4) on conflict (user_id, to_id, reaction_nam... [INFO] [stdout] 61 | | create_reaction.user_id, [INFO] [stdout] ... | [INFO] [stdout] 64 | | create_reaction.to_type.clone() [INFO] [stdout] 65 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | Reaction, [INFO] [stdout] 73 | | "delete from reactions where id = $1 returning id, to_id, user_id, created_at, reaction_name, to_type", [INFO] [stdout] 74 | | id [INFO] [stdout] 75 | | ).fetch_one(pool).await [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/reaction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query_as!( [INFO] [stdout] 86 | | Reaction, [INFO] [stdout] 87 | | "select * from reactions where to_id = $1 and user_id = $2 and reaction_name = $3 and to_type = $4", [INFO] [stdout] 88 | | to_id, [INFO] [stdout] ... | [INFO] [stdout] 91 | | to_type [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_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] --> tweet_server/src/dbaccess/reaction.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let like_count = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 103 | | "select count(*) from reactions where to_id = $1 and reaction_name = $2", [INFO] [stdout] 104 | | to_id, [INFO] [stdout] 105 | | "Like" [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/reaction.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let dislike_count = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 110 | | "select count(*) from reactions where to_id = $1 and reaction_name = $2", [INFO] [stdout] 111 | | to_id, [INFO] [stdout] 112 | | "Dislike" [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/reaction.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 133 | | Reaction, [INFO] [stdout] 134 | | "select * from reactions where to_id = $1 and to_type = $2 and ($3::int is null or user_id = $3) and ($4::int is null or id = $4)", [INFO] [stdout] 135 | | to_id, [INFO] [stdout] ... | [INFO] [stdout] 138 | | id [INFO] [stdout] 139 | | ).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 `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] --> tweet_server/src/dbaccess/user.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let user_row = sqlx::query_as!(User, "select * from users where user_name = $1", user_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 `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] --> tweet_server/src/dbaccess/user.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | "insert into users (user_name, email, password_hash, full_name, phone, is_active, is_admin, profile_picture) values ($1, $2, $3, ... [INFO] [stdout] 34 | | create_user.user_name, create_user.email, password_hash, create_user.full_name, create_user.phone, create_user.is_active, create_... [INFO] [stdout] 35 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/user.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let user_row = sqlx::query_as!(User, "select * from users where id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> tweet_server/src/dbaccess/user.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let user_row = sqlx::query_as!(User, "select * from users where user_name = $1", user_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 `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] --> tweet_server/src/dbaccess/user.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let users = sqlx::query_as!(User, "select * from users") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> tweet_server/src/dbaccess/user.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let current_user_row = sqlx::query_as!(User, "select * from users where id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> tweet_server/src/dbaccess/user.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 115 | | User, [INFO] [stdout] 116 | | "update users set user_name = $1, [INFO] [stdout] 117 | | email = $2, [INFO] [stdout] ... | [INFO] [stdout] 124 | | user_name, email, password_hash, full_name, phone,is_active, is_admin, profile_picture,user_id [INFO] [stdout] 125 | | ).fetch_one(pool).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/dbaccess/user.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 136 | | User, [INFO] [stdout] 137 | | "delete from users where id = $1 returning id, user_name, email, password_hash, full_name, phone, created_at, updated_at, last_lo... [INFO] [stdout] 138 | | user_id [INFO] [stdout] 139 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/comment.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | sqlx::query!("DELETE FROM comments WHERE id = $1", comment_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/comment.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | sqlx::query!("DELETE FROM comments WHERE id = $1", comment_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/post.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | sqlx::query!("DELETE FROM posts WHERE id = $1", post_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/post.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | sqlx::query!("delete from posts where id = $1", insert_result.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/post.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | sqlx::query!("delete from posts where id = $1", result.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/reaction.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | sqlx::query!("DELETE FROM reactions WHERE id = $1", reaction_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/reaction.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | sqlx::query!("DELETE FROM reactions WHERE id = $1", reaction_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/handlers/user.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | / sqlx::query!( [INFO] [stdout] 205 | | "delete from users where user_name = $1", [INFO] [stdout] 206 | | result.user_name.clone() [INFO] [stdout] 207 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> tweet_server/src/handlers/user.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / sqlx::query!( [INFO] [stdout] 232 | | "delete from users where user_name = $1", [INFO] [stdout] 233 | | new_user_msg.user_name [INFO] [stdout] 234 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> tweet_server/src/handlers/user.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | sqlx::query!("delete from users where user_name = $1", result.user_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 `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] --> tweet_server/src/handlers/user.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | sqlx::query!("delete from users where id = $1", insert_result.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> tweet_server/src/services/features/user.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | SELECT id, user_name [INFO] [stdout] 22 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 25 | | user_id [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] --> tweet_server/src/services/features/user.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let stats = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | SELECT [INFO] [stdout] 35 | | COALESCE(SUM(liked_posts_count), 0) AS liked_posts_count, [INFO] [stdout] ... | [INFO] [stdout] 43 | | user_id [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UserFeatures` has no field named `following_topics_count` [INFO] [stdout] --> tweet_server/src/services/ml/predict.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | following_topics_count: 10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `UserFeatures` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UserFeatures` has no field named `followers_count` [INFO] [stdout] --> tweet_server/src/services/ml/predict.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | followers_count: 100, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `UserFeatures` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `UserFeatures` has no field named `following_count` [INFO] [stdout] --> tweet_server/src/services/ml/predict.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | following_count: 20, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `UserFeatures` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tauri-macros v1.4.6 [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tweet_server` (lib) due to 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tweet_server` (lib test) due to 47 previous errors [INFO] running `Command { std: "docker" "inspect" "da0a6d8066e5a028fca076415a91078eed3ce53aab8d5433ff6b70095e5d1f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0a6d8066e5a028fca076415a91078eed3ce53aab8d5433ff6b70095e5d1f8f", kill_on_drop: false }` [INFO] [stdout] da0a6d8066e5a028fca076415a91078eed3ce53aab8d5433ff6b70095e5d1f8f