[INFO] cloning repository https://github.com/taroosg/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/taroosg/rusty-book-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaroosg%2Frusty-book-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaroosg%2Frusty-book-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37dd40ae288781609ecaa24e4629a2e4acab94ea [INFO] testing taroosg/rusty-book-manager against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaroosg%2Frusty-book-manager" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/taroosg/rusty-book-manager [INFO] finished tweaking git repo https://github.com/taroosg/rusty-book-manager [INFO] tweaked toml for git repo https://github.com/taroosg/rusty-book-manager written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taroosg/rusty-book-manager on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/taroosg/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v4.4.0 [INFO] [stderr] Downloaded opentelemetry v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6417b7f4165ecbd8b30e94cd0052990d0f2d3b4485e7e4189d7c982e4122050b [INFO] running `Command { std: "docker" "start" "-a" "6417b7f4165ecbd8b30e94cd0052990d0f2d3b4485e7e4189d7c982e4122050b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6417b7f4165ecbd8b30e94cd0052990d0f2d3b4485e7e4189d7c982e4122050b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6417b7f4165ecbd8b30e94cd0052990d0f2d3b4485e7e4189d7c982e4122050b", kill_on_drop: false }` [INFO] [stdout] 6417b7f4165ecbd8b30e94cd0052990d0f2d3b4485e7e4189d7c982e4122050b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25a11b1fab733e0b3d9d4095325b985a3ba771083fb3f6c09a03fea0cd113fbd [INFO] running `Command { std: "docker" "start" "-a" "25a11b1fab733e0b3d9d4095325b985a3ba771083fb3f6c09a03fea0cd113fbd", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling ordered-float v4.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thrift v0.17.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [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 garde_derive v0.18.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling garde v0.18.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling opentelemetry v0.22.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling opentelemetry v0.21.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.13.0 [INFO] [stderr] Compiling opentelemetry_sdk v0.21.2 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling opentelemetry-jaeger v0.20.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling utoipa v4.2.3 [INFO] [stderr] Compiling axum-extra v0.9.4 [INFO] [stderr] Compiling utoipa-redoc v2.0.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stdout] warning: unused import: `axum::http::uri::Authority` [INFO] [stdout] --> shared/src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::uri::Authority; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let user_item = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 42 | | UserItem, [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | SELECT user_id, password_hash FROM users [INFO] [stdout] ... | [INFO] [stdout] 47 | | email [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_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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | INSERT INTO books (title, author, isbn, description) VALUES ($1, $2, $3, $4) [INFO] [stdout] 22 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 26 | | event.description [INFO] [stdout] 27 | | ) [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:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 38 | | BookRow, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT book_id, title, author, isbn, description FROM books ORDER BY created_at DESC [INFO] [stdout] 41 | | "# [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 52 | | BookRow, [INFO] [stdout] 53 | | r#" [INFO] [stdout] 54 | | SELECT book_id, title, author, isbn, description FROM books WHERE book_id = $1 [INFO] [stdout] 55 | | "#, [INFO] [stdout] 56 | | book_id as _ [INFO] [stdout] 57 | | ) [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:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 22 | | UserRow, [INFO] [stdout] 23 | | r#" [INFO] [stdout] 24 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 35 | | current_user_id as _ [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserItem` [INFO] [stdout] --> adapter/src/repository/auth.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | 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: `model::user::UserRow` [INFO] [stdout] --> adapter/src/repository/user.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::database::{model::user::UserRow, ConnectionPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kernel::model::role::Role` [INFO] [stdout] --> adapter/src/repository/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kernel::model::role::Role; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> adapter/src/redis/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn set_ex(&self, key: &T, value: &T::Value, ttl: u64) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> adapter/src/redis/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | conn.set_ex(key.inner(), value.inner(), ttl).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 20 | conn.set_ex::<_, _, ()>(key.inner(), value.inner(), ttl).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> adapter/src/redis/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn delete(&self, key: &T) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> adapter/src/redis/mod.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | conn.del(key.inner()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 32 | conn.del::<_, ()>(key.inner()).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> adapter/src/repository/user.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | async fn create(&self, event: CreateUser) -> AppResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> adapter/src/repository/user.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | async fn update_password(&self, event: UpdateUserPassword) -> AppResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> adapter/src/repository/user.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | async fn update_role(&self, event: UpdateUserRole) -> AppResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> adapter/src/repository/user.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | async fn delete(&self, event: DeleteUser) -> AppResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adapter` (lib) due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "25a11b1fab733e0b3d9d4095325b985a3ba771083fb3f6c09a03fea0cd113fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25a11b1fab733e0b3d9d4095325b985a3ba771083fb3f6c09a03fea0cd113fbd", kill_on_drop: false }` [INFO] [stdout] 25a11b1fab733e0b3d9d4095325b985a3ba771083fb3f6c09a03fea0cd113fbd