[INFO] cloning repository https://github.com/pongloongyeat/axum-app-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pongloongyeat/axum-app-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpongloongyeat%2Faxum-app-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpongloongyeat%2Faxum-app-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c835b715f5cb18df6977a008ccfa6e51300ec99b [INFO] checking pongloongyeat/axum-app-template/c835b715f5cb18df6977a008ccfa6e51300ec99b against 1.94.0 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpongloongyeat%2Faxum-app-template" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pongloongyeat/axum-app-template [INFO] finished tweaking git repo https://github.com/pongloongyeat/axum-app-template [INFO] tweaked toml for git repo https://github.com/pongloongyeat/axum-app-template written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pongloongyeat/axum-app-template on toolchain 1.94.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pongloongyeat/axum-app-template 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded fancy-regex v0.14.0 [INFO] [stderr] Downloaded axum-extra v0.10.0 [INFO] [stderr] Downloaded rsa v0.9.7 [INFO] [stderr] Downloaded aide v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d1505d736661fecf23c45c234ffe98950f3d7736c4739b03a63453f909cc906 [INFO] running `Command { std: "docker" "start" "-a" "8d1505d736661fecf23c45c234ffe98950f3d7736c4739b03a63453f909cc906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d1505d736661fecf23c45c234ffe98950f3d7736c4739b03a63453f909cc906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1505d736661fecf23c45c234ffe98950f3d7736c4739b03a63453f909cc906", kill_on_drop: false }` [INFO] [stdout] 8d1505d736661fecf23c45c234ffe98950f3d7736c4739b03a63453f909cc906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e1730102d2d117c98b9fe418ea50b85d5986008920a0d93ed1e49927c108ca0 [INFO] running `Command { std: "docker" "start" "-a" "4e1730102d2d117c98b9fe418ea50b85d5986008920a0d93ed1e49927c108ca0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking dyn-clone v1.0.18 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking uuid v1.15.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking serde_html_form v0.2.7 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [INFO] [stderr] Checking axum-extra v0.10.0 [INFO] [stderr] Checking aide v0.14.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking unnamed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query!( [INFO] [stdout] 18 | | " [INFO] [stdout] 19 | | INSERT INTO forgot_password_transactions [INFO] [stdout] 20 | | (user_id, token, reset_password_token, expires_at) [INFO] [stdout] ... | [INFO] [stdout] 28 | | transaction.expires_at, [INFO] [stdout] 29 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query!( [INFO] [stdout] 18 | | " [INFO] [stdout] 19 | | INSERT INTO forgot_password_transactions [INFO] [stdout] 20 | | (user_id, token, reset_password_token, expires_at) [INFO] [stdout] ... | [INFO] [stdout] 28 | | transaction.expires_at, [INFO] [stdout] 29 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | " [INFO] [stdout] 43 | | UPDATE forgot_password_transactions [INFO] [stdout] 44 | | SET verified_at = ? [INFO] [stdout] ... | [INFO] [stdout] 55 | | now [INFO] [stdout] 56 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | " [INFO] [stdout] 43 | | UPDATE forgot_password_transactions [INFO] [stdout] 44 | | SET verified_at = ? [INFO] [stdout] ... | [INFO] [stdout] 55 | | now [INFO] [stdout] 56 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query!( [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | UPDATE forgot_password_transactions [INFO] [stdout] 71 | | SET used_at = ? [INFO] [stdout] ... | [INFO] [stdout] 80 | | now [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/session_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | SessionEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 34 | | now [INFO] [stdout] 35 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/session_repository.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | " [INFO] [stdout] 49 | | UPDATE sessions [INFO] [stdout] 50 | | SET [INFO] [stdout] ... | [INFO] [stdout] 58 | | user_id [INFO] [stdout] 59 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/session_repository.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | SessionEntity, [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO sessions ( [INFO] [stdout] ... | [INFO] [stdout] 96 | | *session.refresh_token_expiry(), [INFO] [stdout] 97 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | UserEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 29 | | id [INFO] [stdout] 30 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | UserEntity, [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 53 | | email [INFO] [stdout] 54 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query!( [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | UPDATE forgot_password_transactions [INFO] [stdout] 71 | | SET used_at = ? [INFO] [stdout] ... | [INFO] [stdout] 80 | | now [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | UserEntity, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 82 | | now, [INFO] [stdout] 83 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/session_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | SessionEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 34 | | now [INFO] [stdout] 35 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/session_repository.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | " [INFO] [stdout] 49 | | UPDATE sessions [INFO] [stdout] 50 | | SET [INFO] [stdout] ... | [INFO] [stdout] 58 | | user_id [INFO] [stdout] 59 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let count = sqlx::query!("SELECT COUNT(1) as count FROM users") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/session_repository.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | SessionEntity, [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO sessions ( [INFO] [stdout] ... | [INFO] [stdout] 96 | | *session.refresh_token_expiry(), [INFO] [stdout] 97 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | UserEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 29 | | id [INFO] [stdout] 30 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | UserEntity, [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 53 | | email [INFO] [stdout] 54 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / sqlx::query!( [INFO] [stdout] 125 | | "SELECT COUNT(1) as count FROM users u WHERE u.email = ?", [INFO] [stdout] 126 | | email [INFO] [stdout] 127 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | UserEntity, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 82 | | now, [INFO] [stdout] 83 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query_as!( [INFO] [stdout] 139 | | UserEntity, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | INSERT INTO users (email, password) [INFO] [stdout] ... | [INFO] [stdout] 152 | | user.password [INFO] [stdout] 153 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let count = sqlx::query!("SELECT COUNT(1) as count FROM users") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / sqlx::query!( [INFO] [stdout] 165 | | " [INFO] [stdout] 166 | | UPDATE users [INFO] [stdout] 167 | | SET login_attempts = ?, last_failed_login_attempt = ? [INFO] [stdout] ... | [INFO] [stdout] 172 | | id [INFO] [stdout] 173 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / sqlx::query!( [INFO] [stdout] 125 | | "SELECT COUNT(1) as count FROM users u WHERE u.email = ?", [INFO] [stdout] 126 | | email [INFO] [stdout] 127 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query!( [INFO] [stdout] 186 | | "UPDATE users SET password = ?, login_attempts = 0 WHERE id = ?", [INFO] [stdout] 187 | | password, [INFO] [stdout] 188 | | user_id [INFO] [stdout] 189 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query_as!( [INFO] [stdout] 139 | | UserEntity, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | INSERT INTO users (email, password) [INFO] [stdout] ... | [INFO] [stdout] 152 | | user.password [INFO] [stdout] 153 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / sqlx::query!( [INFO] [stdout] 165 | | " [INFO] [stdout] 166 | | UPDATE users [INFO] [stdout] 167 | | SET login_attempts = ?, last_failed_login_attempt = ? [INFO] [stdout] ... | [INFO] [stdout] 172 | | id [INFO] [stdout] 173 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/account/database/user_repository.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query!( [INFO] [stdout] 186 | | "UPDATE users SET password = ?, login_attempts = 0 WHERE id = ?", [INFO] [stdout] 187 | | password, [INFO] [stdout] 188 | | user_id [INFO] [stdout] 189 | | ) [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: `UserRole` [INFO] [stdout] --> src/account/database/user_repository.rs:4:81 [INFO] [stdout] | [INFO] [stdout] 4 | account::entities::user::{CreateUserEntity, FailedLoginAttempt, UserEntity, UserRole}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRole` [INFO] [stdout] --> src/account/database/user_repository.rs:4:81 [INFO] [stdout] | [INFO] [stdout] 4 | account::entities::user::{CreateUserEntity, FailedLoginAttempt, UserEntity, UserRole}, [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/account/database/session_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | SessionEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 36 | | .fetch_optional(connection) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | UserEntity, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 84 | | .fetch_optional(connection) [INFO] [stdout] 85 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/session_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | SessionEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 36 | | .fetch_optional(connection) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | UserEntity, [INFO] [stdout] 67 | | r#" [INFO] [stdout] 68 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 84 | | .fetch_optional(connection) [INFO] [stdout] 85 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query!( [INFO] [stdout] 18 | | " [INFO] [stdout] 19 | | INSERT INTO forgot_password_transactions [INFO] [stdout] 20 | | (user_id, token, reset_password_token, expires_at) [INFO] [stdout] ... | [INFO] [stdout] 30 | | .fetch_one(connection) [INFO] [stdout] 31 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | " [INFO] [stdout] 43 | | UPDATE forgot_password_transactions [INFO] [stdout] 44 | | SET verified_at = ? [INFO] [stdout] ... | [INFO] [stdout] 57 | | .fetch_optional(connection) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|result| result.map(|result| result.reset_password_token)) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | .map(|result: /* Type */| result.map(|result| result.reset_password_token)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query!( [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | UPDATE forgot_password_transactions [INFO] [stdout] 71 | | SET used_at = ? [INFO] [stdout] ... | [INFO] [stdout] 82 | | .fetch_optional(connection) [INFO] [stdout] 83 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|result| result.map(|result| result.user_id)) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | .map(|result: /* Type */| result.map(|result| result.user_id)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/session_repository.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | " [INFO] [stdout] 49 | | UPDATE sessions [INFO] [stdout] 50 | | SET [INFO] [stdout] ... | [INFO] [stdout] 60 | | .execute(connection) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/session_repository.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | SessionEntity, [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO sessions ( [INFO] [stdout] ... | [INFO] [stdout] 98 | | .fetch_one(connection) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | UserEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 31 | | .fetch_optional(connection) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | UserEntity, [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 55 | | .fetch_optional(connection) [INFO] [stdout] 56 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let count = sqlx::query!("SELECT COUNT(1) as count FROM users") [INFO] [stdout] | _________________^ [INFO] [stdout] 112 | | .fetch_one(connection) [INFO] [stdout] 113 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / sqlx::query!( [INFO] [stdout] 125 | | "SELECT COUNT(1) as count FROM users u WHERE u.email = ?", [INFO] [stdout] 126 | | email [INFO] [stdout] ... | [INFO] [stdout] 129 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query_as!( [INFO] [stdout] 139 | | UserEntity, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | INSERT INTO users (email, password) [INFO] [stdout] ... | [INFO] [stdout] 154 | | .fetch_one(connection) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / sqlx::query!( [INFO] [stdout] 165 | | " [INFO] [stdout] 166 | | UPDATE users [INFO] [stdout] 167 | | SET login_attempts = ?, last_failed_login_attempt = ? [INFO] [stdout] ... | [INFO] [stdout] 174 | | .execute(connection) [INFO] [stdout] 175 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query!( [INFO] [stdout] 186 | | "UPDATE users SET password = ?, login_attempts = 0 WHERE id = ?", [INFO] [stdout] 187 | | password, [INFO] [stdout] 188 | | user_id [INFO] [stdout] 189 | | ) [INFO] [stdout] 190 | | .execute(connection) [INFO] [stdout] 191 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query!( [INFO] [stdout] 18 | | " [INFO] [stdout] 19 | | INSERT INTO forgot_password_transactions [INFO] [stdout] 20 | | (user_id, token, reset_password_token, expires_at) [INFO] [stdout] ... | [INFO] [stdout] 30 | | .fetch_one(connection) [INFO] [stdout] 31 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | " [INFO] [stdout] 43 | | UPDATE forgot_password_transactions [INFO] [stdout] 44 | | SET verified_at = ? [INFO] [stdout] ... | [INFO] [stdout] 57 | | .fetch_optional(connection) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|result| result.map(|result| result.reset_password_token)) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | .map(|result: /* Type */| result.map(|result| result.reset_password_token)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / sqlx::query!( [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | UPDATE forgot_password_transactions [INFO] [stdout] 71 | | SET used_at = ? [INFO] [stdout] ... | [INFO] [stdout] 82 | | .fetch_optional(connection) [INFO] [stdout] 83 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/forgot_password_repository.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|result| result.map(|result| result.user_id)) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | .map(|result: /* Type */| result.map(|result| result.user_id)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/session_repository.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query!( [INFO] [stdout] 48 | | " [INFO] [stdout] 49 | | UPDATE sessions [INFO] [stdout] 50 | | SET [INFO] [stdout] ... | [INFO] [stdout] 60 | | .execute(connection) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/session_repository.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | SessionEntity, [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO sessions ( [INFO] [stdout] ... | [INFO] [stdout] 98 | | .fetch_one(connection) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | UserEntity, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 31 | | .fetch_optional(connection) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | UserEntity, [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 55 | | .fetch_optional(connection) [INFO] [stdout] 56 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let count = sqlx::query!("SELECT COUNT(1) as count FROM users") [INFO] [stdout] | _________________^ [INFO] [stdout] 112 | | .fetch_one(connection) [INFO] [stdout] 113 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / sqlx::query!( [INFO] [stdout] 125 | | "SELECT COUNT(1) as count FROM users u WHERE u.email = ?", [INFO] [stdout] 126 | | email [INFO] [stdout] ... | [INFO] [stdout] 129 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query_as!( [INFO] [stdout] 139 | | UserEntity, [INFO] [stdout] 140 | | r#" [INFO] [stdout] 141 | | INSERT INTO users (email, password) [INFO] [stdout] ... | [INFO] [stdout] 154 | | .fetch_one(connection) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / sqlx::query!( [INFO] [stdout] 165 | | " [INFO] [stdout] 166 | | UPDATE users [INFO] [stdout] 167 | | SET login_attempts = ?, last_failed_login_attempt = ? [INFO] [stdout] ... | [INFO] [stdout] 174 | | .execute(connection) [INFO] [stdout] 175 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/account/database/user_repository.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / sqlx::query!( [INFO] [stdout] 186 | | "UPDATE users SET password = ?, login_attempts = 0 WHERE id = ?", [INFO] [stdout] 187 | | password, [INFO] [stdout] 188 | | user_id [INFO] [stdout] 189 | | ) [INFO] [stdout] 190 | | .execute(connection) [INFO] [stdout] 191 | | .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 `unnamed` (lib) due to 30 previous errors; 1 warning 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 `unnamed` (lib test) due to 30 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4e1730102d2d117c98b9fe418ea50b85d5986008920a0d93ed1e49927c108ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e1730102d2d117c98b9fe418ea50b85d5986008920a0d93ed1e49927c108ca0", kill_on_drop: false }` [INFO] [stdout] 4e1730102d2d117c98b9fe418ea50b85d5986008920a0d93ed1e49927c108ca0