[INFO] cloning repository https://github.com/radish-miyazaki/rusty-book-manager
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/radish-miyazaki/rusty-book-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradish-miyazaki%2Frusty-book-manager"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradish-miyazaki%2Frusty-book-manager'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 70c09946330b7b293772d978159f5e7d7c3d40f4
[INFO] testing radish-miyazaki/rusty-book-manager against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradish-miyazaki%2Frusty-book-manager" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/radish-miyazaki/rusty-book-manager
[INFO] finished tweaking git repo https://github.com/radish-miyazaki/rusty-book-manager
[INFO] tweaked toml for git repo https://github.com/radish-miyazaki/rusty-book-manager written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/radish-miyazaki/rusty-book-manager on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/radish-miyazaki/rusty-book-manager already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: unused workspace dependency `itertools`
[INFO] [stderr]   --> Cargo.toml:80:1
[INFO] [stderr]    |
[INFO] [stderr] 80 | itertools = "0.13.0"
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_workspace_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the workspace dependency `itertools`
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423
[INFO] running `"docker" "start" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423"`
[INFO] running `"docker" "inspect" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: unused workspace dependency `itertools`
[INFO] [stderr]   --> Cargo.toml:80:1
[INFO] [stderr]    |
[INFO] [stderr] 80 | itertools = "0.13.0"
[INFO] [stderr]    | ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_workspace_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the workspace dependency `itertools`
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling cc v1.1.28
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling rustls-pki-types v1.9.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling rustls v0.23.14
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling castaway v0.2.3
[INFO] [stderr]    Compiling predicates-core v1.0.8
[INFO] [stderr]    Compiling mockall_derive v0.13.0
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling compact_str v0.7.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling termtree v0.4.1
[INFO] [stderr]    Compiling anstyle v1.0.8
[INFO] [stderr]    Compiling predicates-tree v1.0.11
[INFO] [stderr]    Compiling predicates v3.1.2
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling secrecy v0.10.2
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling fragile v2.0.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling garde_derive v0.20.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.6
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling opentelemetry v0.26.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pin-project v1.1.6
[INFO] [stderr]    Compiling derive-new v0.7.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling headers v0.4.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling tower-http v0.6.1
[INFO] [stderr]    Compiling mockall v0.13.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling garde v0.20.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling prost-derive v0.13.3
[INFO] [stderr]    Compiling prost v0.13.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.2
[INFO] [stderr]    Compiling utoipa v4.2.3
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tower v0.5.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling opentelemetry_sdk v0.26.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]    Compiling tracing-opentelemetry v0.27.0
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling redis v0.27.3
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling sqlx v0.8.2
[INFO] [stderr]    Compiling axum v0.7.7
[INFO] [stderr]    Compiling hyper-timeout v0.5.1
[INFO] [stderr]    Compiling shared v0.1.0 (/opt/rustwide/workdir/shared)
[INFO] [stderr]    Compiling tonic v0.12.3
[INFO] [stderr]    Compiling axum-extra v0.9.4
[INFO] [stderr]    Compiling utoipa-redoc v4.0.0
[INFO] [stderr]    Compiling kernel v0.1.0 (/opt/rustwide/workdir/kernel)
[INFO] [stderr]    Compiling 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/auth.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |           let user_item = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 55 | |             UserItem,
[INFO] [stdout] 56 | |             r#"
[INFO] [stdout] 57 | |                 SELECT user_id, password_hash FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |             email
[INFO] [stdout] 61 | |         )
[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:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | /         sqlx::query!(
[INFO] [stdout] 32 | |             r#"
[INFO] [stdout] 33 | |                 INSERT INTO books (title, author, isbn, description, user_id)
[INFO] [stdout] 34 | |                 VALUES ($1, $2, $3, $4, $5);
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |             user_id as _
[INFO] [stdout] 41 | |         )
[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:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let rows: Vec<PaginatedBookRow> = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 53 | |             PaginatedBookRow,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |                 SELECT COUNT(*) OVER() as "total!",
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |             offset
[INFO] [stdout] 64 | |         )
[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:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |           let rows: Vec<BookRow> = sqlx::query_as!(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 77 | |             BookRow,
[INFO] [stdout] 78 | |             r#"
[INFO] [stdout] 79 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |             &book_ids as _
[INFO] [stdout] 93 | |         )
[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:117:36
[INFO] [stdout]     |
[INFO] [stdout] 117 |           let row: Option<BookRow> = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 118 | |             BookRow,
[INFO] [stdout] 119 | |             r#"
[INFO] [stdout] 120 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |             book_id as _
[INFO] [stdout] 133 | |         )
[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:148:19
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 149 | |             r#"
[INFO] [stdout] 150 | |                 UPDATE books
[INFO] [stdout] 151 | |                 SET
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |             event.requested_user as _
[INFO] [stdout] 165 | |         )
[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:178:19
[INFO] [stdout]     |
[INFO] [stdout] 178 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 179 | |             r#"
[INFO] [stdout] 180 | |                 DELETE FROM books
[INFO] [stdout] 181 | |                 WHERE book_id = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |             event.requested_user as _
[INFO] [stdout] 186 | |         )
[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:201:19
[INFO] [stdout]     |
[INFO] [stdout] 201 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 202 | |             BookCheckoutRow,
[INFO] [stdout] 203 | |             r#"
[INFO] [stdout] 204 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 214 | |             book_ids as _
[INFO] [stdout] 215 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |               let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 34 | |                 CheckoutStateRow,
[INFO] [stdout] 35 | |                 r#"
[INFO] [stdout] 36 | |                     SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |                 event.book_id as _
[INFO] [stdout] 45 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 74 | |             r#"
[INFO] [stdout] 75 | |                 INSERT INTO checkouts
[INFO] [stdout] 76 | |                 (checkout_id, book_id, user_id, checked_out_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |             event.checked_out_at
[INFO] [stdout] 83 | |         )
[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:105:23
[INFO] [stdout]     |
[INFO] [stdout] 105 |               let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 106 | |                 CheckoutStateRow,
[INFO] [stdout] 107 | |                 r#"
[INFO] [stdout] 108 | |                     SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |                 event.book_id as _
[INFO] [stdout] 117 | |             )
[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:145:19
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 146 | |             r#"
[INFO] [stdout] 147 | |                 INSERT INTO returned_checkouts
[INFO] [stdout] 148 | |                 (checkout_id, book_id, user_id, checked_out_at, returned_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |             event.returned_at as _,
[INFO] [stdout] 155 | |         )
[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:166:19
[INFO] [stdout]     |
[INFO] [stdout] 166 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 167 | |             r#"
[INFO] [stdout] 168 | |                 DELETE FROM checkouts WHERE checkout_id = $1;
[INFO] [stdout] 169 | |             "#,
[INFO] [stdout] 170 | |             event.checkout_id as _
[INFO] [stdout] 171 | |         )
[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:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | /         sqlx::query_as!(
[INFO] [stdout] 189 | |             CheckoutRow,
[INFO] [stdout] 190 | |             r#"
[INFO] [stdout] 191 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 202 | |             "#,
[INFO] [stdout] 203 | |         )
[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:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 | /         sqlx::query_as!(
[INFO] [stdout] 212 | |             CheckoutRow,
[INFO] [stdout] 213 | |             r#"
[INFO] [stdout] 214 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |             user_id as _
[INFO] [stdout] 228 | |         )
[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:240:38
[INFO] [stdout]     |
[INFO] [stdout] 240 |           let mut checkout_histories = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 241 | |             ReturnedCheckoutRow,
[INFO] [stdout] 242 | |             r#"
[INFO] [stdout] 243 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 257 | |             book_id as _
[INFO] [stdout] 258 | |         )
[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:283:9
[INFO] [stdout]     |
[INFO] [stdout] 283 |         sqlx::query!("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE")
[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:292:19
[INFO] [stdout]     |
[INFO] [stdout] 292 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 293 | |             CheckoutRow,
[INFO] [stdout] 294 | |             r#"
[INFO] [stdout] 295 | |                 SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 307 | |             book_id as _
[INFO] [stdout] 308 | |         )
[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:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |           let row = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 27 | |             UserRow,
[INFO] [stdout] 28 | |             r#"
[INFO] [stdout] 29 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 40 | |             current_user_id as _
[INFO] [stdout] 41 | |         )
[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:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |           let rows = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 54 | |             UserRow,
[INFO] [stdout] 55 | |             r#"
[INFO] [stdout] 56 | |                 SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |             "#,
[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/user.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |           let res = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 84 | |             r#"
[INFO] [stdout] 85 | |                 INSERT INTO users (user_id, name, email, password_hash, role_id)
[INFO] [stdout] 86 | |                 SELECT $1, $2, $3, $4, role_id FROM roles WHERE name = $5;
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |             role.as_ref(),
[INFO] [stdout] 93 | |         )
[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:115:38
[INFO] [stdout]     |
[INFO] [stdout] 115 |           let original_password_hash = sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 116 | |             r#"
[INFO] [stdout] 117 | |                 SELECT password_hash FROM users WHERE user_id = $1;
[INFO] [stdout] 118 | |             "#,
[INFO] [stdout] 119 | |             event.user_id as _
[INFO] [stdout] 120 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | /         sqlx::query!(
[INFO] [stdout] 130 | |             r#"
[INFO] [stdout] 131 | |                 UPDATE users SET password_hash = $2 WHERE user_id = $1;
[INFO] [stdout] 132 | |             "#,
[INFO] [stdout] 133 | |             event.user_id as _,
[INFO] [stdout] 134 | |             new_password_hash
[INFO] [stdout] 135 | |         )
[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:146:19
[INFO] [stdout]     |
[INFO] [stdout] 146 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 147 | |             r#"
[INFO] [stdout] 148 | |                 UPDATE users
[INFO] [stdout] 149 | |                 SET role_id = (SELECT role_id FROM roles WHERE name = $2)
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |             event.role.as_ref(),
[INFO] [stdout] 154 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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:169:19
[INFO] [stdout]     |
[INFO] [stdout] 169 |           let res = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 170 | |             r#"
[INFO] [stdout] 171 | |                 DELETE FROM users WHERE user_id = $1;
[INFO] [stdout] 172 | |             "#,
[INFO] [stdout] 173 | |             event.user_id as _
[INFO] [stdout] 174 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UserItem`
[INFO] [stdout]   --> adapter/src/repository/auth.rs:16:65
[INFO] [stdout]    |
[INFO] [stdout] 16 |         model::auth::{from, AuthorizationKey, AuthorizedUserId, UserItem},
[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: `BookCheckoutRow`
[INFO] [stdout]   --> adapter/src/repository/book.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     model::book::{BookCheckoutRow, BookRow, PaginatedBookRow},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CheckoutRow` and `ReturnedCheckoutRow`
[INFO] [stdout]   --> adapter/src/repository/checkout.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |     model::checkout::{CheckoutRow, CheckoutStateRow, ReturnedCheckoutRow},
[INFO] [stdout]    |                       ^^^^^^^^^^^                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::user::UserRow`
[INFO] [stdout]  --> adapter/src/repository/user.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::database::{model::user::UserRow, ConnectionPool};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `adapter` (lib) due to 25 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423"`
[INFO] running `"docker" "rm" "-f" "a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423"`
[INFO] [stdout] a4cdc132c0cbb8b4f75fec211394c250a050dd33430c06433802a1666508a423
