[INFO] cloning repository https://github.com/inomata137/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/inomata137/rusty-book-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finomata137%2Frusty-book-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finomata137%2Frusty-book-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2b0a484232fa505f4df0913670eb19afe75a8fd [INFO] testing inomata137/rusty-book-manager against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finomata137%2Frusty-book-manager" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/inomata137/rusty-book-manager [INFO] finished tweaking git repo https://github.com/inomata137/rusty-book-manager [INFO] tweaked toml for git repo https://github.com/inomata137/rusty-book-manager written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/inomata137/rusty-book-manager on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/inomata137/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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.27.0 [INFO] [stderr] Downloaded utoipa-redoc v6.0.0 [INFO] [stderr] Downloaded strum_macros v0.27.0 [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded bcrypt v0.17.0 [INFO] [stderr] Downloaded garde v0.22.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.3 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded axum-extra v0.10.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.3 [INFO] [stderr] Downloaded opentelemetry-jaeger v0.22.0 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.15.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.3 [INFO] [stderr] Downloaded sqlx-core v0.8.3 [INFO] [stderr] Downloaded sqlx v0.8.3 [INFO] [stderr] Downloaded utoipa-gen v5.3.1 [INFO] [stderr] Downloaded garde_derive v0.22.0 [INFO] [stderr] Downloaded secrecy v0.10.3 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.3 [INFO] [stderr] Downloaded redis v0.28.2 [INFO] [stderr] Downloaded utoipa v5.3.1 [INFO] [stderr] Downloaded sqlx-macros v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 328e9c9db0270a635bc07f2ad212745c092b91cf7e71623be0fb01c398386b4e [INFO] running `Command { std: "docker" "start" "-a" "328e9c9db0270a635bc07f2ad212745c092b91cf7e71623be0fb01c398386b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "328e9c9db0270a635bc07f2ad212745c092b91cf7e71623be0fb01c398386b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328e9c9db0270a635bc07f2ad212745c092b91cf7e71623be0fb01c398386b4e", kill_on_drop: false }` [INFO] [stdout] 328e9c9db0270a635bc07f2ad212745c092b91cf7e71623be0fb01c398386b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc5c5660003cc998b0bfee3fcbf8437642e3c7d3869fc2c195aebabbea4c0f3b [INFO] running `Command { std: "docker" "start" "-a" "cc5c5660003cc998b0bfee3fcbf8437642e3c7d3869fc2c195aebabbea4c0f3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.15.0 [INFO] [stderr] Compiling thrift v0.17.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling garde_derive v0.22.0 [INFO] [stderr] Compiling strum_macros v0.27.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling opentelemetry v0.28.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling opentelemetry v0.23.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling opentelemetry v0.27.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling strum v0.27.0 [INFO] [stderr] Compiling opentelemetry_sdk v0.27.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling opentelemetry_sdk v0.23.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling opentelemetry-jaeger v0.22.0 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling either v1.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.2.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling garde v0.22.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling redis v0.28.2 [INFO] [stderr] Compiling tracing-opentelemetry v0.28.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Compiling utoipa v5.3.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling utoipa-redoc v6.0.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [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:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let user_item = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 44 | | UserItem, [INFO] [stdout] 45 | | r#" [INFO] [stdout] 46 | | SELECT user_id, password_hash FROM users [INFO] [stdout] ... | [INFO] [stdout] 49 | | email [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | BookCheckoutRow, [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 39 | | &book_ids as _ [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query!( [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | INSERT INTO books (title, author, isbn, description, user_id) [INFO] [stdout] 58 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 64 | | user_id as _, [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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:43 [INFO] [stdout] | [INFO] [stdout] 76 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 77 | | PaginatedBookRow, [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 88 | | offset as _, [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 98 | | BookRow, [INFO] [stdout] 99 | | r#" [INFO] [stdout] 100 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 113 | | &book_ids as _ [INFO] [stdout] 114 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/book.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 140 | | BookRow, [INFO] [stdout] 141 | | r#" [INFO] [stdout] 142 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 154 | | book_id 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_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:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 203 | | r#" [INFO] [stdout] 204 | | DELETE FROM books [INFO] [stdout] 205 | | WHERE book_id = $1 [INFO] [stdout] ... | [INFO] [stdout] 209 | | event.requested_user as _, [INFO] [stdout] 210 | | ) [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:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | 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:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let res = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 40 | | CheckoutRow, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 54 | | book_id as _ [INFO] [stdout] 55 | | ) [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:23 [INFO] [stdout] | [INFO] [stdout] 73 | let res = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 74 | | CheckoutStateRow, [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 84 | | event.book_id as _ [INFO] [stdout] 85 | | ) [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:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 112 | | r#" [INFO] [stdout] 113 | | INSERT INTO checkouts [INFO] [stdout] 114 | | (checkout_id, book_id, user_id, checked_out_at) [INFO] [stdout] ... | [INFO] [stdout] 121 | | event.checked_out_at [INFO] [stdout] 122 | | ) [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:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | let res = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 145 | | CheckoutStateRow, [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 155 | | event.book_id as _ [INFO] [stdout] 156 | | ) [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:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | INSERT INTO returned_checkouts [INFO] [stdout] 185 | | (checkout_id, book_id, user_id, checked_out_at, returned_at) [INFO] [stdout] ... | [INFO] [stdout] 191 | | event.returned_at, [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/repository/checkout.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 204 | | r#" [INFO] [stdout] 205 | | DELETE FROM checkouts [INFO] [stdout] 206 | | WHERE checkout_id = $1 [INFO] [stdout] 207 | | "#, [INFO] [stdout] 208 | | event.checkout_id as _ [INFO] [stdout] 209 | | ) [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:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / sqlx::query_as!( [INFO] [stdout] 227 | | CheckoutRow, [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 240 | | "#, [INFO] [stdout] 241 | | ) [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:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | / sqlx::query_as!( [INFO] [stdout] 250 | | CheckoutRow, [INFO] [stdout] 251 | | r#" [INFO] [stdout] 252 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 265 | | user_id as _ [INFO] [stdout] 266 | | ) [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:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | let mut checkout_histories = sqlx::query_as!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 277 | | ReturnedCheckoutRow, [INFO] [stdout] 278 | | r#" [INFO] [stdout] 279 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 293 | | book_id as _ [INFO] [stdout] 294 | | ) [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:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 53 | | UserRow, [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 65 | | "# [INFO] [stdout] 66 | | ) [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:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | INSERT INTO users (user_id, name, email, password_hash, role_id) [INFO] [stdout] 85 | | SELECT $1, $2, $3, $4, r.role_id FROM roles as r WHERE r.name = $5; [INFO] [stdout] ... | [INFO] [stdout] 91 | | role.as_ref() [INFO] [stdout] 92 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | let original_password_hash = sqlx::query!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | SELECT password_hash FROM users WHERE user_id = $1; [INFO] [stdout] 117 | | "#, [INFO] [stdout] 118 | | event.user_id as _ [INFO] [stdout] 119 | | ) [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:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / sqlx::query!( [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | UPDATE users SET password_hash = $1 WHERE user_id = $2; [INFO] [stdout] 131 | | "#, [INFO] [stdout] 132 | | new_password_hash, [INFO] [stdout] 133 | | event.user_id as _ [INFO] [stdout] 134 | | ) [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:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | UPDATE users [INFO] [stdout] 148 | | SET role_id = (SELECT role_id FROM roles WHERE name = $1) [INFO] [stdout] ... | [INFO] [stdout] 152 | | event.user_id as _ [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> adapter/src/repository/user.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | DELETE FROM users WHERE user_id = $1; [INFO] [stdout] 171 | | "#, [INFO] [stdout] 172 | | event.user_id as _ [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] 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BookCheckoutRow` and `BookRow` [INFO] [stdout] --> adapter/src/repository/book.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::database::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:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | 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] running `Command { std: "docker" "inspect" "cc5c5660003cc998b0bfee3fcbf8437642e3c7d3869fc2c195aebabbea4c0f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5c5660003cc998b0bfee3fcbf8437642e3c7d3869fc2c195aebabbea4c0f3b", kill_on_drop: false }` [INFO] [stdout] cc5c5660003cc998b0bfee3fcbf8437642e3c7d3869fc2c195aebabbea4c0f3b