[INFO] cloning repository https://github.com/humamalamin/simple-api-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/humamalamin/simple-api-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumamalamin%2Fsimple-api-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumamalamin%2Fsimple-api-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8519bc0b5b0ecf8033be6dab93b71a8646b5975e [INFO] checking humamalamin/simple-api-rust/8519bc0b5b0ecf8033be6dab93b71a8646b5975e against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumamalamin%2Fsimple-api-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/humamalamin/simple-api-rust [INFO] finished tweaking git repo https://github.com/humamalamin/simple-api-rust [INFO] tweaked toml for git repo https://github.com/humamalamin/simple-api-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/humamalamin/simple-api-rust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/humamalamin/simple-api-rust 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utoipa-gen v5.4.0 [INFO] [stderr] Downloaded utoipa v5.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d528202beeed987cd310d7d2869e839e41d9393e71d74182162082b9133c8eeb [INFO] running `Command { std: "docker" "start" "-a" "d528202beeed987cd310d7d2869e839e41d9393e71d74182162082b9133c8eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d528202beeed987cd310d7d2869e839e41d9393e71d74182162082b9133c8eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d528202beeed987cd310d7d2869e839e41d9393e71d74182162082b9133c8eeb", kill_on_drop: false }` [INFO] [stdout] d528202beeed987cd310d7d2869e839e41d9393e71d74182162082b9133c8eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0374e64a6ea5ca6d40f276293ff69a9d87e5d5db5dc91a125db89f3149b878cb [INFO] running `Command { std: "docker" "start" "-a" "0374e64a6ea5ca6d40f276293ff69a9d87e5d5db5dc91a125db89f3149b878cb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking futures v0.3.31 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking utoipa v5.4.0 [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 hello-word v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let item = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 25 | | Item, [INFO] [stdout] 26 | | r#" [INFO] [stdout] 27 | | INSERT INTO items (name, description) VALUES ($1, $2) RETURNING *; [INFO] [stdout] ... | [INFO] [stdout] 30 | | payload.description [INFO] [stdout] 31 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let items = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 42 | | Item, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | SELECT * FROM items ORDER BY created_at DESC; [INFO] [stdout] 45 | | "# [INFO] [stdout] 46 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let item = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 59 | | Item, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT * FROM items WHERE id = $1; [INFO] [stdout] 62 | | "#, [INFO] [stdout] 63 | | id [INFO] [stdout] 64 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let existing_item = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 79 | | Item, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT * FROM items WHERE id = $1; [INFO] [stdout] 82 | | "#, [INFO] [stdout] 83 | | id [INFO] [stdout] 84 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let updated_item = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 99 | | Item, [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE items SET name = $1, description = $2 WHERE id = $3 RETURNING *; [INFO] [stdout] ... | [INFO] [stdout] 105 | | id [INFO] [stdout] 106 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | DELETE FROM items WHERE id = $1; [INFO] [stdout] 120 | | "#, [INFO] [stdout] 121 | | id [INFO] [stdout] 122 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let item = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 25 | | Item, [INFO] [stdout] 26 | | r#" [INFO] [stdout] 27 | | INSERT INTO items (name, description) VALUES ($1, $2) RETURNING *; [INFO] [stdout] ... | [INFO] [stdout] 30 | | payload.description [INFO] [stdout] 31 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let items = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 42 | | Item, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | SELECT * FROM items ORDER BY created_at DESC; [INFO] [stdout] 45 | | "# [INFO] [stdout] 46 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | let item = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 59 | | Item, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT * FROM items WHERE id = $1; [INFO] [stdout] 62 | | "#, [INFO] [stdout] 63 | | id [INFO] [stdout] 64 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let existing_item = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 79 | | Item, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT * FROM items WHERE id = $1; [INFO] [stdout] 82 | | "#, [INFO] [stdout] 83 | | id [INFO] [stdout] 84 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let updated_item = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 99 | | Item, [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE items SET name = $1, description = $2 WHERE id = $3 RETURNING *; [INFO] [stdout] ... | [INFO] [stdout] 105 | | id [INFO] [stdout] 106 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | DELETE FROM items WHERE id = $1; [INFO] [stdout] 120 | | "#, [INFO] [stdout] 121 | | id [INFO] [stdout] 122 | | ) [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] warning: unused import: `Item` [INFO] [stdout] --> src/handlers.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | models::{Item, CreateItemPayload, UpdateItemPayload}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/handlers.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | models::{Item, CreateItemPayload, UpdateItemPayload}, [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/handlers.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | if result.rows_affected() == 0 { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | if result.rows_affected() == 0 { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let result: /* Type */ = sqlx::query!( [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 `hello-word` (lib test) due to 7 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 `hello-word` (lib) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0374e64a6ea5ca6d40f276293ff69a9d87e5d5db5dc91a125db89f3149b878cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0374e64a6ea5ca6d40f276293ff69a9d87e5d5db5dc91a125db89f3149b878cb", kill_on_drop: false }` [INFO] [stdout] 0374e64a6ea5ca6d40f276293ff69a9d87e5d5db5dc91a125db89f3149b878cb