[INFO] cloning repository https://github.com/ponko2/rusty-book-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ponko2/rusty-book-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponko2%2Frusty-book-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponko2%2Frusty-book-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 634fdb2ceadf50593df3816a142ac1cb63b9f276 [INFO] checking ponko2/rusty-book-manager/634fdb2ceadf50593df3816a142ac1cb63b9f276 against master#4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponko2%2Frusty-book-manager" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ponko2/rusty-book-manager [INFO] finished tweaking git repo https://github.com/ponko2/rusty-book-manager [INFO] tweaked toml for git repo https://github.com/ponko2/rusty-book-manager written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ponko2/rusty-book-manager on toolchain 4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ponko2/rusty-book-manager 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" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utoipa v4.2.3 [INFO] [stderr] Downloaded utoipa-redoc v2.0.0 [INFO] [stderr] Downloaded derive-new v0.6.0 [INFO] [stderr] Downloaded garde_derive v0.18.0 [INFO] [stderr] Downloaded zmij v1.0.8 [INFO] [stderr] Downloaded garde v0.18.0 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Downloaded opentelemetry v0.21.0 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] [stderr] Downloaded utoipa-gen v4.3.1 [INFO] [stderr] Downloaded opentelemetry_sdk v0.21.2 [INFO] [stderr] Downloaded opentelemetry-jaeger v0.20.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45f5228753732bbabebb1803f7cef83398783c0b35b10c3befc8512f86155274 [INFO] running `Command { std: "docker" "start" "-a" "45f5228753732bbabebb1803f7cef83398783c0b35b10c3befc8512f86155274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f5228753732bbabebb1803f7cef83398783c0b35b10c3befc8512f86155274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f5228753732bbabebb1803f7cef83398783c0b35b10c3befc8512f86155274", kill_on_drop: false }` [INFO] [stdout] 45f5228753732bbabebb1803f7cef83398783c0b35b10c3befc8512f86155274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2f61a6975f6ea5d9b93b4e537f2d0acccb78f34bad7e496661feff51e43cfdd [INFO] running `Command { std: "docker" "start" "-a" "a2f61a6975f6ea5d9b93b4e537f2d0acccb78f34bad7e496661feff51e43cfdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling zmij v1.0.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling garde_derive v0.18.0 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking garde v0.18.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking opentelemetry v0.21.0 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking opentelemetry_sdk v0.21.2 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking thrift v0.17.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking opentelemetry-jaeger v0.20.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking utoipa-redoc v2.0.0 [INFO] [stderr] Checking tracing-opentelemetry v0.22.0 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Checking adapter v0.1.0 (/opt/rustwide/workdir/adapter) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query!( [INFO] [stdout] 37 | | r#" [INFO] [stdout] 38 | | INSERT INTO books (title, author, isbn, description, user_id) [INFO] [stdout] 39 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 45 | | user_id as _ [INFO] [stdout] 46 | | ) [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] --> adapter/src/repository/book.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | DELETE FROM books [INFO] [stdout] 58 | | WHERE book_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 62 | | event.requested_user as _ [INFO] [stdout] 63 | | ) [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] --> adapter/src/repository/book.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 79 | | PaginatedBookRow, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 90 | | offset, [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] --> adapter/src/repository/book.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 100 | | BookRow, [INFO] [stdout] 101 | | r#" [INFO] [stdout] 102 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 115 | | &book_ids as _, [INFO] [stdout] 116 | | ) [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] --> adapter/src/repository/book.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | let row: Option = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 142 | | BookRow, [INFO] [stdout] 143 | | r#" [INFO] [stdout] 144 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 156 | | book_id as _, [INFO] [stdout] 157 | | ) [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] --> adapter/src/repository/book.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 174 | | r#" [INFO] [stdout] 175 | | UPDATE books [INFO] [stdout] 176 | | SET [INFO] [stdout] ... | [INFO] [stdout] 189 | | event.requested_user as _ [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 206 | | BookCheckoutRow, [INFO] [stdout] 207 | | r#" [INFO] [stdout] 208 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 219 | | book_ids as _, [INFO] [stdout] 220 | | ) [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] --> adapter/src/repository/checkout.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | DELETE FROM checkouts WHERE checkout_id = $1; [INFO] [stdout] 37 | | "#, [INFO] [stdout] 38 | | checkout_id as _, [INFO] [stdout] 39 | | ) [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] --> adapter/src/repository/checkout.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | CheckoutStateRow, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 66 | | book_id as _, [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/checkout.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | let mut checkout_histories: Vec = sqlx::query_as!( [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 80 | | ReturnedCheckoutRow, [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 96 | | book_id as _, [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] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/checkout.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / sqlx::query_as!( [INFO] [stdout] 115 | | CheckoutRow, [INFO] [stdout] 116 | | r#" [INFO] [stdout] 117 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 129 | | "#, [INFO] [stdout] 130 | | ) [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] --> adapter/src/repository/checkout.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / sqlx::query_as!( [INFO] [stdout] 140 | | CheckoutRow, [INFO] [stdout] 141 | | r#" [INFO] [stdout] 142 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 156 | | user_id as _, [INFO] [stdout] 157 | | ) [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] --> adapter/src/repository/checkout.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | INSERT INTO checkouts [INFO] [stdout] 170 | | (checkout_id, book_id, user_id, checked_out_at) [INFO] [stdout] ... | [INFO] [stdout] 177 | | event.checked_out_at, [INFO] [stdout] 178 | | ) [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] --> adapter/src/repository/checkout.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | INSERT INTO returned_checkouts [INFO] [stdout] 197 | | (checkout_id, book_id, user_id, checked_out_at, returned_at) [INFO] [stdout] ... | [INFO] [stdout] 204 | | event.returned_at, [INFO] [stdout] 205 | | ) [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] --> adapter/src/repository/checkout.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 224 | | CheckoutRow, [INFO] [stdout] 225 | | r#" [INFO] [stdout] 226 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 238 | | book_id as _, [INFO] [stdout] 239 | | ) [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] --> adapter/src/repository/user.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | INSERT INTO users(user_id, name, email, password_hash, role_id) [INFO] [stdout] 41 | | SELECT $1, $2, $3, $4, role_id FROM roles WHERE name = $5; [INFO] [stdout] ... | [INFO] [stdout] 47 | | role.as_ref() [INFO] [stdout] 48 | | ) [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] --> adapter/src/repository/user.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | DELETE FROM users [INFO] [stdout] 65 | | WHERE user_id = $1 [INFO] [stdout] 66 | | "#, [INFO] [stdout] 67 | | event.user_id as _ [INFO] [stdout] 68 | | ) [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] --> adapter/src/repository/user.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 81 | | UserRow, [INFO] [stdout] 82 | | r#" [INFO] [stdout] 83 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 93 | | "#, [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> adapter/src/repository/user.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 107 | | UserRow, [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 120 | | current_user_id as _, [INFO] [stdout] 121 | | ) [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] --> adapter/src/repository/user.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | } = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 137 | | UserItem, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT user_id, password_hash FROM users [INFO] [stdout] ... | [INFO] [stdout] 142 | | email, [INFO] [stdout] 143 | | ) [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] --> adapter/src/repository/user.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT password_hash FROM users WHERE user_id = $1; [INFO] [stdout] 155 | | "#, [INFO] [stdout] 156 | | user_id as _ [INFO] [stdout] 157 | | ) [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] --> adapter/src/repository/user.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | UPDATE users SET password_hash = $2 WHERE user_id = $1; [INFO] [stdout] 170 | | "#, [INFO] [stdout] 171 | | event.user_id as _, [INFO] [stdout] 172 | | password_hash, [INFO] [stdout] 173 | | ) [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] --> adapter/src/repository/user.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | UPDATE users [INFO] [stdout] 185 | | SET role_id = ( [INFO] [stdout] ... | [INFO] [stdout] 191 | | event.role.as_ref() [INFO] [stdout] 192 | | ) [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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/auth.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_uow_scope!(AuthUnitOfWorkScope, AuthUnitOfWork); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/book.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl_uow_scope!(BookUnitOfWorkScope, BookUnitOfWork); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/checkout.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_uow_scope!(CheckoutUnitOfWorkScope, CheckoutUnitOfWork); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/repository/book.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query!( [INFO] [stdout] 37 | | r#" [INFO] [stdout] 38 | | INSERT INTO books (title, author, isbn, description, user_id) [INFO] [stdout] 39 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 45 | | user_id as _ [INFO] [stdout] 46 | | ) [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] --> adapter/src/repository/book.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | DELETE FROM books [INFO] [stdout] 58 | | WHERE book_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 62 | | event.requested_user as _ [INFO] [stdout] 63 | | ) [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] --> adapter/src/repository/book.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 79 | | PaginatedBookRow, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 90 | | offset, [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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/health.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl_uow_scope!(HealthCheckUnitOfWorkScope, HealthCheckUnitOfWork); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/repository/book.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 100 | | BookRow, [INFO] [stdout] 101 | | r#" [INFO] [stdout] 102 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 115 | | &book_ids as _, [INFO] [stdout] 116 | | ) [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] --> adapter/src/repository/book.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | let row: Option = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 142 | | BookRow, [INFO] [stdout] 143 | | r#" [INFO] [stdout] 144 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 156 | | book_id as _, [INFO] [stdout] 157 | | ) [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] --> adapter/src/repository/book.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 174 | | r#" [INFO] [stdout] 175 | | UPDATE books [INFO] [stdout] 176 | | SET [INFO] [stdout] ... | [INFO] [stdout] 189 | | event.requested_user as _ [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 206 | | BookCheckoutRow, [INFO] [stdout] 207 | | r#" [INFO] [stdout] 208 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 219 | | book_ids as _, [INFO] [stdout] 220 | | ) [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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/user.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_uow_scope!(UserUnitOfWorkScope, UserUnitOfWork); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/repository/book.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | sqlx::query!(r#"INSERT INTO roles(name) VALUES ('Admin'), ('User');"#) [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] warning: unused import: `BookCheckoutRow` [INFO] [stdout] --> adapter/src/repository/book.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | model::book::{BookCheckoutRow, BookRow, PaginatedBookRow}, [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 imports: `CheckoutRow`, `CheckoutStateRow`, and `ReturnedCheckoutRow` [INFO] [stdout] --> adapter/src/repository/checkout.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | model::checkout::{CheckoutRow, CheckoutStateRow, ReturnedCheckoutRow}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRow` [INFO] [stdout] --> adapter/src/repository/user.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | model::user::{UserItem, UserRow}, [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] --> adapter/src/repository/checkout.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | DELETE FROM checkouts WHERE checkout_id = $1; [INFO] [stdout] 37 | | "#, [INFO] [stdout] 38 | | checkout_id as _, [INFO] [stdout] 39 | | ) [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] --> adapter/src/repository/checkout.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 56 | | CheckoutStateRow, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 66 | | book_id as _, [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/checkout.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | let mut checkout_histories: Vec = sqlx::query_as!( [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 80 | | ReturnedCheckoutRow, [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 96 | | book_id as _, [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] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/checkout.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / sqlx::query_as!( [INFO] [stdout] 115 | | CheckoutRow, [INFO] [stdout] 116 | | r#" [INFO] [stdout] 117 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 129 | | "#, [INFO] [stdout] 130 | | ) [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] --> adapter/src/repository/checkout.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / sqlx::query_as!( [INFO] [stdout] 140 | | CheckoutRow, [INFO] [stdout] 141 | | r#" [INFO] [stdout] 142 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 156 | | user_id as _, [INFO] [stdout] 157 | | ) [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] --> adapter/src/repository/checkout.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | INSERT INTO checkouts [INFO] [stdout] 170 | | (checkout_id, book_id, user_id, checked_out_at) [INFO] [stdout] ... | [INFO] [stdout] 177 | | event.checked_out_at, [INFO] [stdout] 178 | | ) [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] --> adapter/src/repository/checkout.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | INSERT INTO returned_checkouts [INFO] [stdout] 197 | | (checkout_id, book_id, user_id, checked_out_at, returned_at) [INFO] [stdout] ... | [INFO] [stdout] 204 | | event.returned_at, [INFO] [stdout] 205 | | ) [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] --> adapter/src/repository/checkout.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 224 | | CheckoutRow, [INFO] [stdout] 225 | | r#" [INFO] [stdout] 226 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 238 | | book_id as _, [INFO] [stdout] 239 | | ) [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] --> adapter/src/repository/user.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | INSERT INTO users(user_id, name, email, password_hash, role_id) [INFO] [stdout] 41 | | SELECT $1, $2, $3, $4, role_id FROM roles WHERE name = $5; [INFO] [stdout] ... | [INFO] [stdout] 47 | | role.as_ref() [INFO] [stdout] 48 | | ) [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] --> adapter/src/repository/user.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | DELETE FROM users [INFO] [stdout] 65 | | WHERE user_id = $1 [INFO] [stdout] 66 | | "#, [INFO] [stdout] 67 | | event.user_id as _ [INFO] [stdout] 68 | | ) [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] --> adapter/src/repository/user.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 81 | | UserRow, [INFO] [stdout] 82 | | r#" [INFO] [stdout] 83 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 93 | | "#, [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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] --> adapter/src/repository/user.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 107 | | UserRow, [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 120 | | current_user_id as _, [INFO] [stdout] 121 | | ) [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] --> adapter/src/repository/user.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | } = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 137 | | UserItem, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT user_id, password_hash FROM users [INFO] [stdout] ... | [INFO] [stdout] 142 | | email, [INFO] [stdout] 143 | | ) [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] --> adapter/src/repository/user.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT password_hash FROM users WHERE user_id = $1; [INFO] [stdout] 155 | | "#, [INFO] [stdout] 156 | | user_id as _ [INFO] [stdout] 157 | | ) [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] --> adapter/src/repository/user.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / sqlx::query!( [INFO] [stdout] 168 | | r#" [INFO] [stdout] 169 | | UPDATE users SET password_hash = $2 WHERE user_id = $1; [INFO] [stdout] 170 | | "#, [INFO] [stdout] 171 | | event.user_id as _, [INFO] [stdout] 172 | | password_hash, [INFO] [stdout] 173 | | ) [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] --> adapter/src/repository/user.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | UPDATE users [INFO] [stdout] 185 | | SET role_id = ( [INFO] [stdout] ... | [INFO] [stdout] 191 | | event.role.as_ref() [INFO] [stdout] 192 | | ) [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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/auth.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_uow_scope!(AuthUnitOfWorkScope, AuthUnitOfWork); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/book.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl_uow_scope!(BookUnitOfWorkScope, BookUnitOfWork); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/checkout.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_uow_scope!(CheckoutUnitOfWorkScope, CheckoutUnitOfWork); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/health.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl_uow_scope!(HealthCheckUnitOfWorkScope, HealthCheckUnitOfWork); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (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] --> adapter/src/unit_of_work.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: adapter/src/unit_of_work/user.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_uow_scope!(UserUnitOfWorkScope, UserUnitOfWork); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `impl_uow_scope` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BookCheckoutRow` [INFO] [stdout] --> adapter/src/repository/book.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | model::book::{BookCheckoutRow, BookRow, PaginatedBookRow}, [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 imports: `CheckoutRow`, `CheckoutStateRow`, and `ReturnedCheckoutRow` [INFO] [stdout] --> adapter/src/repository/checkout.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | model::checkout::{CheckoutRow, CheckoutStateRow, ReturnedCheckoutRow}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRow` [INFO] [stdout] --> adapter/src/repository/user.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | model::user::{UserItem, UserRow}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adapter` (lib) due to 28 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adapter` (lib test) due to 29 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2f61a6975f6ea5d9b93b4e537f2d0acccb78f34bad7e496661feff51e43cfdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f61a6975f6ea5d9b93b4e537f2d0acccb78f34bad7e496661feff51e43cfdd", kill_on_drop: false }` [INFO] [stdout] a2f61a6975f6ea5d9b93b4e537f2d0acccb78f34bad7e496661feff51e43cfdd