[INFO] cloning repository https://github.com/hardwayy/rustapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hardwayy/rustapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardwayy%2Frustapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardwayy%2Frustapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 806d1caaf98b80b379adca5d6c8f1d2d0630edfb [INFO] checking hardwayy/rustapi/806d1caaf98b80b379adca5d6c8f1d2d0630edfb against master#36e2b8a3a7aad93f8a92db6d254b746aa94ed6da for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardwayy%2Frustapi" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hardwayy/rustapi [INFO] finished tweaking git repo https://github.com/hardwayy/rustapi [INFO] tweaked toml for git repo https://github.com/hardwayy/rustapi written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hardwayy/rustapi on toolchain 36e2b8a3a7aad93f8a92db6d254b746aa94ed6da [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hardwayy/rustapi 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" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard-win v4.5.0 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded promptly v0.3.1 [INFO] [stderr] Downloaded error-code v2.3.1 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded str-buf v1.0.6 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded clap_complete v4.5.47 [INFO] [stderr] Downloaded clap v4.5.36 [INFO] [stderr] Downloaded rustyline v9.1.2 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded sqlx-cli v0.8.3 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded winnow v0.7.6 [INFO] [stderr] Downloaded clap_builder v4.5.36 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5ff263d73ba5ca014347908285bfedc6acdddc47dc41740430120680de5279d [INFO] running `Command { std: "docker" "start" "-a" "c5ff263d73ba5ca014347908285bfedc6acdddc47dc41740430120680de5279d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5ff263d73ba5ca014347908285bfedc6acdddc47dc41740430120680de5279d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ff263d73ba5ca014347908285bfedc6acdddc47dc41740430120680de5279d", kill_on_drop: false }` [INFO] [stdout] c5ff263d73ba5ca014347908285bfedc6acdddc47dc41740430120680de5279d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e33e7a85e7c9f2d0822e9e99c1ac6931d6f4c61aee8f40565641b552a093cdd8 [INFO] running `Command { std: "docker" "start" "-a" "e33e7a85e7c9f2d0822e9e99c1ac6931d6f4c61aee8f40565641b552a093cdd8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.36 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking clap v4.5.36 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking semver v1.0.26 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking promptly v0.3.1 [INFO] [stderr] Checking clap_complete v4.5.47 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking sqlx-cli v0.8.3 [INFO] [stderr] Checking restapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | Cliente, [INFO] [stdout] 23 | | r#" [INFO] [stdout] 24 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | ) [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: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/main.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | Cliente, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 66 | | id_cliente [INFO] [stdout] 67 | | ) [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] warning: unused imports: `delete`, `post`, and `put` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{delete, get, launch, post, put, routes, State}; [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/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | Cliente, [INFO] [stdout] 23 | | r#" [INFO] [stdout] 24 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 33 | | .fetch_all(&pool.0) [INFO] [stdout] 34 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | Cliente, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 68 | | .fetch_optional(&pool.0) // 👈 più elegante di fetch_one().ok() [INFO] [stdout] 69 | | .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] [stdout] error: error communicating with database: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | Cliente, [INFO] [stdout] 23 | | r#" [INFO] [stdout] 24 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | ) [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: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] --> src/main.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | Cliente, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 66 | | id_cliente [INFO] [stdout] 67 | | ) [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] [stderr] error: could not compile `restapi` (bin "restapi") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `delete`, `post`, and `put` [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{delete, get, launch, post, put, routes, State}; [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/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | Cliente, [INFO] [stdout] 23 | | r#" [INFO] [stdout] 24 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 33 | | .fetch_all(&pool.0) [INFO] [stdout] 34 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | Cliente, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 68 | | .fetch_optional(&pool.0) // 👈 più elegante di fetch_one().ok() [INFO] [stdout] 69 | | .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 `restapi` (bin "restapi" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e33e7a85e7c9f2d0822e9e99c1ac6931d6f4c61aee8f40565641b552a093cdd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33e7a85e7c9f2d0822e9e99c1ac6931d6f4c61aee8f40565641b552a093cdd8", kill_on_drop: false }` [INFO] [stdout] e33e7a85e7c9f2d0822e9e99c1ac6931d6f4c61aee8f40565641b552a093cdd8