[INFO] cloning repository https://github.com/efredine/rust-axum-rest-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/efredine/rust-axum-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefredine%2Frust-axum-rest-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefredine%2Frust-axum-rest-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff9ef364ef35453b8b25e9eca6c36b4c63535c0e [INFO] checking efredine/rust-axum-rest-api against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefredine%2Frust-axum-rest-api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/efredine/rust-axum-rest-api [INFO] finished tweaking git repo https://github.com/efredine/rust-axum-rest-api [INFO] tweaked toml for git repo https://github.com/efredine/rust-axum-rest-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/efredine/rust-axum-rest-api on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/efredine/rust-axum-rest-api 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "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 whoami v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b49dc20e97171897612cc8b68a6bde0530cbeaa5f9b52733540c7cf1360eac95 [INFO] running `Command { std: "docker" "start" "-a" "b49dc20e97171897612cc8b68a6bde0530cbeaa5f9b52733540c7cf1360eac95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b49dc20e97171897612cc8b68a6bde0530cbeaa5f9b52733540c7cf1360eac95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49dc20e97171897612cc8b68a6bde0530cbeaa5f9b52733540c7cf1360eac95", kill_on_drop: false }` [INFO] [stdout] b49dc20e97171897612cc8b68a6bde0530cbeaa5f9b52733540c7cf1360eac95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41cd38e744c1016163c784e660a0ceba3d8e16ce6c6984b779675ecf194ee393 [INFO] running `Command { std: "docker" "start" "-a" "41cd38e744c1016163c784e660a0ceba3d8e16ce6c6984b779675ecf194ee393", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.8.4 [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 rust-axum-rest-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/handlers/posts.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let posts = sqlx::query_as!(Post, "SELECT id, user_id, title, body FROM posts") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/posts.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let posts = sqlx::query_as!(Post, "SELECT id, user_id, title, body FROM posts") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/posts.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let post = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | Post, [INFO] [stdout] 25 | | "SELECT id, user_id, title, body FROM posts WHERE id = $1", [INFO] [stdout] 26 | | id [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/posts.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let post = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | Post, [INFO] [stdout] 25 | | "SELECT id, user_id, title, body FROM posts WHERE id = $1", [INFO] [stdout] 26 | | id [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/posts.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let post = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 40 | | Post, [INFO] [stdout] 41 | | "INSERT INTO posts (user_id, title, body) VALUES ($1, $2, $3) RETURNING id, title, body, user_id", [INFO] [stdout] 42 | | new_post.user_id, [INFO] [stdout] 43 | | new_post.title, [INFO] [stdout] 44 | | new_post.body [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/posts.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let post = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 59 | | Post, [INFO] [stdout] 60 | | "UPDATE posts SET title = $1, body = $2, user_id = $3 WHERE id = $4 RETURNING id, user_id, title, body", [INFO] [stdout] 61 | | updated_post.title, [INFO] [stdout] ... | [INFO] [stdout] 64 | | id [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/posts.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let post = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 40 | | Post, [INFO] [stdout] 41 | | "INSERT INTO posts (user_id, title, body) VALUES ($1, $2, $3) RETURNING id, title, body, user_id", [INFO] [stdout] 42 | | new_post.user_id, [INFO] [stdout] 43 | | new_post.title, [INFO] [stdout] 44 | | new_post.body [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/posts.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let result = sqlx::query!("DELETE FROM posts WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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/posts.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let post = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 59 | | Post, [INFO] [stdout] 60 | | "UPDATE posts SET title = $1, body = $2, user_id = $3 WHERE id = $4 RETURNING id, user_id, title, body", [INFO] [stdout] 61 | | updated_post.title, [INFO] [stdout] ... | [INFO] [stdout] 64 | | id [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/posts.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let result = sqlx::query!("DELETE FROM posts WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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/users.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | User, [INFO] [stdout] 12 | | "INSERT INTO users (username, email) VALUES ($1, $2) RETURNING id, username, email", [INFO] [stdout] 13 | | new_user.username, [INFO] [stdout] 14 | | new_user.email [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/handlers/users.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | User, [INFO] [stdout] 12 | | "INSERT INTO users (username, email) VALUES ($1, $2) RETURNING id, username, email", [INFO] [stdout] 13 | | new_user.username, [INFO] [stdout] 14 | | new_user.email [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-axum-rest-api` (bin "rust-axum-rest-api") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-axum-rest-api` (bin "rust-axum-rest-api" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "41cd38e744c1016163c784e660a0ceba3d8e16ce6c6984b779675ecf194ee393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41cd38e744c1016163c784e660a0ceba3d8e16ce6c6984b779675ecf194ee393", kill_on_drop: false }` [INFO] [stdout] 41cd38e744c1016163c784e660a0ceba3d8e16ce6c6984b779675ecf194ee393