[INFO] cloning repository https://github.com/devsosin/test_automation_rust_axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devsosin/test_automation_rust_axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsosin%2Ftest_automation_rust_axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsosin%2Ftest_automation_rust_axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 385b6c19ccf9a8da85561e7a5d5453b329ecc807 [INFO] checking devsosin/test_automation_rust_axum against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsosin%2Ftest_automation_rust_axum" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/devsosin/test_automation_rust_axum [INFO] finished tweaking git repo https://github.com/devsosin/test_automation_rust_axum [INFO] tweaked toml for git repo https://github.com/devsosin/test_automation_rust_axum written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devsosin/test_automation_rust_axum on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/devsosin/test_automation_rust_axum 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall v0.13.0 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded tower-http v0.6.0 [INFO] [stderr] Downloaded predicates v3.1.2 [INFO] [stderr] Downloaded mockall_derive v0.13.0 [INFO] [stderr] Downloaded tower v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5dd0ecb729b6b78705d1f7ce72c4530d88c69fb352964a6d3008e6a92021a20 [INFO] running `Command { std: "docker" "start" "-a" "e5dd0ecb729b6b78705d1f7ce72c4530d88c69fb352964a6d3008e6a92021a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5dd0ecb729b6b78705d1f7ce72c4530d88c69fb352964a6d3008e6a92021a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5dd0ecb729b6b78705d1f7ce72c4530d88c69fb352964a6d3008e6a92021a20", kill_on_drop: false }` [INFO] [stdout] e5dd0ecb729b6b78705d1f7ce72c4530d88c69fb352964a6d3008e6a92021a20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d064d405e4a563f25087527773215abdb0dd45f535cec181db41c24314d3e13b [INFO] running `Command { std: "docker" "start" "-a" "d064d405e4a563f25087527773215abdb0dd45f535cec181db41c24314d3e13b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rxml_validation v0.9.1 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking rxml v0.9.1 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling mockall_derive v0.13.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking minidom v0.15.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking tower-http v0.6.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking aws-region v0.25.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking mockall v0.13.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking attohttpc v0.28.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Checking aws-creds v0.37.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.5.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rust-s3 v0.35.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking sqlx v0.8.2 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `hash_password_fixed` and `save_user` [INFO] [stdout] --> src/domain/auth/usecase/login.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | save::{save_user, SaveUserRepo}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | utils::password_hash::{hash_password, hash_password_fixed, verify_password}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_password_fixed` [INFO] [stdout] --> src/domain/auth/usecase/signup.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | utils::password_hash::{hash_password, hash_password_fixed}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_password_fixed` [INFO] [stdout] --> src/domain/user/usecase/update.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | utils::password_hash::{hash_password, hash_password_fixed}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash_password` and `save_user` [INFO] [stdout] --> src/domain/auth/usecase/login.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | save::{save_user, SaveUserRepo}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | utils::password_hash::{hash_password, hash_password_fixed, verify_password}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_password` [INFO] [stdout] --> src/domain/auth/usecase/signup.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | utils::password_hash::{hash_password, hash_password_fixed}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/domain/category/handler/update_sub.rs:44:79 [INFO] [stdout] | [INFO] [stdout] 44 | async_trait, body::Body, extract::Request, routing::patch, Extension, Json, Router, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_password` [INFO] [stdout] --> src/domain/user/usecase/update.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | utils::password_hash::{hash_password, hash_password_fixed}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `connect::handler::read::Params` is more private than the item `read_connect` [INFO] [stdout] --> src/domain/connect/handler/read.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub async fn read_connect( [INFO] [stdout] 16 | | Extension(usecase): Extension>, [INFO] [stdout] 17 | | params: Query, [INFO] [stdout] 18 | | ) -> impl IntoResponse [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: ReadConnectUsecase, [INFO] [stdout] | |__________________________^ function `read_connect` is reachable at visibility `pub(in crate::domain::connect)` [INFO] [stdout] | [INFO] [stdout] note: but type `connect::handler::read::Params` is only usable at visibility `pub(in crate::domain::connect::handler)` [INFO] [stdout] --> src/domain/connect/handler/read.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct Params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UpdateUser` is more private than the item `EditUser::to_update` [INFO] [stdout] --> src/domain/user/dto/request.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn to_update(self) -> UpdateUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `EditUser::to_update` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `UpdateUser` is only usable at visibility `pub(in crate::domain::user)` [INFO] [stdout] --> src/domain/user/entity.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub(super) struct UpdateUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/book/dto/request.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl NewBook { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(name: String, type_id: i16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_name` are never used [INFO] [stdout] --> src/domain/book/dto/request.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl EditBook { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 36 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/book/entity.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Book { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn id(mut self, id: i32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `test_new`, `get_id`, and `get_name` are never used [INFO] [stdout] --> src/domain/book/entity.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl BookType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 44 | pub fn new(id: i16, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn test_new() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_id(&self) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BookRole` is never constructed [INFO] [stdout] --> src/domain/book/entity.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct BookRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/book/entity.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl BookRole { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 97 | pub fn new(user_id: i32, book_id: i32, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_book_type_by_name` is never used [INFO] [stdout] --> src/domain/book/repository/get_book_type.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GetBookTypeRepo: Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 14 | async fn get_book_types(&self) -> Result, Arc>; [INFO] [stdout] 15 | async fn get_book_type_by_name(&self, name: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_book_type_by_name` is never used [INFO] [stdout] --> src/domain/book/repository/get_book_type.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn get_book_type_by_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_duplicated` is never used [INFO] [stdout] --> src/domain/book/repository/save.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl InsertResult { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_duplicated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/category/entity.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl BaseCategory { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn id(mut self, id: i16) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_id(&self) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `get_id` are never used [INFO] [stdout] --> src/domain/category/entity.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl SubCategory { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn id(mut self, id: i32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/category/dto/request.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl NewBaseCategory { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/category/dto/request.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl NewSubCategory { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(base_id: i16, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/category/dto/request.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl EditBaseCategory { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(name: Option, color: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/connect/dto/request.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NewConnect { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `id`, `get_id`, and `get_name` are never used [INFO] [stdout] --> src/domain/connect/entity.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Connect { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn id(mut self, id: i32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/image/dto/request.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NewImages { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(file_names: Vec) -> Self { [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: i32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/record/dto/request.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl NewRecord { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encode_param` are never used [INFO] [stdout] --> src/domain/record/dto/request.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl SearchParams { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 68 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn encode_param(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/record/dto/request.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl EditRecord { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 124 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `updated_at`, `get_id`, `get_created_at`, and `get_updated_at` are never used [INFO] [stdout] --> src/domain/record/entity.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Record { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn id(mut self, id: Option) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn updated_at(mut self, updated_at: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_created_at(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_updated_at(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_count` is never read [INFO] [stdout] --> src/domain/record/repository/update.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct UpdateRecordResult { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | update_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateRecordResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/user/dto/request.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl NewUser { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 61 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/user/dto/request.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl EditPassword { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 124 | pub fn new(new: String, original: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/user/dto/request.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl EditUser { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 142 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_email`, `get_nickname`, and `get_access_token` are never used [INFO] [stdout] --> src/domain/user/dto/request.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl LoginInfo { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 196 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn get_email(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_nickname(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn get_access_token(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `profile_id`, `get_id`, `get_profile_id`, `get_is_active`, and `get_updated_at` are never used [INFO] [stdout] --> src/domain/user/entity.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn profile_id(mut self, profile_id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_id(&self) -> &Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_profile_id(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_updated_at(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_password_fixed` is never used [INFO] [stdout] --> src/domain/user/utils/password_hash.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn hash_password_fixed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TooSimple` is never constructed [INFO] [stdout] --> src/domain/user/utils/validator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PasswordValidationError { [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | TooSimple, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain/book/usecase/read.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | .returning(move |i| Ok(ret_books.clone())); // 성공 시 books 반환 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/domain/connect/handler/read.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | .returning(|n| Err(Box::new(CustomError::NotFound("Connect".to_string())))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/domain/image/handler/read.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | .returning(move |i| Err(Box::new(CustomError::NotFound("Image".to_string())))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domain/image/handler/read.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut mock_usecase; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `connect::handler::read::Params` is more private than the item `read_connect` [INFO] [stdout] --> src/domain/connect/handler/read.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub async fn read_connect( [INFO] [stdout] 16 | | Extension(usecase): Extension>, [INFO] [stdout] 17 | | params: Query, [INFO] [stdout] 18 | | ) -> impl IntoResponse [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: ReadConnectUsecase, [INFO] [stdout] | |__________________________^ function `read_connect` is reachable at visibility `pub(in crate::domain::connect)` [INFO] [stdout] | [INFO] [stdout] note: but type `connect::handler::read::Params` is only usable at visibility `pub(in crate::domain::connect::handler)` [INFO] [stdout] --> src/domain/connect/handler/read.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct Params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `user::entity::UpdateUser` is more private than the item `user::dto::request::EditUser::to_update` [INFO] [stdout] --> src/domain/user/dto/request.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn to_update(self) -> UpdateUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `user::dto::request::EditUser::to_update` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `user::entity::UpdateUser` is only usable at visibility `pub(in crate::domain::user)` [INFO] [stdout] --> src/domain/user/entity.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub(super) struct UpdateUser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/domain/book/dto/request.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl EditBook { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `test_new` and `get_name` are never used [INFO] [stdout] --> src/domain/book/entity.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl BookType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn test_new() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BookRole` is never constructed [INFO] [stdout] --> src/domain/book/entity.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct BookRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/book/entity.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl BookRole { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 97 | pub fn new(user_id: i32, book_id: i32, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_book_type_by_name` is never used [INFO] [stdout] --> src/domain/book/repository/get_book_type.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GetBookTypeRepo: Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 14 | async fn get_book_types(&self) -> Result, Arc>; [INFO] [stdout] 15 | async fn get_book_type_by_name(&self, name: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_duplicated` is never used [INFO] [stdout] --> src/domain/book/repository/save.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl InsertResult { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_duplicated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_book_not_found` is never used [INFO] [stdout] --> src/domain/category/repository/get_base.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | async fn check_book_not_found() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_unauthorized` is never used [INFO] [stdout] --> src/domain/category/repository/get_base.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | async fn check_unauthorized() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/domain/connect/entity.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Connect { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `updated_at` and `get_created_at` are never used [INFO] [stdout] --> src/domain/record/entity.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Record { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn updated_at(mut self, updated_at: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_created_at(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_count` is never read [INFO] [stdout] --> src/domain/record/repository/update.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct UpdateRecordResult { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | update_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateRecordResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_access_token` is never used [INFO] [stdout] --> src/domain/user/dto/request.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl LoginInfo { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn get_access_token(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `profile_id` and `get_profile_id` are never used [INFO] [stdout] --> src/domain/user/entity.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl User { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn profile_id(mut self, profile_id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_profile_id(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_password` is never used [INFO] [stdout] --> src/domain/user/utils/password_hash.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn hash_password(password: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TooSimple` is never constructed [INFO] [stdout] --> src/domain/user/utils/validator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PasswordValidationError { [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | TooSimple, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_book__not_found` should have a snake case name [INFO] [stdout] --> src/domain/book/repository/update.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | async fn check_book__not_found() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_book_not_found` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "d064d405e4a563f25087527773215abdb0dd45f535cec181db41c24314d3e13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d064d405e4a563f25087527773215abdb0dd45f535cec181db41c24314d3e13b", kill_on_drop: false }` [INFO] [stdout] d064d405e4a563f25087527773215abdb0dd45f535cec181db41c24314d3e13b