[INFO] cloning repository https://github.com/kacperkuras1/chess_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kacperkuras1/chess_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacperkuras1%2Fchess_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacperkuras1%2Fchess_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f7b227f3eb2c87f4bc3bcd157a39fd6ebe97fcf [INFO] checking kacperkuras1/chess_rust against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacperkuras1%2Fchess_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kacperkuras1/chess_rust [INFO] finished tweaking git repo https://github.com/kacperkuras1/chess_rust [INFO] tweaked toml for git repo https://github.com/kacperkuras1/chess_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kacperkuras1/chess_rust on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kacperkuras1/chess_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 [INFO] [stderr] Adding chess v3.2.0 [INFO] [stderr] Adding failure v0.1.8 [INFO] [stderr] Adding failure_derive v0.1.8 [INFO] [stderr] Adding futures v0.3.31 [INFO] [stderr] Adding futures-macro v0.3.31 [INFO] [stderr] Adding jsonwebtoken v9.3.1 [INFO] [stderr] Adding nodrop v0.1.14 [INFO] [stderr] Adding num-bigint v0.4.6 [INFO] [stderr] Adding pem v3.0.5 [INFO] [stderr] Adding rand v0.7.3 [INFO] [stderr] Adding rand_chacha v0.2.2 [INFO] [stderr] Adding rand_core v0.5.1 [INFO] [stderr] Adding rand_hc v0.2.0 [INFO] [stderr] Adding rand_pcg v0.2.1 [INFO] [stderr] Adding ring v0.17.14 [INFO] [stderr] Adding simple_asn1 v0.6.3 [INFO] [stderr] Adding syn v1.0.109 [INFO] [stderr] Adding synstructure v0.12.6 [INFO] [stderr] Adding untrusted v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3556ee8b3368d8533efc7c85d13c8dbf5a0f32f36fac4eb1ded063d1f2e3d496 [INFO] running `Command { std: "docker" "start" "-a" "3556ee8b3368d8533efc7c85d13c8dbf5a0f32f36fac4eb1ded063d1f2e3d496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3556ee8b3368d8533efc7c85d13c8dbf5a0f32f36fac4eb1ded063d1f2e3d496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3556ee8b3368d8533efc7c85d13c8dbf5a0f32f36fac4eb1ded063d1f2e3d496", kill_on_drop: false }` [INFO] [stdout] 3556ee8b3368d8533efc7c85d13c8dbf5a0f32f36fac4eb1ded063d1f2e3d496 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8555d4105780eff81a6d30bf8958e9538568aaaf8dcdf21403a31ddb27ada92e [INFO] running `Command { std: "docker" "start" "-a" "8555d4105780eff81a6d30bf8958e9538568aaaf8dcdf21403a31ddb27ada92e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking jiff v0.2.12 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking sqlx-core v0.8.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking sqlx-mysql v0.8.5 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking actix-web-actors v4.3.1+deprecated [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Checking actix-web-flash-messages v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Checking sqlx v0.8.5 [INFO] [stderr] Checking web_app 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.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let email_exists = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 42 | | "SELECT * FROM users WHERE email = ?", [INFO] [stdout] 43 | | user.email [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.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let email_exists = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 42 | | "SELECT * FROM users WHERE email = ?", [INFO] [stdout] 43 | | user.email [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.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | let username_exists = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 53 | | "SELECT * FROM users WHERE username = ?", [INFO] [stdout] 54 | | user.username [INFO] [stdout] 55 | | ) [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.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | let username_exists = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 53 | | "SELECT * FROM users WHERE username = ?", [INFO] [stdout] 54 | | user.username [INFO] [stdout] 55 | | ) [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.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let _result = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 64 | | "INSERT INTO users (username, email, password_hash) VALUES (?, ?, ?)", [INFO] [stdout] 65 | | user.username, [INFO] [stdout] 66 | | user.email, [INFO] [stdout] 67 | | user.password, [INFO] [stdout] 68 | | ) [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.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let _result = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 64 | | "INSERT INTO users (username, email, password_hash) VALUES (?, ?, ?)", [INFO] [stdout] 65 | | user.username, [INFO] [stdout] 66 | | user.email, [INFO] [stdout] 67 | | user.password, [INFO] [stdout] 68 | | ) [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.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let _result = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 78 | | "INSERT INTO statistics (user_id, elo, max_elo) VALUES (?, ?, ?)", [INFO] [stdout] 79 | | user.unwrap().id, [INFO] [stdout] 80 | | elo, [INFO] [stdout] 81 | | elo [INFO] [stdout] 82 | | ) [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.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | let _result = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 78 | | "INSERT INTO statistics (user_id, elo, max_elo) VALUES (?, ?, ?)", [INFO] [stdout] 79 | | user.unwrap().id, [INFO] [stdout] 80 | | elo, [INFO] [stdout] 81 | | elo [INFO] [stdout] 82 | | ) [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.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 91 | | User, [INFO] [stdout] 92 | | "SELECT * FROM users WHERE id = ?", [INFO] [stdout] 93 | | user_id [INFO] [stdout] 94 | | ) [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.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 91 | | User, [INFO] [stdout] 92 | | "SELECT * FROM users WHERE id = ?", [INFO] [stdout] 93 | | user_id [INFO] [stdout] 94 | | ) [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.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let stats = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 103 | | UserStatistics, [INFO] [stdout] 104 | | "SELECT * FROM statistics WHERE user_id = ?", [INFO] [stdout] 105 | | user_id [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let stats = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 103 | | UserStatistics, [INFO] [stdout] 104 | | "SELECT * FROM statistics WHERE user_id = ?", [INFO] [stdout] 105 | | user_id [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 115 | | User, [INFO] [stdout] 116 | | "SELECT * FROM users WHERE email = ?", [INFO] [stdout] 117 | | email [INFO] [stdout] 118 | | ) [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.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 115 | | User, [INFO] [stdout] 116 | | "SELECT * FROM users WHERE email = ?", [INFO] [stdout] 117 | | email [INFO] [stdout] 118 | | ) [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.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | "INSERT INTO games (white_player_id, black_player_id, white_player_initial_elo, black_player_initial_elo) VALUES (?, ?, ?, ?)", [INFO] [stdout] 151 | | white_player_id, [INFO] [stdout] 152 | | black_player_id, [INFO] [stdout] 153 | | white_player_elo, [INFO] [stdout] 154 | | black_player_elo [INFO] [stdout] 155 | | ) [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.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | "INSERT INTO games (white_player_id, black_player_id, white_player_initial_elo, black_player_initial_elo) VALUES (?, ?, ?, ?)", [INFO] [stdout] 151 | | white_player_id, [INFO] [stdout] 152 | | black_player_id, [INFO] [stdout] 153 | | white_player_elo, [INFO] [stdout] 154 | | black_player_elo [INFO] [stdout] 155 | | ) [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.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / sqlx::query!( [INFO] [stdout] 164 | | "INSERT INTO moves (game_id, player_color, move_number, pgn_move) VALUES (?, ?, ?, ?)", [INFO] [stdout] 165 | | game_id, [INFO] [stdout] 166 | | player_color, [INFO] [stdout] 167 | | move_number, [INFO] [stdout] 168 | | pgn_move [INFO] [stdout] 169 | | ) [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.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / sqlx::query!( [INFO] [stdout] 164 | | "INSERT INTO moves (game_id, player_color, move_number, pgn_move) VALUES (?, ?, ?, ?)", [INFO] [stdout] 165 | | game_id, [INFO] [stdout] 166 | | player_color, [INFO] [stdout] 167 | | move_number, [INFO] [stdout] 168 | | pgn_move [INFO] [stdout] 169 | | ) [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.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / sqlx::query!( [INFO] [stdout] 181 | | "UPDATE games SET status = 'finished', result = ?, ended_at = ? WHERE id = ?", [INFO] [stdout] 182 | | result.as_str(), [INFO] [stdout] 183 | | Utc::now(), [INFO] [stdout] 184 | | game_id [INFO] [stdout] 185 | | ) [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.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / sqlx::query!( [INFO] [stdout] 181 | | "UPDATE games SET status = 'finished', result = ?, ended_at = ? WHERE id = ?", [INFO] [stdout] 182 | | result.as_str(), [INFO] [stdout] 183 | | Utc::now(), [INFO] [stdout] 184 | | game_id [INFO] [stdout] 185 | | ) [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.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let games = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 194 | | GameSummary, [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 260 | | player_id [INFO] [stdout] 261 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let games = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 194 | | GameSummary, [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 260 | | player_id [INFO] [stdout] 261 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | "UPDATE statistics SET games_played = games_played + 1, games_won = games_won + 1, current_win_streak = current_win_streak + 1, [INFO] [stdout] 272 | | max_win_streak = CASE [INFO] [stdout] 273 | | WHEN current_win_streak > max_win_streak THEN current_win_streak [INFO] [stdout] ... | [INFO] [stdout] 288 | | winner_id [INFO] [stdout] 289 | | ) [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.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | "UPDATE statistics SET games_played = games_played + 1, games_won = games_won + 1, current_win_streak = current_win_streak + 1, [INFO] [stdout] 272 | | max_win_streak = CASE [INFO] [stdout] 273 | | WHEN current_win_streak > max_win_streak THEN current_win_streak [INFO] [stdout] ... | [INFO] [stdout] 288 | | winner_id [INFO] [stdout] 289 | | ) [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.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / sqlx::query!( [INFO] [stdout] 298 | | "UPDATE statistics SET games_played = games_played + 1, games_lost = games_lost + 1, current_win_streak = 0, [INFO] [stdout] 299 | | elo = CASE [INFO] [stdout] 300 | | WHEN elo + ? < 100 THEN 100 [INFO] [stdout] ... | [INFO] [stdout] 311 | | loser_id [INFO] [stdout] 312 | | ) [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.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | / sqlx::query!( [INFO] [stdout] 321 | | "UPDATE statistics SET games_played = games_played + 1, games_drawn = games_drawn + 1, current_win_streak = 0, [INFO] [stdout] 322 | | elo = CASE [INFO] [stdout] 323 | | WHEN elo + ? < 100 THEN 100 [INFO] [stdout] ... | [INFO] [stdout] 334 | | white_player_id [INFO] [stdout] 335 | | ) [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.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / sqlx::query!( [INFO] [stdout] 298 | | "UPDATE statistics SET games_played = games_played + 1, games_lost = games_lost + 1, current_win_streak = 0, [INFO] [stdout] 299 | | elo = CASE [INFO] [stdout] 300 | | WHEN elo + ? < 100 THEN 100 [INFO] [stdout] ... | [INFO] [stdout] 311 | | loser_id [INFO] [stdout] 312 | | ) [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.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | "UPDATE statistics SET games_played = games_played + 1, games_drawn = games_drawn + 1, current_win_streak = 0, [INFO] [stdout] 341 | | elo = CASE [INFO] [stdout] 342 | | WHEN elo + ? < 100 THEN 100 [INFO] [stdout] ... | [INFO] [stdout] 353 | | black_player_id [INFO] [stdout] 354 | | ) [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.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | / sqlx::query!( [INFO] [stdout] 321 | | "UPDATE statistics SET games_played = games_played + 1, games_drawn = games_drawn + 1, current_win_streak = 0, [INFO] [stdout] 322 | | elo = CASE [INFO] [stdout] 323 | | WHEN elo + ? < 100 THEN 100 [INFO] [stdout] ... | [INFO] [stdout] 334 | | white_player_id [INFO] [stdout] 335 | | ) [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.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!( [INFO] [stdout] 392 | | "INSERT INTO chat_messages (game_id, sender_id, message) VALUES (?, ?, ?)", [INFO] [stdout] 393 | | game_id, [INFO] [stdout] 394 | | sender_id, [INFO] [stdout] 395 | | message, [INFO] [stdout] 396 | | ) [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.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | "UPDATE statistics SET games_played = games_played + 1, games_drawn = games_drawn + 1, current_win_streak = 0, [INFO] [stdout] 341 | | elo = CASE [INFO] [stdout] 342 | | WHEN elo + ? < 100 THEN 100 [INFO] [stdout] ... | [INFO] [stdout] 353 | | black_player_id [INFO] [stdout] 354 | | ) [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.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!( [INFO] [stdout] 392 | | "INSERT INTO chat_messages (game_id, sender_id, message) VALUES (?, ?, ?)", [INFO] [stdout] 393 | | game_id, [INFO] [stdout] 394 | | sender_id, [INFO] [stdout] 395 | | message, [INFO] [stdout] 396 | | ) [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: `actix::fut::future::result` [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix::fut::future::result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chess::Game` [INFO] [stdout] --> src/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::Game; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySqlConnection` [INFO] [stdout] --> src/db.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{MySqlPool, MySqlConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/db.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/db.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/routes.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::FromRequest` [INFO] [stdout] --> src/routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::FromRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameSummary` [INFO] [stdout] --> src/routes.rs:10:68 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::{RegisterUser, LoginUser, UserStatistics, User, GameSummary}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::fut::future::result` [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix::fut::future::result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chess::Game` [INFO] [stdout] --> src/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chess::Game; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> src/ws.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, Addr, AsyncContext, Handler, Message, StreamHandler}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionExt` and `Session` [INFO] [stdout] --> src/ws.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{Session, SessionExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySqlConnection` [INFO] [stdout] --> src/db.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{MySqlPool, MySqlConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::password_hash::rand_core::le` [INFO] [stdout] --> src/ws.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use argon2::password_hash::rand_core::le; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/db.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/ws.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::OffsetDateTime` [INFO] [stdout] --> src/db.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use time::OffsetDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/ws.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/ws.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::game::{Game, GameState, GameStatus, Player, SharedGameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserStatistics` and `User` [INFO] [stdout] --> src/ws.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::models::{User, UserStatistics}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/routes.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::FromRequest` [INFO] [stdout] --> src/routes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::FromRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameSummary` [INFO] [stdout] --> src/routes.rs:10:68 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::{RegisterUser, LoginUser, UserStatistics, User, GameSummary}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameResult` [INFO] [stdout] --> src/game.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use chess::{Board, ChessMove, MoveGen, Square, Color, GameResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> src/ws.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, Addr, AsyncContext, Handler, Message, StreamHandler}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SessionExt` and `Session` [INFO] [stdout] --> src/ws.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::{Session, SessionExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::password_hash::rand_core::le` [INFO] [stdout] --> src/ws.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use argon2::password_hash::rand_core::le; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/ws.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/ws.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/ws.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::game::{Game, GameState, GameStatus, Player, SharedGameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserStatistics` and `User` [INFO] [stdout] --> src/ws.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::models::{User, UserStatistics}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameResult` [INFO] [stdout] --> src/game.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use chess::{Board, ChessMove, MoveGen, Square, Color, GameResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chess::Square::from_string`: please use `Square::from_str(square)?` instead [INFO] [stdout] --> src/game.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let from_sq = Square::from_string(String::from(from)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chess::Square::from_string`: please use `Square::from_str(square)?` instead [INFO] [stdout] --> src/game.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let to_sq = Square::from_string(String::from(to)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chess::Square::from_string`: please use `Square::from_str(square)?` instead [INFO] [stdout] --> src/game.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let from_sq = Square::from_string(String::from(from)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chess::Square::from_string`: please use `Square::from_str(square)?` instead [INFO] [stdout] --> src/game.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let to_sq = Square::from_string(String::from(to)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web_app` (bin "web_app" test) due to 16 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `web_app` (bin "web_app") due to 16 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8555d4105780eff81a6d30bf8958e9538568aaaf8dcdf21403a31ddb27ada92e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8555d4105780eff81a6d30bf8958e9538568aaaf8dcdf21403a31ddb27ada92e", kill_on_drop: false }` [INFO] [stdout] 8555d4105780eff81a6d30bf8958e9538568aaaf8dcdf21403a31ddb27ada92e