[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 master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [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 c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.27.1 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded rustversion v1.0.19 [INFO] [stderr] Downloaded strum_macros v0.27.1 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.3 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded http-body-util v0.1.2 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded serde_path_to_error v0.1.16 [INFO] [stderr] Downloaded serde_html_form v0.2.7 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded http v1.2.0 [INFO] [stderr] Downloaded fancy-regex v0.14.0 [INFO] [stderr] Downloaded cc v1.2.10 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded unicode-properties v0.1.3 [INFO] [stderr] Downloaded ryu v1.0.19 [INFO] [stderr] Downloaded axum-extra v0.10.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.3 [INFO] [stderr] Downloaded indexmap v2.7.1 [INFO] [stderr] Downloaded sqlx-core v0.8.3 [INFO] [stderr] Downloaded sqlx-postgres v0.8.3 [INFO] [stderr] Downloaded rsa v0.9.7 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] [stderr] Downloaded whoami v1.5.2 [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.3 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded derive-getters v0.5.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.3 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded pkg-config v0.3.31 [INFO] [stderr] Downloaded foldhash v0.1.4 [INFO] [stderr] Downloaded itoa v1.0.14 [INFO] [stderr] Downloaded sqlx v0.8.3 [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.28 [INFO] [stderr] Downloaded aide v0.14.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aafa19d2aca0542f3bacd7fb0bf05c269b36b20452ec3d267aabfb975881773 [INFO] running `Command { std: "docker" "start" "-a" "4aafa19d2aca0542f3bacd7fb0bf05c269b36b20452ec3d267aabfb975881773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aafa19d2aca0542f3bacd7fb0bf05c269b36b20452ec3d267aabfb975881773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aafa19d2aca0542f3bacd7fb0bf05c269b36b20452ec3d267aabfb975881773", kill_on_drop: false }` [INFO] [stdout] 4aafa19d2aca0542f3bacd7fb0bf05c269b36b20452ec3d267aabfb975881773 [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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44417849f097387cfc50c7c8e02163a2dc1185e20ee764c89773b4094d1a7978 [INFO] running `Command { std: "docker" "start" "-a" "44417849f097387cfc50c7c8e02163a2dc1185e20ee764c89773b4094d1a7978", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [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 tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_html_form v0.2.7 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking dyn-clone v1.0.18 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking uuid v1.15.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [INFO] [stderr] Checking fancy-regex v0.14.0 [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: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/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: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: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: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] 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: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/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: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: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: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] 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" "44417849f097387cfc50c7c8e02163a2dc1185e20ee764c89773b4094d1a7978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44417849f097387cfc50c7c8e02163a2dc1185e20ee764c89773b4094d1a7978", kill_on_drop: false }` [INFO] [stdout] 44417849f097387cfc50c7c8e02163a2dc1185e20ee764c89773b4094d1a7978