[INFO] cloning repository https://github.com/KirDontsov/processing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KirDontsov/processing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirDontsov%2Fprocessing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirDontsov%2Fprocessing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e418bdd8e6af7e272668991b1792aacb42313543 [INFO] testing KirDontsov/processing against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirDontsov%2Fprocessing" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KirDontsov/processing [INFO] finished tweaking git repo https://github.com/KirDontsov/processing [INFO] tweaked toml for git repo https://github.com/KirDontsov/processing written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KirDontsov/processing on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KirDontsov/processing 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/silvia-odwyer/photon` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/KirDontsov/sqlx.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded translit v0.5.0 [INFO] [stderr] Downloaded polling v3.7.1 [INFO] [stderr] Downloaded perlin2d v0.2.6 [INFO] [stderr] Downloaded chrono_utils v0.1.3 [INFO] [stderr] Downloaded async-executor v1.12.0 [INFO] [stderr] Downloaded palette_derive v0.6.1 [INFO] [stderr] Downloaded sitemap v0.4.1 [INFO] [stderr] Downloaded env_filter v0.1.0 [INFO] [stderr] Downloaded bytemuck v1.16.3 [INFO] [stderr] Downloaded env_logger v0.11.3 [INFO] [stderr] Downloaded hyper-util v0.1.4 [INFO] [stderr] Downloaded miniz_oxide v0.8.7 [INFO] [stderr] Downloaded palette v0.6.1 [INFO] [stderr] Downloaded simba v0.7.3 [INFO] [stderr] Downloaded find-crate v0.6.3 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded imageproc v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81709593f2a9947ac6e36d84a6f7bd867ecb3fa9b1837a607818262d7e1b836d [INFO] running `Command { std: "docker" "start" "-a" "81709593f2a9947ac6e36d84a6f7bd867ecb3fa9b1837a607818262d7e1b836d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81709593f2a9947ac6e36d84a6f7bd867ecb3fa9b1837a607818262d7e1b836d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81709593f2a9947ac6e36d84a6f7bd867ecb3fa9b1837a607818262d7e1b836d", kill_on_drop: false }` [INFO] [stdout] 81709593f2a9947ac6e36d84a6f7bd867ecb3fa9b1837a607818262d7e1b836d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ff79648ebace39f9a16ad450281a1971250d4d87050bb9a43708a2e3d8a9b5b [INFO] running `Command { std: "docker" "start" "-a" "9ff79648ebace39f9a16ad450281a1971250d4d87050bb9a43708a2e3d8a9b5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling miniz_oxide v0.8.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling perlin2d v0.2.6 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling translit v0.5.0 [INFO] [stderr] Compiling polling v3.7.1 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Compiling chrono_utils v0.1.3 [INFO] [stderr] Compiling sitemap v0.4.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling sqlx-core v0.8.0-alpha.0 (https://github.com/KirDontsov/sqlx.git#f449c2c6) [INFO] [stderr] Compiling sqlx-postgres v0.8.0-alpha.0 (https://github.com/KirDontsov/sqlx.git#f449c2c6) [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling photon-rs v0.3.2 (https://github.com/silvia-odwyer/photon?rev=3b72d357848cd76be9363e87ad0cd02a19b988d2#3b72d357) [INFO] [stderr] Compiling hyper-util v0.1.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0-alpha.0 (https://github.com/KirDontsov/sqlx.git#f449c2c6) [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling sqlx-macros v0.8.0-alpha.0 (https://github.com/KirDontsov/sqlx.git#f449c2c6) [INFO] [stderr] Compiling sqlx v0.8.0-alpha.0 (https://github.com/KirDontsov/sqlx.git#f449c2c6) [INFO] [stderr] Compiling processing 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/api/bestlight_cases.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | let cases_query_result = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 10 | | BestlightCase, [INFO] [stdout] 11 | | "SELECT * FROM bestlight_cases ORDER by case_id LIMIT 1 OFFSET $1", [INFO] [stdout] 12 | | &offset [INFO] [stdout] 13 | | ) [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/api/counter.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let counter_query_result = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 9 | | Counter, [INFO] [stdout] 10 | | "SELECT * FROM counter WHERE counter_id = $1;", [INFO] [stdout] 11 | | uuid::Uuid::parse_str(&id.clone()).unwrap() [INFO] [stdout] 12 | | ) [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/api/counter.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let counter_query_result = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 25 | | Counter, [INFO] [stdout] 26 | | r#"UPDATE counter SET value = $1 WHERE counter_id = $2 RETURNING *"#, [INFO] [stdout] 27 | | (&counter.value.clone().parse::().unwrap() + 1).to_string(), [INFO] [stdout] 28 | | counter.counter_id, [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/api/reviews.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | let reviews_query_result = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 15 | | Review, [INFO] [stdout] 16 | | "SELECT * FROM reviews WHERE firm_id = $1 ORDER by created_ts LIMIT $2 OFFSET $3", [INFO] [stdout] 17 | | &firm_id, [INFO] [stdout] 18 | | &limit, [INFO] [stdout] 19 | | &offset [INFO] [stdout] 20 | | ) [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/api/reviews.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | let reviews_query_result = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 33 | | Review, [INFO] [stdout] 34 | | "SELECT * FROM reviews WHERE firm_id = $1 ORDER by created_ts", [INFO] [stdout] 35 | | &firm_id [INFO] [stdout] 36 | | ) [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/api/reviews.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | let reviews_query_result = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 54 | | Review, [INFO] [stdout] 55 | | "SELECT * FROM reviews WHERE firm_id = $1 ORDER by created_ts LIMIT $2 OFFSET $3", [INFO] [stdout] 56 | | &firm_id, [INFO] [stdout] 57 | | &limit, [INFO] [stdout] 58 | | &offset [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/api/oai_descriptions.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let oai_description_result = sqlx::query_as!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 13 | | AIDescription, [INFO] [stdout] 14 | | r#"SELECT * FROM oai_descriptions WHERE firm_id = $1;"#, [INFO] [stdout] 15 | | &firm_id [INFO] [stdout] 16 | | ) [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/oai_processing/oai_description_processing.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | let oai_description = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 125 | | AIDescription, [INFO] [stdout] 126 | | r#"SELECT * FROM oai_descriptions WHERE firm_id = $1;"#, [INFO] [stdout] 127 | | &firm.firm_id [INFO] [stdout] 128 | | ) [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/oai_processing/oai_description_processing.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | let _ = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 207 | | AIDescription, [INFO] [stdout] 208 | | r#"INSERT INTO oai_descriptions (firm_id, oai_description_value) VALUES ($1, $2) RETURNING *"#, [INFO] [stdout] 209 | | firm.firm_id.clone(), [INFO] [stdout] ... | [INFO] [stdout] 215 | | .replace("*", ""), [INFO] [stdout] 216 | | ) [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/oai_processing/oai_pages_processing.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | let firms_count_res = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 75 | | Count, [INFO] [stdout] 76 | | "SELECT count(*) AS count FROM firms WHERE firm_id = $1", [INFO] [stdout] 77 | | Uuid::parse_str(&"130f13e0-1853-4dd4-8b5b-03712fb20057").unwrap() [INFO] [stdout] 78 | | ) [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/oai_processing/oai_pages_processing.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | sqlx::query_as!(Count, "SELECT count(*) AS count FROM bestlight_cases",) [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/oai_processing/oai_pages_processing.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | let created_page = sqlx::query_as!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 176 | | Page, [INFO] [stdout] 177 | | r#"INSERT INTO pages (url, firm_id, oai_value, page_photo) VALUES ($1, $2, $3, $4) RETURNING *"#, [INFO] [stdout] 178 | | &encode(&prepared_firm_url.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 181 | | cur_case.photo.clone() [INFO] [stdout] 182 | | ) [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/oai_processing/oai_pages_processing.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let page_block = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 196 | | PageBlock, [INFO] [stdout] 197 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_type) VALUES ($1, $2, $3, $4) RETURNING *"#, [INFO] [stdout] 198 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 201 | | 1, [INFO] [stdout] 202 | | ) [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/oai_processing/oai_pages_processing.rs:275:27 [INFO] [stdout] | [INFO] [stdout] 275 | let key_points_block = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 276 | | PageBlock, [INFO] [stdout] 277 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_type) VALUES ($1, $2, $3, $4) RETURNING *"#, [INFO] [stdout] 278 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 281 | | 1, [INFO] [stdout] 282 | | ) [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/oai_processing/oai_pages_processing.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 297 | | PageBlockSection, [INFO] [stdout] 298 | | r#"INSERT INTO pages_blocks_sections (page_block_id, page_block_section_order, text) VALUES ($1, $2, $3) RETURNING *;"#, [INFO] [stdout] 299 | | key_points_block_id, [INFO] [stdout] 300 | | index.to_string(), [INFO] [stdout] 301 | | key.replace("/n", ""), [INFO] [stdout] 302 | | ) [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/oai_processing/oai_pages_processing.rs:309:28 [INFO] [stdout] | [INFO] [stdout] 309 | let work_stages_block = sqlx::query_as!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 310 | | PageBlock, [INFO] [stdout] 311 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_type) VALUES ($1, $2, $3, $4) RETURNING *"#, [INFO] [stdout] 312 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 315 | | 1, [INFO] [stdout] 316 | | ) [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/oai_processing/oai_pages_processing.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 394 | | PageBlockSection, [INFO] [stdout] 395 | | r#"INSERT INTO pages_blocks_sections (page_block_id, page_block_section_order, text) VALUES ($1, $2, $3) RETURNING *;"#, [INFO] [stdout] 396 | | work_stages_block_id, [INFO] [stdout] 397 | | index.to_string(), [INFO] [stdout] 398 | | key.replace("/n", ""), [INFO] [stdout] 399 | | ) [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/oai_processing/oai_pages_processing.rs:405:34 [INFO] [stdout] | [INFO] [stdout] 405 | let after_work_stages_block = sqlx::query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 406 | | PageBlock, [INFO] [stdout] 407 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_subtitle, page_block_type) VALUES ($1, $2, $3, $... [INFO] [stdout] 408 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 412 | | 0, [INFO] [stdout] 413 | | ) [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/oai_processing/oai_pages_processing.rs:418:23 [INFO] [stdout] | [INFO] [stdout] 418 | let prices_block = sqlx::query_as!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 419 | | PageBlock, [INFO] [stdout] 420 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_type) VALUES ($1, $2, $3, $4) RETURNING *"#, [INFO] [stdout] 421 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 424 | | 1, [INFO] [stdout] 425 | | ) [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/oai_processing/oai_pages_processing.rs:502:14 [INFO] [stdout] | [INFO] [stdout] 502 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 503 | | PageBlockSection, [INFO] [stdout] 504 | | r#"INSERT INTO pages_blocks_sections (page_block_id, page_block_section_order, text) VALUES ($1, $2, $3) RETURNING *;"#, [INFO] [stdout] 505 | | prices_block_id, [INFO] [stdout] 506 | | index.to_string(), [INFO] [stdout] 507 | | key.replace("/n", ""), [INFO] [stdout] 508 | | ) [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/oai_processing/oai_pages_processing.rs:516:22 [INFO] [stdout] | [INFO] [stdout] 516 | let tags_block = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 517 | | PageBlock, [INFO] [stdout] 518 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_subtitle, page_block_type) VALUES ($1, $2, $3, ... [INFO] [stdout] 519 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 523 | | 0, [INFO] [stdout] 524 | | ) [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/oai_processing/oai_pages_processing.rs:530:21 [INFO] [stdout] | [INFO] [stdout] 530 | let tags_block = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 531 | | PageBlock, [INFO] [stdout] 532 | | r#"INSERT INTO pages_blocks (page_id, page_block_order, page_block_title, page_block_type) VALUES ($1, $2, $3, $4) RETURNING *"#, [INFO] [stdout] 533 | | cur_page_id, [INFO] [stdout] ... | [INFO] [stdout] 536 | | 2, [INFO] [stdout] 537 | | ) [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/oai_processing/oai_pages_processing.rs:615:14 [INFO] [stdout] | [INFO] [stdout] 615 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 616 | | PageBlockSection, [INFO] [stdout] 617 | | r#"INSERT INTO pages_blocks_sections (page_block_id, page_block_section_order, text, url) VALUES ($1, $2, $3, $4) RETURNING *;"#, [INFO] [stdout] 618 | | tags_block_id, [INFO] [stdout] ... | [INFO] [stdout] 621 | | &encode(&prepared_firm_url.as_str()), [INFO] [stdout] 622 | | ) [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/oai_processing/oai_reviews_processing.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let oai_review = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 97 | | AIReview, [INFO] [stdout] 98 | | r#"SELECT * FROM oai_reviews WHERE firm_id = $1;"#, [INFO] [stdout] 99 | | &firm.firm_id [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/oai_processing/oai_reviews_processing.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 215 | let _ = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 216 | | AIReview, [INFO] [stdout] 217 | | r#"INSERT INTO oai_reviews (firm_id, text) VALUES ($1, $2) RETURNING *"#, [INFO] [stdout] 218 | | firm.firm_id.clone(), [INFO] [stdout] ... | [INFO] [stdout] 226 | | .replace("*", ""), [INFO] [stdout] 227 | | ) [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/oai_processing/oai_reviews_rewrite_processing.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | let count_query_result = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 95 | | Count, [INFO] [stdout] 96 | | "SELECT count(*) AS count FROM reviews WHERE firm_id = $1", [INFO] [stdout] 97 | | firm.firm_id [INFO] [stdout] 98 | | ) [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/oai_processing/oai_reviews_rewrite_processing.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 217 | | Review, [INFO] [stdout] 218 | | r#"UPDATE reviews SET text = $1 WHERE firm_id = $2 AND review_id = $3 RETURNING *"#, [INFO] [stdout] 219 | | choices_res [INFO] [stdout] ... | [INFO] [stdout] 224 | | cur_review.review_id.clone(), [INFO] [stdout] 225 | | ) [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/processing/pages_sitemap_processing.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let city = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 33 | | City, [INFO] [stdout] 34 | | "SELECT * FROM cities WHERE city_id = $1;", [INFO] [stdout] 35 | | city_id.clone() [INFO] [stdout] 36 | | ) [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/processing/pages_sitemap_processing.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let category = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | Category, [INFO] [stdout] 43 | | "SELECT * FROM categories WHERE category_id = $1;", [INFO] [stdout] 44 | | category_id.clone() [INFO] [stdout] 45 | | ) [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/processing/reviews_count_processing.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let count_query_result = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 31 | | Count, [INFO] [stdout] 32 | | "SELECT count(*) AS count FROM reviews WHERE firm_id = $1", [INFO] [stdout] 33 | | firm.firm_id [INFO] [stdout] 34 | | ) [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/processing/sitemap_processing.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let city = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | City, [INFO] [stdout] 31 | | "SELECT * FROM cities WHERE city_id = $1;", [INFO] [stdout] 32 | | city_id.clone() [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_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/processing/sitemap_processing.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let category = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 39 | | Category, [INFO] [stdout] 40 | | "SELECT * FROM categories WHERE category_id = $1;", [INFO] [stdout] 41 | | category_id.clone() [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] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/api/bestlight_cases.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/bestlight_cases.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Page` [INFO] [stdout] --> src/api/firm.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::{Firm, Page}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/api/page.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/api/oai_descriptions.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::bestlight_cases::*` [INFO] [stdout] --> src/api/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::bestlight_cases::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::count::*` [INFO] [stdout] --> src/api/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::count::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::counter::*` [INFO] [stdout] --> src/api/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::counter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::firm::*` [INFO] [stdout] --> src/api/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::firm::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::page::*` [INFO] [stdout] --> src/api/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::page::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::reviews::*` [INFO] [stdout] --> src/api/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::reviews::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::oai_descriptions::*` [INFO] [stdout] --> src/api/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::oai_descriptions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> src/models/firm.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{FromRow, Type}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body` and `Client` [INFO] [stdout] --> src/oai_processing/oai_description_processing.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | Body, Client, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres::PgPoolOptions` [INFO] [stdout] --> src/oai_processing/oai_description_processing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AIDescription` and `UpdateFirmDesc` [INFO] [stdout] --> src/oai_processing/oai_description_processing.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::{AIDescription, Count, Counter, Firm, SaveCounter, UpdateFirmDesc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `urlencoding::encode` [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use urlencoding::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `PageBlockSection`, `PageBlock`, `Review`, and `SaveCounter` [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | BestlightCase, Count, Counter, Firm, Page, PageBlock, PageBlockSection, Review, SaveCounter, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `Client`, and `Response` [INFO] [stdout] --> src/oai_processing/oai_reviews_processing.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | Body, Client, Response, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres::PgPoolOptions` [INFO] [stdout] --> src/oai_processing/oai_reviews_processing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/oai_processing/oai_reviews_processing.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AIDescription` and `AIReview` [INFO] [stdout] --> src/oai_processing/oai_reviews_processing.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::{AIDescription, AIReview, Count, Counter, Firm, Review, SaveCounter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/oai_processing/oai_reviews_rewrite_processing.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blend` [INFO] [stdout] --> src/processing/images_processing.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use photon_rs::multiple::{blend, watermark}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `postgres::PgPoolOptions` [INFO] [stdout] --> src/processing/images_processing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/processing/images_processing.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Category` and `City` [INFO] [stdout] --> src/processing/pages_sitemap_processing.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::{Category, City, Count, Firm, Page}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Category` and `City` [INFO] [stdout] --> src/processing/sitemap_processing.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::{Category, City, Count, Firm}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/processing/title_processing.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `urlencoding::encode` [INFO] [stdout] --> src/processing/title_processing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use urlencoding::encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TimeZone` and `Utc` [INFO] [stdout] --> src/processing/title_processing.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Review` [INFO] [stdout] --> src/processing/title_processing.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::models::{AIDescription, Count, Counter, Firm, Review, SaveCounter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `Client`, `HeaderMap`, `HeaderValue`, and `self` [INFO] [stdout] --> src/main.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | header::{self, HeaderMap, HeaderValue}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 20 | Body, Client, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/main.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `sleep` [INFO] [stdout] --> src/main.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/main.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[feature(proc_macro_byte_character)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(proc_macro_byte_character)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/bestlight_cases.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let cases_query_result = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | if cases_query_result.is_err() { [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cases_query_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 9 | let cases_query_result: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/counter.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | let counter_query_result = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | if counter_query_result.is_err() { [INFO] [stdout] | -------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter_query_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | let counter_query_result: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/counter.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | let counter_query_result = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | if counter_query_result.is_err() { [INFO] [stdout] | -------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `counter_query_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let counter_query_result: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/reviews.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | let reviews_query_result = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | if reviews_query_result.is_err() { [INFO] [stdout] | -------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `reviews_query_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let reviews_query_result: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/reviews.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | let reviews_query_result = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | if reviews_query_result.is_err() { [INFO] [stdout] | -------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `reviews_query_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | let reviews_query_result: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/oai_descriptions.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | let oai_description_result = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | if oai_description_result.is_err() { [INFO] [stdout] | ---------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `oai_description_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let oai_description_result: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_description_processing.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | let oai_description = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | if oai_description.is_ok() { [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `oai_description` an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let oai_description: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | let created_page = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | let cur_page_id = created_page.clone().page_id; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `created_page` an explicit type [INFO] [stdout] | [INFO] [stdout] 175 | let created_page: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | let key_points_block = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | let key_points_block_id = key_points_block.clone().page_block_id; [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `key_points_block` an explicit type [INFO] [stdout] | [INFO] [stdout] 275 | let key_points_block: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | let work_stages_block = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | let work_stages_block_id = work_stages_block.clone().page_block_id; [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `work_stages_block` an explicit type [INFO] [stdout] | [INFO] [stdout] 309 | let work_stages_block: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | let prices_block = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | let prices_block_id = prices_block.clone().page_block_id; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `prices_block` an explicit type [INFO] [stdout] | [INFO] [stdout] 418 | let prices_block: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_pages_processing.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | let tags_block = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | let tags_block_id = tags_block.clone().page_block_id; [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tags_block` an explicit type [INFO] [stdout] | [INFO] [stdout] 530 | let tags_block: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/oai_processing/oai_reviews_processing.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | let oai_review = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | if oai_review.is_ok() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `oai_review` an explicit type [INFO] [stdout] | [INFO] [stdout] 96 | let oai_review: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/processing/pages_sitemap_processing.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let city = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 33 | | City, [INFO] [stdout] 34 | | "SELECT * FROM cities WHERE city_id = $1;", [INFO] [stdout] 35 | | city_id.clone() [INFO] [stdout] 36 | | ) [INFO] [stdout] 37 | | .fetch_one(&pool) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/processing/pages_sitemap_processing.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let category = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | Category, [INFO] [stdout] 43 | | "SELECT * FROM categories WHERE category_id = $1;", [INFO] [stdout] 44 | | category_id.clone() [INFO] [stdout] 45 | | ) [INFO] [stdout] 46 | | .fetch_one(&pool) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/processing/sitemap_processing.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let city = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | City, [INFO] [stdout] 31 | | "SELECT * FROM cities WHERE city_id = $1;", [INFO] [stdout] 32 | | city_id.clone() [INFO] [stdout] 33 | | ) [INFO] [stdout] 34 | | .fetch_one(&pool) [INFO] [stdout] 35 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/processing/sitemap_processing.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let category = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 39 | | Category, [INFO] [stdout] 40 | | "SELECT * FROM categories WHERE category_id = $1;", [INFO] [stdout] 41 | | category_id.clone() [INFO] [stdout] 42 | | ) [INFO] [stdout] 43 | | .fetch_one(&pool) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/processing/title_processing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/api/firm.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | let message = "Что-то пошло не так во время запроса get_firm_by_url"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `needs_to_restart` is never read [INFO] [stdout] --> src/oai_processing/oai_description_processing.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | needs_to_restart = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `needs_to_restart` is never read [INFO] [stdout] --> src/oai_processing/oai_description_processing.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | needs_to_restart = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_ai_token` [INFO] [stdout] --> src/processing/title_processing.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | let open_ai_token = env::var("OPENAI_API_KEY").expect("OPEN_AI_API_KEY not set"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_ai_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `city_id` [INFO] [stdout] --> src/processing/urls_processing.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | let city_id = uuid::Uuid::parse_str( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_city_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_id` [INFO] [stdout] --> src/processing/urls_processing.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | let category_id = uuid::Uuid::parse_str( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `processing` (bin "processing") due to 49 previous errors; 47 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9ff79648ebace39f9a16ad450281a1971250d4d87050bb9a43708a2e3d8a9b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff79648ebace39f9a16ad450281a1971250d4d87050bb9a43708a2e3d8a9b5b", kill_on_drop: false }` [INFO] [stdout] 9ff79648ebace39f9a16ad450281a1971250d4d87050bb9a43708a2e3d8a9b5b