[INFO] cloning repository https://github.com/ttheghost/OxideAuth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ttheghost/OxideAuth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttheghost%2FOxideAuth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttheghost%2FOxideAuth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b1fbc5488d23f97d0bfbe339ba5c8730634d78a [INFO] checking ttheghost/OxideAuth against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttheghost%2FOxideAuth" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ttheghost/OxideAuth [INFO] finished tweaking git repo https://github.com/ttheghost/OxideAuth [INFO] tweaked toml for git repo https://github.com/ttheghost/OxideAuth written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ttheghost/OxideAuth on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ttheghost/OxideAuth 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha256 v1.6.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.4 [INFO] [stderr] Downloaded arcstr v1.2.0 [INFO] [stderr] Downloaded axum-extra v0.12.5 [INFO] [stderr] Downloaded redis v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4018969c42b07848bcf289c0b979da4446d8cf0f175dd64f2a59982f0974bce [INFO] running `Command { std: "docker" "start" "-a" "c4018969c42b07848bcf289c0b979da4446d8cf0f175dd64f2a59982f0974bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4018969c42b07848bcf289c0b979da4446d8cf0f175dd64f2a59982f0974bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4018969c42b07848bcf289c0b979da4446d8cf0f175dd64f2a59982f0974bce", kill_on_drop: false }` [INFO] [stdout] c4018969c42b07848bcf289c0b979da4446d8cf0f175dd64f2a59982f0974bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 196329954bd4aa4da4638318b54a13e36cd70a5fa0f82653cd511c16683e82bb [INFO] running `Command { std: "docker" "start" "-a" "196329954bd4aa4da4638318b54a13e36cd70a5fa0f82653cd511c16683e82bb", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking jsonwebtoken v10.3.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking sha256 v1.6.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking redis v1.0.5 [INFO] [stderr] Checking axum-extra v0.12.5 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking oxide_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `user` [INFO] [stdout] --> src/models/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod user; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `user`, create file "src/models/user.rs" or "src/models/user/mod.rs" [INFO] [stdout] = note: if there is a `mod user` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `token` [INFO] [stdout] --> src/models/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod token; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `token`, create file "src/models/token.rs" or "src/models/token/mod.rs" [INFO] [stdout] = note: if there is a `mod token` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `user` [INFO] [stdout] --> src/models/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod user; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `user`, create file "src/models/user.rs" or "src/models/user/mod.rs" [INFO] [stdout] = note: if there is a `mod user` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `token` [INFO] [stdout] --> src/models/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod token; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `token`, create file "src/models/token.rs" or "src/models/token/mod.rs" [INFO] [stdout] = note: if there is a `mod token` elsewhere in the crate already, import it with `use crate::...` instead [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/handlers/auth.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let insert_result = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 30 | | DbUser, [INFO] [stdout] 31 | | r#" [INFO] [stdout] 32 | | INSERT INTO users (username, email, password_hash) [INFO] [stdout] ... | [INFO] [stdout] 38 | | password_hash [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | DbUser, [INFO] [stdout] 68 | | r#" [INFO] [stdout] 69 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 75 | | payload.email [INFO] [stdout] 76 | | ) [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/handlers/auth.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / sqlx::query!( [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | INSERT INTO refresh_tokens (user_id, token_hash, expires_at) [INFO] [stdout] 108 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 112 | | expires_at [INFO] [stdout] 113 | | ) [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/handlers/auth.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let insert_result = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 30 | | DbUser, [INFO] [stdout] 31 | | r#" [INFO] [stdout] 32 | | INSERT INTO users (username, email, password_hash) [INFO] [stdout] ... | [INFO] [stdout] 38 | | password_hash [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | let record = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 152 | | r#" [INFO] [stdout] 153 | | SELECT [INFO] [stdout] 154 | | rt.id as token_id, rt.user_id, rt.expires_at, rt.revoked, [INFO] [stdout] ... | [INFO] [stdout] 160 | | token_hash [INFO] [stdout] 161 | | ) [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/handlers/auth.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | "DELETE FROM refresh_tokens WHERE user_id = $1", [INFO] [stdout] 169 | | record.user_id [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | DbUser, [INFO] [stdout] 68 | | r#" [INFO] [stdout] 69 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 75 | | payload.email [INFO] [stdout] 76 | | ) [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/handlers/auth.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | sqlx::query!("DELETE FROM refresh_tokens WHERE id = $1", record.token_id) [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/handlers/auth.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / sqlx::query!( [INFO] [stdout] 202 | | r#" [INFO] [stdout] 203 | | INSERT INTO refresh_tokens (user_id, token_hash, expires_at) [INFO] [stdout] 204 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 208 | | new_expires_at [INFO] [stdout] 209 | | ) [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/handlers/auth.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | sqlx::query!("DELETE FROM refresh_tokens WHERE user_id = $1", claims.sub) [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/handlers/auth.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / sqlx::query!( [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | INSERT INTO refresh_tokens (user_id, token_hash, expires_at) [INFO] [stdout] 108 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 112 | | expires_at [INFO] [stdout] 113 | | ) [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/handlers/users.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 14 | | DbUser, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT id, username, email, password_hash, role AS "role: _", created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 20 | | claims.sub [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/handlers/auth.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | let record = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 152 | | r#" [INFO] [stdout] 153 | | SELECT [INFO] [stdout] 154 | | rt.id as token_id, rt.user_id, rt.expires_at, rt.revoked, [INFO] [stdout] ... | [INFO] [stdout] 160 | | token_hash [INFO] [stdout] 161 | | ) [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/handlers/auth.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | "DELETE FROM refresh_tokens WHERE user_id = $1", [INFO] [stdout] 169 | | record.user_id [INFO] [stdout] 170 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/auth.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | sqlx::query!("DELETE FROM refresh_tokens WHERE id = $1", record.token_id) [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/handlers/auth.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / sqlx::query!( [INFO] [stdout] 202 | | r#" [INFO] [stdout] 203 | | INSERT INTO refresh_tokens (user_id, token_hash, expires_at) [INFO] [stdout] 204 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 208 | | new_expires_at [INFO] [stdout] 209 | | ) [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/handlers/auth.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | sqlx::query!("DELETE FROM refresh_tokens WHERE user_id = $1", claims.sub) [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/handlers/users.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 14 | | DbUser, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT id, username, email, password_hash, role AS "role: _", created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 20 | | claims.sub [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxide_auth` (bin "oxide_auth" test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `oxide_auth` (bin "oxide_auth") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "196329954bd4aa4da4638318b54a13e36cd70a5fa0f82653cd511c16683e82bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196329954bd4aa4da4638318b54a13e36cd70a5fa0f82653cd511c16683e82bb", kill_on_drop: false }` [INFO] [stdout] 196329954bd4aa4da4638318b54a13e36cd70a5fa0f82653cd511c16683e82bb