[INFO] cloning repository https://github.com/p9648213/axum-oauth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/p9648213/axum-oauth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp9648213%2Faxum-oauth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp9648213%2Faxum-oauth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee358d1bc28822dd30de591dfa8ed4fdbe845f0d [INFO] checking p9648213/axum-oauth/ee358d1bc28822dd30de591dfa8ed4fdbe845f0d against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp9648213%2Faxum-oauth" "/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/p9648213/axum-oauth [INFO] finished tweaking git repo https://github.com/p9648213/axum-oauth [INFO] tweaked toml for git repo https://github.com/p9648213/axum-oauth written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/p9648213/axum-oauth on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/p9648213/axum-oauth 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros-core v0.8.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.0 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded sqlx-core v0.8.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.0 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded sqlx v0.8.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.0 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c48ae9a3380b57407b19501ab0af5d07f6b7281b5ca9d4d2c9fa735a2913c15 [INFO] running `Command { std: "docker" "start" "-a" "4c48ae9a3380b57407b19501ab0af5d07f6b7281b5ca9d4d2c9fa735a2913c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c48ae9a3380b57407b19501ab0af5d07f6b7281b5ca9d4d2c9fa735a2913c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c48ae9a3380b57407b19501ab0af5d07f6b7281b5ca9d4d2c9fa735a2913c15", kill_on_drop: false }` [INFO] [stdout] 4c48ae9a3380b57407b19501ab0af5d07f6b7281b5ca9d4d2c9fa735a2913c15 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13c8b477fc245a646ba5a107f08dd4bd19adbe4fc086276b348a6fef0d78f5fe [INFO] running `Command { std: "docker" "start" "-a" "13c8b477fc245a646ba5a107f08dd4bd19adbe4fc086276b348a6fef0d78f5fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking axum-oauth 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/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 16 | | User, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 22 | | account_id, [INFO] [stdout] 23 | | ) [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/mod.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let new_user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | User, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | INSERT INTO user (id, account_id, username, image_url) [INFO] [stdout] ... | [INFO] [stdout] 51 | | image_url [INFO] [stdout] 52 | | ) [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/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query!( [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO user_session (id, user_id, created_at, expires_at) [INFO] [stdout] 75 | | VALUES (?1, ?2, ?3, ?4) [INFO] [stdout] ... | [INFO] [stdout] 80 | | expires_at [INFO] [stdout] 81 | | ) [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/mod.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let user_session = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 90 | | UserSession, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 100 | | session_id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 122 | | User, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT user.id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 129 | | session_id [INFO] [stdout] 130 | | ) [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/mod.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | DELETE FROM user_session [INFO] [stdout] 157 | | WHERE user_id = ?1 AND ?2 > expires_at [INFO] [stdout] ... | [INFO] [stdout] 160 | | now [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/db/mod.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!("DELETE FROM user_session WHERE id = ?1", session_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[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 16 | | User, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 24 | | .fetch_optional(pool) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let new_user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | User, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | INSERT INTO user (id, account_id, username, image_url) [INFO] [stdout] ... | [INFO] [stdout] 53 | | .fetch_one(pool) [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query!( [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO user_session (id, user_id, created_at, expires_at) [INFO] [stdout] 75 | | VALUES (?1, ?2, ?3, ?4) [INFO] [stdout] ... | [INFO] [stdout] 82 | | .execute(pool) [INFO] [stdout] 83 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let user_session = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 90 | | UserSession, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 102 | | .fetch_one(pool) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 122 | | User, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT user.id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 131 | | .fetch_optional(pool) [INFO] [stdout] 132 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | DELETE FROM user_session [INFO] [stdout] 157 | | WHERE user_id = ?1 AND ?2 > expires_at [INFO] [stdout] ... | [INFO] [stdout] 162 | | .execute(pool) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!("DELETE FROM user_session WHERE id = ?1", session_id) [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | .execute(&mut *conn) [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ cannot infer type [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/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 16 | | User, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 22 | | account_id, [INFO] [stdout] 23 | | ) [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/mod.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let new_user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | User, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | INSERT INTO user (id, account_id, username, image_url) [INFO] [stdout] ... | [INFO] [stdout] 51 | | image_url [INFO] [stdout] 52 | | ) [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/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query!( [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO user_session (id, user_id, created_at, expires_at) [INFO] [stdout] 75 | | VALUES (?1, ?2, ?3, ?4) [INFO] [stdout] ... | [INFO] [stdout] 80 | | expires_at [INFO] [stdout] 81 | | ) [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/mod.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let user_session = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 90 | | UserSession, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 100 | | session_id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 122 | | User, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT user.id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 129 | | session_id [INFO] [stdout] 130 | | ) [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/mod.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | DELETE FROM user_session [INFO] [stdout] 157 | | WHERE user_id = ?1 AND ?2 > expires_at [INFO] [stdout] ... | [INFO] [stdout] 160 | | now [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/db/mod.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!("DELETE FROM user_session WHERE id = ?1", session_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] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 16 | | User, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 24 | | .fetch_optional(pool) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-oauth` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let new_user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | User, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | INSERT INTO user (id, account_id, username, image_url) [INFO] [stdout] ... | [INFO] [stdout] 53 | | .fetch_one(pool) [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query!( [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO user_session (id, user_id, created_at, expires_at) [INFO] [stdout] 75 | | VALUES (?1, ?2, ?3, ?4) [INFO] [stdout] ... | [INFO] [stdout] 82 | | .execute(pool) [INFO] [stdout] 83 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let user_session = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 90 | | UserSession, [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 102 | | .fetch_one(pool) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 122 | | User, [INFO] [stdout] 123 | | r#" [INFO] [stdout] 124 | | SELECT user.id as "id: uuid::Uuid", account_id, username, image_url [INFO] [stdout] ... | [INFO] [stdout] 131 | | .fetch_optional(pool) [INFO] [stdout] 132 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 155 | | r#" [INFO] [stdout] 156 | | DELETE FROM user_session [INFO] [stdout] 157 | | WHERE user_id = ?1 AND ?2 > expires_at [INFO] [stdout] ... | [INFO] [stdout] 162 | | .execute(pool) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/mod.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!("DELETE FROM user_session WHERE id = ?1", session_id) [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | .execute(&mut *conn) [INFO] [stdout] 185 | | .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 `axum-oauth` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "13c8b477fc245a646ba5a107f08dd4bd19adbe4fc086276b348a6fef0d78f5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c8b477fc245a646ba5a107f08dd4bd19adbe4fc086276b348a6fef0d78f5fe", kill_on_drop: false }` [INFO] [stdout] 13c8b477fc245a646ba5a107f08dd4bd19adbe4fc086276b348a6fef0d78f5fe