[INFO] cloning repository https://github.com/worapongdev/rust-axum-api-tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/worapongdev/rust-axum-api-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworapongdev%2Frust-axum-api-tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworapongdev%2Frust-axum-api-tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb2216cedf3361740330b6cd791ca75791a20582
[INFO] checking worapongdev/rust-axum-api-tutorial against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworapongdev%2Frust-axum-api-tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/worapongdev/rust-axum-api-tutorial
[INFO] finished tweaking git repo https://github.com/worapongdev/rust-axum-api-tutorial
[INFO] tweaked toml for git repo https://github.com/worapongdev/rust-axum-api-tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/worapongdev/rust-axum-api-tutorial on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/worapongdev/rust-axum-api-tutorial 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0
[INFO] running `Command { std: "docker" "start" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling syn v3.0.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]    Compiling futures-core v0.3.33
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.54
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]    Compiling tinyvec v1.12.0
[INFO] [stderr]    Compiling futures-task v0.3.33
[INFO] [stderr]    Compiling futures-io v0.3.33
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]     Checking futures-channel v0.3.33
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling tokio v1.53.0
[INFO] [stderr]     Checking regex-automata v0.4.16
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling proc-macro-error-attr3 v3.0.3
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling proc-macro-error3 v3.0.3
[INFO] [stderr]     Checking tower-http v0.7.0
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling validator_derive v0.20.1
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]     Checking validator v0.21.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking todo-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/features/todos/handlers.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let todos = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 14 | |         Todo,
[INFO] [stdout] 15 | |         "SELECT id, title, completed, created_at FROM todos ORDER BY id"
[INFO] [stdout] 16 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/features/todos/handlers.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |       let todo = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 27 | |         Todo,
[INFO] [stdout] 28 | |         "SELECT id, title, completed, created_at FROM todos WHERE id = $1",
[INFO] [stdout] 29 | |         id
[INFO] [stdout] 30 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/features/todos/handlers.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |       let todo = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 44 | |         Todo,
[INFO] [stdout] 45 | |         "INSERT INTO todos (title) VALUES ($1) \
[INFO] [stdout] 46 | |          RETURNING id, title, completed, created_at",
[INFO] [stdout] 47 | |          payload.title,
[INFO] [stdout] 48 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/features/todos/handlers.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |       let todo = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 60 | |         Todo,
[INFO] [stdout] 61 | |         "UPDATE todos SET title = $1, completed = $2 WHERE id = $3 \
[INFO] [stdout] 62 | |          RETURNING id, title, completed, created_at",
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |          id,
[INFO] [stdout] 66 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/features/todos/handlers.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |         "DELETE FROM todos WHERE id = $1",
[INFO] [stdout] 79 | |         id
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [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/features/todos/handlers.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let todos = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 14 | |         Todo,
[INFO] [stdout] 15 | |         "SELECT id, title, completed, created_at FROM todos ORDER BY id"
[INFO] [stdout] 16 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/features/todos/handlers.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |       let todo = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 27 | |         Todo,
[INFO] [stdout] 28 | |         "SELECT id, title, completed, created_at FROM todos WHERE id = $1",
[INFO] [stdout] 29 | |         id
[INFO] [stdout] 30 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/features/todos/handlers.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |       let todo = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 44 | |         Todo,
[INFO] [stdout] 45 | |         "INSERT INTO todos (title) VALUES ($1) \
[INFO] [stdout] 46 | |          RETURNING id, title, completed, created_at",
[INFO] [stdout] 47 | |          payload.title,
[INFO] [stdout] 48 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/features/todos/handlers.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |       let todo = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 60 | |         Todo,
[INFO] [stdout] 61 | |         "UPDATE todos SET title = $1, completed = $2 WHERE id = $3 \
[INFO] [stdout] 62 | |          RETURNING id, title, completed, created_at",
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |          id,
[INFO] [stdout] 66 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/features/todos/handlers.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |         "DELETE FROM todos WHERE id = $1",
[INFO] [stdout] 79 | |         id
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [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/features/orders/repository.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | /     sqlx::query_as!(
[INFO] [stdout]  8 | |         Product,
[INFO] [stdout]  9 | |         "SELECT id, price, stock FROM products WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 10 | |         product_id
[INFO] [stdout] 11 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/features/orders/repository.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     sqlx::query_as!(
[INFO] [stdout] 22 | |         Order,
[INFO] [stdout] 23 | |         "INSERT INTO orders (product_id, quantity, total_price) VALUES ($1, $2, $3) \
[INFO] [stdout] 24 | |          RETURNING id, product_id, quantity, total_price, created_at",
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         total_price
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/features/orders/repository.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     sqlx::query!(
[INFO] [stdout] 38 | |         "UPDATE products SET stock = stock - $1 WHERE id = $2",
[INFO] [stdout] 39 | |         quantity,
[INFO] [stdout] 40 | |         product_id
[INFO] [stdout] 41 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let value: Option<i32> = sqlx::query_scalar!("SELECT 1")
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[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/features/orders/repository.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | /     sqlx::query_as!(
[INFO] [stdout]  8 | |         Product,
[INFO] [stdout]  9 | |         "SELECT id, price, stock FROM products WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 10 | |         product_id
[INFO] [stdout] 11 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[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/features/orders/repository.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     sqlx::query_as!(
[INFO] [stdout] 22 | |         Order,
[INFO] [stdout] 23 | |         "INSERT INTO orders (product_id, quantity, total_price) VALUES ($1, $2, $3) \
[INFO] [stdout] 24 | |          RETURNING id, product_id, quantity, total_price, created_at",
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         total_price
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/features/orders/repository.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     sqlx::query!(
[INFO] [stdout] 38 | |         "UPDATE products SET stock = stock - $1 WHERE id = $2",
[INFO] [stdout] 39 | |         quantity,
[INFO] [stdout] 40 | |         product_id
[INFO] [stdout] 41 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let value: Option<i32> = sqlx::query_scalar!("SELECT 1")
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[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] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/features/todos/handlers.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/features/todos/handlers.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `ok_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/features/todos/handlers.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let todo = sqlx::query_as!(
[INFO] [stdout] 27 |         Todo,
[INFO] [stdout] 28 |         "SELECT id, title, completed, created_at FROM todos WHERE id = $1",
[INFO] [stdout] 29 |         id
[INFO] [stdout] 30 |     )
[INFO] [stdout] 31 |     .fetch_optional(&state.pool).await?
[INFO] [stdout] 32 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `ok_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/features/todos/handlers.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let todo = sqlx::query_as!(
[INFO] [stdout] 27 |         Todo,
[INFO] [stdout] 28 |         "SELECT id, title, completed, created_at FROM todos WHERE id = $1",
[INFO] [stdout] 29 |         id
[INFO] [stdout] 30 |     )
[INFO] [stdout] 31 |     .fetch_optional(&state.pool).await?
[INFO] [stdout] 32 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/features/todos/handlers.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/features/todos/handlers.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `ok_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/features/todos/handlers.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let todo = sqlx::query_as!(
[INFO] [stdout] 60 |         Todo,
[INFO] [stdout] 61 |         "UPDATE todos SET title = $1, completed = $2 WHERE id = $3 \
[INFO] [stdout] 62 |          RETURNING id, title, completed, created_at",
[INFO] [stdout] 63 |          payload.title,
[INFO] [stdout] 64 |          payload.completed,
[INFO] [stdout] 65 |          id,
[INFO] [stdout] 66 |     )
[INFO] [stdout] 67 |     .fetch_optional(&state.pool).await?
[INFO] [stdout] 68 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/features/todos/handlers.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     if result.rows_affected() == 0 {
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `ok_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/features/todos/handlers.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let todo = sqlx::query_as!(
[INFO] [stdout] 60 |         Todo,
[INFO] [stdout] 61 |         "UPDATE todos SET title = $1, completed = $2 WHERE id = $3 \
[INFO] [stdout] 62 |          RETURNING id, title, completed, created_at",
[INFO] [stdout] 63 |          payload.title,
[INFO] [stdout] 64 |          payload.completed,
[INFO] [stdout] 65 |          id,
[INFO] [stdout] 66 |     )
[INFO] [stdout] 67 |     .fetch_optional(&state.pool).await?
[INFO] [stdout] 68 |     .ok_or(AppError::NotFound)?;
[INFO] [stdout]    |      ^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/features/todos/handlers.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     if result.rows_affected() == 0 {
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]   --> src/features/todos/handlers.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     if result.rows_affected() == 0 {
[INFO] [stdout]    |               ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]   --> src/features/todos/handlers.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 |     if result.rows_affected() == 0 {
[INFO] [stdout]    |               ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-api` (lib) due to 12 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `todo-api` (lib test) due to 12 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0", kill_on_drop: false }`
[INFO] [stdout] bea4b32885374f04c42e92a363401e4038213a9c6d870da2ccc3d58347fe59f0
