[INFO] cloning repository https://github.com/zayden-bot/discord-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zayden-bot/discord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzayden-bot%2Fdiscord-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzayden-bot%2Fdiscord-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4898d51496608ac692411e5b439cc0c8de97309f [INFO] checking zayden-bot/discord-bot against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzayden-bot%2Fdiscord-bot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zayden-bot/discord-bot [INFO] finished tweaking git repo https://github.com/zayden-bot/discord-bot [INFO] tweaked toml for git repo https://github.com/zayden-bot/discord-bot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zayden-bot/discord-bot on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zayden-bot/discord-bot 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/ViridianLink/bungie-api.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/endgame-analysis.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/gambling.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/levels.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/lfg.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/reaction-roles.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/suggestions.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/temp-voice.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/ticket.git` [INFO] [stderr] Updating git repository `https://github.com/zayden-bot/slash-command-core.git` [INFO] [stderr] Updating git repository `https://github.com/ViridianLink/google-sheets-api.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64ct v1.8.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded cron v0.15.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded rand_distr v0.5.1 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded winnow v0.6.26 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded openai_api_rust v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25eb416de8ceef5395f81a351c48345740ce86aad827b72761bb33e6358c87be [INFO] running `Command { std: "docker" "start" "-a" "25eb416de8ceef5395f81a351c48345740ce86aad827b72761bb33e6358c87be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25eb416de8ceef5395f81a351c48345740ce86aad827b72761bb33e6358c87be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25eb416de8ceef5395f81a351c48345740ce86aad827b72761bb33e6358c87be", kill_on_drop: false }` [INFO] [stdout] 25eb416de8ceef5395f81a351c48345740ce86aad827b72761bb33e6358c87be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef2f592a1437dc4ecf9af65cbe7c27d7e2c70e32bdb67640e8bef6dcf98654a [INFO] running `Command { std: "docker" "start" "-a" "aef2f592a1437dc4ecf9af65cbe7c27d7e2c70e32bdb67640e8bef6dcf98654a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [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.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling chrono-tz-build v0.4.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling chrono-tz v0.10.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking cron v0.15.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking openai_api_rust v0.1.9 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.19 [INFO] [stderr] Checking google-sheets-api v0.1.0 (https://github.com/ViridianLink/google-sheets-api.git?branch=main#06e35450) [INFO] [stderr] Checking bungie-api v0.1.0 (https://github.com/ViridianLink/bungie-api.git?branch=main#66a096eb) [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking zayden-core v0.1.0 (https://github.com/zayden-bot/slash-command-core.git?branch=master#d2750d4f) [INFO] [stderr] Checking levels v0.1.0 (https://github.com/zayden-bot/levels.git?branch=main#3ddf095e) [INFO] [stderr] Checking endgame-analysis v0.1.0 (https://github.com/zayden-bot/endgame-analysis.git?branch=main#c753e966) [INFO] [stderr] Checking ticket v0.1.0 (https://github.com/zayden-bot/ticket.git?branch=main#9eacaf15) [INFO] [stderr] Checking reaction-roles v0.1.0 (https://github.com/zayden-bot/reaction-roles.git?branch=main#86930b6e) [INFO] [stderr] Checking lfg v0.1.0 (https://github.com/zayden-bot/lfg.git?branch=main#c96376af) [INFO] [stderr] Checking suggestions v0.1.0 (https://github.com/zayden-bot/suggestions.git?branch=main#50a01951) [INFO] [stderr] Checking temp-voice v0.1.0 (https://github.com/zayden-bot/temp-voice.git?branch=main#ed5e63c3) [INFO] [stderr] Checking gambling v0.1.0 (https://github.com/zayden-bot/gambling.git?branch=main#8ff6e78a) [INFO] [stderr] Checking zayden-bot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query_as!( [INFO] [stdout] 24 | | LeaderboardRow, [INFO] [stdout] 25 | | "SELECT id, xp, level, message_count FROM levels WHERE id = ANY($1) ORDER BY total_xp DESC LIMIT 10 OFFSET $2", [INFO] [stdout] 26 | | users, [INFO] [stdout] 27 | | offset [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_scalar!( [INFO] [stdout] 40 | | "SELECT row_number FROM (SELECT id, ROW_NUMBER() OVER (ORDER BY total_xp DESC) FROM levels) AS ranked WHERE id = $1", [INFO] [stdout] 41 | | id [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | RankRow, [INFO] [stdout] 55 | | "SELECT xp, level FROM levels WHERE id = $1", [INFO] [stdout] 56 | | id.get() as i64 [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | XpRow, [INFO] [stdout] 67 | | "SELECT xp, level, total_xp FROM levels WHERE id = $1", [INFO] [stdout] 68 | | id.get() as i64 [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query_as!( [INFO] [stdout] 81 | | FullLevelRow, [INFO] [stdout] 82 | | "SELECT * FROM levels WHERE id = $1", [INFO] [stdout] 83 | | id.get() as i64 [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query!( [INFO] [stdout] 91 | | "INSERT INTO levels (id, xp, total_xp, level, message_count, last_xp) [INFO] [stdout] 92 | | VALUES ($1, $2, $3, $4, $5, now()) [INFO] [stdout] 93 | | ON CONFLICT (id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 103 | | row.message_count as i32, [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/database_manager.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | sqlx::query!("DELETE FROM destiny_weapons") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/database_manager.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | INSERT INTO destiny_weapons (id, name, icon, column_1, column_2, perk_1, perk_2) [INFO] [stdout] 165 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 185 | | .collect::>(), [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/database_manager.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | sqlx::query!("DELETE FROM destiny_perks") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/database_manager.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | / sqlx::query!( [INFO] [stdout] 243 | | r#" [INFO] [stdout] 244 | | INSERT INTO destiny_perks (id, name, description) [INFO] [stdout] 245 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 250 | | description [INFO] [stdout] 251 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / sqlx::query_as!( [INFO] [stdout] 14 | | DestinyWeapon, [INFO] [stdout] 15 | | "SELECT * FROM destiny_weapons WHERE name = $1", [INFO] [stdout] 16 | | name [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query_as!( [INFO] [stdout] 24 | | DestinyWeapon, [INFO] [stdout] 25 | | "SELECT * FROM destiny_weapons WHERE name LIKE $1 || '%'", [INFO] [stdout] 26 | | name [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / sqlx::query_as!( [INFO] [stdout] 39 | | DestinyPerk, [INFO] [stdout] 40 | | "SELECT * FROM destiny_perks WHERE name = $1", [INFO] [stdout] 41 | | name [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query_as!( [INFO] [stdout] 49 | | DestinyPerk, [INFO] [stdout] 50 | | "SELECT * FROM destiny_perks WHERE name = ANY($1)", [INFO] [stdout] 51 | | names [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/info/mod.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let perk = match sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 42 | | DestinyPerk, [INFO] [stdout] 43 | | "SELECT * FROM destiny_perks WHERE name = $1 LIMIT 1", [INFO] [stdout] 44 | | perk [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let guild = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 25 | | LfgGuildRow, [INFO] [stdout] 26 | | "SELECT * FROM lfg_guilds WHERE id = $1", [INFO] [stdout] 27 | | id.into().get() as i64 [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 46 | | "INSERT INTO lfg_guilds (id, channel_id, role_id) [INFO] [stdout] 47 | | VALUES ($1, $2, $3) [INFO] [stdout] 48 | | ON CONFLICT (id) [INFO] [stdout] ... | [INFO] [stdout] 52 | | role [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/destiny2/lfg/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let posts = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 67 | | LfgPostRow, [INFO] [stdout] 68 | | "SELECT * FROM lfg_posts WHERE timestamp < NOW()" [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let post = sqlx::query_as!(LfgPostRow, "SELECT * FROM lfg_posts WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/modules/destiny2/lfg/mod.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let posts = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 91 | | LfgPostRow, [INFO] [stdout] 92 | | "SELECT * FROM lfg_posts WHERE ($1 = ANY(fireteam) OR $1 = ANY(alternatives)) AND timestamp > NOW()", [INFO] [stdout] 93 | | id.into().get() as i64 [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 103 | | "INSERT INTO lfg_posts (id, owner_id, activity, timestamp, timezone, description, fireteam_size, fireteam, alternatives) [INFO] [stdout] 104 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [INFO] [stdout] 105 | | ON CONFLICT (id) [INFO] [stdout] ... | [INFO] [stdout] 122 | | &row.alternatives [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 135 | | "DELETE FROM lfg_posts WHERE id = $1", [INFO] [stdout] 136 | | id.into().get() as i64 [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let message = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 156 | | LfgMessageRow, [INFO] [stdout] 157 | | "SELECT * FROM lfg_messages WHERE id = $1", [INFO] [stdout] 158 | | id [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | let messages = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 173 | | LfgMessageRow, [INFO] [stdout] 174 | | "SELECT * FROM lfg_messages WHERE post_id = $1", [INFO] [stdout] 175 | | id [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / sqlx::query!( [INFO] [stdout] 185 | | "INSERT INTO lfg_messages (id, channel_id, post_id) [INFO] [stdout] 186 | | VALUES ($1, $2, $3) [INFO] [stdout] 187 | | ON CONFLICT (id) [INFO] [stdout] ... | [INFO] [stdout] 192 | | row.post_id [INFO] [stdout] 193 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/destiny2/lfg/mod.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | sqlx::query!("DELETE FROM lfg_messages WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | let tz = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 221 | | "SELECT timezone FROM lfg_users WHERE id = $1", [INFO] [stdout] 222 | | id.into().get() as i64 [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 242 | | "INSERT INTO lfg_users (id, timezone) VALUES ($1, $2) ON CONFLICT (id) DO UPDATE SET timezone = $2", [INFO] [stdout] 243 | | id.into().get() as i64, [INFO] [stdout] 244 | | tz.name() [INFO] [stdout] 245 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/craft.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ... sqlx::query_as!(CraftRow, "SELECT id, coal, iron, gold, redstone, lapis, diamonds, emeralds, tech, utility, production FROM gambling_mine WHERE id = $1", id.get() as i64).fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/craft.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query!( [INFO] [stdout] 22 | | "INSERT INTO gambling_mine (id, coal, iron, gold, redstone, lapis, diamonds, emeralds, tech, utility, production) [INFO] [stdout] 23 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) [INFO] [stdout] 24 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 45 | | row.production, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/daily.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!( [INFO] [stdout] 20 | | DailyRow, [INFO] [stdout] 21 | | "SELECT id, coins, daily FROM gambling WHERE id = $1", [INFO] [stdout] 22 | | id.get() as i64 [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] --> src/modules/gambling/daily.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | "INSERT INTO gambling (id, coins, daily) [INFO] [stdout] 31 | | VALUES ($1, $2, now()) [INFO] [stdout] 32 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 35 | | row.coins, [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/dig.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | DigRow, [INFO] [stdout] 23 | | "SELECT [INFO] [stdout] 24 | | g.id, [INFO] [stdout] ... | [INFO] [stdout] 41 | | id.get() as i64 [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/dig.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | "INSERT INTO gambling (id, coins, gems, stamina) [INFO] [stdout] 52 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 53 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 60 | | row.stamina, [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/dig.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let result2 = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 67 | | "INSERT INTO gambling_mine (id, coal, iron, gold, redstone, lapis, diamonds, emeralds) [INFO] [stdout] 68 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8) [INFO] [stdout] 69 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 84 | | row.emeralds, [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/effects.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query_as!( [INFO] [stdout] 18 | | EffectsRow, [INFO] [stdout] 19 | | "SELECT DISTINCT ON (item_id) id, item_id, expiry FROM gambling_effects WHERE user_id = $1", [INFO] [stdout] 20 | | user_id.get() as i64, [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/effects.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / sqlx::query!( [INFO] [stdout] 39 | | "INSERT INTO gambling_effects (user_id, item_id, expiry) VALUES ($1, $2, $3)", [INFO] [stdout] 40 | | user_id.get() as i64, [INFO] [stdout] 41 | | item.id, [INFO] [stdout] 42 | | expiry, [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/effects.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | sqlx::query!("DELETE FROM gambling_effects WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/gift.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / ... sqlx::query_as!( [INFO] [stdout] 22 | | ... SenderRow, [INFO] [stdout] 23 | | ... "SELECT g.id, g.coins, g.gems, g.gift, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.... [INFO] [stdout] 24 | | ... id.get() as i64 [INFO] [stdout] 25 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/gift.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / sqlx::query!( [INFO] [stdout] 38 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 39 | | id.get() as i64, [INFO] [stdout] 40 | | amount [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/gift.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | "INSERT INTO gambling (id, coins, gems, gift) [INFO] [stdout] 52 | | VALUES ($1, $2, $3, now()) [INFO] [stdout] 53 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 57 | | row.gems, [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/gift.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let result2 = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 64 | | "INSERT INTO levels (id, level) [INFO] [stdout] 65 | | VALUES ($1, $2) [INFO] [stdout] 66 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 69 | | row.level, [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/goals.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query_as!( [INFO] [stdout] 19 | | GoalsRow, [INFO] [stdout] 20 | | "SELECT g.coins, g.gems, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.id = $1", [INFO] [stdout] 21 | | id.get() as i64 [INFO] [stdout] 22 | | ).fetch_optional(pool).await [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / sqlx::query_as!( [INFO] [stdout] 32 | | GamblingGoalsRow, [INFO] [stdout] 33 | | "SELECT user_id, goal_id, day, progress, target FROM gambling_goals WHERE user_id = $1", [INFO] [stdout] 34 | | id.get() as i64 [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | sqlx::query!("DELETE FROM gambling_goals 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | GamblingGoalsRow, [INFO] [stdout] 72 | | "INSERT INTO gambling_goals (user_id, goal_id, day, progress, target) [INFO] [stdout] 73 | | SELECT * FROM UNNEST($1::bigint[], $2::text[], $3::date[], $4::bigint[], $5::bigint[]) [INFO] [stdout] ... | [INFO] [stdout] 79 | | &targets [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/inventory.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query_as!( [INFO] [stdout] 37 | | InventoryRow, [INFO] [stdout] 38 | | r#"SELECT [INFO] [stdout] 39 | | g.coins, [INFO] [stdout] ... | [INFO] [stdout] 65 | | id.get() as i64 [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/inventory.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / sqlx::query_scalar!( [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | WITH updated_row AS ( [INFO] [stdout] 82 | | UPDATE gambling_inventory [INFO] [stdout] ... | [INFO] [stdout] 102 | | amount [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_as!( [INFO] [stdout] 43 | | CoinsRow, [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | SELECT id, coins [INFO] [stdout] ... | [INFO] [stdout] 54 | | offset [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query_scalar!( [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | WITH numbered_users AS ( [INFO] [stdout] 71 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 81 | | user_id.get() as i64 [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query_as!( [INFO] [stdout] 96 | | GemsRow, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT id, gems [INFO] [stdout] ... | [INFO] [stdout] 107 | | offset [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query_scalar!( [INFO] [stdout] 122 | | r#" [INFO] [stdout] 123 | | WITH numbered_users AS ( [INFO] [stdout] 124 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 134 | | user_id.get() as i64 [INFO] [stdout] 135 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / sqlx::query_as!( [INFO] [stdout] 149 | | EggplantsRow, [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | SELECT id, quantity [INFO] [stdout] ... | [INFO] [stdout] 161 | | offset [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | / sqlx::query_as!( [INFO] [stdout] 184 | | LottoTicketRow, [INFO] [stdout] 185 | | r#" [INFO] [stdout] 186 | | SELECT id, quantity [INFO] [stdout] ... | [INFO] [stdout] 196 | | offset [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / ... sqlx::query_as!( [INFO] [stdout] 24 | | ... LottoRow, [INFO] [stdout] 25 | | ... "SELECT g.id, g.coins, COALESCE(i.quantity, 0) AS quantity FROM gambling g LEFT JOIN gambling_inventory i ON g.id = i.user_id A... [INFO] [stdout] 26 | | ... id.get() as i64, [INFO] [stdout] 27 | | ... LOTTO_TICKET.id [INFO] [stdout] 28 | | ... ).fetch_optional(conn).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / ... sqlx::query_as!( [INFO] [stdout] 33 | | ... LottoRow, [INFO] [stdout] 34 | | ... "SELECT g.id, g.coins, i.quantity AS quantity FROM gambling g LEFT JOIN gambling_inventory i ON g.id = i.user_id AND i.item_id ... [INFO] [stdout] 35 | | ... LOTTO_TICKET.id [INFO] [stdout] 36 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_scalar!( [INFO] [stdout] 43 | | "SELECT SUM(quantity) FROM gambling_inventory WHERE item_id = $1", [INFO] [stdout] 44 | | LOTTO_TICKET.id [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query!( [INFO] [stdout] 54 | | "DELETE FROM gambling_inventory WHERE item_id = $1", [INFO] [stdout] 55 | | LOTTO_TICKET.id [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / sqlx::query!( [INFO] [stdout] 70 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 71 | | id.get() as i64, [INFO] [stdout] 72 | | amount [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/levels/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query_as!( [INFO] [stdout] 24 | | LeaderboardRow, [INFO] [stdout] 25 | | "SELECT id, xp, level, message_count FROM levels WHERE id = ANY($1) ORDER BY total_xp DESC LIMIT 10 OFFSET $2", [INFO] [stdout] 26 | | users, [INFO] [stdout] 27 | | offset [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mine.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / ... sqlx::query_as!( [INFO] [stdout] 17 | | ... MineRow, [INFO] [stdout] 18 | | ... "SELECT miners, mines, land, countries, continents, planets, solar_systems, galaxies, universes, prestige FROM gambling_mine WH... [INFO] [stdout] 19 | | ... id.get() as i64 [INFO] [stdout] 20 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_scalar!( [INFO] [stdout] 40 | | "SELECT row_number FROM (SELECT id, ROW_NUMBER() OVER (ORDER BY total_xp DESC) FROM levels) AS ranked WHERE id = $1", [INFO] [stdout] 41 | | id [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | RankRow, [INFO] [stdout] 55 | | "SELECT xp, level FROM levels WHERE id = $1", [INFO] [stdout] 56 | | id.get() as i64 [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | XpRow, [INFO] [stdout] 67 | | "SELECT xp, level, total_xp FROM levels WHERE id = $1", [INFO] [stdout] 68 | | id.get() as i64 [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query_as!( [INFO] [stdout] 81 | | FullLevelRow, [INFO] [stdout] 82 | | "SELECT * FROM levels WHERE id = $1", [INFO] [stdout] 83 | | id.get() as i64 [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/levels/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query!( [INFO] [stdout] 91 | | "INSERT INTO levels (id, xp, total_xp, level, message_count, last_xp) [INFO] [stdout] 92 | | VALUES ($1, $2, $3, $4, $5, now()) [INFO] [stdout] 93 | | ON CONFLICT (id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 103 | | row.message_count as i32, [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query!( [INFO] [stdout] 25 | | "UPDATE gambling g [INFO] [stdout] 26 | | SET coins = g.coins + m.miners * 10 [INFO] [stdout] 27 | | FROM gambling_mine m [INFO] [stdout] 28 | | WHERE g.id = m.id;" [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/profile.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query_as!( [INFO] [stdout] 19 | | ProfileRow, [INFO] [stdout] 20 | | r#"SELECT [INFO] [stdout] 21 | | g.coins, [INFO] [stdout] ... | [INFO] [stdout] 39 | | id.get() as i64 [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/send.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / ... sqlx::query_as!( [INFO] [stdout] 24 | | ... SendRow, [INFO] [stdout] 25 | | ... "SELECT g.id, g.coins, g.gems, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.id = $1;", [INFO] [stdout] 26 | | ... id.get() as i64 [INFO] [stdout] 27 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/send.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / sqlx::query!( [INFO] [stdout] 38 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 39 | | id.get() as i64, [INFO] [stdout] 40 | | amount [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/send.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query!( [INFO] [stdout] 49 | | "INSERT INTO gambling (id, coins, gems) [INFO] [stdout] 50 | | VALUES ($1, $2, $3) [INFO] [stdout] 51 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 55 | | row.gems, [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/database_manager.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | sqlx::query!("DELETE FROM destiny_weapons") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/database_manager.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | INSERT INTO destiny_weapons (id, name, icon, column_1, column_2, perk_1, perk_2) [INFO] [stdout] 165 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 185 | | .collect::>(), [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/database_manager.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | sqlx::query!("DELETE FROM destiny_perks") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/destiny2/endgame_analysis/database_manager.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | / sqlx::query!( [INFO] [stdout] 243 | | r#" [INFO] [stdout] 244 | | INSERT INTO destiny_perks (id, name, description) [INFO] [stdout] 245 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 250 | | description [INFO] [stdout] 251 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/modules/gambling/shop.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!(BuyRow, [INFO] [stdout] 20 | | r#"SELECT [INFO] [stdout] 21 | | g.id, [INFO] [stdout] 22 | | g.coins, [INFO] [stdout] ... | [INFO] [stdout] 53 | | id.get() as i64 [INFO] [stdout] 54 | | ).fetch_optional(pool).await [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 61 | | "INSERT INTO gambling (id, coins, gems) [INFO] [stdout] 62 | | VALUES ($1, $2, $3) [INFO] [stdout] 63 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 67 | | row.gems, [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/shop.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let result2 = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 75 | | "INSERT INTO gambling_inventory (user_id, item_id, quantity) [INFO] [stdout] 76 | | VALUES ($1, $2, $3) [INFO] [stdout] 77 | | ON CONFLICT (user_id, item_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 81 | | item.quantity [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | ... let result3 = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 91 | | ... "INSERT INTO gambling_mine (id, miners, mines, land, countries, continents, planets, solar_systems, galaxies, universes, tech, ... [INFO] [stdout] 92 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) [INFO] [stdout] 93 | | ... ON CONFLICT (id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 119 | | ... row.production, [INFO] [stdout] 120 | | ... ).execute(&mut *tx).await.map(AnyQueryResult::from)?; [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/modules/gambling/shop.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query_as!( [INFO] [stdout] 136 | | ListRow, [INFO] [stdout] 137 | | r#"SELECT [INFO] [stdout] 138 | | g.id, [INFO] [stdout] ... | [INFO] [stdout] 153 | | id.get() as i64 [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / sqlx::query_as!( [INFO] [stdout] 166 | | SellRow, [INFO] [stdout] 167 | | r#"SELECT [INFO] [stdout] 168 | | g.id, [INFO] [stdout] ... | [INFO] [stdout] 183 | | id.get() as i64 [INFO] [stdout] 184 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 193 | | "INSERT INTO gambling (id, coins) [INFO] [stdout] 194 | | VALUES ($1, $2) [INFO] [stdout] 195 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 198 | | row.coins, [INFO] [stdout] 199 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/shop.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | let result2 = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 206 | | "INSERT INTO gambling_inventory (user_id, item_id, quantity) [INFO] [stdout] 207 | | VALUES ($1, $2, $3) [INFO] [stdout] 208 | | ON CONFLICT (user_id, item_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 212 | | item.quantity [INFO] [stdout] 213 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / sqlx::query_as!( [INFO] [stdout] 14 | | DestinyWeapon, [INFO] [stdout] 15 | | "SELECT * FROM destiny_weapons WHERE name = $1", [INFO] [stdout] 16 | | name [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query_as!( [INFO] [stdout] 24 | | DestinyWeapon, [INFO] [stdout] 25 | | "SELECT * FROM destiny_weapons WHERE name LIKE $1 || '%'", [INFO] [stdout] 26 | | name [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/stamina.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / sqlx::query!( [INFO] [stdout] 13 | | "UPDATE gambling SET stamina = LEAST(stamina + 1, $1)", [INFO] [stdout] 14 | | MAX_STAMINA [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / sqlx::query_as!( [INFO] [stdout] 39 | | DestinyPerk, [INFO] [stdout] 40 | | "SELECT * FROM destiny_perks WHERE name = $1", [INFO] [stdout] 41 | | name [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/work.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / ... sqlx::query_as!( [INFO] [stdout] 22 | | ... WorkRow, [INFO] [stdout] 23 | | ... "SELECT g.id, g.coins, g.gems, g.stamina, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE... [INFO] [stdout] 24 | | ... id.get() as i64 [INFO] [stdout] 25 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/work.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | "INSERT INTO gambling (id, coins, gems, stamina) [INFO] [stdout] 31 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 32 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 37 | | row.stamina [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/endgame_analysis/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query_as!( [INFO] [stdout] 49 | | DestinyPerk, [INFO] [stdout] 50 | | "SELECT * FROM destiny_perks WHERE name = ANY($1)", [INFO] [stdout] 51 | | names [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 84 | | id.get() as i64, [INFO] [stdout] 85 | | amount [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/destiny2/info/mod.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let perk = match sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 42 | | DestinyPerk, [INFO] [stdout] 43 | | "SELECT * FROM destiny_perks WHERE name = $1 LIMIT 1", [INFO] [stdout] 44 | | perk [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / ... sqlx::query_as!( [INFO] [stdout] 104 | | ... GameRow, [INFO] [stdout] 105 | | ... "SELECT g.id, g.coins, g.gems, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.id = $1;", [INFO] [stdout] 106 | | ... id.get() as i64 [INFO] [stdout] 107 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / sqlx::query!( [INFO] [stdout] 112 | | "INSERT INTO gambling (id, coins, gems) [INFO] [stdout] 113 | | VALUES ($1, $2, $3) [INFO] [stdout] 114 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 118 | | row.gems, [INFO] [stdout] 119 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/destiny2/lfg/mod.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let guild = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 25 | | LfgGuildRow, [INFO] [stdout] 26 | | "SELECT * FROM lfg_guilds WHERE id = $1", [INFO] [stdout] 27 | | id.into().get() as i64 [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 46 | | "INSERT INTO lfg_guilds (id, channel_id, role_id) [INFO] [stdout] 47 | | VALUES ($1, $2, $3) [INFO] [stdout] 48 | | ON CONFLICT (id) [INFO] [stdout] ... | [INFO] [stdout] 52 | | role [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/reaction_roles/mod.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | ... let result = sqlx::query!("INSERT INTO reaction_roles (guild_id, channel_id, message_id, role_id, emoji) VALUES ($1, $2, $3, $4, $5)", [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | ... guild_id.into(), [INFO] [stdout] 32 | | ... channel_id.into(), [INFO] [stdout] 33 | | ... message_id.into(), [INFO] [stdout] 34 | | ... role_id.into(), [INFO] [stdout] 35 | | ... emoji) [INFO] [stdout] | |____________^ [INFO] [stdout] | [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/modules/reaction_roles/mod.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | let reaction_roles = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 49 | | ReactionRole, [INFO] [stdout] 50 | | "SELECT * FROM reaction_roles WHERE guild_id = $1", [INFO] [stdout] 51 | | guild_id.into() [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/reaction_roles/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let reaction_role = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 65 | | ReactionRole, [INFO] [stdout] 66 | | "SELECT * FROM reaction_roles WHERE message_id = $1 AND emoji = $2", [INFO] [stdout] 67 | | message_id.into(), [INFO] [stdout] 68 | | emoji [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/reaction_roles/mod.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | ... = sqlx::query!("DELETE FROM reaction_roles WHERE guild_id = $1 AND channel_id = $2 AND message_id = $3 AND emoji = $4", guild_id.into(), channel_id.into(), message_id.into(), emoji) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/suggestions/mod.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 24 | | SuggestionsGuildRow, [INFO] [stdout] 25 | | r#"SELECT id, suggestions_channel_id, review_channel_id FROM guilds WHERE id = $1"#, [INFO] [stdout] 26 | | id.into().get() as i64 [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let posts = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 67 | | LfgPostRow, [INFO] [stdout] 68 | | "SELECT * FROM lfg_posts WHERE timestamp < NOW()" [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | let post = sqlx::query_as!(LfgPostRow, "SELECT * FROM lfg_posts WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/modules/destiny2/lfg/mod.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let posts = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 91 | | LfgPostRow, [INFO] [stdout] 92 | | "SELECT * FROM lfg_posts WHERE ($1 = ANY(fireteam) OR $1 = ANY(alternatives)) AND timestamp > NOW()", [INFO] [stdout] 93 | | id.into().get() as i64 [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 103 | | "INSERT INTO lfg_posts (id, owner_id, activity, timestamp, timezone, description, fireteam_size, fireteam, alternatives) [INFO] [stdout] 104 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [INFO] [stdout] 105 | | ON CONFLICT (id) [INFO] [stdout] ... | [INFO] [stdout] 122 | | &row.alternatives [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 135 | | "DELETE FROM lfg_posts WHERE id = $1", [INFO] [stdout] 136 | | id.into().get() as i64 [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let message = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 156 | | LfgMessageRow, [INFO] [stdout] 157 | | "SELECT * FROM lfg_messages WHERE id = $1", [INFO] [stdout] 158 | | id [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | let messages = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 173 | | LfgMessageRow, [INFO] [stdout] 174 | | "SELECT * FROM lfg_messages WHERE post_id = $1", [INFO] [stdout] 175 | | id [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO guilds (id, temp_voice_category, temp_voice_creator_channel) [INFO] [stdout] 31 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 37 | | creator_channel.get() as i64 [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 47 | | TempVoiceRow, [INFO] [stdout] 48 | | r#"SELECT id, temp_voice_category, temp_voice_creator_channel FROM guilds WHERE id = $1"#, [INFO] [stdout] 49 | | id.get() as i64 [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / sqlx::query!( [INFO] [stdout] 185 | | "INSERT INTO lfg_messages (id, channel_id, post_id) [INFO] [stdout] 186 | | VALUES ($1, $2, $3) [INFO] [stdout] 187 | | ON CONFLICT (id) [INFO] [stdout] ... | [INFO] [stdout] 192 | | row.post_id [INFO] [stdout] 193 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/temp_voice/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 59 | | r#"SELECT temp_voice_category FROM guilds WHERE id = $1"#, [INFO] [stdout] 60 | | id.get() as i64 [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 74 | | r#"SELECT temp_voice_creator_channel FROM guilds WHERE id = $1"#, [INFO] [stdout] 75 | | id.get() as i64 [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/destiny2/lfg/mod.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | sqlx::query!("DELETE FROM lfg_messages WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | let tz = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 221 | | "SELECT timezone FROM lfg_users WHERE id = $1", [INFO] [stdout] 222 | | id.into().get() as i64 [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/destiny2/lfg/mod.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 242 | | "INSERT INTO lfg_users (id, timezone) VALUES ($1, $2) ON CONFLICT (id) DO UPDATE SET timezone = $2", [INFO] [stdout] 243 | | id.into().get() as i64, [INFO] [stdout] 244 | | tz.name() [INFO] [stdout] 245 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/temp_voice/mod.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 110 | | ... VoiceChannelRow, [INFO] [stdout] 111 | | ... r#"SELECT id, owner_id, trusted_ids, invites, password, persistent, mode AS "mode: TempVoiceMode" FROM voice_channels WHERE id ... [INFO] [stdout] 112 | | ... id.get() as i64 [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_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/modules/temp_voice/mod.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | r#"SELECT COUNT(*) FROM voice_channels WHERE owner_id = $1 AND persistent = true"#, [INFO] [stdout] 123 | | user_id.get() as i64 [INFO] [stdout] 124 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | INSERT INTO voice_channels (id, owner_id, trusted_ids, password, persistent, invites, mode) [INFO] [stdout] 138 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 148 | | mode as TempVoiceMode [INFO] [stdout] 149 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/temp_voice/mod.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 158 | | r#"DELETE FROM voice_channels WHERE id = $1"#, [INFO] [stdout] 159 | | id.get() as i64 [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 34 | | TicketGuildRow, [INFO] [stdout] 35 | | r#"SELECT id, thread_id, support_channel_id, support_role_ids, faq_channel_id FROM guilds WHERE id = $1"#, [INFO] [stdout] 36 | | id.into().get() as i64 [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / sqlx::query!( [INFO] [stdout] 46 | | "UPDATE guilds SET thread_id = thread_id + 1 WHERE id = $1", [INFO] [stdout] 47 | | id.into().get() as i64, [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/craft.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ... sqlx::query_as!(CraftRow, "SELECT id, coal, iron, gold, redstone, lapis, diamonds, emeralds, tech, utility, production FROM gambling_mine WHERE id = $1", id.get() as i64).fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/craft.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query!( [INFO] [stdout] 22 | | "INSERT INTO gambling_mine (id, coal, iron, gold, redstone, lapis, diamonds, emeralds, tech, utility, production) [INFO] [stdout] 23 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) [INFO] [stdout] 24 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 45 | | row.production, [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 62 | | TicketRow, [INFO] [stdout] 63 | | "SELECT * FROM tickets WHERE id = $1", [INFO] [stdout] 64 | | id.into().get() as i64 [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | sqlx::query!("DELETE FROM tickets WHERE id = $1", id.into().get() as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/gambling/daily.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!( [INFO] [stdout] 20 | | DailyRow, [INFO] [stdout] 21 | | "SELECT id, coins, daily FROM gambling WHERE id = $1", [INFO] [stdout] 22 | | id.get() as i64 [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] --> src/modules/gambling/daily.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | "INSERT INTO gambling (id, coins, daily) [INFO] [stdout] 31 | | VALUES ($1, $2, now()) [INFO] [stdout] 32 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 35 | | row.coins, [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/dig.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | DigRow, [INFO] [stdout] 23 | | "SELECT [INFO] [stdout] 24 | | g.id, [INFO] [stdout] ... | [INFO] [stdout] 41 | | id.get() as i64 [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/dig.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | "INSERT INTO gambling (id, coins, gems, stamina) [INFO] [stdout] 52 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 53 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 60 | | row.stamina, [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/dig.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let result2 = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 67 | | "INSERT INTO gambling_mine (id, coal, iron, gold, redstone, lapis, diamonds, emeralds) [INFO] [stdout] 68 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8) [INFO] [stdout] 69 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 84 | | row.emeralds, [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/effects.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query_as!( [INFO] [stdout] 18 | | EffectsRow, [INFO] [stdout] 19 | | "SELECT DISTINCT ON (item_id) id, item_id, expiry FROM gambling_effects WHERE user_id = $1", [INFO] [stdout] 20 | | user_id.get() as i64, [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/effects.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / sqlx::query!( [INFO] [stdout] 39 | | "INSERT INTO gambling_effects (user_id, item_id, expiry) VALUES ($1, $2, $3)", [INFO] [stdout] 40 | | user_id.get() as i64, [INFO] [stdout] 41 | | item.id, [INFO] [stdout] 42 | | expiry, [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/effects.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | sqlx::query!("DELETE FROM gambling_effects WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/gift.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / ... sqlx::query_as!( [INFO] [stdout] 22 | | ... SenderRow, [INFO] [stdout] 23 | | ... "SELECT g.id, g.coins, g.gems, g.gift, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.... [INFO] [stdout] 24 | | ... id.get() as i64 [INFO] [stdout] 25 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/gift.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / sqlx::query!( [INFO] [stdout] 38 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 39 | | id.get() as i64, [INFO] [stdout] 40 | | amount [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/gift.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | "INSERT INTO gambling (id, coins, gems, gift) [INFO] [stdout] 52 | | VALUES ($1, $2, $3, now()) [INFO] [stdout] 53 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 57 | | row.gems, [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/gift.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let result2 = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 64 | | "INSERT INTO levels (id, level) [INFO] [stdout] 65 | | VALUES ($1, $2) [INFO] [stdout] 66 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 69 | | row.level, [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endgame_analysis::DestinyPerk` [INFO] [stdout] --> src/modules/destiny2/info/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use endgame_analysis::DestinyPerk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamblingItem` [INFO] [stdout] --> src/modules/gambling/inventory.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use gambling::{Commands, GamblingItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::Json` [INFO] [stdout] --> src/modules/gambling/inventory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoinsRow`, `EggplantsRow`, `GemsRow`, and `LottoTicketRow` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | CoinsRow, EggplantsRow, GemsRow, LeaderboardManager, LeaderboardRow, LottoTicketRow, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EGGPLANT` and `LOTTO_TICKET` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use gambling::shop::{EGGPLANT, LOTTO_TICKET}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gambling::shop::LOTTO_TICKET` [INFO] [stdout] --> src/modules/gambling/lotto.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gambling::shop::LOTTO_TICKET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamblingItem` [INFO] [stdout] --> src/modules/gambling/profile.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use gambling::{Commands, GamblingItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::Json` [INFO] [stdout] --> src/modules/gambling/profile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query_as!( [INFO] [stdout] 19 | | GoalsRow, [INFO] [stdout] 20 | | "SELECT g.coins, g.gems, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.id = $1", [INFO] [stdout] 21 | | id.get() as i64 [INFO] [stdout] 22 | | ).fetch_optional(pool).await [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / sqlx::query_as!( [INFO] [stdout] 32 | | GamblingGoalsRow, [INFO] [stdout] 33 | | "SELECT user_id, goal_id, day, progress, target FROM gambling_goals WHERE user_id = $1", [INFO] [stdout] 34 | | id.get() as i64 [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | sqlx::query!("DELETE FROM gambling_goals 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/goals.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | GamblingGoalsRow, [INFO] [stdout] 72 | | "INSERT INTO gambling_goals (user_id, goal_id, day, progress, target) [INFO] [stdout] 73 | | SELECT * FROM UNNEST($1::bigint[], $2::text[], $3::date[], $4::bigint[], $5::bigint[]) [INFO] [stdout] ... | [INFO] [stdout] 79 | | &targets [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamblingItem` [INFO] [stdout] --> src/modules/gambling/shop.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use gambling::{Commands, GamblingItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::Json` [INFO] [stdout] --> src/modules/gambling/shop.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/inventory.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query_as!( [INFO] [stdout] 37 | | InventoryRow, [INFO] [stdout] 38 | | r#"SELECT [INFO] [stdout] 39 | | g.coins, [INFO] [stdout] ... | [INFO] [stdout] 65 | | id.get() as i64 [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/inventory.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / sqlx::query_scalar!( [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | WITH updated_row AS ( [INFO] [stdout] 82 | | UPDATE gambling_inventory [INFO] [stdout] ... | [INFO] [stdout] 102 | | amount [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_as!( [INFO] [stdout] 43 | | CoinsRow, [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | SELECT id, coins [INFO] [stdout] ... | [INFO] [stdout] 54 | | offset [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query_scalar!( [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | WITH numbered_users AS ( [INFO] [stdout] 71 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 81 | | user_id.get() as i64 [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query_as!( [INFO] [stdout] 96 | | GemsRow, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT id, gems [INFO] [stdout] ... | [INFO] [stdout] 107 | | offset [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query_scalar!( [INFO] [stdout] 122 | | r#" [INFO] [stdout] 123 | | WITH numbered_users AS ( [INFO] [stdout] 124 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 134 | | user_id.get() as i64 [INFO] [stdout] 135 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / sqlx::query_as!( [INFO] [stdout] 149 | | EggplantsRow, [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | SELECT id, quantity [INFO] [stdout] ... | [INFO] [stdout] 161 | | offset [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | / sqlx::query_as!( [INFO] [stdout] 184 | | LottoTicketRow, [INFO] [stdout] 185 | | r#" [INFO] [stdout] 186 | | SELECT id, quantity [INFO] [stdout] ... | [INFO] [stdout] 196 | | offset [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / ... sqlx::query_as!( [INFO] [stdout] 24 | | ... LottoRow, [INFO] [stdout] 25 | | ... "SELECT g.id, g.coins, COALESCE(i.quantity, 0) AS quantity FROM gambling g LEFT JOIN gambling_inventory i ON g.id = i.user_id A... [INFO] [stdout] 26 | | ... id.get() as i64, [INFO] [stdout] 27 | | ... LOTTO_TICKET.id [INFO] [stdout] 28 | | ... ).fetch_optional(conn).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / ... sqlx::query_as!( [INFO] [stdout] 33 | | ... LottoRow, [INFO] [stdout] 34 | | ... "SELECT g.id, g.coins, i.quantity AS quantity FROM gambling g LEFT JOIN gambling_inventory i ON g.id = i.user_id AND i.item_id ... [INFO] [stdout] 35 | | ... LOTTO_TICKET.id [INFO] [stdout] 36 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_scalar!( [INFO] [stdout] 43 | | "SELECT SUM(quantity) FROM gambling_inventory WHERE item_id = $1", [INFO] [stdout] 44 | | LOTTO_TICKET.id [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query!( [INFO] [stdout] 54 | | "DELETE FROM gambling_inventory WHERE item_id = $1", [INFO] [stdout] 55 | | LOTTO_TICKET.id [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/lotto.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / sqlx::query!( [INFO] [stdout] 70 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 71 | | id.get() as i64, [INFO] [stdout] 72 | | amount [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/mine.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / ... sqlx::query_as!( [INFO] [stdout] 17 | | ... MineRow, [INFO] [stdout] 18 | | ... "SELECT miners, mines, land, countries, continents, planets, solar_systems, galaxies, universes, prestige FROM gambling_mine WH... [INFO] [stdout] 19 | | ... id.get() as i64 [INFO] [stdout] 20 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query!( [INFO] [stdout] 25 | | "UPDATE gambling g [INFO] [stdout] 26 | | SET coins = g.coins + m.miners * 10 [INFO] [stdout] 27 | | FROM gambling_mine m [INFO] [stdout] 28 | | WHERE g.id = m.id;" [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/profile.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query_as!( [INFO] [stdout] 19 | | ProfileRow, [INFO] [stdout] 20 | | r#"SELECT [INFO] [stdout] 21 | | g.coins, [INFO] [stdout] ... | [INFO] [stdout] 39 | | id.get() as i64 [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/send.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / ... sqlx::query_as!( [INFO] [stdout] 24 | | ... SendRow, [INFO] [stdout] 25 | | ... "SELECT g.id, g.coins, g.gems, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.id = $1;", [INFO] [stdout] 26 | | ... id.get() as i64 [INFO] [stdout] 27 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/send.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / sqlx::query!( [INFO] [stdout] 38 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 39 | | id.get() as i64, [INFO] [stdout] 40 | | amount [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/send.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query!( [INFO] [stdout] 49 | | "INSERT INTO gambling (id, coins, gems) [INFO] [stdout] 50 | | VALUES ($1, $2, $3) [INFO] [stdout] 51 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 55 | | row.gems, [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!(BuyRow, [INFO] [stdout] 20 | | r#"SELECT [INFO] [stdout] 21 | | g.id, [INFO] [stdout] 22 | | g.coins, [INFO] [stdout] ... | [INFO] [stdout] 53 | | id.get() as i64 [INFO] [stdout] 54 | | ).fetch_optional(pool).await [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 61 | | "INSERT INTO gambling (id, coins, gems) [INFO] [stdout] 62 | | VALUES ($1, $2, $3) [INFO] [stdout] 63 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 67 | | row.gems, [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/shop.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | let result2 = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 75 | | "INSERT INTO gambling_inventory (user_id, item_id, quantity) [INFO] [stdout] 76 | | VALUES ($1, $2, $3) [INFO] [stdout] 77 | | ON CONFLICT (user_id, item_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 81 | | item.quantity [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | ... let result3 = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 91 | | ... "INSERT INTO gambling_mine (id, miners, mines, land, countries, continents, planets, solar_systems, galaxies, universes, tech, ... [INFO] [stdout] 92 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) [INFO] [stdout] 93 | | ... ON CONFLICT (id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 119 | | ... row.production, [INFO] [stdout] 120 | | ... ).execute(&mut *tx).await.map(AnyQueryResult::from)?; [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/modules/gambling/shop.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query_as!( [INFO] [stdout] 136 | | ListRow, [INFO] [stdout] 137 | | r#"SELECT [INFO] [stdout] 138 | | g.id, [INFO] [stdout] ... | [INFO] [stdout] 153 | | id.get() as i64 [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / sqlx::query_as!( [INFO] [stdout] 166 | | SellRow, [INFO] [stdout] 167 | | r#"SELECT [INFO] [stdout] 168 | | g.id, [INFO] [stdout] ... | [INFO] [stdout] 183 | | id.get() as i64 [INFO] [stdout] 184 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/shop.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | let mut result = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 193 | | "INSERT INTO gambling (id, coins) [INFO] [stdout] 194 | | VALUES ($1, $2) [INFO] [stdout] 195 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 198 | | row.coins, [INFO] [stdout] 199 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/shop.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | let result2 = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 206 | | "INSERT INTO gambling_inventory (user_id, item_id, quantity) [INFO] [stdout] 207 | | VALUES ($1, $2, $3) [INFO] [stdout] 208 | | ON CONFLICT (user_id, item_id) DO UPDATE [INFO] [stdout] ... | [INFO] [stdout] 212 | | item.quantity [INFO] [stdout] 213 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/stamina.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / sqlx::query!( [INFO] [stdout] 13 | | "UPDATE gambling SET stamina = LEAST(stamina + 1, $1)", [INFO] [stdout] 14 | | MAX_STAMINA [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/work.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / ... sqlx::query_as!( [INFO] [stdout] 22 | | ... WorkRow, [INFO] [stdout] 23 | | ... "SELECT g.id, g.coins, g.gems, g.stamina, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE... [INFO] [stdout] 24 | | ... id.get() as i64 [INFO] [stdout] 25 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/work.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | "INSERT INTO gambling (id, coins, gems, stamina) [INFO] [stdout] 31 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 32 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 37 | | row.stamina [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | "UPDATE gambling SET coins = coins + $2 WHERE id = $1", [INFO] [stdout] 84 | | id.get() as i64, [INFO] [stdout] 85 | | amount [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/gambling/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / ... sqlx::query_as!( [INFO] [stdout] 104 | | ... GameRow, [INFO] [stdout] 105 | | ... "SELECT g.id, g.coins, g.gems, COALESCE(l.level, 0) AS level FROM gambling g LEFT JOIN levels l ON g.id = l.id WHERE g.id = $1;", [INFO] [stdout] 106 | | ... id.get() as i64 [INFO] [stdout] 107 | | ... ).fetch_optional(pool).await [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/gambling/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / sqlx::query!( [INFO] [stdout] 112 | | "INSERT INTO gambling (id, coins, gems) [INFO] [stdout] 113 | | VALUES ($1, $2, $3) [INFO] [stdout] 114 | | ON CONFLICT (id) DO UPDATE SET [INFO] [stdout] ... | [INFO] [stdout] 118 | | row.gems, [INFO] [stdout] 119 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/reaction_roles/mod.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | ... let result = sqlx::query!("INSERT INTO reaction_roles (guild_id, channel_id, message_id, role_id, emoji) VALUES ($1, $2, $3, $4, $5)", [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | ... guild_id.into(), [INFO] [stdout] 32 | | ... channel_id.into(), [INFO] [stdout] 33 | | ... message_id.into(), [INFO] [stdout] 34 | | ... role_id.into(), [INFO] [stdout] 35 | | ... emoji) [INFO] [stdout] | |____________^ [INFO] [stdout] | [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/modules/reaction_roles/mod.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | let reaction_roles = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 49 | | ReactionRole, [INFO] [stdout] 50 | | "SELECT * FROM reaction_roles WHERE guild_id = $1", [INFO] [stdout] 51 | | guild_id.into() [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/reaction_roles/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let reaction_role = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 65 | | ReactionRole, [INFO] [stdout] 66 | | "SELECT * FROM reaction_roles WHERE message_id = $1 AND emoji = $2", [INFO] [stdout] 67 | | message_id.into(), [INFO] [stdout] 68 | | emoji [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/reaction_roles/mod.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | ... = sqlx::query!("DELETE FROM reaction_roles WHERE guild_id = $1 AND channel_id = $2 AND message_id = $3 AND emoji = $4", guild_id.into(), channel_id.into(), message_id.into(), emoji) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/modules/suggestions/mod.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 24 | | SuggestionsGuildRow, [INFO] [stdout] 25 | | r#"SELECT id, suggestions_channel_id, review_channel_id FROM guilds WHERE id = $1"#, [INFO] [stdout] 26 | | id.into().get() as i64 [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO guilds (id, temp_voice_category, temp_voice_creator_channel) [INFO] [stdout] 31 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 37 | | creator_channel.get() as i64 [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 47 | | TempVoiceRow, [INFO] [stdout] 48 | | r#"SELECT id, temp_voice_category, temp_voice_creator_channel FROM guilds WHERE id = $1"#, [INFO] [stdout] 49 | | id.get() as i64 [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 59 | | r#"SELECT temp_voice_category FROM guilds WHERE id = $1"#, [INFO] [stdout] 60 | | id.get() as i64 [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 74 | | r#"SELECT temp_voice_creator_channel FROM guilds WHERE id = $1"#, [INFO] [stdout] 75 | | id.get() as i64 [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/temp_voice/mod.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | ... let row = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 110 | | ... VoiceChannelRow, [INFO] [stdout] 111 | | ... r#"SELECT id, owner_id, trusted_ids, invites, password, persistent, mode AS "mode: TempVoiceMode" FROM voice_channels WHERE id ... [INFO] [stdout] 112 | | ... id.get() as i64 [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_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/modules/temp_voice/mod.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | r#"SELECT COUNT(*) FROM voice_channels WHERE owner_id = $1 AND persistent = true"#, [INFO] [stdout] 123 | | user_id.get() as i64 [INFO] [stdout] 124 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/temp_voice/mod.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | INSERT INTO voice_channels (id, owner_id, trusted_ids, password, persistent, invites, mode) [INFO] [stdout] 138 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 148 | | mode as TempVoiceMode [INFO] [stdout] 149 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/temp_voice/mod.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 158 | | r#"DELETE FROM voice_channels WHERE id = $1"#, [INFO] [stdout] 159 | | id.get() as i64 [INFO] [stdout] 160 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 34 | | TicketGuildRow, [INFO] [stdout] 35 | | r#"SELECT id, thread_id, support_channel_id, support_role_ids, faq_channel_id FROM guilds WHERE id = $1"#, [INFO] [stdout] 36 | | id.into().get() as i64 [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / sqlx::query!( [INFO] [stdout] 46 | | "UPDATE guilds SET thread_id = thread_id + 1 WHERE id = $1", [INFO] [stdout] 47 | | id.into().get() as i64, [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/modules/ticket/mod.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 62 | | TicketRow, [INFO] [stdout] 63 | | "SELECT * FROM tickets WHERE id = $1", [INFO] [stdout] 64 | | id.into().get() as i64 [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/modules/ticket/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | sqlx::query!("DELETE FROM tickets WHERE id = $1", id.into().get() as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endgame_analysis::DestinyPerk` [INFO] [stdout] --> src/modules/destiny2/info/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use endgame_analysis::DestinyPerk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamblingItem` [INFO] [stdout] --> src/modules/gambling/inventory.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use gambling::{Commands, GamblingItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::Json` [INFO] [stdout] --> src/modules/gambling/inventory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoinsRow`, `EggplantsRow`, `GemsRow`, and `LottoTicketRow` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | CoinsRow, EggplantsRow, GemsRow, LeaderboardManager, LeaderboardRow, LottoTicketRow, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EGGPLANT` and `LOTTO_TICKET` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use gambling::shop::{EGGPLANT, LOTTO_TICKET}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gambling::shop::LOTTO_TICKET` [INFO] [stdout] --> src/modules/gambling/lotto.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gambling::shop::LOTTO_TICKET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamblingItem` [INFO] [stdout] --> src/modules/gambling/profile.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use gambling::{Commands, GamblingItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::Json` [INFO] [stdout] --> src/modules/gambling/profile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GamblingItem` [INFO] [stdout] --> src/modules/gambling/shop.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use gambling::{Commands, GamblingItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::Json` [INFO] [stdout] --> src/modules/gambling/shop.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::types::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | users: &[i64], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_num` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | page_num: i64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | id: impl Into + Send, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | id: impl Into + Send, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | id: impl Into + Send, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | users: &[i64], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_num` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | page_num: i64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | id: impl Into + Send, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | id: impl Into + Send, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | pool: &PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/modules/gambling/leaderboard.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | id: impl Into + Send, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zayden-bot` (bin "zayden-bot") due to 96 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `zayden-bot` (bin "zayden-bot" test) due to 96 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aef2f592a1437dc4ecf9af65cbe7c27d7e2c70e32bdb67640e8bef6dcf98654a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef2f592a1437dc4ecf9af65cbe7c27d7e2c70e32bdb67640e8bef6dcf98654a", kill_on_drop: false }` [INFO] [stdout] aef2f592a1437dc4ecf9af65cbe7c27d7e2c70e32bdb67640e8bef6dcf98654a