[INFO] cloning repository https://github.com/devsosin/babhankki-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devsosin/babhankki-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsosin%2Fbabhankki-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsosin%2Fbabhankki-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbcc4ef5d06e0e30bb21627d218135987a31cf33 [INFO] building devsosin/babhankki-backend against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsosin%2Fbabhankki-backend" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/devsosin/babhankki-backend [INFO] finished tweaking git repo https://github.com/devsosin/babhankki-backend [INFO] tweaked toml for git repo https://github.com/devsosin/babhankki-backend written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devsosin/babhankki-backend on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/devsosin/babhankki-backend 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-region v0.25.5 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded attohttpc v0.28.5 [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded minidom v0.15.2 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded quick-xml v0.32.0 [INFO] [stderr] Downloaded axum-extra v0.10.0 [INFO] [stderr] Downloaded rxml v0.9.1 [INFO] [stderr] Downloaded rust-s3 v0.35.1 [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded aws-creds v0.37.0 [INFO] [stderr] Downloaded rxml_validation v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 818a3734e031c31007fe5cb090aa7847cab081019dee97330c02f72541e1ec31 [INFO] running `Command { std: "docker" "start" "-a" "818a3734e031c31007fe5cb090aa7847cab081019dee97330c02f72541e1ec31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "818a3734e031c31007fe5cb090aa7847cab081019dee97330c02f72541e1ec31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818a3734e031c31007fe5cb090aa7847cab081019dee97330c02f72541e1ec31", kill_on_drop: false }` [INFO] [stdout] 818a3734e031c31007fe5cb090aa7847cab081019dee97330c02f72541e1ec31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1abba5c678d3d1f07a8055afa46fb5e4d8d0a21abe4877d0e0a1b57d7bf294c2 [INFO] running `Command { std: "docker" "start" "-a" "1abba5c678d3d1f07a8055afa46fb5e4d8d0a21abe4877d0e0a1b57d7bf294c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rxml_validation v0.9.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rxml v0.9.1 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling minidom v0.15.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling aws-region v0.25.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling attohttpc v0.28.5 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling aws-creds v0.37.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling rust-s3 v0.35.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Compiling dining v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{Extension, Router, extract::FromRef, http::StatusCode}; [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: `hash_password_fixed` [INFO] [stdout] --> src/domain/auth/usecase/login.rs:9:51 [INFO] [stdout] | [INFO] [stdout] 9 | utils::password_hash::{hash_password, hash_password_fixed, verify_password}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate`, `NaiveTime`, and `Utc` [INFO] [stdout] --> src/domain/interest/usecase/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveTime, Utc}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_HEART` should have an upper camel case name [INFO] [stdout] --> src/domain/notification/constants/notification.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | NO_HEART, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NoHeart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::PushToken` [INFO] [stdout] --> src/domain/push/usecase/mod.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{dto::request::NewPushToken, entity::PushToken, repository::PushRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/domain/image/usecase/create.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | bucket: &Bucket, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_info` [INFO] [stdout] --> src/domain/profile/handler/read.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | Extension(auth_info): Extension, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `content_type` is never read [INFO] [stdout] --> src/domain/room/usecase/mod.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let mut content_type = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/domain/room/dto/selso/request.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for (k, v) in answer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentType` is never used [INFO] [stdout] --> src/domain/content/entity.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ContentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentType` is never used [INFO] [stdout] --> src/domain/content/dto/request.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum ContentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/image/entity.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn id(mut self, id: i64) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInterest` is never constructed [INFO] [stdout] --> src/domain/interest/entity.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserInterest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_user_id` are never used [INFO] [stdout] --> src/domain/interest/entity.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserInterest { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(user_id: i64, interest_id: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/interest/dto/category/request.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NewCategory { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/interest/dto/request.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NewInterest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_category_id` and `get_category_name` are never used [INFO] [stdout] --> src/domain/interest/repository/entity.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl InterestResult { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_category_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_category_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_status`, and `get_restaurant_id` are never used [INFO] [stdout] --> src/domain/matching/entity.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Matching { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_status(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_restaurant_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchingGroup` is never constructed [INFO] [stdout] --> src/domain/matching/entity.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct MatchingGroup { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_user_id`, and `get_matching_id` are never used [INFO] [stdout] --> src/domain/matching/entity.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl MatchingGroup { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 54 | pub fn new(user_id: i64, matching_id: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_matching_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupMemberResponse` is never constructed [INFO] [stdout] --> src/domain/matching/dto/group/response.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GroupMemberResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/matching/dto/group/response.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl GroupMemberResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(user_id: i64, number: i32, nickname: String, image_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupResult` is never constructed [INFO] [stdout] --> src/domain/matching/repository/entity.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct GroupResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_response` is never used [INFO] [stdout] --> src/domain/matching/repository/entity.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl GroupResult { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 181 | pub fn to_response(&self) -> GroupMemberResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_test_id` is never used [INFO] [stdout] --> src/domain/personal/entity.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl PersonalAnswer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_test_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_question` is never used [INFO] [stdout] --> src/domain/personal/dto/question/request.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NewPersonalQuestion { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_question(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/push/entity.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PushToken { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn id(mut self, id: i64) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_reported_id` is never used [INFO] [stdout] --> src/domain/report/dto/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl NewReport { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_reported_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/restaurant/dto/request.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl EditRestaurant { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 46 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rating` is never used [INFO] [stdout] --> src/domain/review/entity.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Review { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_rating(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_feedback` is never used [INFO] [stdout] --> src/domain/review/dto/request.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl NewReview { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_feedback(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Room` is never constructed [INFO] [stdout] --> src/domain/room/entity.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_numbers` is never used [INFO] [stdout] --> src/domain/room/entity.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Room { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 18 | pub fn get_numbers(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/repository/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn save_notification( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 23 ~ fn save_notification( [INFO] [stdout] 24 | &self, [INFO] [stdout] 25 | user_ids: Vec, [INFO] [stdout] 26 | notification: &Notification, [INFO] [stdout] 27 ~ ) -> impl std::future::Future, Arc>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/repository/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | async fn get_notifications( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 28 ~ fn get_notifications( [INFO] [stdout] 29 | &self, [INFO] [stdout] ... [INFO] [stdout] 32 | size: i32, [INFO] [stdout] 33 ~ ) -> impl std::future::Future, Arc>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/repository/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn update_notification( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 34 ~ fn update_notification( [INFO] [stdout] 35 | &self, [INFO] [stdout] 36 | user_id: i64, [INFO] [stdout] 37 | notification_id: i64, [INFO] [stdout] 38 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/usecase/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | async fn create_notifications( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 42 ~ fn create_notifications( [INFO] [stdout] 43 | &self, [INFO] [stdout] 44 | user_ids: Vec, [INFO] [stdout] 45 | new_notification: &NewNotification, [INFO] [stdout] 46 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/usecase/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | async fn read_notifications( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 47 ~ fn read_notifications( [INFO] [stdout] 48 | &self, [INFO] [stdout] ... [INFO] [stdout] 51 | size: i32, [INFO] [stdout] 52 ~ ) -> impl std::future::Future, Arc>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/usecase/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn update_notification( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 53 ~ fn update_notification( [INFO] [stdout] 54 | &self, [INFO] [stdout] 55 | user_id: i64, [INFO] [stdout] 56 | notification_id: i64, [INFO] [stdout] 57 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "1abba5c678d3d1f07a8055afa46fb5e4d8d0a21abe4877d0e0a1b57d7bf294c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abba5c678d3d1f07a8055afa46fb5e4d8d0a21abe4877d0e0a1b57d7bf294c2", kill_on_drop: false }` [INFO] [stdout] 1abba5c678d3d1f07a8055afa46fb5e4d8d0a21abe4877d0e0a1b57d7bf294c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 269371e0b85fe2649e0a9b6df131d24bfe1e63a640abd845ae3b50256e826aaf [INFO] running `Command { std: "docker" "start" "-a" "269371e0b85fe2649e0a9b6df131d24bfe1e63a640abd845ae3b50256e826aaf", kill_on_drop: false }` [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling dining v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{Extension, Router, extract::FromRef, http::StatusCode}; [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 imports: `NaiveDate`, `NaiveTime`, and `Utc` [INFO] [stdout] --> src/domain/interest/usecase/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveTime, Utc}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_HEART` should have an upper camel case name [INFO] [stdout] --> src/domain/notification/constants/notification.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | NO_HEART, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NoHeart` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::PushToken` [INFO] [stdout] --> src/domain/push/usecase/mod.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{dto::request::NewPushToken, entity::PushToken, repository::PushRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/domain/image/usecase/create.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | bucket: &Bucket, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_info` [INFO] [stdout] --> src/domain/profile/handler/read.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | Extension(auth_info): Extension, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `content_type` is never read [INFO] [stdout] --> src/domain/room/usecase/mod.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let mut content_type = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/domain/room/dto/selso/request.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | for (k, v) in answer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentType` is never used [INFO] [stdout] --> src/domain/content/entity.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ContentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ContentType` is never used [INFO] [stdout] --> src/domain/content/dto/request.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum ContentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/image/entity.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn id(mut self, id: i64) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInterest` is never constructed [INFO] [stdout] --> src/domain/interest/entity.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserInterest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_user_id` are never used [INFO] [stdout] --> src/domain/interest/entity.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UserInterest { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(user_id: i64, interest_id: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/interest/dto/category/request.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NewCategory { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/interest/dto/request.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NewInterest { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_category_id` and `get_category_name` are never used [INFO] [stdout] --> src/domain/interest/repository/entity.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl InterestResult { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_category_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_category_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_status`, and `get_restaurant_id` are never used [INFO] [stdout] --> src/domain/matching/entity.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Matching { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_status(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_restaurant_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchingGroup` is never constructed [INFO] [stdout] --> src/domain/matching/entity.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct MatchingGroup { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_user_id`, and `get_matching_id` are never used [INFO] [stdout] --> src/domain/matching/entity.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl MatchingGroup { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 54 | pub fn new(user_id: i64, matching_id: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_matching_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupMemberResponse` is never constructed [INFO] [stdout] --> src/domain/matching/dto/group/response.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GroupMemberResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/matching/dto/group/response.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl GroupMemberResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(user_id: i64, number: i32, nickname: String, image_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupResult` is never constructed [INFO] [stdout] --> src/domain/matching/repository/entity.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct GroupResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_response` is never used [INFO] [stdout] --> src/domain/matching/repository/entity.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl GroupResult { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 181 | pub fn to_response(&self) -> GroupMemberResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_test_id` is never used [INFO] [stdout] --> src/domain/personal/entity.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl PersonalAnswer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_test_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_question` is never used [INFO] [stdout] --> src/domain/personal/dto/question/request.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NewPersonalQuestion { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_question(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/push/entity.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PushToken { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn id(mut self, id: i64) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_reported_id` is never used [INFO] [stdout] --> src/domain/report/dto/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl NewReport { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_reported_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/restaurant/dto/request.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl EditRestaurant { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 46 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_rating` is never used [INFO] [stdout] --> src/domain/review/entity.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Review { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_rating(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_feedback` is never used [INFO] [stdout] --> src/domain/review/dto/request.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl NewReview { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_feedback(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Room` is never constructed [INFO] [stdout] --> src/domain/room/entity.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_numbers` is never used [INFO] [stdout] --> src/domain/room/entity.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Room { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 18 | pub fn get_numbers(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/repository/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn save_notification( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 23 ~ fn save_notification( [INFO] [stdout] 24 | &self, [INFO] [stdout] 25 | user_ids: Vec, [INFO] [stdout] 26 | notification: &Notification, [INFO] [stdout] 27 ~ ) -> impl std::future::Future, Arc>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/repository/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | async fn get_notifications( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 28 ~ fn get_notifications( [INFO] [stdout] 29 | &self, [INFO] [stdout] ... [INFO] [stdout] 32 | size: i32, [INFO] [stdout] 33 ~ ) -> impl std::future::Future, Arc>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/repository/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn update_notification( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 34 ~ fn update_notification( [INFO] [stdout] 35 | &self, [INFO] [stdout] 36 | user_id: i64, [INFO] [stdout] 37 | notification_id: i64, [INFO] [stdout] 38 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/usecase/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | async fn create_notifications( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 42 ~ fn create_notifications( [INFO] [stdout] 43 | &self, [INFO] [stdout] 44 | user_ids: Vec, [INFO] [stdout] 45 | new_notification: &NewNotification, [INFO] [stdout] 46 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/usecase/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | async fn read_notifications( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 47 ~ fn read_notifications( [INFO] [stdout] 48 | &self, [INFO] [stdout] ... [INFO] [stdout] 51 | size: i32, [INFO] [stdout] 52 ~ ) -> impl std::future::Future, Arc>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/domain/notification/usecase/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn update_notification( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 53 ~ fn update_notification( [INFO] [stdout] 54 | &self, [INFO] [stdout] 55 | user_id: i64, [INFO] [stdout] 56 | notification_id: i64, [INFO] [stdout] 57 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.79s [INFO] running `Command { std: "docker" "inspect" "269371e0b85fe2649e0a9b6df131d24bfe1e63a640abd845ae3b50256e826aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269371e0b85fe2649e0a9b6df131d24bfe1e63a640abd845ae3b50256e826aaf", kill_on_drop: false }` [INFO] [stdout] 269371e0b85fe2649e0a9b6df131d24bfe1e63a640abd845ae3b50256e826aaf