[INFO] cloning repository https://github.com/lumen-limitless/commerce-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lumen-limitless/commerce-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flumen-limitless%2Fcommerce-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flumen-limitless%2Fcommerce-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c3f28507e15c0d829995ad9c49f079bee255577 [INFO] checking lumen-limitless/commerce-bot/6c3f28507e15c0d829995ad9c49f079bee255577 against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flumen-limitless%2Fcommerce-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lumen-limitless/commerce-bot [INFO] finished tweaking git repo https://github.com/lumen-limitless/commerce-bot [INFO] tweaked toml for git repo https://github.com/lumen-limitless/commerce-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lumen-limitless/commerce-bot on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lumen-limitless/commerce-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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.52 [INFO] [stderr] Downloaded wasm-streams v0.3.0 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded teloxide-macros v0.7.1 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.52 [INFO] [stderr] Downloaded sqlx-macros v0.7.3 [INFO] [stderr] Downloaded rc-box v1.2.0 [INFO] [stderr] Downloaded erasable v1.2.1 [INFO] [stderr] Downloaded confy v0.5.1 [INFO] [stderr] Downloaded atomic-write-file v0.1.2 [INFO] [stderr] Downloaded crossbeam-queue v0.3.10 [INFO] [stderr] Downloaded dptree v0.3.0 [INFO] [stderr] Downloaded eyre v0.6.11 [INFO] [stderr] Downloaded sqlx-mysql v0.7.3 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.3 [INFO] [stderr] Downloaded der v0.7.8 [INFO] [stderr] Downloaded sqlx-core v0.7.3 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded sqlx v0.7.3 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded sqlx-postgres v0.7.3 [INFO] [stderr] Downloaded teloxide v0.12.2 [INFO] [stderr] Downloaded teloxide-core v0.9.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.59 [INFO] [stderr] Downloaded webpki-roots v0.25.3 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.3 [INFO] [stderr] Downloaded aquamarine v0.1.12 [INFO] [stderr] Downloaded sqlformat v0.2.3 [INFO] [stderr] Downloaded openssl-src v300.2.1+3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51106c9b56095c5748b7eb32aa9bde666ffb705c7e71833c9f259c0cb119c446 [INFO] running `Command { std: "docker" "start" "-a" "51106c9b56095c5748b7eb32aa9bde666ffb705c7e71833c9f259c0cb119c446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51106c9b56095c5748b7eb32aa9bde666ffb705c7e71833c9f259c0cb119c446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51106c9b56095c5748b7eb32aa9bde666ffb705c7e71833c9f259c0cb119c446", kill_on_drop: false }` [INFO] [stdout] 51106c9b56095c5748b7eb32aa9bde666ffb705c7e71833c9f259c0cb119c446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28cb470037399ac7ca7b5018e6b3d7b1f86e0a4ae84cf5494f2e7e41663a9f51 [INFO] running `Command { std: "docker" "start" "-a" "28cb470037399ac7ca7b5018e6b3d7b1f86e0a4ae84cf5494f2e7e41663a9f51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking confy v0.5.1 [INFO] [stderr] Compiling sqlx-sqlite v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking commerce-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/add.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | / sqlx::query!( [INFO] [stdout] 126 | | "INSERT INTO products (name, description, price, image) VALUES (?, ?, ?, ?)", [INFO] [stdout] 127 | | product_name, [INFO] [stdout] 128 | | product_description, [INFO] [stdout] 129 | | product_price, [INFO] [stdout] 130 | | product_image [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/commands/cart.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let cart = sqlx::query!("SELECT * FROM carts WHERE user_id = ?", 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/commands/cart.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | let cart_items_with_products = sqlx::query!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 27 | | "SELECT cart_items.*, products.name, products.price FROM cart_items [INFO] [stdout] 28 | | INNER JOIN products ON cart_items.product_id = products.id [INFO] [stdout] 29 | | WHERE cart_items.cart_id = ?", [INFO] [stdout] 30 | | cart.id [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/cart.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let cart_items = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 80 | | "SELECT * FROM cart_items WHERE cart_id = (SELECT id FROM carts WHERE user_id = ?)", [INFO] [stdout] 81 | | user_id [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/commands/cart.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let order = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 93 | | "INSERT INTO orders (user_id) VALUES (?) RETURNING *", [INFO] [stdout] 94 | | user_id [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/cart.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "INSERT INTO order_items (order_id, product_id, quantity) VALUES (?, ?, ?)", [INFO] [stdout] 102 | | order.id, [INFO] [stdout] 103 | | cart_item.product_id, [INFO] [stdout] 104 | | cart_item.quantity [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/commands/cart.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | sqlx::query!("DELETE FROM cart_items WHERE id = ?", cart_item.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/commands/cart.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | match sqlx::query!("DELETE FROM cart_items WHERE id = ?", cart_item_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/commands/cart.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | match sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 264 | | "UPDATE cart_items SET quantity = ? WHERE id = ?", [INFO] [stdout] 265 | | quantity, [INFO] [stdout] 266 | | cart_item_id [INFO] [stdout] 267 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/commands/inventory.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let products = sqlx::query!("SELECT * FROM products") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/commands/inventory.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let product = sqlx::query!("SELECT * FROM products WHERE id = ?", product_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/commands/inventory.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let cart = sqlx::query!("SELECT * FROM carts WHERE user_id = ?", 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/commands/inventory.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let cart_item = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 106 | | "SELECT * FROM cart_items WHERE cart_id = ? AND product_id = ?", [INFO] [stdout] 107 | | cart.id, [INFO] [stdout] 108 | | product_id [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/inventory.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / sqlx::query!( [INFO] [stdout] 115 | | "UPDATE cart_items SET quantity = quantity + 1 WHERE id = ?", [INFO] [stdout] 116 | | cart_item.id [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/commands/inventory.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "INSERT INTO cart_items (cart_id, product_id, quantity) VALUES (?, ?, ?)", [INFO] [stdout] 128 | | cart.id, [INFO] [stdout] 129 | | product_id, [INFO] [stdout] 130 | | 1 [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/commands/orders.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let orders = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 21 | | "SELECT * FROM orders WHERE user_id = ? ORDER BY id DESC", [INFO] [stdout] 22 | | user_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/remove.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | if let Err(err) = sqlx::query!("DELETE FROM products WHERE id = ?", product_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/commands/start.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | "INSERT OR IGNORE INTO users (id, username, first_name, last_name) VALUES (?, ?, ?, ?)", [INFO] [stdout] 21 | | id, [INFO] [stdout] 22 | | from.username, [INFO] [stdout] 23 | | from.first_name, [INFO] [stdout] 24 | | from.last_name [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/start.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | sqlx::query!("INSERT OR IGNORE INTO carts (user_id) VALUES (?)", 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/commands/add.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | / sqlx::query!( [INFO] [stdout] 126 | | "INSERT INTO products (name, description, price, image) VALUES (?, ?, ?, ?)", [INFO] [stdout] 127 | | product_name, [INFO] [stdout] 128 | | product_description, [INFO] [stdout] 129 | | product_price, [INFO] [stdout] 130 | | product_image [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/commands/cart.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let cart = sqlx::query!("SELECT * FROM carts WHERE user_id = ?", 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/commands/cart.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | let cart_items_with_products = sqlx::query!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 27 | | "SELECT cart_items.*, products.name, products.price FROM cart_items [INFO] [stdout] 28 | | INNER JOIN products ON cart_items.product_id = products.id [INFO] [stdout] 29 | | WHERE cart_items.cart_id = ?", [INFO] [stdout] 30 | | cart.id [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/cart.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let cart_items = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 80 | | "SELECT * FROM cart_items WHERE cart_id = (SELECT id FROM carts WHERE user_id = ?)", [INFO] [stdout] 81 | | user_id [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/commands/cart.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let order = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 93 | | "INSERT INTO orders (user_id) VALUES (?) RETURNING *", [INFO] [stdout] 94 | | user_id [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/cart.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "INSERT INTO order_items (order_id, product_id, quantity) VALUES (?, ?, ?)", [INFO] [stdout] 102 | | order.id, [INFO] [stdout] 103 | | cart_item.product_id, [INFO] [stdout] 104 | | cart_item.quantity [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/commands/cart.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | sqlx::query!("DELETE FROM cart_items WHERE id = ?", cart_item.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/commands/cart.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | match sqlx::query!("DELETE FROM cart_items WHERE id = ?", cart_item_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/commands/cart.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | match sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 264 | | "UPDATE cart_items SET quantity = ? WHERE id = ?", [INFO] [stdout] 265 | | quantity, [INFO] [stdout] 266 | | cart_item_id [INFO] [stdout] 267 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/commands/inventory.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let products = sqlx::query!("SELECT * FROM products") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/commands/inventory.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let product = sqlx::query!("SELECT * FROM products WHERE id = ?", product_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/commands/inventory.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let cart = sqlx::query!("SELECT * FROM carts WHERE user_id = ?", 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/commands/inventory.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let cart_item = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 106 | | "SELECT * FROM cart_items WHERE cart_id = ? AND product_id = ?", [INFO] [stdout] 107 | | cart.id, [INFO] [stdout] 108 | | product_id [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/inventory.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / sqlx::query!( [INFO] [stdout] 115 | | "UPDATE cart_items SET quantity = quantity + 1 WHERE id = ?", [INFO] [stdout] 116 | | cart_item.id [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/commands/inventory.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "INSERT INTO cart_items (cart_id, product_id, quantity) VALUES (?, ?, ?)", [INFO] [stdout] 128 | | cart.id, [INFO] [stdout] 129 | | product_id, [INFO] [stdout] 130 | | 1 [INFO] [stdout] 131 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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/commands/orders.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let orders = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 21 | | "SELECT * FROM orders WHERE user_id = ? ORDER BY id DESC", [INFO] [stdout] 22 | | user_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/remove.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | if let Err(err) = sqlx::query!("DELETE FROM products WHERE id = ?", product_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/commands/start.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | "INSERT OR IGNORE INTO users (id, username, first_name, last_name) VALUES (?, ?, ?, ?)", [INFO] [stdout] 21 | | id, [INFO] [stdout] 22 | | from.username, [INFO] [stdout] 23 | | from.first_name, [INFO] [stdout] 24 | | from.last_name [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/commands/start.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | sqlx::query!("INSERT OR IGNORE INTO carts (user_id) VALUES (?)", 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] [stderr] error: could not compile `commerce-bot` (bin "commerce-bot") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `commerce-bot` (bin "commerce-bot" test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "28cb470037399ac7ca7b5018e6b3d7b1f86e0a4ae84cf5494f2e7e41663a9f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28cb470037399ac7ca7b5018e6b3d7b1f86e0a4ae84cf5494f2e7e41663a9f51", kill_on_drop: false }` [INFO] [stdout] 28cb470037399ac7ca7b5018e6b3d7b1f86e0a4ae84cf5494f2e7e41663a9f51