[INFO] cloning repository https://github.com/matheusfrancisco/api_axum_with_tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matheusfrancisco/api_axum_with_tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheusfrancisco%2Fapi_axum_with_tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheusfrancisco%2Fapi_axum_with_tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d911d5abfa21409f05d528563adb709d52767c9 [INFO] checking matheusfrancisco/api_axum_with_tests/6d911d5abfa21409f05d528563adb709d52767c9 against master#80b898258da78fdd1262438126aa0cf90e395f0c for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheusfrancisco%2Fapi_axum_with_tests" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matheusfrancisco/api_axum_with_tests [INFO] finished tweaking git repo https://github.com/matheusfrancisco/api_axum_with_tests [INFO] tweaked toml for git repo https://github.com/matheusfrancisco/api_axum_with_tests written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matheusfrancisco/api_axum_with_tests on toolchain 80b898258da78fdd1262438126aa0cf90e395f0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matheusfrancisco/api_axum_with_tests 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" "+80b898258da78fdd1262438126aa0cf90e395f0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded wasite v0.1.0 [INFO] [stderr] Downloaded cpufeatures v0.2.16 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded serde v1.0.216 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded rsa v0.9.7 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded hyper v1.5.1 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] [stderr] Downloaded serde_derive v1.0.216 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded tokio v1.42.0 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9d8b12320200fc03237249ad20827945aad7db1a4704c9642af0387910a8d35 [INFO] running `Command { std: "docker" "start" "-a" "b9d8b12320200fc03237249ad20827945aad7db1a4704c9642af0387910a8d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9d8b12320200fc03237249ad20827945aad7db1a4704c9642af0387910a8d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d8b12320200fc03237249ad20827945aad7db1a4704c9642af0387910a8d35", kill_on_drop: false }` [INFO] [stdout] b9d8b12320200fc03237249ad20827945aad7db1a4704c9642af0387910a8d35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe9fa5cd172ffe3a42bf6a14cc5804b779457ef4859639db365e77287f183f5 [INFO] running `Command { std: "docker" "start" "-a" "8fe9fa5cd172ffe3a42bf6a14cc5804b779457ef4859639db365e77287f183f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking axum v0.7.9 [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 web_api_rust_learn 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/database/queries.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 7 | | r#" [INFO] [stdout] 8 | | INSERT INTO posts (text, parent_id) [INFO] [stdout] 9 | | SELECT $1, $2 [INFO] [stdout] ... | [INFO] [stdout] 13 | | parent_id [INFO] [stdout] 14 | | ) [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/database/queries.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 23 | | Post, [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 36 | | "# [INFO] [stdout] 37 | | ) [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/database/queries.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let db_post = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 44 | | DbPostWithReplies, [INFO] [stdout] 45 | | r#" [INFO] [stdout] 46 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 68 | | post_id [INFO] [stdout] 69 | | ) [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/database/queries.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / sqlx::query!( [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | UPDATE posts [INFO] [stdout] 155 | | SET text = $1 [INFO] [stdout] ... | [INFO] [stdout] 159 | | post_id [INFO] [stdout] 160 | | ) [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/database/queries.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / sqlx::query!( [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | UPDATE posts [INFO] [stdout] 171 | | SET deleted_at = NOW() [INFO] [stdout] ... | [INFO] [stdout] 174 | | post_id [INFO] [stdout] 175 | | ) [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/database/queries.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 7 | | r#" [INFO] [stdout] 8 | | INSERT INTO posts (text, parent_id) [INFO] [stdout] 9 | | SELECT $1, $2 [INFO] [stdout] ... | [INFO] [stdout] 13 | | parent_id [INFO] [stdout] 14 | | ) [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/database/queries.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 23 | | Post, [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 36 | | "# [INFO] [stdout] 37 | | ) [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/database/queries.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | let db_post = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 44 | | DbPostWithReplies, [INFO] [stdout] 45 | | r#" [INFO] [stdout] 46 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 68 | | post_id [INFO] [stdout] 69 | | ) [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] warning: unused import: `Database` [INFO] [stdout] --> src/database/connect.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{postgres::PgPoolOptions, Database, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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/database/queries.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / sqlx::query!( [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | UPDATE posts [INFO] [stdout] 155 | | SET text = $1 [INFO] [stdout] ... | [INFO] [stdout] 159 | | post_id [INFO] [stdout] 160 | | ) [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/database/queries.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | / sqlx::query!( [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | UPDATE posts [INFO] [stdout] 171 | | SET deleted_at = NOW() [INFO] [stdout] ... | [INFO] [stdout] 174 | | post_id [INFO] [stdout] 175 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> src/database/queries.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let db_post = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | let mut db_posts = db_post.into_iter(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `db_post` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let db_post: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/database/connect.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{postgres::PgPoolOptions, Database, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/database/queries.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let db_post = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | let mut db_posts = db_post.into_iter(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `db_post` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let db_post: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web_api_rust_learn` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web_api_rust_learn` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8fe9fa5cd172ffe3a42bf6a14cc5804b779457ef4859639db365e77287f183f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe9fa5cd172ffe3a42bf6a14cc5804b779457ef4859639db365e77287f183f5", kill_on_drop: false }` [INFO] [stdout] 8fe9fa5cd172ffe3a42bf6a14cc5804b779457ef4859639db365e77287f183f5