[INFO] cloning repository https://github.com/mviner000/rust-auth-boilerplate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mviner000/rust-auth-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmviner000%2Frust-auth-boilerplate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmviner000%2Frust-auth-boilerplate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf73adbb225b466e2a2487997b04a7b6ea651582
[INFO] testing mviner000/rust-auth-boilerplate against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmviner000%2Frust-auth-boilerplate" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mviner000/rust-auth-boilerplate
[INFO] finished tweaking git repo https://github.com/mviner000/rust-auth-boilerplate
[INFO] tweaked toml for git repo https://github.com/mviner000/rust-auth-boilerplate written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mviner000/rust-auth-boilerplate on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mviner000/rust-auth-boilerplate 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2c86eb3206a3010d4817ad94e55f74ea2836df9954d3efab9ce1b93ec6a4d48c
[INFO] running `Command { std: "docker" "start" "-a" "2c86eb3206a3010d4817ad94e55f74ea2836df9954d3efab9ce1b93ec6a4d48c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c86eb3206a3010d4817ad94e55f74ea2836df9954d3efab9ce1b93ec6a4d48c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c86eb3206a3010d4817ad94e55f74ea2836df9954d3efab9ce1b93ec6a4d48c", kill_on_drop: false }`
[INFO] [stdout] 2c86eb3206a3010d4817ad94e55f74ea2836df9954d3efab9ce1b93ec6a4d48c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c0fad195ea7a27a1c9dd9119fb4dc74fcd54abce7d424398b2ae3ef7a5235df
[INFO] running `Command { std: "docker" "start" "-a" "5c0fad195ea7a27a1c9dd9119fb4dc74fcd54abce7d424398b2ae3ef7a5235df", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling impl-more v0.1.8
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.6
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling predicates-core v1.0.8
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling pq-sys v0.6.3
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]    Compiling png v0.17.14
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling libwebp-sys v0.9.6
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling termtree v0.4.1
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling predicates-tree v1.0.11
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling rtoolbox v0.0.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling pem v3.0.4
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling fragile v2.0.0
[INFO] [stderr]    Compiling predicates v2.1.5
[INFO] [stderr]    Compiling http-range v0.1.5
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling rpassword v7.3.1
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling actix_derive v0.6.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling simple_asn1 v0.6.2
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling dsl_auto_type v0.1.2
[INFO] [stderr]    Compiling actix-multipart-derive v0.6.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling diesel_derives v2.2.3
[INFO] [stderr]    Compiling webp v0.2.6
[INFO] [stderr]    Compiling mockall v0.11.4
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling actix-server v2.5.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling actix v0.13.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling jsonwebtoken v9.3.0
[INFO] [stderr]    Compiling diesel v2.2.4
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling actix-web v4.9.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling actix-web-actors v4.3.1+deprecated
[INFO] [stderr]    Compiling actix-files v0.6.6
[INFO] [stderr]    Compiling actix-cors v0.6.5
[INFO] [stderr]    Compiling actix-multipart v0.6.2
[INFO] [stderr]    Compiling actix-web-httpauth v0.8.2
[INFO] [stderr]    Compiling rust-clean-arch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[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: `ImageOutputFormat`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{ImageOutputFormat};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future::LocalBoxFuture`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::future::LocalBoxFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/avatar_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     async fn find_by_user_id(&self, user_id: i32) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |     async fn update(&self, user_id: i32, dto: UpdateAccountDto) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/account_handlers.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     handlers: web::Data<AccountHandlers<T>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/avatar_handlers.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     handlers: web::Data<AvatarHandlers<T, U>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[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: `ImageOutputFormat`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{ImageOutputFormat};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::DatabaseMessage as Message`
[INFO] [stdout]   --> src/domain/entities/message.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub use self::DatabaseMessage as Message;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future::LocalBoxFuture`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::future::LocalBoxFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/avatar_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     async fn find_by_user_id(&self, user_id: i32) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |     async fn update(&self, user_id: i32, dto: UpdateAccountDto) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/account_handlers.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     handlers: web::Data<AccountHandlers<T>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/avatar_handlers.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     handlers: web::Data<AvatarHandlers<T, U>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account_repository`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let account_repository = AccountRepositoryImpl::new(pool.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_repository`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mark_as_read` is never used
[INFO] [stdout]  --> src/domain/repositories/message_repository.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait MessageRepository {
[INFO] [stdout]   |           ----------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 8 |     async fn mark_as_read(&self, message_id: i32) -> Result<(), String>;
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_by_account_id` is never used
[INFO] [stdout]  --> src/domain/repositories/avatar_repository.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait AvatarRepository {
[INFO] [stdout]   |           ---------------- method in this trait
[INFO] [stdout] 6 |     async fn create(&self, account_id: i32, avatar_300x300_url: String, avatar_40x40_url: String) -> Res...
[INFO] [stdout] 7 |     async fn find_by_account_id(&self, account_id: i32) -> Result<Vec<Avatar>, Box<dyn std::error::Error>>;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `broadcast_to_all` is never used
[INFO] [stdout]   --> src/infrastructure/websocket/realtime_message_manager.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl RealtimeMessageManager {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub async fn broadcast_to_all(&self, message: WebSocketMessage) -> Result<(), String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s
[INFO] running `Command { std: "docker" "inspect" "5c0fad195ea7a27a1c9dd9119fb4dc74fcd54abce7d424398b2ae3ef7a5235df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c0fad195ea7a27a1c9dd9119fb4dc74fcd54abce7d424398b2ae3ef7a5235df", kill_on_drop: false }`
[INFO] [stdout] 5c0fad195ea7a27a1c9dd9119fb4dc74fcd54abce7d424398b2ae3ef7a5235df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0691c0b1e59912e42e19f78859a802fe91285eae2c3411edf173443ba94d1c47
[INFO] running `Command { std: "docker" "start" "-a" "0691c0b1e59912e42e19f78859a802fe91285eae2c3411edf173443ba94d1c47", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[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: `ImageOutputFormat`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{ImageOutputFormat};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future::LocalBoxFuture`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::future::LocalBoxFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/avatar_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     async fn find_by_user_id(&self, user_id: i32) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |     async fn update(&self, user_id: i32, dto: UpdateAccountDto) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/account_handlers.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     handlers: web::Data<AccountHandlers<T>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/avatar_handlers.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     handlers: web::Data<AvatarHandlers<T, U>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-clean-arch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[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: `ImageOutputFormat`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{ImageOutputFormat};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::DatabaseMessage as Message`
[INFO] [stdout]   --> src/domain/entities/message.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub use self::DatabaseMessage as Message;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future::LocalBoxFuture`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::future::LocalBoxFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/avatar_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{Path, PathBuf};
[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: `ImageOutputFormat`
[INFO] [stdout]  --> src/application/use_cases/avatar_use_cases.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{ImageOutputFormat};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future::LocalBoxFuture`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures::future::LocalBoxFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/presentation/handlers/user_handlers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/avatar_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     async fn find_by_user_id(&self, user_id: i32) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |     async fn update(&self, user_id: i32, dto: UpdateAccountDto) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/account_handlers.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     handlers: web::Data<AccountHandlers<T>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/avatar_handlers.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     handlers: web::Data<AvatarHandlers<T, U>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:114:37
[INFO] [stdout]     |
[INFO] [stdout] 114 |     async fn find_by_user_id(&self, user_id: i32) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/infrastructure/repositories/account_repository.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |     async fn update(&self, user_id: i32, dto: UpdateAccountDto) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account_repository`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let account_repository = AccountRepositoryImpl::new(pool.clone());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_repository`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mark_as_read` is never used
[INFO] [stdout]  --> src/domain/repositories/message_repository.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait MessageRepository {
[INFO] [stdout]   |           ----------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 8 |     async fn mark_as_read(&self, message_id: i32) -> Result<(), String>;
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_by_account_id` is never used
[INFO] [stdout]  --> src/domain/repositories/avatar_repository.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait AvatarRepository {
[INFO] [stdout]   |           ---------------- method in this trait
[INFO] [stdout] 6 |     async fn create(&self, account_id: i32, avatar_300x300_url: String, avatar_40x40_url: String) -> Res...
[INFO] [stdout] 7 |     async fn find_by_account_id(&self, account_id: i32) -> Result<Vec<Avatar>, Box<dyn std::error::Error>>;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `broadcast_to_all` is never used
[INFO] [stdout]   --> src/infrastructure/websocket/realtime_message_manager.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl RealtimeMessageManager {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub async fn broadcast_to_all(&self, message: WebSocketMessage) -> Result<(), String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/account_handlers.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     handlers: web::Data<AccountHandlers<T>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handlers`
[INFO] [stdout]   --> src/presentation/handlers/avatar_handlers.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     handlers: web::Data<AvatarHandlers<T, U>>,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.04s
[INFO] running `Command { std: "docker" "inspect" "0691c0b1e59912e42e19f78859a802fe91285eae2c3411edf173443ba94d1c47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0691c0b1e59912e42e19f78859a802fe91285eae2c3411edf173443ba94d1c47", kill_on_drop: false }`
[INFO] [stdout] 0691c0b1e59912e42e19f78859a802fe91285eae2c3411edf173443ba94d1c47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f0da2a02f804ce8d76e5395aa1dccdaf310b949e254787a6db430113ae7561a1
[INFO] running `Command { std: "docker" "start" "-a" "f0da2a02f804ce8d76e5395aa1dccdaf310b949e254787a6db430113ae7561a1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/application/use_cases/avatar_use_cases.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ImageOutputFormat`
[INFO] [stderr]  --> src/application/use_cases/avatar_use_cases.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use image::{ImageOutputFormat};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::future::LocalBoxFuture`
[INFO] [stderr]  --> src/presentation/handlers/user_handlers.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use futures::future::LocalBoxFuture;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> src/presentation/handlers/user_handlers.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/presentation/handlers/avatar_handlers.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user_id`
[INFO] [stderr]    --> src/infrastructure/repositories/account_repository.rs:114:37
[INFO] [stderr]     |
[INFO] [stderr] 114 |     async fn find_by_user_id(&self, user_id: i32) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stderr]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user_id`
[INFO] [stderr]    --> src/infrastructure/repositories/account_repository.rs:131:28
[INFO] [stderr]     |
[INFO] [stderr] 131 |     async fn update(&self, user_id: i32, dto: UpdateAccountDto) -> Result<Account, Box<dyn std::error::Error>> {
[INFO] [stderr]     |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `handlers`
[INFO] [stderr]   --> src/presentation/handlers/account_handlers.rs:58:5
[INFO] [stderr]    |
[INFO] [stderr] 58 |     handlers: web::Data<AccountHandlers<T>>,
[INFO] [stderr]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `handlers`
[INFO] [stderr]   --> src/presentation/handlers/avatar_handlers.rs:98:5
[INFO] [stderr]    |
[INFO] [stderr] 98 |     handlers: web::Data<AvatarHandlers<T, U>>,
[INFO] [stderr]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handlers`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-clean-arch` (lib) generated 9 warnings (run `cargo fix --lib -p rust-clean-arch` to apply 9 suggestions)
[INFO] [stderr] warning: `rust-clean-arch` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr] warning: unused import: `self::DatabaseMessage as Message`
[INFO] [stderr]   --> src/domain/entities/message.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub use self::DatabaseMessage as Message;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `account_repository`
[INFO] [stderr]   --> src/main.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |     let account_repository = AccountRepositoryImpl::new(pool.clone());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_repository`
[INFO] [stderr] 
[INFO] [stderr] warning: method `mark_as_read` is never used
[INFO] [stderr]  --> src/domain/repositories/message_repository.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub trait MessageRepository {
[INFO] [stderr]   |           ----------------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 8 |     async fn mark_as_read(&self, message_id: i32) -> Result<(), String>;
[INFO] [stderr]   |              ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `find_by_account_id` is never used
[INFO] [stderr]  --> src/domain/repositories/avatar_repository.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub trait AvatarRepository {
[INFO] [stderr]   |           ---------------- method in this trait
[INFO] [stderr] 6 |     async fn create(&self, account_id: i32, avatar_300x300_url: String, avatar_40x40_url: String) -> Res...
[INFO] [stderr] 7 |     async fn find_by_account_id(&self, account_id: i32) -> Result<Vec<Avatar>, Box<dyn std::error::Error>>;
[INFO] [stderr]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `broadcast_to_all` is never used
[INFO] [stderr]   --> src/infrastructure/websocket/realtime_message_manager.rs:30:18
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl RealtimeMessageManager {
[INFO] [stderr]    | --------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub async fn broadcast_to_all(&self, message: WebSocketMessage) -> Result<(), String> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-clean-arch` (bin "rust-clean-arch" test) generated 14 warnings (9 duplicates) (run `cargo fix --bin "rust-clean-arch" -p rust-clean-arch --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_clean_arch-6b1d371ceac54df7)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_nonexistent_account ... FAILED
[INFO] [stdout] test tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_invalid_mime_type ... FAILED
[INFO] [stdout] test tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_unauthorized ... FAILED
[INFO] [stdout] test tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_success ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_nonexistent_account stdout ----
[INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(127.0.0.1)), port: Some(8080), path: "/api/v1/avatars/999999", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_invalid_mime_type stdout ----
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_unauthorized stdout ----
[INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(127.0.0.1)), port: Some(8080), path: "/api/v1/avatars/1", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_success stdout ----
[INFO] [stdout] Error: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(127.0.0.1)), port: Some(8080), path: "/api/v1/account/1", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_invalid_mime_type
[INFO] [stdout]     tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_nonexistent_account
[INFO] [stdout]     tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_success
[INFO] [stdout]     tests::upload_avatar_test::upload_avatar_test::test_avatar_upload_unauthorized
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "f0da2a02f804ce8d76e5395aa1dccdaf310b949e254787a6db430113ae7561a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0da2a02f804ce8d76e5395aa1dccdaf310b949e254787a6db430113ae7561a1", kill_on_drop: false }`
[INFO] [stdout] f0da2a02f804ce8d76e5395aa1dccdaf310b949e254787a6db430113ae7561a1
