[INFO] cloning repository https://github.com/LorenzoIanotto/quickbites-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LorenzoIanotto/quickbites-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzoIanotto%2Fquickbites-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzoIanotto%2Fquickbites-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47ed038ca85fa402621b7288f1b57f1722c956eb [INFO] checking LorenzoIanotto/quickbites-rs against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLorenzoIanotto%2Fquickbites-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LorenzoIanotto/quickbites-rs on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LorenzoIanotto/quickbites-rs [INFO] finished tweaking git repo https://github.com/LorenzoIanotto/quickbites-rs [INFO] tweaked toml for git repo https://github.com/LorenzoIanotto/quickbites-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LorenzoIanotto/quickbites-rs 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.9.1 [INFO] [stderr] Downloaded zerocopy v0.8.20 [INFO] [stderr] Downloaded zerocopy-derive v0.8.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb74e2407ddbe081926003b48843c89cf5598ba2616fbf9d3ddec90e2ab630d [INFO] running `Command { std: "docker" "start" "-a" "4cb74e2407ddbe081926003b48843c89cf5598ba2616fbf9d3ddec90e2ab630d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb74e2407ddbe081926003b48843c89cf5598ba2616fbf9d3ddec90e2ab630d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb74e2407ddbe081926003b48843c89cf5598ba2616fbf9d3ddec90e2ab630d", kill_on_drop: false }` [INFO] [stdout] 4cb74e2407ddbe081926003b48843c89cf5598ba2616fbf9d3ddec90e2ab630d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9337b2850bf202438c4e26652c7a62b215ba850fcc96cc1b30e88bb9e8e1d7c [INFO] running `Command { std: "docker" "start" "-a" "b9337b2850bf202438c4e26652c7a62b215ba850fcc96cc1b30e88bb9e8e1d7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [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 try-lock v0.2.5 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking getrandom v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking rand_core v0.9.1 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rocket_db_pools v0.2.0 [INFO] [stderr] Checking quickbites-api 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/auth.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | "select id, password_hash from Users where username=$1", [INFO] [stdout] 31 | | user_details.username [INFO] [stdout] 32 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/auth.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | "select id, password_hash from Users where username=$1", [INFO] [stdout] 31 | | user_details.username [INFO] [stdout] 32 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/auth.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | ... let res = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 84 | | ... User, [INFO] [stdout] 85 | | ... r#"select id, username, email, password_hash, role as "role: UserRole", credit_cents, default_school_id from Users where id=$1"#, [INFO] [stdout] 86 | | ... id [INFO] [stdout] 87 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/auth.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | ... let res = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 84 | | ... User, [INFO] [stdout] 85 | | ... r#"select id, username, email, password_hash, role as "role: UserRole", credit_cents, default_school_id from Users where id=$1"#, [INFO] [stdout] 86 | | ... id [INFO] [stdout] 87 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [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/customer.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let order_id = sqlx::query_scalar!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | "insert into Orders (delivery_day, school_id, customer_id) values ($1, $2, $3) returning id", [INFO] [stdout] 59 | | new_order_details.delivery_day, [INFO] [stdout] 60 | | new_order_details.school_id, [INFO] [stdout] 61 | | customer.id [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | "select price_cents, order_advance_hours from Products where id = $1", [INFO] [stdout] 72 | | product.id [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/customer.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query!( [INFO] [stdout] 91 | | "insert into ProductsOnOrders (order_id, product_id, quantity, piece_price_cents) values ($1, $2, $3, $4)", [INFO] [stdout] 92 | | order_id, product.id, product.quantity as i16, price [INFO] [stdout] 93 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/customer.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | "update Users set credit_cents = credit_cents - $1 where id = $2", [INFO] [stdout] 101 | | total_cents as i16, [INFO] [stdout] 102 | | customer.id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/customer.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | let res = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 137 | | GetOrderResponse, [INFO] [stdout] 138 | | "select id, created_at, delivery_day, delivery_code, checked_by_seller_at, school_id from Orders where customer_id=$1", [INFO] [stdout] 139 | | customer.id [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | let res = sqlx::query_scalar!( [INFO] [stdout] | _______________^ [INFO] [stdout] 173 | | "select delivery_code from Orders where id = $1 and customer_id = $2 and delivery_day = current_date and school_id = $3", [INFO] [stdout] 174 | | order_id, [INFO] [stdout] 175 | | customer.id, [INFO] [stdout] 176 | | additional_info.school_id [INFO] [stdout] 177 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let existant_codes = sqlx::query_scalar!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 192 | | " [INFO] [stdout] 193 | | select delivery_code from Orders [INFO] [stdout] 194 | | where delivery_code is not null and delivery_day = current_date and school_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 197 | | additional_info.school_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_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/customer.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | "update Orders set delivery_code = $1 where id = $2 and customer_id = $3 and delivery_day = current_date and school_id = $4", [INFO] [stdout] 229 | | delivery_code, [INFO] [stdout] 230 | | order_id, [INFO] [stdout] 231 | | customer.id, [INFO] [stdout] 232 | | additional_info.school_id [INFO] [stdout] 233 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let order_id = sqlx::query_scalar!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 58 | | "insert into Orders (delivery_day, school_id, customer_id) values ($1, $2, $3) returning id", [INFO] [stdout] 59 | | new_order_details.delivery_day, [INFO] [stdout] 60 | | new_order_details.school_id, [INFO] [stdout] 61 | | customer.id [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | "select price_cents, order_advance_hours from Products where id = $1", [INFO] [stdout] 72 | | product.id [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/customer.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query!( [INFO] [stdout] 91 | | "insert into ProductsOnOrders (order_id, product_id, quantity, piece_price_cents) values ($1, $2, $3, $4)", [INFO] [stdout] 92 | | order_id, product.id, product.quantity as i16, price [INFO] [stdout] 93 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/customer.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | "update Users set credit_cents = credit_cents - $1 where id = $2", [INFO] [stdout] 101 | | total_cents as i16, [INFO] [stdout] 102 | | customer.id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/customer.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | let res = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 137 | | GetOrderResponse, [INFO] [stdout] 138 | | "select id, created_at, delivery_day, delivery_code, checked_by_seller_at, school_id from Orders where customer_id=$1", [INFO] [stdout] 139 | | customer.id [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | let res = sqlx::query_scalar!( [INFO] [stdout] | _______________^ [INFO] [stdout] 173 | | "select delivery_code from Orders where id = $1 and customer_id = $2 and delivery_day = current_date and school_id = $3", [INFO] [stdout] 174 | | order_id, [INFO] [stdout] 175 | | customer.id, [INFO] [stdout] 176 | | additional_info.school_id [INFO] [stdout] 177 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/customer.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | let existant_codes = sqlx::query_scalar!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 192 | | " [INFO] [stdout] 193 | | select delivery_code from Orders [INFO] [stdout] 194 | | where delivery_code is not null and delivery_day = current_date and school_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 197 | | additional_info.school_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_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/customer.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | "update Orders set delivery_code = $1 where id = $2 and customer_id = $3 and delivery_day = current_date and school_id = $4", [INFO] [stdout] 229 | | delivery_code, [INFO] [stdout] 230 | | order_id, [INFO] [stdout] 231 | | customer.id, [INFO] [stdout] 232 | | additional_info.school_id [INFO] [stdout] 233 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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 `quickbites-api` (bin "quickbites-api") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `quickbites-api` (bin "quickbites-api" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "b9337b2850bf202438c4e26652c7a62b215ba850fcc96cc1b30e88bb9e8e1d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9337b2850bf202438c4e26652c7a62b215ba850fcc96cc1b30e88bb9e8e1d7c", kill_on_drop: false }` [INFO] [stdout] b9337b2850bf202438c4e26652c7a62b215ba850fcc96cc1b30e88bb9e8e1d7c