[INFO] cloning repository https://github.com/AryAntara/rust-ddd-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AryAntara/rust-ddd-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryAntara%2Frust-ddd-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryAntara%2Frust-ddd-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bac304fc56a850c2ff03d2b6b0bd081a61eff5a0 [INFO] checking AryAntara/rust-ddd-template against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryAntara%2Frust-ddd-template" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AryAntara/rust-ddd-template [INFO] finished tweaking git repo https://github.com/AryAntara/rust-ddd-template [INFO] tweaked toml for git repo https://github.com/AryAntara/rust-ddd-template written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AryAntara/rust-ddd-template on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AryAntara/rust-ddd-template 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded rocket_dyn_templates v0.2.0 [INFO] [stderr] Downloaded normpath v1.3.0 [INFO] [stderr] Downloaded rocket_cors v0.6.0 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded url v2.5.6 [INFO] [stderr] Downloaded schemars_derive v0.9.0 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded rocket_db_pools v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16c209c74da3caa28ed869d9b7b1fe0b5fa1433bba6562eefa66ff9328ca02f9 [INFO] running `Command { std: "docker" "start" "-a" "16c209c74da3caa28ed869d9b7b1fe0b5fa1433bba6562eefa66ff9328ca02f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16c209c74da3caa28ed869d9b7b1fe0b5fa1433bba6562eefa66ff9328ca02f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c209c74da3caa28ed869d9b7b1fe0b5fa1433bba6562eefa66ff9328ca02f9", kill_on_drop: false }` [INFO] [stdout] 16c209c74da3caa28ed869d9b7b1fe0b5fa1433bba6562eefa66ff9328ca02f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d30ce0992fbb598b2ed92b90981d12a8c71e19ebfa628afc1ca70d62004b1c09 [INFO] running `Command { std: "docker" "start" "-a" "d30ce0992fbb598b2ed92b90981d12a8c71e19ebfa628afc1ca70d62004b1c09", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking url v2.5.6 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking uncased v0.9.10 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking ref-cast v1.0.24 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking sqlformat v0.2.6 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking figment v0.10.19 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking rocket v0.5.1 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling schemars_derive v0.9.0 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Checking normpath v1.3.0 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking schemars v0.9.0 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking rocket_dyn_templates v0.2.0 [INFO] [stderr] Checking rocket_cors v0.6.0 [INFO] [stderr] Checking rocket_db_pools v0.2.0 [INFO] [stderr] Checking rust_rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `user_controller` [INFO] [stdout] --> src/main.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::rocket::RocketServer, modules::user::{user_controller, user_route}}; [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: `fs::FileServer` [INFO] [stdout] --> src/config/rocket.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{Build, Rocket, Route, fs::FileServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/config/rocket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket_dyn_templates::Template; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responds` and `ok` [INFO] [stdout] --> src/modules/user/user_route.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | utils::response::{Responds, ok}, [INFO] [stdout] | ^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Errors`, `Responds`, `UserResponse`, `error`, and `ok` [INFO] [stdout] --> src/modules/user/user_use_case.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | user_model::{RegisterUserRequest, UserData, UserResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | utils::response::{error, ok, Errors, Responds}, [INFO] [stdout] | ^^^^^ ^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_controller` [INFO] [stdout] --> src/main.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config::rocket::RocketServer, modules::user::{user_controller, user_route}}; [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: `fs::FileServer` [INFO] [stdout] --> src/config/rocket.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::{Build, Rocket, Route, fs::FileServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_dyn_templates::Template` [INFO] [stdout] --> src/config/rocket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket_dyn_templates::Template; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responds` and `ok` [INFO] [stdout] --> src/modules/user/user_route.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | utils::response::{Responds, ok}, [INFO] [stdout] | ^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Errors`, `Responds`, `UserResponse`, `error`, and `ok` [INFO] [stdout] --> src/modules/user/user_use_case.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | user_model::{RegisterUserRequest, UserData, UserResponse}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | utils::response::{error, ok, Errors, Responds}, [INFO] [stdout] | ^^^^^ ^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/modules/user/user_model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RegisterUserRequest { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub age: i16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterUserRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_one_by_id` is never used [INFO] [stdout] --> src/modules/user/user_repository.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'r> UserRepository<'r> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn find_one_by_id(self, id: i16) -> User { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_all_as` and `get_all_users` are never used [INFO] [stdout] --> src/modules/user/user_use_case.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'r> UserUseCase<'r> { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn get_all_as(a: T) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn get_all_users() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/utils/response.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Errors { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 35 | Server, [INFO] [stdout] 36 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modules/user/user_provider.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(pool:&mut MySqlConnection) -> UserUseCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(pool:&mut MySqlConnection) -> UserUseCase<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/modules/user/user_model.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RegisterUserRequest { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub age: i16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterUserRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_one_by_id` is never used [INFO] [stdout] --> src/modules/user/user_repository.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'r> UserRepository<'r> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn find_one_by_id(self, id: i16) -> User { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_all_as` and `get_all_users` are never used [INFO] [stdout] --> src/modules/user/user_use_case.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'r> UserUseCase<'r> { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn get_all_as(a: T) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn get_all_users() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/utils/response.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Errors { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 35 | Server, [INFO] [stdout] 36 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modules/user/user_provider.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(pool:&mut MySqlConnection) -> UserUseCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(pool:&mut MySqlConnection) -> UserUseCase<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "d30ce0992fbb598b2ed92b90981d12a8c71e19ebfa628afc1ca70d62004b1c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d30ce0992fbb598b2ed92b90981d12a8c71e19ebfa628afc1ca70d62004b1c09", kill_on_drop: false }` [INFO] [stdout] d30ce0992fbb598b2ed92b90981d12a8c71e19ebfa628afc1ca70d62004b1c09