[INFO] cloning repository https://github.com/Leyan505/prototype-compra-venta-autolote [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Leyan505/prototype-compra-venta-autolote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeyan505%2Fprototype-compra-venta-autolote", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeyan505%2Fprototype-compra-venta-autolote'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb98296ef3f5b99cc12847cbc06eb89c3959b75f [INFO] checking Leyan505/prototype-compra-venta-autolote/bb98296ef3f5b99cc12847cbc06eb89c3959b75f against master#5dfe648b45659db8dd0a673a806bba3df84aa3af for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeyan505%2Fprototype-compra-venta-autolote" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Leyan505/prototype-compra-venta-autolote on toolchain 5dfe648b45659db8dd0a673a806bba3df84aa3af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Leyan505/prototype-compra-venta-autolote [INFO] finished tweaking git repo https://github.com/Leyan505/prototype-compra-venta-autolote [INFO] tweaked toml for git repo https://github.com/Leyan505/prototype-compra-venta-autolote written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Leyan505/prototype-compra-venta-autolote 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" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v2.7.13 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded pest_generator v2.7.13 [INFO] [stderr] Downloaded pest v2.7.13 [INFO] [stderr] Downloaded pest_meta v2.7.13 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1e0e2f838ea0894fe162f1371e1438fe79f6f765f95c2f690acb88db3901ce4 [INFO] running `Command { std: "docker" "start" "-a" "b1e0e2f838ea0894fe162f1371e1438fe79f6f765f95c2f690acb88db3901ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1e0e2f838ea0894fe162f1371e1438fe79f6f765f95c2f690acb88db3901ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e0e2f838ea0894fe162f1371e1438fe79f6f765f95c2f690acb88db3901ce4", kill_on_drop: false }` [INFO] [stdout] b1e0e2f838ea0894fe162f1371e1438fe79f6f765f95c2f690acb88db3901ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d65f306fc2c3933f92210d8e7885ee9855baad0ad0ba8cd8fcbf5e1d91dc08d [INFO] running `Command { std: "docker" "start" "-a" "0d65f306fc2c3933f92210d8e7885ee9855baad0ad0ba8cd8fcbf5e1d91dc08d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling zip v2.2.1 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking rust_xlsxwriter v0.79.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking sqlx-core v0.8.2 [INFO] [stderr] Checking sqlx-postgres v0.8.2 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Checking prototypeAutolote v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/auth.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 30 | | "SELECT username FROM users WHERE username = $1 AND password_hash = crypt($2, password_hash)", [INFO] [stdout] 31 | | form.username, [INFO] [stdout] 32 | | form.password [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 20 | | Vendedor, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | SELECT id_vendedor, nombre, apellido, cedula [INFO] [stdout] 23 | | FROM vendedor WHERE estado = 'ACTIVO' [INFO] [stdout] 24 | | "# [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/auth.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 30 | | "SELECT username FROM users WHERE username = $1 AND password_hash = crypt($2, password_hash)", [INFO] [stdout] 31 | | form.username, [INFO] [stdout] 32 | | form.password [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | r#" [INFO] [stdout] 46 | | INSERT INTO vendedor (nombre, apellido, cedula) [INFO] [stdout] 47 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 51 | | new_seller.cedula [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | UPDATE vendedor SET estado = 'OUT' WHERE id_vendedor = $1 [INFO] [stdout] 72 | | "#, [INFO] [stdout] 73 | | id_vendedor [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 93 | | Vendedor, [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT id_vendedor ,nombre, apellido,cedula [INFO] [stdout] ... | [INFO] [stdout] 99 | | id_vendedor [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 20 | | Vendedor, [INFO] [stdout] 21 | | r#" [INFO] [stdout] 22 | | SELECT id_vendedor, nombre, apellido, cedula [INFO] [stdout] 23 | | FROM vendedor WHERE estado = 'ACTIVO' [INFO] [stdout] 24 | | "# [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 117 | | UPDATE vendedor [INFO] [stdout] 118 | | SET nombre= $1, apellido = $2, [INFO] [stdout] 119 | | cedula = $3 [INFO] [stdout] ... | [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | r#" [INFO] [stdout] 46 | | INSERT INTO vendedor (nombre, apellido, cedula) [INFO] [stdout] 47 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 51 | | new_seller.cedula [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | UPDATE vendedor SET estado = 'OUT' WHERE id_vendedor = $1 [INFO] [stdout] 72 | | "#, [INFO] [stdout] 73 | | id_vendedor [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | let vendedor_result = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 145 | | Vendedor, [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT id_vendedor, nombre, apellido, cedula [INFO] [stdout] 148 | | FROM vendedor [INFO] [stdout] 149 | | "# [INFO] [stdout] 150 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 93 | | Vendedor, [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT id_vendedor ,nombre, apellido,cedula [INFO] [stdout] ... | [INFO] [stdout] 99 | | id_vendedor [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 117 | | UPDATE vendedor [INFO] [stdout] 118 | | SET nombre= $1, apellido = $2, [INFO] [stdout] 119 | | cedula = $3 [INFO] [stdout] ... | [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sellers.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | let vendedor_result = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 145 | | Vendedor, [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT id_vendedor, nombre, apellido, cedula [INFO] [stdout] 148 | | FROM vendedor [INFO] [stdout] 149 | | "# [INFO] [stdout] 150 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | match sqlx::query_as!(ganancias, [INFO] [stdout] | ___________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 49 | | "# [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | match sqlx::query_as!(compras, [INFO] [stdout] | ___________^ [INFO] [stdout] 66 | | r#" [INFO] [stdout] 67 | | SELECT SUM(precio_compra) as total [INFO] [stdout] 68 | | FROM vehiculo where EXTRACT(MONTH from fecha_compra) = EXTRACT(MONTH from CURRENT_DATE); [INFO] [stdout] 69 | | "# [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | match sqlx::query_as!(ventas, [INFO] [stdout] | ___________^ [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | SELECT SUM(precio_venta) as total FROM venta [INFO] [stdout] 88 | | where EXTRACT(MONTH from fecha_venta) = EXTRACT(MONTH from CURRENT_DATE) [INFO] [stdout] 89 | | "# [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | match sqlx::query_as!(vehiculosVendidos, [INFO] [stdout] | ___________^ [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | SELECT COUNT(*) as total FROM venta [INFO] [stdout] 108 | | WHERE EXTRACT(MONTH from fecha_venta) = EXTRACT(MONTH from CURRENT_DATE) [INFO] [stdout] 109 | | "# [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | match sqlx::query_as!(ganancias, [INFO] [stdout] | ___________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 49 | | "# [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | match sqlx::query_as!(compras, [INFO] [stdout] | ___________^ [INFO] [stdout] 66 | | r#" [INFO] [stdout] 67 | | SELECT SUM(precio_compra) as total [INFO] [stdout] 68 | | FROM vehiculo where EXTRACT(MONTH from fecha_compra) = EXTRACT(MONTH from CURRENT_DATE); [INFO] [stdout] 69 | | "# [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 37 | | Venta, [INFO] [stdout] 38 | | r#" [INFO] [stdout] 39 | | SELECT id_venta, matricula, fecha_venta, precio_venta, id_cliente, id_vendedor [INFO] [stdout] 40 | | FROM venta [INFO] [stdout] 41 | | "# [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | match sqlx::query_as!(ventas, [INFO] [stdout] | ___________^ [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | SELECT SUM(precio_venta) as total FROM venta [INFO] [stdout] 88 | | where EXTRACT(MONTH from fecha_venta) = EXTRACT(MONTH from CURRENT_DATE) [INFO] [stdout] 89 | | "# [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | match sqlx::query_as!(VentaChart, [INFO] [stdout] | ___________^ [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT EXTRACT(MONTH from DATE_TRUNC('month', fecha_venta))::int AS month, [INFO] [stdout] 59 | | COUNT(*) AS record_count [INFO] [stdout] ... | [INFO] [stdout] 64 | | "# [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | match sqlx::query_as!(VentaBrandChart, [INFO] [stdout] | ___________^ [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | SELECT vehiculo.marca, [INFO] [stdout] 83 | | COUNT(*) AS cantidad [INFO] [stdout] ... | [INFO] [stdout] 88 | | "# [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 104 | | Venta, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | INSERT INTO venta (matricula, fecha_venta, precio_venta, id_cliente, id_vendedor) [INFO] [stdout] ... | [INFO] [stdout] 113 | | new_sales.id_vendedor, [INFO] [stdout] 114 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/dashboard.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | match sqlx::query_as!(vehiculosVendidos, [INFO] [stdout] | ___________^ [INFO] [stdout] 106 | | r#" [INFO] [stdout] 107 | | SELECT COUNT(*) as total FROM venta [INFO] [stdout] 108 | | WHERE EXTRACT(MONTH from fecha_venta) = EXTRACT(MONTH from CURRENT_DATE) [INFO] [stdout] 109 | | "# [INFO] [stdout] 110 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | r#" [INFO] [stdout] 134 | | DELETE FROM venta WHERE id_venta = $1 [INFO] [stdout] 135 | | "#, [INFO] [stdout] 136 | | id_venta [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 157 | | Venta, [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | SELECT id_venta, matricula, fecha_venta, precio_venta, id_cliente, id_vendedor [INFO] [stdout] ... | [INFO] [stdout] 163 | | id_venta [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 179 | | UPDATE venta [INFO] [stdout] 180 | | SET fecha_venta = $1, precio_venta = $2, [INFO] [stdout] 181 | | id_cliente = $3, id_vendedor = $4 [INFO] [stdout] ... | [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 37 | | Venta, [INFO] [stdout] 38 | | r#" [INFO] [stdout] 39 | | SELECT id_venta, matricula, fecha_venta, precio_venta, id_cliente, id_vendedor [INFO] [stdout] 40 | | FROM venta [INFO] [stdout] 41 | | "# [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let ventas_result = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 210 | | Venta, [INFO] [stdout] 211 | | r#" [INFO] [stdout] 212 | | SELECT id_venta, matricula, fecha_venta, precio_venta, id_cliente, id_vendedor [INFO] [stdout] 213 | | FROM venta [INFO] [stdout] 214 | | "# [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | match sqlx::query_as!(VentaChart, [INFO] [stdout] | ___________^ [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT EXTRACT(MONTH from DATE_TRUNC('month', fecha_venta))::int AS month, [INFO] [stdout] 59 | | COUNT(*) AS record_count [INFO] [stdout] ... | [INFO] [stdout] 64 | | "# [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | match sqlx::query_as!(VentaBrandChart, [INFO] [stdout] | ___________^ [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | SELECT vehiculo.marca, [INFO] [stdout] 83 | | COUNT(*) AS cantidad [INFO] [stdout] ... | [INFO] [stdout] 88 | | "# [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 104 | | Venta, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | INSERT INTO venta (matricula, fecha_venta, precio_venta, id_cliente, id_vendedor) [INFO] [stdout] ... | [INFO] [stdout] 113 | | new_sales.id_vendedor, [INFO] [stdout] 114 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | r#" [INFO] [stdout] 134 | | DELETE FROM venta WHERE id_venta = $1 [INFO] [stdout] 135 | | "#, [INFO] [stdout] 136 | | id_venta [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 157 | | Venta, [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | SELECT id_venta, matricula, fecha_venta, precio_venta, id_cliente, id_vendedor [INFO] [stdout] ... | [INFO] [stdout] 163 | | id_venta [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 179 | | UPDATE venta [INFO] [stdout] 180 | | SET fecha_venta = $1, precio_venta = $2, [INFO] [stdout] 181 | | id_cliente = $3, id_vendedor = $4 [INFO] [stdout] ... | [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/sales.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let ventas_result = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 210 | | Venta, [INFO] [stdout] 211 | | r#" [INFO] [stdout] 212 | | SELECT id_venta, matricula, fecha_venta, precio_venta, id_cliente, id_vendedor [INFO] [stdout] 213 | | FROM venta [INFO] [stdout] 214 | | "# [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | ...ch sqlx::query_as!(Gasto, [INFO] [stdout] | _______^ [INFO] [stdout] 45 | | ... r#"SELECT id_gasto, matricula, tipo_reparacion, monto, fecha_finalizacion, nombre_taller, direccion_taller, telefono_taller FROM gasto"#) [INFO] [stdout] | |_____________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 61 | | r#" [INFO] [stdout] 62 | | INSERT INTO gasto (matricula, tipo_reparacion, monto, fecha_finalizacion, nombre_taller, direccion_taller, telefono_taller) [INFO] [stdout] 63 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 71 | | new_cost.telefono_taller [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 90 | | r#" [INFO] [stdout] 91 | | DELETE FROM gasto [INFO] [stdout] 92 | | WHERE id_gasto = $1 [INFO] [stdout] 93 | | "#, [INFO] [stdout] 94 | | id, [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match sqlx::query_as!(Gasto, [INFO] [stdout] | ___________^ [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT id_gasto, matricula, tipo_reparacion, monto, fecha_finalizacion, nombre_taller, direccion_taller, telefono_taller [INFO] [stdout] 116 | | FROM gasto [INFO] [stdout] ... | [INFO] [stdout] 119 | | id [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 135 | | UPDATE gasto [INFO] [stdout] 136 | | SET tipo_reparacion = $1, [INFO] [stdout] 137 | | monto = $2, [INFO] [stdout] ... | [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | match sqlx::query_as!(Gasto_chart, [INFO] [stdout] | ___________^ [INFO] [stdout] 169 | | r#"SELECT EXTRACT(MONTH from DATE_TRUNC('month', fecha_finalizacion))::int AS month, [INFO] [stdout] 170 | | COUNT(*) AS record_count [INFO] [stdout] 171 | | FROM gasto [INFO] [stdout] ... | [INFO] [stdout] 174 | | ORDER BY month; [INFO] [stdout] 175 | | "#) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | let gastos_result = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 192 | | Gasto, [INFO] [stdout] 193 | | r#" [INFO] [stdout] 194 | | SELECT id_gasto, matricula, tipo_reparacion, fecha_finalizacion, monto, nombre_taller, direccion_taller, telefono_taller [INFO] [stdout] 195 | | FROM gasto [INFO] [stdout] 196 | | "# [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | ...ch sqlx::query_as!(Gasto, [INFO] [stdout] | _______^ [INFO] [stdout] 45 | | ... r#"SELECT id_gasto, matricula, tipo_reparacion, monto, fecha_finalizacion, nombre_taller, direccion_taller, telefono_taller FROM gasto"#) [INFO] [stdout] | |_____________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 61 | | r#" [INFO] [stdout] 62 | | INSERT INTO gasto (matricula, tipo_reparacion, monto, fecha_finalizacion, nombre_taller, direccion_taller, telefono_taller) [INFO] [stdout] 63 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 71 | | new_cost.telefono_taller [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 90 | | r#" [INFO] [stdout] 91 | | DELETE FROM gasto [INFO] [stdout] 92 | | WHERE id_gasto = $1 [INFO] [stdout] 93 | | "#, [INFO] [stdout] 94 | | id, [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | match sqlx::query_as!(Gasto, [INFO] [stdout] | ___________^ [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT id_gasto, matricula, tipo_reparacion, monto, fecha_finalizacion, nombre_taller, direccion_taller, telefono_taller [INFO] [stdout] 116 | | FROM gasto [INFO] [stdout] ... | [INFO] [stdout] 119 | | id [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | match sqlx::query_as!(Vehiculo, [INFO] [stdout] | ___________^ [INFO] [stdout] 54 | | r#"SELECT nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado as "estado!: state" [INFO] [stdout] 55 | | FROM vehiculo [INFO] [stdout] 56 | | WHERE estado != 'ELIMINADO'"#) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 135 | | UPDATE gasto [INFO] [stdout] 136 | | SET tipo_reparacion = $1, [INFO] [stdout] 137 | | monto = $2, [INFO] [stdout] ... | [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | match sqlx::query_as!(VehiculoChart, [INFO] [stdout] | ___________^ [INFO] [stdout] 72 | | r#" [INFO] [stdout] 73 | | SELECT EXTRACT(MONTH from DATE_TRUNC('month', fecha_compra))::int AS month, [INFO] [stdout] 74 | | COUNT(*) AS record_count [INFO] [stdout] ... | [INFO] [stdout] 79 | | "# [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | match sqlx::query_as!(Gasto_chart, [INFO] [stdout] | ___________^ [INFO] [stdout] 169 | | r#"SELECT EXTRACT(MONTH from DATE_TRUNC('month', fecha_finalizacion))::int AS month, [INFO] [stdout] 170 | | COUNT(*) AS record_count [INFO] [stdout] 171 | | FROM gasto [INFO] [stdout] ... | [INFO] [stdout] 174 | | ORDER BY month; [INFO] [stdout] 175 | | "#) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | match sqlx::query_as!(Vehiculo, [INFO] [stdout] | ___________^ [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | INSERT INTO vehiculo (nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado) [INFO] [stdout] 98 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [INFO] [stdout] ... | [INFO] [stdout] 108 | | new_vehicle.estado as state [INFO] [stdout] 109 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/costs.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | let gastos_result = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 192 | | Gasto, [INFO] [stdout] 193 | | r#" [INFO] [stdout] 194 | | SELECT id_gasto, matricula, tipo_reparacion, fecha_finalizacion, monto, nombre_taller, direccion_taller, telefono_taller [INFO] [stdout] 195 | | FROM gasto [INFO] [stdout] 196 | | "# [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | UPDATE vehiculo [INFO] [stdout] 128 | | SET estado = 'ELIMINADO' [INFO] [stdout] ... | [INFO] [stdout] 131 | | id, [INFO] [stdout] 132 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | match sqlx::query_as!(Vehiculo, [INFO] [stdout] | ___________^ [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | SELECT nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado AS "estado!: state" [INFO] [stdout] 150 | | FROM vehiculo [INFO] [stdout] ... | [INFO] [stdout] 153 | | id [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 169 | | UPDATE vehiculo [INFO] [stdout] 170 | | SET marca = $1, color = $2, anio = $3, [INFO] [stdout] 171 | | fecha_compra = $4, precio_compra = $5, [INFO] [stdout] ... | [INFO] [stdout] 182 | | modified_vehicle.matricula [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let vehiculos_result = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 201 | | Vehiculo, [INFO] [stdout] 202 | | r#" [INFO] [stdout] 203 | | SELECT nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado as "estado!: state" [INFO] [stdout] 204 | | FROM vehiculo [INFO] [stdout] 205 | | WHERE estado != 'ELIMINADO'"# [INFO] [stdout] 206 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | match sqlx::query_as!(Vehiculo, [INFO] [stdout] | ___________^ [INFO] [stdout] 54 | | r#"SELECT nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado as "estado!: state" [INFO] [stdout] 55 | | FROM vehiculo [INFO] [stdout] 56 | | WHERE estado != 'ELIMINADO'"#) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 39 | | Cliente, [INFO] [stdout] 40 | | r#"SELECT id_cliente, nombre, apellido, cedula FROM cliente [INFO] [stdout] 41 | | WHERE estado != 'OUT'"# [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 62 | | Cliente, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | INSERT INTO cliente (nombre, apellido, cedula) [INFO] [stdout] ... | [INFO] [stdout] 69 | | new_client.cedula, [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 88 | | r#" [INFO] [stdout] 89 | | UPDATE cliente [INFO] [stdout] 90 | | SET estado = 'OUT' [INFO] [stdout] ... | [INFO] [stdout] 93 | | id, [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 119 | | Cliente, [INFO] [stdout] 120 | | r#" [INFO] [stdout] 121 | | SELECT id_cliente, nombre, apellido, cedula [INFO] [stdout] ... | [INFO] [stdout] 125 | | id [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | match sqlx::query_as!(VehiculoChart, [INFO] [stdout] | ___________^ [INFO] [stdout] 72 | | r#" [INFO] [stdout] 73 | | SELECT EXTRACT(MONTH from DATE_TRUNC('month', fecha_compra))::int AS month, [INFO] [stdout] 74 | | COUNT(*) AS record_count [INFO] [stdout] ... | [INFO] [stdout] 79 | | "# [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 144 | | r#" [INFO] [stdout] 145 | | UPDATE cliente [INFO] [stdout] 146 | | SET nombre = $1, apellido = $2, cedula = $3 [INFO] [stdout] ... | [INFO] [stdout] 152 | | modified_client.id_cliente [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | match sqlx::query_as!(Vehiculo, [INFO] [stdout] | ___________^ [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | INSERT INTO vehiculo (nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado) [INFO] [stdout] 98 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [INFO] [stdout] ... | [INFO] [stdout] 108 | | new_vehicle.estado as state [INFO] [stdout] 109 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | UPDATE vehiculo [INFO] [stdout] 128 | | SET estado = 'ELIMINADO' [INFO] [stdout] ... | [INFO] [stdout] 131 | | id, [INFO] [stdout] 132 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | match sqlx::query_as!(Vehiculo, [INFO] [stdout] | ___________^ [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | SELECT nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado AS "estado!: state" [INFO] [stdout] 150 | | FROM vehiculo [INFO] [stdout] ... | [INFO] [stdout] 153 | | id [INFO] [stdout] 154 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | let vehiculos_result = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 171 | | Cliente, [INFO] [stdout] 172 | | r#"SELECT id_cliente, nombre, apellido, cedula FROM cliente [INFO] [stdout] 173 | | WHERE estado != 'OUT'"# [INFO] [stdout] 174 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 169 | | UPDATE vehiculo [INFO] [stdout] 170 | | SET marca = $1, color = $2, anio = $3, [INFO] [stdout] 171 | | fecha_compra = $4, precio_compra = $5, [INFO] [stdout] ... | [INFO] [stdout] 182 | | modified_vehicle.matricula [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let _query = sqlx::query_file!("bd/seed.sql").execute(&pool).await; [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_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/vehicles.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let vehiculos_result = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 201 | | Vehiculo, [INFO] [stdout] 202 | | r#" [INFO] [stdout] 203 | | SELECT nro_chasis, matricula, modelo, marca, color, anio, fecha_compra, precio_compra, estado as "estado!: state" [INFO] [stdout] 204 | | FROM vehiculo [INFO] [stdout] 205 | | WHERE estado != 'ELIMINADO'"# [INFO] [stdout] 206 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 39 | | Cliente, [INFO] [stdout] 40 | | r#"SELECT id_cliente, nombre, apellido, cedula FROM cliente [INFO] [stdout] 41 | | WHERE estado != 'OUT'"# [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 62 | | Cliente, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | INSERT INTO cliente (nombre, apellido, cedula) [INFO] [stdout] ... | [INFO] [stdout] 69 | | new_client.cedula, [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 88 | | r#" [INFO] [stdout] 89 | | UPDATE cliente [INFO] [stdout] 90 | | SET estado = 'OUT' [INFO] [stdout] ... | [INFO] [stdout] 93 | | id, [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | match sqlx::query_as!( [INFO] [stdout] | ___________^ [INFO] [stdout] 119 | | Cliente, [INFO] [stdout] 120 | | r#" [INFO] [stdout] 121 | | SELECT id_cliente, nombre, apellido, cedula [INFO] [stdout] ... | [INFO] [stdout] 125 | | id [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 144 | | r#" [INFO] [stdout] 145 | | UPDATE cliente [INFO] [stdout] 146 | | SET nombre = $1, apellido = $2, cedula = $3 [INFO] [stdout] ... | [INFO] [stdout] 152 | | modified_client.id_cliente [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/clients.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | let vehiculos_result = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 171 | | Cliente, [INFO] [stdout] 172 | | r#"SELECT id_cliente, nombre, apellido, cedula FROM cliente [INFO] [stdout] 173 | | WHERE estado != 'OUT'"# [INFO] [stdout] 174 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let _query = sqlx::query_file!("bd/seed.sql").execute(&pool).await; [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_file` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse`, and `Responder` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web::Data, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ganancias` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ganancias{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ganancias` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `compras` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct compras{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Compras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ventas` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ventas{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ventas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vehiculosVendidos` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct vehiculosVendidos{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `VehiculosVendidos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `option` and `string` [INFO] [stdout] --> src/sales.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{option, string}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::OwnedRwLockMappedWriteGuard` [INFO] [stdout] --> src/costs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::OwnedRwLockMappedWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gasto_chart` should have an upper camel case name [INFO] [stdout] --> src/costs.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Gasto_chart { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GastoChart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/vehicles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `ResponseError`, `StatusCode`, and `header::FROM` [INFO] [stdout] --> src/vehicles.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | ...ror, get, http::{header::FROM, StatusCode}, post, web::{self, Json, Redirect}, HttpResponse, Responder, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Error` [INFO] [stdout] --> src/vehicles.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{de::Error, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::DatabaseError` [INFO] [stdout] --> src/vehicles.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::{self, error::DatabaseError, types::{chrono}, FromRow [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `state` should have an upper camel case name [INFO] [stdout] --> src/vehicles.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum state { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `Redirect`, `ResponseError`, `StatusCode`, and `header::FROM` [INFO] [stdout] --> src/clients.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | http::{header::FROM, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | post, [INFO] [stdout] 7 | web::{self, Json, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 8 | HttpResponse, Responder, ResponseError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Error` [INFO] [stdout] --> src/clients.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{de::Error, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigDecimal`, `chrono`, and `error::DatabaseError` [INFO] [stdout] --> src/clients.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | error::DatabaseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | types::{chrono, BigDecimal}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `option` [INFO] [stdout] --> src/clients.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{fmt, option}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/clients.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse`, and `Responder` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web::Data, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ganancias` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ganancias{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ganancias` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `compras` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct compras{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Compras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ventas` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ventas{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ventas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `vehiculosVendidos` should have an upper camel case name [INFO] [stdout] --> src/dashboard.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct vehiculosVendidos{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `VehiculosVendidos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `option` and `string` [INFO] [stdout] --> src/sales.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{option, string}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::OwnedRwLockMappedWriteGuard` [INFO] [stdout] --> src/costs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::OwnedRwLockMappedWriteGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gasto_chart` should have an upper camel case name [INFO] [stdout] --> src/costs.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Gasto_chart { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `GastoChart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/vehicles.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `ResponseError`, `StatusCode`, and `header::FROM` [INFO] [stdout] --> src/vehicles.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | ...ror, get, http::{header::FROM, StatusCode}, post, web::{self, Json, Redirect}, HttpResponse, Responder, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Error` [INFO] [stdout] --> src/vehicles.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{de::Error, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::DatabaseError` [INFO] [stdout] --> src/vehicles.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::{self, error::DatabaseError, types::{chrono}, FromRow [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `state` should have an upper camel case name [INFO] [stdout] --> src/vehicles.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum state { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `Redirect`, `ResponseError`, `StatusCode`, and `header::FROM` [INFO] [stdout] --> src/clients.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | http::{header::FROM, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | post, [INFO] [stdout] 7 | web::{self, Json, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 8 | HttpResponse, Responder, ResponseError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::Error` [INFO] [stdout] --> src/clients.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{de::Error, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigDecimal`, `chrono`, and `error::DatabaseError` [INFO] [stdout] --> src/clients.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | error::DatabaseError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | types::{chrono, BigDecimal}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `option` [INFO] [stdout] --> src/clients.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{fmt, option}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/clients.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/dashboard.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn index(state: web::Data, tera: web::Data) -> impl Responder{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/dashboard.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn index(state: web::Data, tera: web::Data) -> impl Responder{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prototypeAutolote` (bin "prototypeAutolote" test) due to 40 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `prototypeAutolote` (bin "prototypeAutolote") due to 40 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d65f306fc2c3933f92210d8e7885ee9855baad0ad0ba8cd8fcbf5e1d91dc08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d65f306fc2c3933f92210d8e7885ee9855baad0ad0ba8cd8fcbf5e1d91dc08d", kill_on_drop: false }` [INFO] [stdout] 0d65f306fc2c3933f92210d8e7885ee9855baad0ad0ba8cd8fcbf5e1d91dc08d