[INFO] cloning repository https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMamangRust%2Fexample-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMamangRust%2Fexample-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf32a34a87a4341a4cf24193a6fb48de263e8edc [INFO] checking MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx/bf32a34a87a4341a4cf24193a6fb48de263e8edc against master#cf8a95590a1b768b7711f2631d5b5e3ead464de7 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMamangRust%2Fexample-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx [INFO] finished tweaking git repo https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx [INFO] tweaked toml for git repo https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx on toolchain cf8a95590a1b768b7711f2631d5b5e3ead464de7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MamangRust/example-async-tokio-rayon-dashmap-pararel-worker-kafka-sqlx 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" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rdkafka v0.38.0 [INFO] [stderr] Downloaded tokio v1.47.0 [INFO] [stderr] Downloaded rdkafka-sys v4.9.0+2.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee2c96549cefd8a4811ed84b828d1878d3d74f8058e48ffc5486eeadf038a456 [INFO] running `Command { std: "docker" "start" "-a" "ee2c96549cefd8a4811ed84b828d1878d3d74f8058e48ffc5486eeadf038a456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee2c96549cefd8a4811ed84b828d1878d3d74f8058e48ffc5486eeadf038a456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2c96549cefd8a4811ed84b828d1878d3d74f8058e48ffc5486eeadf038a456", kill_on_drop: false }` [INFO] [stdout] ee2c96549cefd8a4811ed84b828d1878d3d74f8058e48ffc5486eeadf038a456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90311b0bcc0bac2c36899dfd8d3c2e8f5ac5ff30407e61aba59ff270a7185336 [INFO] running `Command { std: "docker" "start" "-a" "90311b0bcc0bac2c36899dfd8d3c2e8f5ac5ff30407e61aba59ff270a7185336", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rdkafka-sys v4.9.0+2.10.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking rdkafka v0.38.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/crates/shared) [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 42 | | offset as i64 [INFO] [stdout] 43 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 51 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 54 | | pattern [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | User, [INFO] [stdout] 64 | | r#" [INFO] [stdout] 65 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 71 | | offset as i64 [INFO] [stdout] 72 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 80 | | FROM users [INFO] [stdout] 81 | | "# [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | sqlx::query_scalar!("SELECT EXISTS(SELECT 1 FROM users WHERE email = $1)", email) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 113 | | User, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | INSERT INTO users (id, name, email, age, created_at, updated_at) [INFO] [stdout] ... | [INFO] [stdout] 124 | | chrono::Utc::now() [INFO] [stdout] 125 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 135 | | User, [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 141 | | email [INFO] [stdout] 142 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 152 | | User, [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 158 | | id [INFO] [stdout] 159 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | UPDATE users [INFO] [stdout] 171 | | SET [INFO] [stdout] ... | [INFO] [stdout] 183 | | id, [INFO] [stdout] 184 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let result = sqlx::query!("DELETE FROM users WHERE email = $1", email) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 42 | | offset as i64 [INFO] [stdout] 43 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 51 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 54 | | pattern [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | User, [INFO] [stdout] 64 | | r#" [INFO] [stdout] 65 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 71 | | offset as i64 [INFO] [stdout] 72 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 80 | | FROM users [INFO] [stdout] 81 | | "# [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | sqlx::query_scalar!("SELECT EXISTS(SELECT 1 FROM users WHERE email = $1)", email) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 113 | | User, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | INSERT INTO users (id, name, email, age, created_at, updated_at) [INFO] [stdout] ... | [INFO] [stdout] 124 | | chrono::Utc::now() [INFO] [stdout] 125 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 135 | | User, [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 141 | | email [INFO] [stdout] 142 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 152 | | User, [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 158 | | id [INFO] [stdout] 159 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | UPDATE users [INFO] [stdout] 171 | | SET [INFO] [stdout] ... | [INFO] [stdout] 183 | | id, [INFO] [stdout] 184 | | ) [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 communicating with database: Network is unreachable (os error 101) [INFO] [stdout] --> crates/shared/src/repository.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let result = sqlx::query!("DELETE FROM users WHERE email = $1", email) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 44 | | .fetch_all(&self.pool) [INFO] [stdout] 45 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 46 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 51 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 56 | | .fetch_one(&self.pool) [INFO] [stdout] 57 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 58 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | User, [INFO] [stdout] 64 | | r#" [INFO] [stdout] 65 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 73 | | .fetch_all(&self.pool) [INFO] [stdout] 74 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 75 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 80 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 83 | | .fetch_one(&self.pool) [INFO] [stdout] 84 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 44 | | .fetch_all(&self.pool) [INFO] [stdout] 45 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 85 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 46 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 51 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 56 | | .fetch_one(&self.pool) [INFO] [stdout] 57 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 58 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | User, [INFO] [stdout] 64 | | r#" [INFO] [stdout] 65 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 73 | | .fetch_all(&self.pool) [INFO] [stdout] 74 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 75 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query_scalar!("SELECT EXISTS(SELECT 1 FROM users WHERE email = $1)", email) [INFO] [stdout] 96 | | .fetch_one(&self.pool) [INFO] [stdout] 97 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 98 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | SELECT COUNT(*) as "count!" [INFO] [stdout] 80 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 83 | | .fetch_one(&self.pool) [INFO] [stdout] 84 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 85 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query_scalar!("SELECT EXISTS(SELECT 1 FROM users WHERE email = $1)", email) [INFO] [stdout] 96 | | .fetch_one(&self.pool) [INFO] [stdout] 97 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 98 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 113 | | User, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | INSERT INTO users (id, name, email, age, created_at, updated_at) [INFO] [stdout] ... | [INFO] [stdout] 126 | | .fetch_one(&self.pool) [INFO] [stdout] 127 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 128 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 113 | | User, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | INSERT INTO users (id, name, email, age, created_at, updated_at) [INFO] [stdout] ... | [INFO] [stdout] 126 | | .fetch_one(&self.pool) [INFO] [stdout] 127 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 128 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 135 | | User, [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 143 | | .fetch_optional(&self.pool) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 145 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 135 | | User, [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 143 | | .fetch_optional(&self.pool) [INFO] [stdout] 144 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 152 | | User, [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 160 | | .fetch_optional(&self.pool) [INFO] [stdout] 161 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 145 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 162 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | UPDATE users [INFO] [stdout] 171 | | SET [INFO] [stdout] ... | [INFO] [stdout] 185 | | .fetch_optional(&self.pool) [INFO] [stdout] 186 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 152 | | User, [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT id, name, email, age, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 160 | | .fetch_optional(&self.pool) [INFO] [stdout] 161 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 187 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 162 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | UPDATE users [INFO] [stdout] 171 | | SET [INFO] [stdout] ... | [INFO] [stdout] 185 | | .fetch_optional(&self.pool) [INFO] [stdout] 186 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 187 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let result = sqlx::query!("DELETE FROM users WHERE email = $1", email) [INFO] [stdout] | ______________________^ [INFO] [stdout] 204 | | .execute(&self.pool) [INFO] [stdout] 205 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 206 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | let result = sqlx::query!("DELETE FROM users WHERE email = $1", email) [INFO] [stdout] | ______________________^ [INFO] [stdout] 204 | | .execute(&self.pool) [INFO] [stdout] 205 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/shared/src/repository.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | .map_err(|e| AppError::DatabaseError(e.to_string()))?; [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] 206 | .map_err(|e: /* Type */| AppError::DatabaseError(e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` (lib test) due to 30 previous errors [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 `shared` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "90311b0bcc0bac2c36899dfd8d3c2e8f5ac5ff30407e61aba59ff270a7185336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90311b0bcc0bac2c36899dfd8d3c2e8f5ac5ff30407e61aba59ff270a7185336", kill_on_drop: false }` [INFO] [stdout] 90311b0bcc0bac2c36899dfd8d3c2e8f5ac5ff30407e61aba59ff270a7185336