[INFO] cloning repository https://github.com/ynvygy/travel_axumz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ynvygy/travel_axumz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fynvygy%2Ftravel_axumz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fynvygy%2Ftravel_axumz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd5e8f6918a316c0b5f64f45cfab22098ec3f1e2 [INFO] checking ynvygy/travel_axumz against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fynvygy%2Ftravel_axumz" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ynvygy/travel_axumz [INFO] finished tweaking git repo https://github.com/ynvygy/travel_axumz [INFO] tweaked toml for git repo https://github.com/ynvygy/travel_axumz written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ynvygy/travel_axumz on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ynvygy/travel_axumz 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh-derive v1.5.5 [INFO] [stderr] Downloaded tonic-build v0.9.2 [INFO] [stderr] Downloaded multimap v0.8.3 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded tonic-build v0.10.2 [INFO] [stderr] Downloaded prost-derive v0.11.9 [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded prost-types v0.11.9 [INFO] [stderr] Downloaded prost v0.11.9 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded prost-build v0.12.6 [INFO] [stderr] Downloaded prettyplease v0.2.29 [INFO] [stderr] Downloaded tonic v0.9.2 [INFO] [stderr] Downloaded toml_edit v0.22.24 [INFO] [stderr] Downloaded rdkafka v0.36.2 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded winnow v0.7.2 [INFO] [stderr] Downloaded tower-http v0.6.2 [INFO] [stderr] Downloaded rdkafka v0.28.0 [INFO] [stderr] Downloaded borsh v1.5.5 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded uuid v1.13.2 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded prost-build v0.11.9 [INFO] [stderr] Downloaded petgraph v0.7.1 [INFO] [stderr] Downloaded tonic-web v0.12.3 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded rdkafka-sys v4.8.0+2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90a0f313e8a5ba77526811bad77fb3431e7837c73f68d76f22bc4a0542c27c46 [INFO] running `Command { std: "docker" "start" "-a" "90a0f313e8a5ba77526811bad77fb3431e7837c73f68d76f22bc4a0542c27c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90a0f313e8a5ba77526811bad77fb3431e7837c73f68d76f22bc4a0542c27c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a0f313e8a5ba77526811bad77fb3431e7837c73f68d76f22bc4a0542c27c46", kill_on_drop: false }` [INFO] [stdout] 90a0f313e8a5ba77526811bad77fb3431e7837c73f68d76f22bc4a0542c27c46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 726929cb21059a807eb8528f3d80daa2a089a517b8a4407c48ff79778c18cebd [INFO] running `Command { std: "docker" "start" "-a" "726929cb21059a807eb8528f3d80daa2a089a517b8a4407c48ff79778c18cebd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uuid v1.13.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling rdkafka-sys v4.8.0+2.3.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking unicode-ident v1.0.16 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking prost-types v0.13.5 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking prost-build v0.13.5 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking rdkafka v0.28.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking rdkafka v0.36.2 [INFO] [stderr] Compiling tonic-build v0.9.2 [INFO] [stderr] Checking tonic-build v0.12.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling travel-grpc v0.1.0 (/opt/rustwide/workdir/travel-grpc) [INFO] [stderr] Checking tonic-web v0.12.3 [INFO] [stderr] Checking travel-kafka v0.1.0 (/opt/rustwide/workdir/travel-kafka) [INFO] [stdout] warning: unused import: `rdkafka::error::KafkaError` [INFO] [stdout] --> travel-kafka/src/producers/accommodation_producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rdkafka::error::KafkaError; [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] --> travel-kafka/src/producers/accommodation_producer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdkafka::error::KafkaError` [INFO] [stdout] --> travel-kafka/src/producers/user_producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rdkafka::error::KafkaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdkafka::error::KafkaError` [INFO] [stdout] --> travel-kafka/src/producers/accommodation_producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rdkafka::error::KafkaError; [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] --> travel-kafka/src/producers/accommodation_producer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdkafka::error::KafkaError` [INFO] [stdout] --> travel-kafka/src/producers/user_producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rdkafka::error::KafkaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking travel-common v0.1.0 (/opt/rustwide/workdir/travel-common) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> travel-common/src/services/user_service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | User, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | INSERT INTO users (email, name) [INFO] [stdout] ... | [INFO] [stdout] 23 | | new_user.name, [INFO] [stdout] 24 | | ) [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] --> travel-common/src/services/user_service.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | User, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT id, email, name, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 37 | | user_id [INFO] [stdout] 38 | | ) [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] --> travel-common/src/services/user_service.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | let updated_user = sqlx::query_as!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 48 | | User, [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 59 | | user_id [INFO] [stdout] 60 | | ) [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] --> travel-common/src/services/user_service.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 72 | | r#" [INFO] [stdout] 73 | | DELETE FROM users [INFO] [stdout] 74 | | WHERE id = $1 [INFO] [stdout] 75 | | "#, [INFO] [stdout] 76 | | user_id [INFO] [stdout] 77 | | ) [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] --> travel-common/src/services/user_service.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query_as!( [INFO] [stdout] 86 | | User, [INFO] [stdout] 87 | | r#" [INFO] [stdout] 88 | | SELECT id, email, name, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 91 | | "# [INFO] [stdout] 92 | | ) [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] --> travel-common/src/services/country_service.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / sqlx::query_as!( [INFO] [stdout] 15 | | Country, [INFO] [stdout] 16 | | r#" [INFO] [stdout] 17 | | INSERT INTO countries (code, name) [INFO] [stdout] ... | [INFO] [stdout] 22 | | new_country.name, [INFO] [stdout] 23 | | ) [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] --> travel-common/src/services/country_service.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query_as!( [INFO] [stdout] 30 | | Country, [INFO] [stdout] 31 | | r#" [INFO] [stdout] 32 | | SELECT code, name [INFO] [stdout] ... | [INFO] [stdout] 36 | | country_code.to_uppercase() [INFO] [stdout] 37 | | ) [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] --> travel-common/src/services/country_service.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | let updated_country = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 47 | | Country, [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | UPDATE countries [INFO] [stdout] ... | [INFO] [stdout] 55 | | country_code.to_uppercase() [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> travel-common/src/services/country_service.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 68 | | r#" [INFO] [stdout] 69 | | DELETE FROM countries [INFO] [stdout] 70 | | WHERE code = $1 [INFO] [stdout] 71 | | "#, [INFO] [stdout] 72 | | country_code.to_uppercase() [INFO] [stdout] 73 | | ) [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] --> travel-common/src/services/country_service.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | / sqlx::query_as!( [INFO] [stdout] 82 | | Country, [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | SELECT code, name [INFO] [stdout] ... | [INFO] [stdout] 87 | | "# [INFO] [stdout] 88 | | ) [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] --> travel-common/src/services/destination_service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | Destination, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | INSERT INTO destinations (name, country_code) [INFO] [stdout] ... | [INFO] [stdout] 23 | | new_destination.country_code, [INFO] [stdout] 24 | | ) [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] --> travel-common/src/services/destination_service.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | Destination, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT id, name, country_code, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 37 | | Uuid::parse_str(destination_id).unwrap(), [INFO] [stdout] 38 | | ) [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] --> travel-common/src/services/destination_service.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let updated_destination = sqlx::query_as!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 48 | | Destination, [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | UPDATE destinations [INFO] [stdout] ... | [INFO] [stdout] 58 | | Uuid::parse_str(destination_id).unwrap(), [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] --> travel-common/src/services/destination_service.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | DELETE FROM destinations [INFO] [stdout] 73 | | WHERE id = $1 [INFO] [stdout] 74 | | "#, [INFO] [stdout] 75 | | Uuid::parse_str(destination_id).unwrap(), [INFO] [stdout] 76 | | ) [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] --> travel-common/src/services/destination_service.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / sqlx::query_as!( [INFO] [stdout] 85 | | Destination, [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | SELECT id, name, country_code, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 90 | | "# [INFO] [stdout] 91 | | ) [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] --> travel-common/src/services/accommodation_service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | Accommodation, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | INSERT INTO accommodations (name, destination_id, host_id, price_per_night) [INFO] [stdout] ... | [INFO] [stdout] 25 | | new_accommodation.price_per_night, [INFO] [stdout] 26 | | ) [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] --> travel-common/src/services/accommodation_service.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / sqlx::query_as!( [INFO] [stdout] 33 | | Accommodation, [INFO] [stdout] 34 | | r#" [INFO] [stdout] 35 | | SELECT id, name, destination_id, host_id, price_per_night, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 39 | | Uuid::parse_str(accommodation_id).unwrap(), [INFO] [stdout] 40 | | ) [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] --> travel-common/src/services/accommodation_service.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let updated_accommodation = sqlx::query_as!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 50 | | Accommodation, [INFO] [stdout] 51 | | r#" [INFO] [stdout] 52 | | UPDATE accommodations [INFO] [stdout] ... | [INFO] [stdout] 64 | | Uuid::parse_str(accommodation_id).unwrap(), [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] --> travel-common/src/services/accommodation_service.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 77 | | r#" [INFO] [stdout] 78 | | DELETE FROM accommodations [INFO] [stdout] 79 | | WHERE id = $1 [INFO] [stdout] 80 | | "#, [INFO] [stdout] 81 | | Uuid::parse_str(accommodation_id).unwrap(), [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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] --> travel-common/src/services/accommodation_service.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query_as!( [INFO] [stdout] 91 | | Accommodation, [INFO] [stdout] 92 | | r#" [INFO] [stdout] 93 | | SELECT id, name, destination_id, host_id, price_per_night, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 96 | | "# [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> travel-common/src/models/accommodation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rust_decimal::Decimal; [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] --> travel-common/src/services/destination_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> travel-common/src/services/accommodation_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [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] --> travel-common/src/services/user_service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | User, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | INSERT INTO users (email, name) [INFO] [stdout] ... | [INFO] [stdout] 23 | | new_user.name, [INFO] [stdout] 24 | | ) [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] --> travel-common/src/services/user_service.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | User, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT id, email, name, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 37 | | user_id [INFO] [stdout] 38 | | ) [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] --> travel-common/src/services/user_service.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | let updated_user = sqlx::query_as!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 48 | | User, [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 59 | | user_id [INFO] [stdout] 60 | | ) [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] --> travel-common/src/services/user_service.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 72 | | r#" [INFO] [stdout] 73 | | DELETE FROM users [INFO] [stdout] 74 | | WHERE id = $1 [INFO] [stdout] 75 | | "#, [INFO] [stdout] 76 | | user_id [INFO] [stdout] 77 | | ) [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] --> travel-common/src/services/user_service.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query_as!( [INFO] [stdout] 86 | | User, [INFO] [stdout] 87 | | r#" [INFO] [stdout] 88 | | SELECT id, email, name, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 91 | | "# [INFO] [stdout] 92 | | ) [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] --> travel-common/src/services/country_service.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / sqlx::query_as!( [INFO] [stdout] 15 | | Country, [INFO] [stdout] 16 | | r#" [INFO] [stdout] 17 | | INSERT INTO countries (code, name) [INFO] [stdout] ... | [INFO] [stdout] 22 | | new_country.name, [INFO] [stdout] 23 | | ) [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] --> travel-common/src/services/country_service.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / sqlx::query_as!( [INFO] [stdout] 30 | | Country, [INFO] [stdout] 31 | | r#" [INFO] [stdout] 32 | | SELECT code, name [INFO] [stdout] ... | [INFO] [stdout] 36 | | country_code.to_uppercase() [INFO] [stdout] 37 | | ) [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] --> travel-common/src/services/country_service.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | let updated_country = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 47 | | Country, [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | UPDATE countries [INFO] [stdout] ... | [INFO] [stdout] 55 | | country_code.to_uppercase() [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> travel-common/src/services/country_service.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 68 | | r#" [INFO] [stdout] 69 | | DELETE FROM countries [INFO] [stdout] 70 | | WHERE code = $1 [INFO] [stdout] 71 | | "#, [INFO] [stdout] 72 | | country_code.to_uppercase() [INFO] [stdout] 73 | | ) [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] --> travel-common/src/services/country_service.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | / sqlx::query_as!( [INFO] [stdout] 82 | | Country, [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | SELECT code, name [INFO] [stdout] ... | [INFO] [stdout] 87 | | "# [INFO] [stdout] 88 | | ) [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] --> travel-common/src/services/destination_service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | Destination, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | INSERT INTO destinations (name, country_code) [INFO] [stdout] ... | [INFO] [stdout] 23 | | new_destination.country_code, [INFO] [stdout] 24 | | ) [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] --> travel-common/src/services/destination_service.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query_as!( [INFO] [stdout] 31 | | Destination, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | SELECT id, name, country_code, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 37 | | Uuid::parse_str(destination_id).unwrap(), [INFO] [stdout] 38 | | ) [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] --> travel-common/src/services/destination_service.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let updated_destination = sqlx::query_as!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 48 | | Destination, [INFO] [stdout] 49 | | r#" [INFO] [stdout] 50 | | UPDATE destinations [INFO] [stdout] ... | [INFO] [stdout] 58 | | Uuid::parse_str(destination_id).unwrap(), [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] --> travel-common/src/services/destination_service.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | DELETE FROM destinations [INFO] [stdout] 73 | | WHERE id = $1 [INFO] [stdout] 74 | | "#, [INFO] [stdout] 75 | | Uuid::parse_str(destination_id).unwrap(), [INFO] [stdout] 76 | | ) [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] --> travel-common/src/services/destination_service.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / sqlx::query_as!( [INFO] [stdout] 85 | | Destination, [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | SELECT id, name, country_code, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 90 | | "# [INFO] [stdout] 91 | | ) [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] --> travel-common/src/services/accommodation_service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | Accommodation, [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | INSERT INTO accommodations (name, destination_id, host_id, price_per_night) [INFO] [stdout] ... | [INFO] [stdout] 25 | | new_accommodation.price_per_night, [INFO] [stdout] 26 | | ) [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] --> travel-common/src/services/accommodation_service.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / sqlx::query_as!( [INFO] [stdout] 33 | | Accommodation, [INFO] [stdout] 34 | | r#" [INFO] [stdout] 35 | | SELECT id, name, destination_id, host_id, price_per_night, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 39 | | Uuid::parse_str(accommodation_id).unwrap(), [INFO] [stdout] 40 | | ) [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] --> travel-common/src/services/accommodation_service.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | let updated_accommodation = sqlx::query_as!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 50 | | Accommodation, [INFO] [stdout] 51 | | r#" [INFO] [stdout] 52 | | UPDATE accommodations [INFO] [stdout] ... | [INFO] [stdout] 64 | | Uuid::parse_str(accommodation_id).unwrap(), [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] --> travel-common/src/services/accommodation_service.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 77 | | r#" [INFO] [stdout] 78 | | DELETE FROM accommodations [INFO] [stdout] 79 | | WHERE id = $1 [INFO] [stdout] 80 | | "#, [INFO] [stdout] 81 | | Uuid::parse_str(accommodation_id).unwrap(), [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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] --> travel-common/src/services/accommodation_service.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query_as!( [INFO] [stdout] 91 | | Accommodation, [INFO] [stdout] 92 | | r#" [INFO] [stdout] 93 | | SELECT id, name, destination_id, host_id, price_per_night, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 96 | | "# [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> travel-common/src/models/accommodation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rust_decimal::Decimal; [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] --> travel-common/src/services/destination_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> travel-common/src/services/accommodation_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/user_service.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/country_service.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 67 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/destination_service.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/accommodation_service.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/user_service.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/country_service.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 67 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/destination_service.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> travel-common/src/services/accommodation_service.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `travel-common` (lib test) due to 24 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `travel-common` (lib) due to 24 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "726929cb21059a807eb8528f3d80daa2a089a517b8a4407c48ff79778c18cebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726929cb21059a807eb8528f3d80daa2a089a517b8a4407c48ff79778c18cebd", kill_on_drop: false }` [INFO] [stdout] 726929cb21059a807eb8528f3d80daa2a089a517b8a4407c48ff79778c18cebd