[INFO] cloning repository https://github.com/dpsi9/notes-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpsi9/notes-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpsi9%2Fnotes-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpsi9%2Fnotes-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28fa4ca9c90b1baf56b41037f3583ca68558db33 [INFO] checking dpsi9/notes-api against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpsi9%2Fnotes-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dpsi9/notes-api [INFO] finished tweaking git repo https://github.com/dpsi9/notes-api [INFO] tweaked toml for git repo https://github.com/dpsi9/notes-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpsi9/notes-api on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dpsi9/notes-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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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 time-core v0.1.5 [INFO] [stderr] Downloaded time-macros v0.2.23 [INFO] [stderr] Downloaded deranged v0.5.2 [INFO] [stderr] Downloaded time v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 149c48c1b03e99170fe6f6c6ab9d2c606e74a8ba143c350df11e9e79e518ff4e [INFO] running `Command { std: "docker" "start" "-a" "149c48c1b03e99170fe6f6c6ab9d2c606e74a8ba143c350df11e9e79e518ff4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "149c48c1b03e99170fe6f6c6ab9d2c606e74a8ba143c350df11e9e79e518ff4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149c48c1b03e99170fe6f6c6ab9d2c606e74a8ba143c350df11e9e79e518ff4e", kill_on_drop: false }` [INFO] [stdout] 149c48c1b03e99170fe6f6c6ab9d2c606e74a8ba143c350df11e9e79e518ff4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 944cd3311c3cd4f3a835eed616ce09225efe9e7b07a460fbbabe960232b95d41 [INFO] running `Command { std: "docker" "start" "-a" "944cd3311c3cd4f3a835eed616ce09225efe9e7b07a460fbbabe960232b95d41", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Checking deranged v0.5.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking time v0.3.42 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [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.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking notes-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/notes/service.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let notes = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 7 | | Note, [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT id, title, body, created_at as "created_at!" FROM notes ORDER BY id DESC [INFO] [stdout] 10 | | "# [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/notes/service.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let notes = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 7 | | Note, [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT id, title, body, created_at as "created_at!" FROM notes ORDER BY id DESC [INFO] [stdout] 10 | | "# [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/notes/service.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let note = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | Note, [INFO] [stdout] 21 | | r#"INSERT INTO notes (title, body) VALUES($1, $2) RETURNING id, title, body, created_at as "created_at!""#, [INFO] [stdout] 22 | | title, [INFO] [stdout] 23 | | body [INFO] [stdout] 24 | | ).fetch_one(pool).await?; [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/notes/service.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let note = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | Note, [INFO] [stdout] 21 | | r#"INSERT INTO notes (title, body) VALUES($1, $2) RETURNING id, title, body, created_at as "created_at!""#, [INFO] [stdout] 22 | | title, [INFO] [stdout] 23 | | body [INFO] [stdout] 24 | | ).fetch_one(pool).await?; [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/notes/service.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let note = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 31 | | Note, [INFO] [stdout] 32 | | r#"SELECT id, title, body, created_at as "created_at!" FROM notes WHERE id = $1"#, [INFO] [stdout] 33 | | id [INFO] [stdout] 34 | | ).fetch_optional(pool).await?; [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/notes/service.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let note = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 31 | | Note, [INFO] [stdout] 32 | | r#"SELECT id, title, body, created_at as "created_at!" FROM notes WHERE id = $1"#, [INFO] [stdout] 33 | | id [INFO] [stdout] 34 | | ).fetch_optional(pool).await?; [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/notes/service.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 41 | | r#"DELETE FROM notes WHERE id = $1"#, id [INFO] [stdout] 42 | | ).execute(pool).await?; [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/notes/service.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 41 | | r#"DELETE FROM notes WHERE id = $1"#, id [INFO] [stdout] 42 | | ).execute(pool).await?; [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/notes/service.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some( note) = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | Note, [INFO] [stdout] 52 | | r#"SELECT id, title, body, created_at as "created_at!" FROM notes WHERE id = $1"#, id [INFO] [stdout] 53 | | ).fetch_optional(&mut *tx).await? { [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/notes/service.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some( note) = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | Note, [INFO] [stdout] 52 | | r#"SELECT id, title, body, created_at as "created_at!" FROM notes WHERE id = $1"#, id [INFO] [stdout] 53 | | ).fetch_optional(&mut *tx).await? { [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/notes/service.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 58 | | Note, [INFO] [stdout] 59 | | r#"UPDATE notes SET title = $1, body = $2 WHERE id = $3 RETURNING id, title, body, created_at as "created_at!""#, [INFO] [stdout] 60 | | new_title, [INFO] [stdout] 61 | | new_body, [INFO] [stdout] 62 | | id [INFO] [stdout] 63 | | ).fetch_one(&mut *tx).await?; [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/notes/service.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let updated = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 58 | | Note, [INFO] [stdout] 59 | | r#"UPDATE notes SET title = $1, body = $2 WHERE id = $3 RETURNING id, title, body, created_at as "created_at!""#, [INFO] [stdout] 60 | | new_title, [INFO] [stdout] 61 | | new_body, [INFO] [stdout] 62 | | id [INFO] [stdout] 63 | | ).fetch_one(&mut *tx).await?; [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[E0282]: type annotations needed [INFO] [stdout] --> src/notes/service.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let res = sqlx::query!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(res.rows_affected() > 0) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 40 | let res: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/notes/service.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let res = sqlx::query!( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(res.rows_affected() > 0) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 40 | let res: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notes-api` (bin "notes-api" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `notes-api` (bin "notes-api") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "944cd3311c3cd4f3a835eed616ce09225efe9e7b07a460fbbabe960232b95d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944cd3311c3cd4f3a835eed616ce09225efe9e7b07a460fbbabe960232b95d41", kill_on_drop: false }` [INFO] [stdout] 944cd3311c3cd4f3a835eed616ce09225efe9e7b07a460fbbabe960232b95d41