[INFO] cloning repository https://github.com/MishaPapoyan/rust-axum-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MishaPapoyan/rust-axum-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMishaPapoyan%2Frust-axum-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMishaPapoyan%2Frust-axum-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5c5d26421fe01b1088e09a58e263421ea99ba89 [INFO] checking MishaPapoyan/rust-axum-backend/a5c5d26421fe01b1088e09a58e263421ea99ba89 against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMishaPapoyan%2Frust-axum-backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MishaPapoyan/rust-axum-backend [INFO] finished tweaking git repo https://github.com/MishaPapoyan/rust-axum-backend [INFO] tweaked toml for git repo https://github.com/MishaPapoyan/rust-axum-backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MishaPapoyan/rust-axum-backend on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MishaPapoyan/rust-axum-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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded sqlx-macros v0.8.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.1 [INFO] [stderr] Downloaded psm v0.1.22 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.1 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.1 [INFO] [stderr] Downloaded tower v0.5.0 [INFO] [stderr] Downloaded sqlx v0.8.1 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.1 [INFO] [stderr] Downloaded sqlx-core v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ebe6162808dc9eb580b388699c041016dd77a39f4abd8413c2b77caed17103e [INFO] running `Command { std: "docker" "start" "-a" "8ebe6162808dc9eb580b388699c041016dd77a39f4abd8413c2b77caed17103e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ebe6162808dc9eb580b388699c041016dd77a39f4abd8413c2b77caed17103e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebe6162808dc9eb580b388699c041016dd77a39f4abd8413c2b77caed17103e", kill_on_drop: false }` [INFO] [stdout] 8ebe6162808dc9eb580b388699c041016dd77a39f4abd8413c2b77caed17103e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 248c507084051920220327fb224d88c774006e0c0e214861f555e7c0cef6abb6 [INFO] running `Command { std: "docker" "start" "-a" "248c507084051920220327fb224d88c774006e0c0e214861f555e7c0cef6abb6", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-executor v1.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Compiling sqlx-core v0.8.1 [INFO] [stderr] Checking lettre v0.11.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tower v0.5.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking sqlx v0.8.1 [INFO] [stderr] Checking axum_auth_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.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 91 | | ... User, [INFO] [stdout] 92 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "ro... [INFO] [stdout] 93 | | ... user_id [INFO] [stdout] 94 | | ... ).fetch_optional(&self.pool).await?; [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:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 97 | | ... User, [INFO] [stdout] 98 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "r... [INFO] [stdout] 99 | | ... name [INFO] [stdout] 100 | | ... ).fetch_optional(&self.pool).await?; [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:20 [INFO] [stdout] | [INFO] [stdout] 102 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 103 | | ... User, [INFO] [stdout] 104 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "r... [INFO] [stdout] 105 | | ... email [INFO] [stdout] 106 | | ... ).fetch_optional(&self.pool).await?; [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:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 109 | | ... User, [INFO] [stdout] 110 | | ... r#" [INFO] [stdout] 111 | | ... SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "role... [INFO] [stdout] ... | [INFO] [stdout] 114 | | ... token [INFO] [stdout] 115 | | ... ) [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:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | ... let users = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 131 | | ... User, [INFO] [stdout] 132 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "r... [INFO] [stdout] 133 | | ... ORDER BY created_at DESC LIMIT $1 OFFSET $2"#, [INFO] [stdout] 134 | | ... limit as i64, [INFO] [stdout] 135 | | ... offset as i64, [INFO] [stdout] 136 | | ... ).fetch_all(&self.pool) [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:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 151 | | User, [INFO] [stdout] 152 | | r#" [INFO] [stdout] 153 | | INSERT INTO users (name, email, password,verification_token, token_expires_at) [INFO] [stdout] ... | [INFO] [stdout] 161 | | token_expires_at [INFO] [stdout] 162 | | ).fetch_one(&self.pool) [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:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let count = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | r#"SELECT COUNT(*) FROM users"# [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_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:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | User, [INFO] [stdout] 184 | | r#" [INFO] [stdout] 185 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 191 | | user_id [INFO] [stdout] 192 | | ).fetch_one(&self.pool) [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:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 204 | | User, [INFO] [stdout] 205 | | r#" [INFO] [stdout] 206 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 212 | | user_id [INFO] [stdout] 213 | | ).fetch_one(&self.pool) [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:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 225 | | User, [INFO] [stdout] 226 | | r#" [INFO] [stdout] 227 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 233 | | user_id [INFO] [stdout] 234 | | ).fetch_one(&self.pool) [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:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | let _ =sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 245 | | r#" [INFO] [stdout] 246 | | UPDATE users [INFO] [stdout] 247 | | SET verified = true, [INFO] [stdout] ... | [INFO] [stdout] 253 | | token [INFO] [stdout] 254 | | ).execute(&self.pool) [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:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 267 | | r#" [INFO] [stdout] 268 | | UPDATE users [INFO] [stdout] 269 | | SET verification_token = $1, token_expires_at = $2, updated_at = Now() [INFO] [stdout] ... | [INFO] [stdout] 274 | | user_id, [INFO] [stdout] 275 | | ).execute(&self.pool) [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: `env` [INFO] [stdout] --> src/mail/sendmail.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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:20 [INFO] [stdout] | [INFO] [stdout] 90 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 91 | | ... User, [INFO] [stdout] 92 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "ro... [INFO] [stdout] 93 | | ... user_id [INFO] [stdout] 94 | | ... ).fetch_optional(&self.pool).await?; [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:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 97 | | ... User, [INFO] [stdout] 98 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "r... [INFO] [stdout] 99 | | ... name [INFO] [stdout] 100 | | ... ).fetch_optional(&self.pool).await?; [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:20 [INFO] [stdout] | [INFO] [stdout] 102 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 103 | | ... User, [INFO] [stdout] 104 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "r... [INFO] [stdout] 105 | | ... email [INFO] [stdout] 106 | | ... ).fetch_optional(&self.pool).await?; [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:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | ... user = sqlx::query_as!( [INFO] [stdout] | ______________^ [INFO] [stdout] 109 | | ... User, [INFO] [stdout] 110 | | ... r#" [INFO] [stdout] 111 | | ... SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "role... [INFO] [stdout] ... | [INFO] [stdout] 114 | | ... token [INFO] [stdout] 115 | | ... ) [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:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | ... let users = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 131 | | ... User, [INFO] [stdout] 132 | | ... r#"SELECT id, name, email, password, verified, created_at, updated_at, verification_token, token_expires_at, role as "r... [INFO] [stdout] 133 | | ... ORDER BY created_at DESC LIMIT $1 OFFSET $2"#, [INFO] [stdout] 134 | | ... limit as i64, [INFO] [stdout] 135 | | ... offset as i64, [INFO] [stdout] 136 | | ... ).fetch_all(&self.pool) [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:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 151 | | User, [INFO] [stdout] 152 | | r#" [INFO] [stdout] 153 | | INSERT INTO users (name, email, password,verification_token, token_expires_at) [INFO] [stdout] ... | [INFO] [stdout] 161 | | token_expires_at [INFO] [stdout] 162 | | ).fetch_one(&self.pool) [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:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let count = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | r#"SELECT COUNT(*) FROM users"# [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_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:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | User, [INFO] [stdout] 184 | | r#" [INFO] [stdout] 185 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 191 | | user_id [INFO] [stdout] 192 | | ).fetch_one(&self.pool) [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:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 204 | | User, [INFO] [stdout] 205 | | r#" [INFO] [stdout] 206 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 212 | | user_id [INFO] [stdout] 213 | | ).fetch_one(&self.pool) [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:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 225 | | User, [INFO] [stdout] 226 | | r#" [INFO] [stdout] 227 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 233 | | user_id [INFO] [stdout] 234 | | ).fetch_one(&self.pool) [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:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | let _ =sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 245 | | r#" [INFO] [stdout] 246 | | UPDATE users [INFO] [stdout] 247 | | SET verified = true, [INFO] [stdout] ... | [INFO] [stdout] 253 | | token [INFO] [stdout] 254 | | ).execute(&self.pool) [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:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 267 | | r#" [INFO] [stdout] 268 | | UPDATE users [INFO] [stdout] 269 | | SET verification_token = $1, token_expires_at = $2, updated_at = Now() [INFO] [stdout] ... | [INFO] [stdout] 274 | | user_id, [INFO] [stdout] 275 | | ).execute(&self.pool) [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: `env` [INFO] [stdout] --> src/mail/sendmail.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let count = sqlx::query_scalar!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(count.unwrap_or(0)) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `count` an explicit type [INFO] [stdout] | [INFO] [stdout] 168 | let count: /* Type */ = sqlx::query_scalar!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let count = sqlx::query_scalar!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(count.unwrap_or(0)) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `count` an explicit type [INFO] [stdout] | [INFO] [stdout] 168 | let count: /* Type */ = sqlx::query_scalar!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dtos.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | UserRole::Admin | UserRole::User => Ok(()), [INFO] [stdout] | -------------------------------- matches all the relevant values [INFO] [stdout] 126 | _ => Err(validator::ValidationError::new("invalid_role")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dtos.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | UserRole::Admin | UserRole::User => Ok(()), [INFO] [stdout] | -------------------------------- matches all the relevant values [INFO] [stdout] 126 | _ => Err(validator::ValidationError::new("invalid_role")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_auth_backend` (bin "axum_auth_backend") due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_auth_backend` (bin "axum_auth_backend" test) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "248c507084051920220327fb224d88c774006e0c0e214861f555e7c0cef6abb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248c507084051920220327fb224d88c774006e0c0e214861f555e7c0cef6abb6", kill_on_drop: false }` [INFO] [stdout] 248c507084051920220327fb224d88c774006e0c0e214861f555e7c0cef6abb6