[INFO] cloning repository https://github.com/brooks-builds/space_war_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brooks-builds/space_war_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrooks-builds%2Fspace_war_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrooks-builds%2Fspace_war_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eea654e287fd36ee7781c7c8e23fddaf974a92ff [INFO] checking brooks-builds/space_war_backend/eea654e287fd36ee7781c7c8e23fddaf974a92ff against 1.94.0 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrooks-builds%2Fspace_war_backend" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brooks-builds/space_war_backend [INFO] finished tweaking git repo https://github.com/brooks-builds/space_war_backend [INFO] tweaked toml for git repo https://github.com/brooks-builds/space_war_backend written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brooks-builds/space_war_backend on toolchain 1.94.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brooks-builds/space_war_backend 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.108 [INFO] [stderr] Downloaded uuid v1.20.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.108 [INFO] [stderr] Downloaded zmij v1.0.17 [INFO] [stderr] Downloaded cpufeatures v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.108 [INFO] [stderr] Downloaded time-macros v0.2.26 [INFO] [stderr] Downloaded rand_core v0.10.0 [INFO] [stderr] Downloaded chacha20 v0.10.0 [INFO] [stderr] Downloaded getrandom v0.4.1 [INFO] [stderr] Downloaded redox_syscall v0.7.0 [INFO] [stderr] Downloaded webpki-roots v1.0.5 [INFO] [stderr] Downloaded time v0.3.46 [INFO] [stderr] Downloaded rand v0.10.0 [INFO] [stderr] Downloaded zerocopy v0.8.34 [INFO] [stderr] Downloaded zerocopy-derive v0.8.34 [INFO] [stderr] Downloaded find-msvc-tools v0.1.8 [INFO] [stderr] Downloaded hyper-util v0.1.19 [INFO] [stderr] Downloaded js-sys v0.3.85 [INFO] [stderr] Downloaded wasm-bindgen v0.2.108 [INFO] [stderr] Downloaded rustls v0.23.36 [INFO] [stderr] Downloaded cc v1.2.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2c3053bf32e364cfa33f48e7cd08f8b0463bd151b4fbf37d4d4e22f132220ed [INFO] running `Command { std: "docker" "start" "-a" "d2c3053bf32e364cfa33f48e7cd08f8b0463bd151b4fbf37d4d4e22f132220ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2c3053bf32e364cfa33f48e7cd08f8b0463bd151b4fbf37d4d4e22f132220ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c3053bf32e364cfa33f48e7cd08f8b0463bd151b4fbf37d4d4e22f132220ed", kill_on_drop: false }` [INFO] [stdout] d2c3053bf32e364cfa33f48e7cd08f8b0463bd151b4fbf37d4d4e22f132220ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f38a026007a2ab14c24d50ce21cbc5f935b4b06178d825feebed4f277128481 [INFO] running `Command { std: "docker" "start" "-a" "2f38a026007a2ab14c24d50ce21cbc5f935b4b06178d825feebed4f277128481", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling time v0.3.46 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking color-spantrace v0.3.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking color-eyre v0.6.5 [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 space_war_backend 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/db/colors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBColor, [INFO] [stdout] 9 | | r#" [INFO] [stdout] 10 | | SELECT * FROM colors; [INFO] [stdout] 11 | | "# [INFO] [stdout] 12 | | ) [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/db/create_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBCreatedGame, [INFO] [stdout] 10 | | r#"insert into games (host_id) values ($1) returning id, status as "status: _", created_at, code"#, [INFO] [stdout] 11 | | player_id [INFO] [stdout] 12 | | ) [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/db/colors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBColor, [INFO] [stdout] 9 | | r#" [INFO] [stdout] 10 | | SELECT * FROM colors; [INFO] [stdout] 11 | | "# [INFO] [stdout] 12 | | ) [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/db/create_player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBCreatePlayer, [INFO] [stdout] 9 | | "insert into players (name) values ($1) returning id, token", [INFO] [stdout] 10 | | name [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/db/create_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBCreatedGame, [INFO] [stdout] 10 | | r#"insert into games (host_id) values ($1) returning id, status as "status: _", created_at, code"#, [INFO] [stdout] 11 | | player_id [INFO] [stdout] 12 | | ) [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/db/game_turns.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / query!( [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO game_turns (game_id, turn_number) [INFO] [stdout] 10 | | VALUES ($1, $2); [INFO] [stdout] ... | [INFO] [stdout] 13 | | turn_number [INFO] [stdout] 14 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/db/game_turns.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / query_as!( [INFO] [stdout] 27 | | DBGameTurn, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 40 | | player_id [INFO] [stdout] 41 | | ) [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 `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/db/game_turns.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / query!( [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | UPDATE game_turns [INFO] [stdout] 57 | | SET active = false [INFO] [stdout] ... | [INFO] [stdout] 60 | | id [INFO] [stdout] 61 | | ) [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 `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/db/games.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / sqlx::query_as!( [INFO] [stdout] 14 | | DBGame, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 29 | | player_id [INFO] [stdout] 30 | | ) [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/db/games.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | UPDATE games [INFO] [stdout] 44 | | SET host_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 48 | | game_id [INFO] [stdout] 49 | | ) [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/db/games.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query!( [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | DELETE FROM games [INFO] [stdout] 61 | | WHERE id = $1 [INFO] [stdout] 62 | | "#, [INFO] [stdout] 63 | | game_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` (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/db/games.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query_as!( [INFO] [stdout] 74 | | DBGame, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 89 | | game_id [INFO] [stdout] 90 | | ) [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/db/games.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query_as!( [INFO] [stdout] 109 | | DBGame, [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 122 | | "# [INFO] [stdout] 123 | | ) [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/db/games.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / sqlx::query!( [INFO] [stdout] 135 | | r#" [INFO] [stdout] 136 | | UPDATE games SET status = $1 WHERE id = $2 [INFO] [stdout] 137 | | "#, [INFO] [stdout] 138 | | status as _, [INFO] [stdout] 139 | | game_id [INFO] [stdout] 140 | | ) [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/db/get_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBGame, [INFO] [stdout] 10 | | r#"SELECT id, status AS "status: _" FROM games WHERE code = $1"#, [INFO] [stdout] 11 | | code [INFO] [stdout] 12 | | ) [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/db/get_lobby.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / sqlx::query_as!( [INFO] [stdout] 10 | | DBLobbyPlayer, [INFO] [stdout] 11 | | r#" [INFO] [stdout] 12 | | SELECT players.id, players.name, ships.name AS ship_class, ships.character AS ship_char, colors.name AS color, players... [INFO] [stdout] ... | [INFO] [stdout] 19 | | game_id [INFO] [stdout] 20 | | ) [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/db/get_ships.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query_as!( [INFO] [stdout] 7 | | DBShip, [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 17 | | "# [INFO] [stdout] 18 | | ) [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/db/join_game.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let _result = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 7 | | DBJoinGame, [INFO] [stdout] 8 | | "INSERT INTO game_players (game_id, player_id) VALUES ($1, $2)", [INFO] [stdout] 9 | | game_id, [INFO] [stdout] 10 | | player_id, [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/db/player_turns.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / query!( [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO player_turns [INFO] [stdout] ... | [INFO] [stdout] 44 | | torpedo_steps.map(|steps| Json(steps)) as _, [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/db/player_turns.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / query_as!( [INFO] [stdout] 59 | | DBPlayerTurn, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 78 | | game_turn_id [INFO] [stdout] 79 | | ) [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 `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/db/player_turns.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / query_as!( [INFO] [stdout] 90 | | DBPlayerTurn, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 107 | | game_id [INFO] [stdout] 108 | | ) [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 `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/db/create_player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBCreatePlayer, [INFO] [stdout] 9 | | "insert into players (name) values ($1) returning id, token", [INFO] [stdout] 10 | | name [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/db/game_turns.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / query!( [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO game_turns (game_id, turn_number) [INFO] [stdout] 10 | | VALUES ($1, $2); [INFO] [stdout] ... | [INFO] [stdout] 13 | | turn_number [INFO] [stdout] 14 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/db/game_turns.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / query_as!( [INFO] [stdout] 27 | | DBGameTurn, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 40 | | player_id [INFO] [stdout] 41 | | ) [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 `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/db/player_turns.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / sqlx::query_as!( [INFO] [stdout] 133 | | DBPlayerTurn, [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 150 | | game_turn_id [INFO] [stdout] 151 | | ) [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/db/player_turns.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE player_turns [INFO] [stdout] 165 | | SET torpedo_travel_steps = $1 [INFO] [stdout] ... | [INFO] [stdout] 169 | | turn_id [INFO] [stdout] 170 | | ) [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/db/players.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | sqlx::query!("DELETE FROM players WHERE token = $1", token) [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/db/players.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | DBPlayer, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 55 | | token [INFO] [stdout] 56 | | ) [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/db/players.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | DBPlayer, [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 86 | | game_id [INFO] [stdout] 87 | | ) [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/db/players.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | r#" [INFO] [stdout] 96 | | UPDATE players [INFO] [stdout] 97 | | SET ready = true [INFO] [stdout] ... | [INFO] [stdout] 100 | | token [INFO] [stdout] 101 | | ) [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/db/players.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | UPDATE players [INFO] [stdout] 113 | | SET ready = false [INFO] [stdout] ... | [INFO] [stdout] 118 | | game_id [INFO] [stdout] 119 | | ) [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/db/players.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | UPDATE players [INFO] [stdout] 136 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 141 | | player_id [INFO] [stdout] 142 | | ) [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/db/players.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / sqlx::query!( [INFO] [stdout] 151 | | r#" [INFO] [stdout] 152 | | UPDATE players [INFO] [stdout] 153 | | SET speed = $2 [INFO] [stdout] ... | [INFO] [stdout] 157 | | speed [INFO] [stdout] 158 | | ) [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/db/game_turns.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / query!( [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | UPDATE game_turns [INFO] [stdout] 57 | | SET active = false [INFO] [stdout] ... | [INFO] [stdout] 60 | | id [INFO] [stdout] 61 | | ) [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 `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/db/players.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | UPDATE players [INFO] [stdout] 170 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 175 | | token [INFO] [stdout] 176 | | ) [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/db/games.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / sqlx::query_as!( [INFO] [stdout] 14 | | DBGame, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 29 | | player_id [INFO] [stdout] 30 | | ) [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/db/update_player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query!( [INFO] [stdout] 7 | | r#" [INFO] [stdout] 8 | | UPDATE players [INFO] [stdout] 9 | | SET ship_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 20 | | token [INFO] [stdout] 21 | | ) [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/db/games.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | UPDATE games [INFO] [stdout] 44 | | SET host_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 48 | | game_id [INFO] [stdout] 49 | | ) [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/db/update_player.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | UPDATE players [INFO] [stdout] 32 | | SET color_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 43 | | token [INFO] [stdout] 44 | | ) [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/db/update_player.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | UPDATE players [INFO] [stdout] 60 | | SET torpedo_count = $1 [INFO] [stdout] ... | [INFO] [stdout] 64 | | token [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` (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/db/update_player.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / sqlx::query!( [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | UPDATE players [INFO] [stdout] 81 | | SET hitpoints = $1 [INFO] [stdout] ... | [INFO] [stdout] 85 | | token, [INFO] [stdout] 86 | | ) [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/db/update_player.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE players [INFO] [stdout] 102 | | SET hitpoints = hitpoints + $1 [INFO] [stdout] ... | [INFO] [stdout] 106 | | token [INFO] [stdout] 107 | | ) [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/db/games.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query!( [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | DELETE FROM games [INFO] [stdout] 61 | | WHERE id = $1 [INFO] [stdout] 62 | | "#, [INFO] [stdout] 63 | | game_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` (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/db/games.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query_as!( [INFO] [stdout] 74 | | DBGame, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 89 | | game_id [INFO] [stdout] 90 | | ) [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/db/games.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query_as!( [INFO] [stdout] 109 | | DBGame, [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 122 | | "# [INFO] [stdout] 123 | | ) [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/db/games.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / sqlx::query!( [INFO] [stdout] 135 | | r#" [INFO] [stdout] 136 | | UPDATE games SET status = $1 WHERE id = $2 [INFO] [stdout] 137 | | "#, [INFO] [stdout] 138 | | status as _, [INFO] [stdout] 139 | | game_id [INFO] [stdout] 140 | | ) [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/db/get_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBGame, [INFO] [stdout] 10 | | r#"SELECT id, status AS "status: _" FROM games WHERE code = $1"#, [INFO] [stdout] 11 | | code [INFO] [stdout] 12 | | ) [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/db/get_lobby.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / sqlx::query_as!( [INFO] [stdout] 10 | | DBLobbyPlayer, [INFO] [stdout] 11 | | r#" [INFO] [stdout] 12 | | SELECT players.id, players.name, ships.name AS ship_class, ships.character AS ship_char, colors.name AS color, players... [INFO] [stdout] ... | [INFO] [stdout] 19 | | game_id [INFO] [stdout] 20 | | ) [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/db/get_ships.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query_as!( [INFO] [stdout] 7 | | DBShip, [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 17 | | "# [INFO] [stdout] 18 | | ) [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/db/join_game.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let _result = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 7 | | DBJoinGame, [INFO] [stdout] 8 | | "INSERT INTO game_players (game_id, player_id) VALUES ($1, $2)", [INFO] [stdout] 9 | | game_id, [INFO] [stdout] 10 | | player_id, [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/db/player_turns.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / query!( [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO player_turns [INFO] [stdout] ... | [INFO] [stdout] 44 | | torpedo_steps.map(|steps| Json(steps)) as _, [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/db/player_turns.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / query_as!( [INFO] [stdout] 59 | | DBPlayerTurn, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 78 | | game_turn_id [INFO] [stdout] 79 | | ) [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 `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/db/player_turns.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / query_as!( [INFO] [stdout] 90 | | DBPlayerTurn, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 107 | | game_id [INFO] [stdout] 108 | | ) [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 `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/db/player_turns.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / sqlx::query_as!( [INFO] [stdout] 133 | | DBPlayerTurn, [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 150 | | game_turn_id [INFO] [stdout] 151 | | ) [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/db/player_turns.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE player_turns [INFO] [stdout] 165 | | SET torpedo_travel_steps = $1 [INFO] [stdout] ... | [INFO] [stdout] 169 | | turn_id [INFO] [stdout] 170 | | ) [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/db/players.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | sqlx::query!("DELETE FROM players WHERE token = $1", token) [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/db/players.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | DBPlayer, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 55 | | token [INFO] [stdout] 56 | | ) [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/db/players.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | DBPlayer, [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 86 | | game_id [INFO] [stdout] 87 | | ) [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/db/players.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | r#" [INFO] [stdout] 96 | | UPDATE players [INFO] [stdout] 97 | | SET ready = true [INFO] [stdout] ... | [INFO] [stdout] 100 | | token [INFO] [stdout] 101 | | ) [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/db/players.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | UPDATE players [INFO] [stdout] 113 | | SET ready = false [INFO] [stdout] ... | [INFO] [stdout] 118 | | game_id [INFO] [stdout] 119 | | ) [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/db/players.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | UPDATE players [INFO] [stdout] 136 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 141 | | player_id [INFO] [stdout] 142 | | ) [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/db/players.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / sqlx::query!( [INFO] [stdout] 151 | | r#" [INFO] [stdout] 152 | | UPDATE players [INFO] [stdout] 153 | | SET speed = $2 [INFO] [stdout] ... | [INFO] [stdout] 157 | | speed [INFO] [stdout] 158 | | ) [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/db/players.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | UPDATE players [INFO] [stdout] 170 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 175 | | token [INFO] [stdout] 176 | | ) [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/db/update_player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query!( [INFO] [stdout] 7 | | r#" [INFO] [stdout] 8 | | UPDATE players [INFO] [stdout] 9 | | SET ship_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 20 | | token [INFO] [stdout] 21 | | ) [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/db/update_player.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | UPDATE players [INFO] [stdout] 32 | | SET color_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 43 | | token [INFO] [stdout] 44 | | ) [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/db/update_player.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | UPDATE players [INFO] [stdout] 60 | | SET torpedo_count = $1 [INFO] [stdout] ... | [INFO] [stdout] 64 | | token [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` (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/db/update_player.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / sqlx::query!( [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | UPDATE players [INFO] [stdout] 81 | | SET hitpoints = $1 [INFO] [stdout] ... | [INFO] [stdout] 85 | | token, [INFO] [stdout] 86 | | ) [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/db/update_player.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE players [INFO] [stdout] 102 | | SET hitpoints = hitpoints + $1 [INFO] [stdout] ... | [INFO] [stdout] 106 | | token [INFO] [stdout] 107 | | ) [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: `eyre::Result` [INFO] [stdout] --> src/game/simulate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use eyre::Result; [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 imports: `Pool` and `Postgres` [INFO] [stdout] --> src/game/simulate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/game/simulate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::player_turns::get_all_player_turns_by_game_turn_id` [INFO] [stdout] --> src/game/simulate.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{db::player_turns::get_all_player_turns_by_game_turn_id, game::vector::Vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::Result` [INFO] [stdout] --> src/game/simulate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use eyre::Result; [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 imports: `Pool` and `Postgres` [INFO] [stdout] --> src/game/simulate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/game/simulate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db::player_turns::get_all_player_turns_by_game_turn_id` [INFO] [stdout] --> src/game/simulate.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{db::player_turns::get_all_player_turns_by_game_turn_id, game::vector::Vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::vector::Vector` [INFO] [stdout] --> src/game/simulate.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::game::vector::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/game/simulate.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/colors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBColor, [INFO] [stdout] 9 | | r#" [INFO] [stdout] 10 | | SELECT * FROM colors; [INFO] [stdout] ... | [INFO] [stdout] 13 | | .fetch_all(pool) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/create_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBCreatedGame, [INFO] [stdout] 10 | | r#"insert into games (host_id) values ($1) returning id, status as "status: _", created_at, code"#, [INFO] [stdout] 11 | | player_id [INFO] [stdout] 12 | | ) [INFO] [stdout] 13 | | .fetch_one(pool) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/create_player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBCreatePlayer, [INFO] [stdout] 9 | | "insert into players (name) values ($1) returning id, token", [INFO] [stdout] 10 | | name [INFO] [stdout] 11 | | ) [INFO] [stdout] 12 | | .fetch_one(pool) [INFO] [stdout] 13 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/game_turns.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / query!( [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO game_turns (game_id, turn_number) [INFO] [stdout] 10 | | VALUES ($1, $2); [INFO] [stdout] ... | [INFO] [stdout] 15 | | .execute(pool) [INFO] [stdout] 16 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/game_turns.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / query_as!( [INFO] [stdout] 27 | | DBGameTurn, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 42 | | .fetch_optional(pool) [INFO] [stdout] 43 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/game_turns.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / query!( [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | UPDATE game_turns [INFO] [stdout] 57 | | SET active = false [INFO] [stdout] ... | [INFO] [stdout] 62 | | .execute(pool) [INFO] [stdout] 63 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / sqlx::query_as!( [INFO] [stdout] 14 | | DBGame, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 31 | | .fetch_optional(pool) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | UPDATE games [INFO] [stdout] 44 | | SET host_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 50 | | .execute(pool) [INFO] [stdout] 51 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query!( [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | DELETE FROM games [INFO] [stdout] 61 | | WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 65 | | .execute(pool) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query_as!( [INFO] [stdout] 74 | | DBGame, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 91 | | .fetch_optional(pool) [INFO] [stdout] 92 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query_as!( [INFO] [stdout] 109 | | DBGame, [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 124 | | .fetch_all(pool) [INFO] [stdout] 125 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / sqlx::query!( [INFO] [stdout] 135 | | r#" [INFO] [stdout] 136 | | UPDATE games SET status = $1 WHERE id = $2 [INFO] [stdout] 137 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 141 | | .execute(pool) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/get_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBGame, [INFO] [stdout] 10 | | r#"SELECT id, status AS "status: _" FROM games WHERE code = $1"#, [INFO] [stdout] 11 | | code [INFO] [stdout] 12 | | ) [INFO] [stdout] 13 | | .fetch_optional(pool) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/get_lobby.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / sqlx::query_as!( [INFO] [stdout] 10 | | DBLobbyPlayer, [INFO] [stdout] 11 | | r#" [INFO] [stdout] 12 | | SELECT players.id, players.name, ships.name AS ship_class, ships.character AS ship_char, colors.name AS color, players... [INFO] [stdout] ... | [INFO] [stdout] 21 | | .fetch_all(pool) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/get_ships.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query_as!( [INFO] [stdout] 7 | | DBShip, [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 19 | | .fetch_all(pool) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/join_game.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let _result = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 7 | | DBJoinGame, [INFO] [stdout] 8 | | "INSERT INTO game_players (game_id, player_id) VALUES ($1, $2)", [INFO] [stdout] 9 | | game_id, [INFO] [stdout] ... | [INFO] [stdout] 12 | | .execute(pool) [INFO] [stdout] 13 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / query!( [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO player_turns [INFO] [stdout] ... | [INFO] [stdout] 46 | | .execute(pool) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / query_as!( [INFO] [stdout] 59 | | DBPlayerTurn, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 80 | | .fetch_optional(pool) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / query_as!( [INFO] [stdout] 90 | | DBPlayerTurn, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 109 | | .fetch_all(pool) [INFO] [stdout] 110 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / sqlx::query_as!( [INFO] [stdout] 133 | | DBPlayerTurn, [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 152 | | .fetch_all(pool) [INFO] [stdout] 153 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE player_turns [INFO] [stdout] 165 | | SET torpedo_travel_steps = $1 [INFO] [stdout] ... | [INFO] [stdout] 171 | | .execute(pool) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query!("DELETE FROM players WHERE token = $1", token) [INFO] [stdout] 8 | | .execute(pool) [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | DBPlayer, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 57 | | .fetch_optional(pool) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | DBPlayer, [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 88 | | .fetch_all(pool) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | r#" [INFO] [stdout] 96 | | UPDATE players [INFO] [stdout] 97 | | SET ready = true [INFO] [stdout] ... | [INFO] [stdout] 102 | | .execute(pool) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | UPDATE players [INFO] [stdout] 113 | | SET ready = false [INFO] [stdout] ... | [INFO] [stdout] 120 | | .execute(pool) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | UPDATE players [INFO] [stdout] 136 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 143 | | .execute(pool) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / sqlx::query!( [INFO] [stdout] 151 | | r#" [INFO] [stdout] 152 | | UPDATE players [INFO] [stdout] 153 | | SET speed = $2 [INFO] [stdout] ... | [INFO] [stdout] 159 | | .execute(pool) [INFO] [stdout] 160 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | UPDATE players [INFO] [stdout] 170 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 177 | | .execute(pool) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | UPDATE players [INFO] [stdout] 32 | | SET color_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 45 | | .execute(pool) [INFO] [stdout] 46 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | UPDATE players [INFO] [stdout] 60 | | SET torpedo_count = $1 [INFO] [stdout] ... | [INFO] [stdout] 66 | | .execute(pool) [INFO] [stdout] 67 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / sqlx::query!( [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | UPDATE players [INFO] [stdout] 81 | | SET hitpoints = $1 [INFO] [stdout] ... | [INFO] [stdout] 87 | | .execute(pool) [INFO] [stdout] 88 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE players [INFO] [stdout] 102 | | SET hitpoints = hitpoints + $1 [INFO] [stdout] ... | [INFO] [stdout] 108 | | .execute(pool) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/colors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBColor, [INFO] [stdout] 9 | | r#" [INFO] [stdout] 10 | | SELECT * FROM colors; [INFO] [stdout] ... | [INFO] [stdout] 13 | | .fetch_all(pool) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/create_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBCreatedGame, [INFO] [stdout] 10 | | r#"insert into games (host_id) values ($1) returning id, status as "status: _", created_at, code"#, [INFO] [stdout] 11 | | player_id [INFO] [stdout] 12 | | ) [INFO] [stdout] 13 | | .fetch_one(pool) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/create_player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!( [INFO] [stdout] 8 | | DBCreatePlayer, [INFO] [stdout] 9 | | "insert into players (name) values ($1) returning id, token", [INFO] [stdout] 10 | | name [INFO] [stdout] 11 | | ) [INFO] [stdout] 12 | | .fetch_one(pool) [INFO] [stdout] 13 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/game_turns.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / query!( [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO game_turns (game_id, turn_number) [INFO] [stdout] 10 | | VALUES ($1, $2); [INFO] [stdout] ... | [INFO] [stdout] 15 | | .execute(pool) [INFO] [stdout] 16 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/game_turns.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / query_as!( [INFO] [stdout] 27 | | DBGameTurn, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 42 | | .fetch_optional(pool) [INFO] [stdout] 43 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/game_turns.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / query!( [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | UPDATE game_turns [INFO] [stdout] 57 | | SET active = false [INFO] [stdout] ... | [INFO] [stdout] 62 | | .execute(pool) [INFO] [stdout] 63 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / sqlx::query_as!( [INFO] [stdout] 14 | | DBGame, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 31 | | .fetch_optional(pool) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | UPDATE games [INFO] [stdout] 44 | | SET host_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 50 | | .execute(pool) [INFO] [stdout] 51 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query!( [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | DELETE FROM games [INFO] [stdout] 61 | | WHERE id = $1 [INFO] [stdout] ... | [INFO] [stdout] 65 | | .execute(pool) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query_as!( [INFO] [stdout] 74 | | DBGame, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 91 | | .fetch_optional(pool) [INFO] [stdout] 92 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query_as!( [INFO] [stdout] 109 | | DBGame, [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 124 | | .fetch_all(pool) [INFO] [stdout] 125 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/games.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / sqlx::query!( [INFO] [stdout] 135 | | r#" [INFO] [stdout] 136 | | UPDATE games SET status = $1 WHERE id = $2 [INFO] [stdout] 137 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 141 | | .execute(pool) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/get_game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | DBGame, [INFO] [stdout] 10 | | r#"SELECT id, status AS "status: _" FROM games WHERE code = $1"#, [INFO] [stdout] 11 | | code [INFO] [stdout] 12 | | ) [INFO] [stdout] 13 | | .fetch_optional(pool) [INFO] [stdout] 14 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/get_lobby.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / sqlx::query_as!( [INFO] [stdout] 10 | | DBLobbyPlayer, [INFO] [stdout] 11 | | r#" [INFO] [stdout] 12 | | SELECT players.id, players.name, ships.name AS ship_class, ships.character AS ship_char, colors.name AS color, players... [INFO] [stdout] ... | [INFO] [stdout] 21 | | .fetch_all(pool) [INFO] [stdout] 22 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/get_ships.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query_as!( [INFO] [stdout] 7 | | DBShip, [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 19 | | .fetch_all(pool) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/join_game.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let _result = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 7 | | DBJoinGame, [INFO] [stdout] 8 | | "INSERT INTO game_players (game_id, player_id) VALUES ($1, $2)", [INFO] [stdout] 9 | | game_id, [INFO] [stdout] ... | [INFO] [stdout] 12 | | .execute(pool) [INFO] [stdout] 13 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / query!( [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | INSERT INTO player_turns [INFO] [stdout] ... | [INFO] [stdout] 46 | | .execute(pool) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / query_as!( [INFO] [stdout] 59 | | DBPlayerTurn, [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 80 | | .fetch_optional(pool) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / query_as!( [INFO] [stdout] 90 | | DBPlayerTurn, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 109 | | .fetch_all(pool) [INFO] [stdout] 110 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / sqlx::query_as!( [INFO] [stdout] 133 | | DBPlayerTurn, [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 152 | | .fetch_all(pool) [INFO] [stdout] 153 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/player_turns.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | UPDATE player_turns [INFO] [stdout] 165 | | SET torpedo_travel_steps = $1 [INFO] [stdout] ... | [INFO] [stdout] 171 | | .execute(pool) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query!("DELETE FROM players WHERE token = $1", token) [INFO] [stdout] 8 | | .execute(pool) [INFO] [stdout] 9 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | DBPlayer, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 57 | | .fetch_optional(pool) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | DBPlayer, [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 88 | | .fetch_all(pool) [INFO] [stdout] 89 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | r#" [INFO] [stdout] 96 | | UPDATE players [INFO] [stdout] 97 | | SET ready = true [INFO] [stdout] ... | [INFO] [stdout] 102 | | .execute(pool) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | r#" [INFO] [stdout] 112 | | UPDATE players [INFO] [stdout] 113 | | SET ready = false [INFO] [stdout] ... | [INFO] [stdout] 120 | | .execute(pool) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | UPDATE players [INFO] [stdout] 136 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 143 | | .execute(pool) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / sqlx::query!( [INFO] [stdout] 151 | | r#" [INFO] [stdout] 152 | | UPDATE players [INFO] [stdout] 153 | | SET speed = $2 [INFO] [stdout] ... | [INFO] [stdout] 159 | | .execute(pool) [INFO] [stdout] 160 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/players.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | UPDATE players [INFO] [stdout] 170 | | SET position_x = $1, position_y = $2 [INFO] [stdout] ... | [INFO] [stdout] 177 | | .execute(pool) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query!( [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | UPDATE players [INFO] [stdout] 32 | | SET color_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 45 | | .execute(pool) [INFO] [stdout] 46 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query!( [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | UPDATE players [INFO] [stdout] 60 | | SET torpedo_count = $1 [INFO] [stdout] ... | [INFO] [stdout] 66 | | .execute(pool) [INFO] [stdout] 67 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / sqlx::query!( [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | UPDATE players [INFO] [stdout] 81 | | SET hitpoints = $1 [INFO] [stdout] ... | [INFO] [stdout] 87 | | .execute(pool) [INFO] [stdout] 88 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/update_player.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / sqlx::query!( [INFO] [stdout] 100 | | r#" [INFO] [stdout] 101 | | UPDATE players [INFO] [stdout] 102 | | SET hitpoints = hitpoints + $1 [INFO] [stdout] ... | [INFO] [stdout] 108 | | .execute(pool) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `space_war_backend` (lib test) due to 67 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `space_war_backend` (lib) due to 67 previous errors; 6 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f38a026007a2ab14c24d50ce21cbc5f935b4b06178d825feebed4f277128481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f38a026007a2ab14c24d50ce21cbc5f935b4b06178d825feebed4f277128481", kill_on_drop: false }` [INFO] [stdout] 2f38a026007a2ab14c24d50ce21cbc5f935b4b06178d825feebed4f277128481