[INFO] cloning repository https://github.com/will-lin2021/bowling-tracker-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/will-lin2021/bowling-tracker-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-lin2021%2Fbowling-tracker-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-lin2021%2Fbowling-tracker-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c228569e2041d58361a7de4384be80e36048ca88 [INFO] checking will-lin2021/bowling-tracker-app against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwill-lin2021%2Fbowling-tracker-app" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/will-lin2021/bowling-tracker-app [INFO] finished tweaking git repo https://github.com/will-lin2021/bowling-tracker-app [INFO] tweaked toml for git repo https://github.com/will-lin2021/bowling-tracker-app written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/will-lin2021/bowling-tracker-app on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/will-lin2021/bowling-tracker-app 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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 actix-cors v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0128732b6fd3087a168cc40f86d917b7d6b499f7803996b5f39ded89478a9ab4 [INFO] running `Command { std: "docker" "start" "-a" "0128732b6fd3087a168cc40f86d917b7d6b499f7803996b5f39ded89478a9ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0128732b6fd3087a168cc40f86d917b7d6b499f7803996b5f39ded89478a9ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0128732b6fd3087a168cc40f86d917b7d6b499f7803996b5f39ded89478a9ab4", kill_on_drop: false }` [INFO] [stdout] 0128732b6fd3087a168cc40f86d917b7d6b499f7803996b5f39ded89478a9ab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e55f4f4cb99cf2332ab75f1a2fbd8da7a29c6d7d230bef6ed116fbbdc208a330 [INFO] running `Command { std: "docker" "start" "-a" "e55f4f4cb99cf2332ab75f1a2fbd8da7a29c6d7d230bef6ed116fbbdc208a330", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/src/handler.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let dates_query = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 33 | | DateModel, [INFO] [stdout] 34 | | "SELECT * FROM dates [INFO] [stdout] 35 | | ORDER by date DESC [INFO] [stdout] ... | [INFO] [stdout] 38 | | offset as i32, [INFO] [stdout] 39 | | ) [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] --> backend/src/handler.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let games_query = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 60 | | GameModel, [INFO] [stdout] 61 | | "SELECT * FROM games [INFO] [stdout] 62 | | WHERE date_id=$1 [INFO] [stdout] 63 | | ORDER BY game_no ASC", [INFO] [stdout] 64 | | date_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] --> backend/src/handler.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let game_query = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 120 | | GameModel, [INFO] [stdout] 121 | | "SELECT * FROM games [INFO] [stdout] 122 | | WHERE game_id=$1", [INFO] [stdout] 123 | | game_id, [INFO] [stdout] 124 | | ) [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] --> backend/src/handler.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let date_query = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | DateModel, [INFO] [stdout] 142 | | "SELECT * FROM dates [INFO] [stdout] 143 | | WHERE date_id=$1", [INFO] [stdout] 144 | | game_model.date_id, [INFO] [stdout] 145 | | ) [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] --> backend/src/handler.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | let existing_date_query = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 187 | | DateModel, [INFO] [stdout] 188 | | "SELECT * FROM dates [INFO] [stdout] 189 | | WHERE date=$1", [INFO] [stdout] 190 | | body.date, [INFO] [stdout] 191 | | ) [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] --> backend/src/handler.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | let new_date_query = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 199 | | DateModel, [INFO] [stdout] 200 | | "INSERT INTO dates [INFO] [stdout] 201 | | (date) VALUES ($1) [INFO] [stdout] 202 | | RETURNING *", [INFO] [stdout] 203 | | body.date, [INFO] [stdout] 204 | | ) [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] --> backend/src/handler.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | let num_games_query = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 223 | | "SELECT COUNT(*) FROM games [INFO] [stdout] 224 | | WHERE date_id=$1", [INFO] [stdout] 225 | | date_model.date_id, [INFO] [stdout] 226 | | ) [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] --> backend/src/handler.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | let new_game_query = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 254 | | GameModel, [INFO] [stdout] 255 | | "INSERT INTO games [INFO] [stdout] 256 | | (date_id, game_no, score_str) VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 260 | | body.score_str, [INFO] [stdout] 261 | | ) [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] --> backend/src/handler.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | let game_exists_query = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 307 | | GameModel, [INFO] [stdout] 308 | | "SELECT * FROM games [INFO] [stdout] 309 | | WHERE game_id=$1", [INFO] [stdout] 310 | | game_id, [INFO] [stdout] 311 | | ) [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] --> backend/src/handler.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | let date_query = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 328 | | DateModel, [INFO] [stdout] 329 | | "SELECT * FROM dates [INFO] [stdout] 330 | | WHERE date_id=$1", [INFO] [stdout] 331 | | game_model.date_id, [INFO] [stdout] 332 | | ) [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] --> backend/src/handler.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | let existing_date_query = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 351 | | DateModel, [INFO] [stdout] 352 | | "SELECT * FROM dates [INFO] [stdout] 353 | | WHERE date=$1", [INFO] [stdout] 354 | | body.date.unwrap(), [INFO] [stdout] 355 | | ) [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] --> backend/src/handler.rs:398:31 [INFO] [stdout] | [INFO] [stdout] 398 | let games_deleted_query = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 399 | | GameModel, [INFO] [stdout] 400 | | "DELETE FROM games [INFO] [stdout] 401 | | WHERE game_id=$1 [INFO] [stdout] 402 | | RETURNING *", [INFO] [stdout] 403 | | game_id, [INFO] [stdout] 404 | | ) [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] --> backend/src/handler.rs:433:31 [INFO] [stdout] | [INFO] [stdout] 433 | let games_on_date_query = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 434 | | "SELECT COUNT(*) FROM dates [INFO] [stdout] 435 | | WHERE date_id=$1", [INFO] [stdout] 436 | | game_deleted.date_id, [INFO] [stdout] 437 | | ) [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] --> backend/src/handler.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | let delete_date_query = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 467 | | "DELETE FROM dates [INFO] [stdout] 468 | | WHERE date_id=$1", [INFO] [stdout] 469 | | game_deleted.date_id, [INFO] [stdout] 470 | | ) [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] --> backend/src/handler.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let dates_query = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 33 | | DateModel, [INFO] [stdout] 34 | | "SELECT * FROM dates [INFO] [stdout] 35 | | ORDER by date DESC [INFO] [stdout] ... | [INFO] [stdout] 38 | | offset as i32, [INFO] [stdout] 39 | | ) [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] --> backend/src/handler.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let games_query = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 60 | | GameModel, [INFO] [stdout] 61 | | "SELECT * FROM games [INFO] [stdout] 62 | | WHERE date_id=$1 [INFO] [stdout] 63 | | ORDER BY game_no ASC", [INFO] [stdout] 64 | | date_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] --> backend/src/handler.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let game_query = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 120 | | GameModel, [INFO] [stdout] 121 | | "SELECT * FROM games [INFO] [stdout] 122 | | WHERE game_id=$1", [INFO] [stdout] 123 | | game_id, [INFO] [stdout] 124 | | ) [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] --> backend/src/handler.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let date_query = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | DateModel, [INFO] [stdout] 142 | | "SELECT * FROM dates [INFO] [stdout] 143 | | WHERE date_id=$1", [INFO] [stdout] 144 | | game_model.date_id, [INFO] [stdout] 145 | | ) [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] --> backend/src/handler.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | let existing_date_query = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 187 | | DateModel, [INFO] [stdout] 188 | | "SELECT * FROM dates [INFO] [stdout] 189 | | WHERE date=$1", [INFO] [stdout] 190 | | body.date, [INFO] [stdout] 191 | | ) [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] --> backend/src/handler.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 198 | let new_date_query = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 199 | | DateModel, [INFO] [stdout] 200 | | "INSERT INTO dates [INFO] [stdout] 201 | | (date) VALUES ($1) [INFO] [stdout] 202 | | RETURNING *", [INFO] [stdout] 203 | | body.date, [INFO] [stdout] 204 | | ) [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] --> backend/src/handler.rs:222:27 [INFO] [stdout] | [INFO] [stdout] 222 | let num_games_query = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 223 | | "SELECT COUNT(*) FROM games [INFO] [stdout] 224 | | WHERE date_id=$1", [INFO] [stdout] 225 | | date_model.date_id, [INFO] [stdout] 226 | | ) [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] --> backend/src/handler.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | let new_game_query = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 254 | | GameModel, [INFO] [stdout] 255 | | "INSERT INTO games [INFO] [stdout] 256 | | (date_id, game_no, score_str) VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 260 | | body.score_str, [INFO] [stdout] 261 | | ) [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] --> backend/src/handler.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 306 | let game_exists_query = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 307 | | GameModel, [INFO] [stdout] 308 | | "SELECT * FROM games [INFO] [stdout] 309 | | WHERE game_id=$1", [INFO] [stdout] 310 | | game_id, [INFO] [stdout] 311 | | ) [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] --> backend/src/handler.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | let date_query = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 328 | | DateModel, [INFO] [stdout] 329 | | "SELECT * FROM dates [INFO] [stdout] 330 | | WHERE date_id=$1", [INFO] [stdout] 331 | | game_model.date_id, [INFO] [stdout] 332 | | ) [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] --> backend/src/handler.rs:350:35 [INFO] [stdout] | [INFO] [stdout] 350 | let existing_date_query = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 351 | | DateModel, [INFO] [stdout] 352 | | "SELECT * FROM dates [INFO] [stdout] 353 | | WHERE date=$1", [INFO] [stdout] 354 | | body.date.unwrap(), [INFO] [stdout] 355 | | ) [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] --> backend/src/handler.rs:398:31 [INFO] [stdout] | [INFO] [stdout] 398 | let games_deleted_query = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 399 | | GameModel, [INFO] [stdout] 400 | | "DELETE FROM games [INFO] [stdout] 401 | | WHERE game_id=$1 [INFO] [stdout] 402 | | RETURNING *", [INFO] [stdout] 403 | | game_id, [INFO] [stdout] 404 | | ) [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] --> backend/src/handler.rs:433:31 [INFO] [stdout] | [INFO] [stdout] 433 | let games_on_date_query = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 434 | | "SELECT COUNT(*) FROM dates [INFO] [stdout] 435 | | WHERE date_id=$1", [INFO] [stdout] 436 | | game_deleted.date_id, [INFO] [stdout] 437 | | ) [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] --> backend/src/handler.rs:466:33 [INFO] [stdout] | [INFO] [stdout] 466 | let delete_date_query = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 467 | | "DELETE FROM dates [INFO] [stdout] 468 | | WHERE date_id=$1", [INFO] [stdout] 469 | | game_deleted.date_id, [INFO] [stdout] 470 | | ) [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 imports: `DateModel` and `GameModel` [INFO] [stdout] --> backend/src/handler.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | model::{DateModel, GameModel}, [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: `std::sync::Mutex` [INFO] [stdout] --> backend/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateModel` and `GameModel` [INFO] [stdout] --> backend/src/handler.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | model::{DateModel, GameModel}, [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: `std::sync::Mutex` [INFO] [stdout] --> backend/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let dates_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | if dates_query.is_err() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `dates_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | let dates_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let dates_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | if dates_query.is_err() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `dates_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | let dates_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let games_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | if games_query.is_err() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `games_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let games_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let games_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | if games_query.is_err() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `games_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let games_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let game_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | if game_query.is_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `game_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let game_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | if date_query.is_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 140 | let date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let game_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | if game_query.is_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `game_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let game_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | if date_query.is_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 140 | let date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let new_date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | if new_date_query.is_err() { [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `new_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 198 | let new_date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | let new_date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | if new_date_query.is_err() { [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `new_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 198 | let new_date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let num_games_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | if num_games_query.is_err() { [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `num_games_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 222 | let num_games_query: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let game_exists_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | if game_exists_query.is_err() { [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `game_exists_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 306 | let game_exists_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let num_games_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | if num_games_query.is_err() { [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `num_games_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 222 | let num_games_query: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | let game_exists_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | if game_exists_query.is_err() { [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `game_exists_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 306 | let game_exists_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | if date_query.is_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | let date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | let date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | if date_query.is_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | let date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let existing_date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | if existing_date_query.is_err() { [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `existing_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 350 | let existing_date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let existing_date_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | if existing_date_query.is_err() { [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `existing_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 350 | let existing_date_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | let games_deleted_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | if games_deleted_query.is_err() { [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `games_deleted_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 398 | let games_deleted_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | let games_deleted_query = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | if games_deleted_query.is_err() { [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `games_deleted_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 398 | let games_deleted_query: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let games_on_date_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | if games_on_date_query.is_err() { [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `games_on_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 433 | let games_on_date_query: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | let games_on_date_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | if games_on_date_query.is_err() { [INFO] [stdout] | ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `games_on_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 433 | let games_on_date_query: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let delete_date_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | if delete_date_query.is_err() { [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `delete_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 466 | let delete_date_query: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/src/handler.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let delete_date_query = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | if delete_date_query.is_err() { [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `delete_date_query` an explicit type [INFO] [stdout] | [INFO] [stdout] 466 | let delete_date_query: /* 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 `backend` (bin "backend" test) due to 26 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 26 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e55f4f4cb99cf2332ab75f1a2fbd8da7a29c6d7d230bef6ed116fbbdc208a330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e55f4f4cb99cf2332ab75f1a2fbd8da7a29c6d7d230bef6ed116fbbdc208a330", kill_on_drop: false }` [INFO] [stdout] e55f4f4cb99cf2332ab75f1a2fbd8da7a29c6d7d230bef6ed116fbbdc208a330