[INFO] cloning repository https://github.com/luli-tech/task_manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luli-tech/task_manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluli-tech%2Ftask_manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluli-tech%2Ftask_manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10ce9be1b635d09f50aeed0fea0234d66dead651 [INFO] checking luli-tech/task_manager against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluli-tech%2Ftask_manager" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luli-tech/task_manager [INFO] finished tweaking git repo https://github.com/luli-tech/task_manager [INFO] tweaked toml for git repo https://github.com/luli-tech/task_manager written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luli-tech/task_manager on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luli-tech/task_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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d12844d374cc3f7ada10dc984a24db4c2590220e2e0852ac6d6181e2709378bc [INFO] running `Command { std: "docker" "start" "-a" "d12844d374cc3f7ada10dc984a24db4c2590220e2e0852ac6d6181e2709378bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d12844d374cc3f7ada10dc984a24db4c2590220e2e0852ac6d6181e2709378bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12844d374cc3f7ada10dc984a24db4c2590220e2e0852ac6d6181e2709378bc", kill_on_drop: false }` [INFO] [stdout] d12844d374cc3f7ada10dc984a24db4c2590220e2e0852ac6d6181e2709378bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5330a3e3f12a2f07c658893e9c02f3bfa618f84911deb90be079fae2f93f6bb3 [INFO] running `Command { std: "docker" "start" "-a" "5330a3e3f12a2f07c658893e9c02f3bfa618f84911deb90be079fae2f93f6bb3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling rust-embed-utils v8.9.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling utoipa-swagger-ui v6.0.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking rust-embed v8.9.0 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking task-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `access_token` [INFO] [stdout] --> src/auth/auth_handlers.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let (user, access_token, refresh_token) = state.auth_service [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/auth/auth_handlers.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let (user, access_token, refresh_token) = state.auth_service [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_token` [INFO] [stdout] --> src/auth/auth_handlers.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let (user, access_token, refresh_token) = state.auth_service [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/auth/auth_handlers.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let (user, access_token, refresh_token) = state.auth_service [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `admin_authorization` is never used [INFO] [stdout] --> src/admin/admin_middleware.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn admin_authorization( [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 `create_jwt` is never used [INFO] [stdout] --> src/auth/jwt.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_jwt(user_id: Uuid, email: &str, secret: &str, expiration_hours: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create`, `delete_by_user`, and `delete_expired` are never used [INFO] [stdout] --> src/auth/auth_repository.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl RefreshTokenRepository { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn delete_by_user(&self, user_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn delete_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_by_email` and `find_by_id` are never used [INFO] [stdout] --> src/auth/auth_service.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 17 | impl AuthService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn find_by_email(&self, email: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn find_by_id(&self, id: uuid::Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_url` is never read [INFO] [stdout] --> src/message/message_dto.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SendMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub image_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendMessageRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_unread` and `find_by_id` are never used [INFO] [stdout] --> src/message/message_repository.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl MessageRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn count_unread(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn find_by_id(&self, message_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db` and `refresh_token_repository` are never read [INFO] [stdout] --> src/state.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub db: DbPool, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub refresh_token_repository: RefreshTokenRepository, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jwt_expiration_hours` is never read [INFO] [stdout] --> src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 42 | pub jwt_secret: String, [INFO] [stdout] 43 | pub jwt_expiration_hours: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskMember` is never constructed [INFO] [stdout] --> src/task/task_models.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TaskMember { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskActivity` is never constructed [INFO] [stdout] --> src/task/task_models.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct TaskActivity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskWithMembers` is never constructed [INFO] [stdout] --> src/task/task_models.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct TaskWithMembers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskMemberResponse` is never constructed [INFO] [stdout] --> src/task/task_dto.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TaskMemberResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all`, `find_by_id`, and `is_task_member` are never used [INFO] [stdout] --> src/task/task_repository.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl TaskRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn find_all(&self, user_id: Uuid, filters: TaskFilters) -> Result<(Vec, i64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn find_by_id(&self, id: Uuid, user_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn is_task_member(&self, task_id: Uuid, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_task_with_members` is never used [INFO] [stdout] --> src/task/task_service.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl TaskService { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn get_task_with_members( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create` is never used [INFO] [stdout] --> src/user/user_repository.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserRepository { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub async fn create(&self, username: &str, email: &str, password_hash: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_to_users`, `get_online_users`, `is_user_online`, and `online_count` are never used [INFO] [stdout] --> src/websocket/connection.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn send_to_users(&self, user_ids: &[Uuid], message: WsMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_online_users(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_user_online(&self, user_id: &Uuid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn online_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `admin_authorization` is never used [INFO] [stdout] --> src/admin/admin_middleware.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn admin_authorization( [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 `create_jwt` is never used [INFO] [stdout] --> src/auth/jwt.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_jwt(user_id: Uuid, email: &str, secret: &str, expiration_hours: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create`, `delete_by_user`, and `delete_expired` are never used [INFO] [stdout] --> src/auth/auth_repository.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl RefreshTokenRepository { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn delete_by_user(&self, user_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn delete_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_by_email` and `find_by_id` are never used [INFO] [stdout] --> src/auth/auth_service.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 17 | impl AuthService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub async fn find_by_email(&self, email: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub async fn find_by_id(&self, id: uuid::Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_url` is never read [INFO] [stdout] --> src/message/message_dto.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SendMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub image_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendMessageRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_unread` and `find_by_id` are never used [INFO] [stdout] --> src/message/message_repository.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl MessageRepository { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn count_unread(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn find_by_id(&self, message_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db` and `refresh_token_repository` are never read [INFO] [stdout] --> src/state.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub db: DbPool, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub refresh_token_repository: RefreshTokenRepository, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jwt_expiration_hours` is never read [INFO] [stdout] --> src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 42 | pub jwt_secret: String, [INFO] [stdout] 43 | pub jwt_expiration_hours: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskMember` is never constructed [INFO] [stdout] --> src/task/task_models.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TaskMember { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskActivity` is never constructed [INFO] [stdout] --> src/task/task_models.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct TaskActivity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskWithMembers` is never constructed [INFO] [stdout] --> src/task/task_models.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct TaskWithMembers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskMemberResponse` is never constructed [INFO] [stdout] --> src/task/task_dto.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct TaskMemberResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all`, `find_by_id`, and `is_task_member` are never used [INFO] [stdout] --> src/task/task_repository.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl TaskRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn find_all(&self, user_id: Uuid, filters: TaskFilters) -> Result<(Vec, i64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn find_by_id(&self, id: Uuid, user_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn is_task_member(&self, task_id: Uuid, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_task_with_members` is never used [INFO] [stdout] --> src/task/task_service.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl TaskService { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn get_task_with_members( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create` is never used [INFO] [stdout] --> src/user/user_repository.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserRepository { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub async fn create(&self, username: &str, email: &str, password_hash: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_to_users`, `get_online_users`, `is_user_online`, and `online_count` are never used [INFO] [stdout] --> src/websocket/connection.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn send_to_users(&self, user_ids: &[Uuid], message: WsMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_online_users(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_user_online(&self, user_id: &Uuid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn online_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "5330a3e3f12a2f07c658893e9c02f3bfa618f84911deb90be079fae2f93f6bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5330a3e3f12a2f07c658893e9c02f3bfa618f84911deb90be079fae2f93f6bb3", kill_on_drop: false }` [INFO] [stdout] 5330a3e3f12a2f07c658893e9c02f3bfa618f84911deb90be079fae2f93f6bb3