[INFO] cloning repository https://github.com/shreyas-sha3/rust-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shreyas-sha3/rust-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyas-sha3%2Frust-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyas-sha3%2Frust-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a78dffa468988c379392b5868a5bb4fe6e1eb9e [INFO] testing shreyas-sha3/rust-chat against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshreyas-sha3%2Frust-chat" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shreyas-sha3/rust-chat [INFO] finished tweaking git repo https://github.com/shreyas-sha3/rust-chat [INFO] tweaked toml for git repo https://github.com/shreyas-sha3/rust-chat written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shreyas-sha3/rust-chat on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shreyas-sha3/rust-chat already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded rand v0.9.0 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded cc v1.2.18 [INFO] [stderr] Downloaded chrono v0.4.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45d67b92269d3b28af2fda0314a7812b7cbb0b24e31b7fcc3546926eaf4efc2 [INFO] running `Command { std: "docker" "start" "-a" "a45d67b92269d3b28af2fda0314a7812b7cbb0b24e31b7fcc3546926eaf4efc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45d67b92269d3b28af2fda0314a7812b7cbb0b24e31b7fcc3546926eaf4efc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45d67b92269d3b28af2fda0314a7812b7cbb0b24e31b7fcc3546926eaf4efc2", kill_on_drop: false }` [INFO] [stdout] a45d67b92269d3b28af2fda0314a7812b7cbb0b24e31b7fcc3546926eaf4efc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7ea8e157fd74114b2643df2b8fc2f7425aa90ffc62f97530ddc394cbb909c6 [INFO] running `Command { std: "docker" "start" "-a" "2a7ea8e157fd74114b2643df2b8fc2f7425aa90ffc62f97530ddc394cbb909c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling syn v1.0.109 [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 displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling rust_chat 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:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let existing = sqlx::query_scalar!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 33 | | r#"SELECT id FROM conversations WHERE user1 = $1 AND user2 = $2"#, [INFO] [stdout] 34 | | u1, [INFO] [stdout] 35 | | u2 [INFO] [stdout] 36 | | ) [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_scalar` (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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query!( [INFO] [stdout] 45 | | r#"INSERT INTO conversations (id, user1, user2) VALUES ($1, $2, $3)"#, [INFO] [stdout] 46 | | new_id, [INFO] [stdout] 47 | | u1, [INFO] [stdout] 48 | | u2 [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.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query!( [INFO] [stdout] 64 | | r#" [INFO] [stdout] 65 | | INSERT INTO messages (conversation_id, sender, content) [INFO] [stdout] 66 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 70 | | content [INFO] [stdout] 71 | | ) [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:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | ServerMessage, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | SELECT sender, content, sent_at [INFO] [stdout] ... | [INFO] [stdout] 93 | | limit [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:9 [INFO] [stdout] | [INFO] [stdout] 102 | / sqlx::query_as!( [INFO] [stdout] 103 | | ServerMessage, [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT sender, content, sent_at [INFO] [stdout] ... | [INFO] [stdout] 110 | | limit [INFO] [stdout] 111 | | ) [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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | / sqlx::query_as!( [INFO] [stdout] 132 | | DmMessage, [INFO] [stdout] 133 | | r#" [INFO] [stdout] 134 | | SELECT sender, content, sent_at,read [INFO] [stdout] ... | [INFO] [stdout] 142 | | limit [INFO] [stdout] 143 | | ) [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:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / sqlx::query_as!( [INFO] [stdout] 149 | | DmMessage, [INFO] [stdout] 150 | | r#" [INFO] [stdout] 151 | | SELECT sender, content, sent_at,read [INFO] [stdout] ... | [INFO] [stdout] 158 | | limit [INFO] [stdout] 159 | | ) [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:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / sqlx::query!( [INFO] [stdout] 173 | | r#" [INFO] [stdout] 174 | | UPDATE messages [INFO] [stdout] 175 | | SET read = TRUE [INFO] [stdout] ... | [INFO] [stdout] 179 | | from_user [INFO] [stdout] 180 | | ) [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:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 192 | | r#" [INFO] [stdout] 193 | | SELECT [INFO] [stdout] 194 | | CASE [INFO] [stdout] ... | [INFO] [stdout] 201 | | current_user [INFO] [stdout] 202 | | ) [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/socket.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | / ... sqlx::query!( [INFO] [stdout] 164 | | ... "INSERT INTO server_messages (sender, content) VALUES ($1, $2)", [INFO] [stdout] 165 | | ... sender_clone, [INFO] [stdout] 166 | | ... msg_clone [INFO] [stdout] 167 | | ... ) [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[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | ServerMessage, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | SELECT sender, content, sent_at [INFO] [stdout] ... | [INFO] [stdout] 95 | | .fetch_all(pool) [INFO] [stdout] 96 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | .map(|mut msgs| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 98 | msgs.reverse(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 97 | .map(|mut msgs: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | / sqlx::query_as!( [INFO] [stdout] 103 | | ServerMessage, [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT sender, content, sent_at [INFO] [stdout] ... | [INFO] [stdout] 112 | | .fetch_all(pool) [INFO] [stdout] 113 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | .map(|mut msgs| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 115 | msgs.reverse(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 114 | .map(|mut msgs: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let rows = if let Some(before_ts) = before { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Ok(rows.into_iter().rev().collect()) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 129 | let rows: /* Type */ = if let Some(before_ts) = before { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let rows = sqlx::query!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | Ok(rows [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 191 | let rows: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/socket.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | / ... sqlx::query!( [INFO] [stdout] 164 | | ... "INSERT INTO server_messages (sender, content) VALUES ($1, $2)", [INFO] [stdout] 165 | | ... sender_clone, [INFO] [stdout] 166 | | ... msg_clone [INFO] [stdout] 167 | | ... ) [INFO] [stdout] 168 | | ... .execute(&*db) [INFO] [stdout] 169 | | ... .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 `rust_chat` (bin "rust_chat") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "2a7ea8e157fd74114b2643df2b8fc2f7425aa90ffc62f97530ddc394cbb909c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7ea8e157fd74114b2643df2b8fc2f7425aa90ffc62f97530ddc394cbb909c6", kill_on_drop: false }` [INFO] [stdout] 2a7ea8e157fd74114b2643df2b8fc2f7425aa90ffc62f97530ddc394cbb909c6