[INFO] cloning repository https://github.com/WarriorsSami/vending-machine-type-safe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WarriorsSami/vending-machine-type-safe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarriorsSami%2Fvending-machine-type-safe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarriorsSami%2Fvending-machine-type-safe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c3fe232367baff5c4e1e8be19f9161b28027c6f [INFO] checking WarriorsSami/vending-machine-type-safe/1c3fe232367baff5c4e1e8be19f9161b28027c6f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWarriorsSami%2Fvending-machine-type-safe" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WarriorsSami/vending-machine-type-safe on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WarriorsSami/vending-machine-type-safe [INFO] finished tweaking git repo https://github.com/WarriorsSami/vending-machine-type-safe [INFO] tweaked toml for git repo https://github.com/WarriorsSami/vending-machine-type-safe written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WarriorsSami/vending-machine-type-safe already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5-tc1/source/cli/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yadir_derive v0.1.5 [INFO] [stderr] Downloaded yadir v0.3.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2432b92d486b36cd269f29d9f7cf6749ed56009f77f2a0871f8f0f46dd624e7 [INFO] running `Command { std: "docker" "start" "-a" "e2432b92d486b36cd269f29d9f7cf6749ed56009f77f2a0871f8f0f46dd624e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2432b92d486b36cd269f29d9f7cf6749ed56009f77f2a0871f8f0f46dd624e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2432b92d486b36cd269f29d9f7cf6749ed56009f77f2a0871f8f0f46dd624e7", kill_on_drop: false }` [INFO] [stdout] e2432b92d486b36cd269f29d9f7cf6749ed56009f77f2a0871f8f0f46dd624e7 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a887e47c4821b9cf1ddff2d482b8dc03262e0a26fd4ba4e0139e1e443fd240bc [INFO] running `Command { std: "docker" "start" "-a" "a887e47c4821b9cf1ddff2d482b8dc03262e0a26fd4ba4e0139e1e443fd240bc", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/cli/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling claim v0.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling yadir_derive v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking yadir v0.3.2 [INFO] [stderr] Checking vending-machine v0.1.0 (/opt/rustwide/workdir/vending-machine) [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking infrastructure v0.1.0 (/opt/rustwide/workdir/infrastructure) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let product = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 60 | | RawProduct, [INFO] [stdout] 61 | | r#"SELECT column_id, name, price, quantity FROM product WHERE column_id = ?"#, [INFO] [stdout] 62 | | column_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | r#"UPDATE product SET name = ?, price = ?, quantity = ? WHERE column_id = ?"#, [INFO] [stdout] 82 | | name, [INFO] [stdout] 83 | | price, [INFO] [stdout] 84 | | quantity, [INFO] [stdout] 85 | | column_id [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] --> infrastructure/src/sqlite.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | r#"INSERT INTO product (column_id, name, price, quantity) VALUES (?, ?, ?, ?)"#, [INFO] [stdout] 98 | | column_id, [INFO] [stdout] 99 | | name, [INFO] [stdout] 100 | | price, [INFO] [stdout] 101 | | quantity [INFO] [stdout] 102 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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] --> infrastructure/src/sqlite.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let products = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 113 | | RawProduct, [INFO] [stdout] 114 | | r#"SELECT column_id, name, price, quantity FROM product"# [INFO] [stdout] 115 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let product = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 164 | | RawProduct, [INFO] [stdout] 165 | | r#"SELECT column_id, name, price, quantity FROM product WHERE name = ?"#, [INFO] [stdout] 166 | | product_name [INFO] [stdout] 167 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / sqlx::query!( [INFO] [stdout] 175 | | r#"INSERT INTO sale (date, price, product_id) VALUES (?, ?, ?)"#, [INFO] [stdout] 176 | | sale.date, [INFO] [stdout] 177 | | price, [INFO] [stdout] 178 | | product_id [INFO] [stdout] 179 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infrastructure/src/sqlite.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let raw_sales = sqlx::query_as!(RawSale, r#"SELECT id, date, price, product_id FROM sale"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | let product = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 195 | | RawProduct, [INFO] [stdout] 196 | | r#"SELECT column_id, name, price, quantity FROM product WHERE column_id = ?"#, [INFO] [stdout] 197 | | sale.product_id [INFO] [stdout] 198 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let product = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 60 | | RawProduct, [INFO] [stdout] 61 | | r#"SELECT column_id, name, price, quantity FROM product WHERE column_id = ?"#, [INFO] [stdout] 62 | | column_id [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | r#"UPDATE product SET name = ?, price = ?, quantity = ? WHERE column_id = ?"#, [INFO] [stdout] 82 | | name, [INFO] [stdout] 83 | | price, [INFO] [stdout] 84 | | quantity, [INFO] [stdout] 85 | | column_id [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] --> infrastructure/src/sqlite.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | r#"INSERT INTO product (column_id, name, price, quantity) VALUES (?, ?, ?, ?)"#, [INFO] [stdout] 98 | | column_id, [INFO] [stdout] 99 | | name, [INFO] [stdout] 100 | | price, [INFO] [stdout] 101 | | quantity [INFO] [stdout] 102 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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] --> infrastructure/src/sqlite.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let products = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 113 | | RawProduct, [INFO] [stdout] 114 | | r#"SELECT column_id, name, price, quantity FROM product"# [INFO] [stdout] 115 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let product = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 164 | | RawProduct, [INFO] [stdout] 165 | | r#"SELECT column_id, name, price, quantity FROM product WHERE name = ?"#, [INFO] [stdout] 166 | | product_name [INFO] [stdout] 167 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / sqlx::query!( [INFO] [stdout] 175 | | r#"INSERT INTO sale (date, price, product_id) VALUES (?, ?, ?)"#, [INFO] [stdout] 176 | | sale.date, [INFO] [stdout] 177 | | price, [INFO] [stdout] 178 | | product_id [INFO] [stdout] 179 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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] --> infrastructure/src/sqlite.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let raw_sales = sqlx::query_as!(RawSale, r#"SELECT id, date, price, product_id FROM sale"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> infrastructure/src/sqlite.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | let product = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 195 | | RawProduct, [INFO] [stdout] 196 | | r#"SELECT column_id, name, price, quantity FROM product WHERE column_id = ?"#, [INFO] [stdout] 197 | | sale.product_id [INFO] [stdout] 198 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infrastructure` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infrastructure` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "a887e47c4821b9cf1ddff2d482b8dc03262e0a26fd4ba4e0139e1e443fd240bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a887e47c4821b9cf1ddff2d482b8dc03262e0a26fd4ba4e0139e1e443fd240bc", kill_on_drop: false }` [INFO] [stdout] a887e47c4821b9cf1ddff2d482b8dc03262e0a26fd4ba4e0139e1e443fd240bc