[INFO] cloning repository https://github.com/kazuma0606/rusted-ca [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuma0606/rusted-ca" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuma0606%2Frusted-ca", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuma0606%2Frusted-ca'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fde365b3b3b5281aca55eb7f3d9da7785f37506 [INFO] checking kazuma0606/rusted-ca against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuma0606%2Frusted-ca" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kazuma0606/rusted-ca [INFO] finished tweaking git repo https://github.com/kazuma0606/rusted-ca [INFO] tweaked toml for git repo https://github.com/kazuma0606/rusted-ca written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kazuma0606/rusted-ca on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kazuma0606/rusted-ca 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cac63de3c525c144ca8f62049c95586c580c8f35f686d20c514dd950fe3e8326 [INFO] running `Command { std: "docker" "start" "-a" "cac63de3c525c144ca8f62049c95586c580c8f35f686d20c514dd950fe3e8326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cac63de3c525c144ca8f62049c95586c580c8f35f686d20c514dd950fe3e8326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac63de3c525c144ca8f62049c95586c580c8f35f686d20c514dd950fe3e8326", kill_on_drop: false }` [INFO] [stdout] cac63de3c525c144ca8f62049c95586c580c8f35f686d20c514dd950fe3e8326 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0659eb15a8ba4345960f2503bcb309bbe75a7a9310d0d69ff30a8f83bc2114a [INFO] running `Command { std: "docker" "start" "-a" "e0659eb15a8ba4345960f2503bcb309bbe75a7a9310d0d69ff30a8f83bc2114a", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking prost-build v0.12.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling rusted-ca v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking axum-extra v0.9.6 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stdout] warning: unused imports: `Request`, `StatusCode`, `body::Body`, `extract::State`, `middleware::Next`, and `response::Response` [INFO] [stdout] --> src/shared/notification/discord_notification.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | http::{Request, StatusCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | middleware::Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | response::Response, [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: `std::sync::Arc` [INFO] [stdout] --> src/shared/notification/discord_notification.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::entity::user::User` [INFO] [stdout] --> src/application/usecases/create_user_usecase.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::domain::entity::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `birth_date::BirthDate`, `email::Email`, `password::Password`, `phone::Phone`, and `user_name::UserName` [INFO] [stdout] --> src/application/usecases/create_user_usecase.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | birth_date::BirthDate, email::Email, password::Password, phone::Phone, user_id::UserId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 11 | user_name::UserName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/application/usecases/create_user_usecase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `email::Email` and `password::Password` [INFO] [stdout] --> src/application/usecases/update_user_usecase.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | birth_date::BirthDate, email::Email, password::Password, phone::Phone, user_id::UserId, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `get`, `post`, and `serve` [INFO] [stdout] --> src/infrastructure/web/run.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 8 | serve, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::application::dto::user_response_dto::UserResponseDto` [INFO] [stdout] --> src/presentation/controller/user_controller.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::application::dto::user_response_dto::UserResponseDto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/presentation/controller/user_controller.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | extract::{Path, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_notify_startup` [INFO] [stdout] --> src/presentation/router/app_router.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | discord_notification_middleware, try_notify_startup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AdminUser` [INFO] [stdout] --> src/presentation/router/user_router.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::shared::middleware::auth_middleware::{AdminUser, AuthenticatedUser}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::middleware::from_fn` [INFO] [stdout] --> src/presentation/router/user_router.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::middleware::from_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `StatusCode`, `body::Body`, `extract::State`, `middleware::Next`, and `response::Response` [INFO] [stdout] --> src/shared/notification/discord_notification.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | http::{Request, StatusCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | middleware::Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | response::Response, [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: `std::sync::Arc` [INFO] [stdout] --> src/shared/notification/discord_notification.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::entity::user::User` [INFO] [stdout] --> src/application/usecases/create_user_usecase.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::domain::entity::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `birth_date::BirthDate`, `email::Email`, `password::Password`, `phone::Phone`, and `user_name::UserName` [INFO] [stdout] --> src/application/usecases/create_user_usecase.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | birth_date::BirthDate, email::Email, password::Password, phone::Phone, user_id::UserId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 11 | user_name::UserName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/application/usecases/create_user_usecase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `email::Email` and `password::Password` [INFO] [stdout] --> src/application/usecases/update_user_usecase.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | birth_date::BirthDate, email::Email, password::Password, phone::Phone, user_id::UserId, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `get`, `post`, and `serve` [INFO] [stdout] --> src/infrastructure/web/run.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 8 | serve, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::application::dto::user_response_dto::UserResponseDto` [INFO] [stdout] --> src/presentation/controller/user_controller.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::application::dto::user_response_dto::UserResponseDto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/presentation/controller/user_controller.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | extract::{Path, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_notify_startup` [INFO] [stdout] --> src/presentation/router/app_router.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | discord_notification_middleware, try_notify_startup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AdminUser` [INFO] [stdout] --> src/presentation/router/user_router.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::shared::middleware::auth_middleware::{AdminUser, AuthenticatedUser}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::middleware::from_fn` [INFO] [stdout] --> src/presentation/router/user_router.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::middleware::from_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/shared/middleware/watch_middleware.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/shared/middleware/watch_middleware.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/repository/in_memory_user_command_repository.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut tx = conn.transaction()?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/infrastructure/repository/in_memory_user_command_repository.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut tx = conn.transaction()?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_command_repository` [INFO] [stdout] --> src/infrastructure/di/container.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | let (user_command_repository, user_query_repository) = self.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_command_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_query_repository` [INFO] [stdout] --> src/infrastructure/di/container.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | let (user_command_repository, user_query_repository) = self.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_query_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_connection` [INFO] [stdout] --> src/infrastructure/web/run.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let db_connection = di_container.create_database_connection()?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_repo` [INFO] [stdout] --> src/infrastructure/web/run.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (command_repo, query_repo) = di_container.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_repo` [INFO] [stdout] --> src/infrastructure/web/run.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let (command_repo, query_repo) = di_container.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_command_repository` [INFO] [stdout] --> src/infrastructure/di/container.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | let (user_command_repository, user_query_repository) = self.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_command_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_query_repository` [INFO] [stdout] --> src/infrastructure/di/container.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | let (user_command_repository, user_query_repository) = self.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_query_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_connection` [INFO] [stdout] --> src/infrastructure/web/run.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let db_connection = di_container.create_database_connection()?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_repo` [INFO] [stdout] --> src/infrastructure/web/run.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (command_repo, query_repo) = di_container.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_repo` [INFO] [stdout] --> src/infrastructure/web/run.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let (command_repo, query_repo) = di_container.create_repositories()?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_with_filters` is never used [INFO] [stdout] --> src/infrastructure/repository/in_memory_user_query_repository.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl SqliteUserQueryRepository { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn count_with_filters(&self, _filters: &UserSearchFilters) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `api_health_check` is never used [INFO] [stdout] --> src/infrastructure/web/run.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn api_health_check() -> axum::Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/user_integration_test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_with_filters` is never used [INFO] [stdout] --> src/infrastructure/repository/in_memory_user_query_repository.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl SqliteUserQueryRepository { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn count_with_filters(&self, _filters: &UserSearchFilters) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `api_health_check` is never used [INFO] [stdout] --> src/infrastructure/web/run.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn api_health_check() -> axum::Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> tests/logs_integration_test.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Timelike, Utc}; [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: `rand::Rng` [INFO] [stdout] --> tests/logs_integration_test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `watch_middleware` [INFO] [stdout] --> tests/logs_integration_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | watch_middleware, watch_middleware_with_base_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::OpenOptions` [INFO] [stdout] --> tests/logs_integration_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/logs_integration_test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.00s [INFO] running `Command { std: "docker" "inspect" "e0659eb15a8ba4345960f2503bcb309bbe75a7a9310d0d69ff30a8f83bc2114a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0659eb15a8ba4345960f2503bcb309bbe75a7a9310d0d69ff30a8f83bc2114a", kill_on_drop: false }` [INFO] [stdout] e0659eb15a8ba4345960f2503bcb309bbe75a7a9310d0d69ff30a8f83bc2114a