[INFO] cloning repository https://github.com/aurelien-boch/test-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aurelien-boch/test-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faurelien-boch%2Ftest-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faurelien-boch%2Ftest-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5cecbacf8c1daf7a17c0cb29275e5778a1572941
[INFO] checking aurelien-boch/test-rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faurelien-boch%2Ftest-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aurelien-boch/test-rust
[INFO] finished tweaking git repo https://github.com/aurelien-boch/test-rust
[INFO] tweaked toml for git repo https://github.com/aurelien-boch/test-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aurelien-boch/test-rust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aurelien-boch/test-rust 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postgres-types v0.2.5
[INFO] [stderr]   Downloaded proc-macro2 v1.0.59
[INFO] [stderr]   Downloaded bcrypt v0.14.0
[INFO] [stderr]   Downloaded postgres-protocol v0.6.5
[INFO] [stderr]   Downloaded postgres v0.19.5
[INFO] [stderr]   Downloaded pin-project-internal v1.1.0
[INFO] [stderr]   Downloaded log v0.4.18
[INFO] [stderr]   Downloaded uuid v1.3.3
[INFO] [stderr]   Downloaded pin-project v1.1.0
[INFO] [stderr]   Downloaded js-sys v0.3.63
[INFO] [stderr]   Downloaded tokio-postgres v0.7.8
[INFO] [stderr]   Downloaded tokio v1.28.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 901bef45e9666200010d6355f89d783d4285ac92f094beff6bd6f4d0da362601
[INFO] running `Command { std: "docker" "start" "-a" "901bef45e9666200010d6355f89d783d4285ac92f094beff6bd6f4d0da362601", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "901bef45e9666200010d6355f89d783d4285ac92f094beff6bd6f4d0da362601", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "901bef45e9666200010d6355f89d783d4285ac92f094beff6bd6f4d0da362601", kill_on_drop: false }`
[INFO] [stdout] 901bef45e9666200010d6355f89d783d4285ac92f094beff6bd6f4d0da362601
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a666e94d9466f8efe8aea380eceef43219cb77682b894fccc16c8520b4f6ac2
[INFO] running `Command { std: "docker" "start" "-a" "2a666e94d9466f8efe8aea380eceef43219cb77682b894fccc16c8520b4f6ac2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling serde v1.0.163
[INFO] [stderr]     Checking base64 v0.21.2
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]     Checking phf v0.11.1
[INFO] [stderr]     Checking zeroize v1.6.0
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking md-5 v0.10.5
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking parking_lot_core v0.9.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bcrypt v0.14.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking postgres-protocol v0.6.5
[INFO] [stderr]     Checking uuid v1.3.3
[INFO] [stderr]     Checking postgres-types v0.2.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.11
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling pin-project-internal v1.1.0
[INFO] [stderr]     Checking pin-project v1.1.0
[INFO] [stderr]     Checking axum-core v0.3.4
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking hyper v0.14.26
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-postgres v0.7.8
[INFO] [stderr]     Checking axum v0.6.18
[INFO] [stderr]     Checking postgres v0.19.5
[INFO] [stderr]     Checking archi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]  --> src/api/axum/account/create.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn handler() -> (StatusCode) {
[INFO] [stdout]   |                           ^          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub async fn handler() -> (StatusCode) {
[INFO] [stdout] 3 + pub async fn handler() -> StatusCode  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]  --> src/api/axum/account/create.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     (StatusCode::CREATED)
[INFO] [stdout]   |     ^                   ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 7 -     (StatusCode::CREATED)
[INFO] [stdout] 7 +     StatusCode::CREATED 
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]  --> src/api/axum/account/create.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn handler() -> (StatusCode) {
[INFO] [stdout]   |                           ^          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub async fn handler() -> (StatusCode) {
[INFO] [stdout] 3 + pub async fn handler() -> StatusCode  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]  --> src/api/axum/account/create.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     (StatusCode::CREATED)
[INFO] [stdout]   |     ^                   ^
[INFO] [stdout]   |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 7 -     (StatusCode::CREATED)
[INFO] [stdout] 7 +     StatusCode::CREATED 
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let ctx = configuration::new();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save` is never used
[INFO] [stdout]  --> src/app/_shared/domain/aggregate_repository.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait AggregateRepository<AggregateDto> {
[INFO] [stdout]   |           ------------------- method in this trait
[INFO] [stdout] 4 |     fn save(&mut self, aggregate: AggregateDto) -> Result<(), DomainError>;
[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 `ErrorType` is never used
[INFO] [stdout]  --> src/app/_shared/domain/domain_error.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ErrorType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DomainError` is never constructed
[INFO] [stdout]   --> src/app/_shared/domain/domain_error.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/app/_shared/domain/domain_error.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl DomainError {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn message(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn error_type(&self) -> &ErrorType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn invalid_argument(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn not_found(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn already_exists(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn unknown(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn service_unavailable(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_factory` is never read
[INFO] [stdout]  --> src/app/_shared/application/use_case_context.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Factories {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     pub account_factory: account::domain::AccountFactory,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_repository` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Repositories {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 10 |     pub account_repository: Box<dyn account::domain::AccountRepository>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `password_hashing_service` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DomainServices {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 14 |     pub password_hashing_service: Arc<dyn _services::domain::password_hashing::PasswordHashingService>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `domain` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Services {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 18 |     pub domain: DomainServices,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_assembler` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Assemblers {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     pub account_assembler: account::application::AccountAssembler,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `factories`, `repositories`, `services`, and `assemblers` are never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct UseCaseContext {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 26 |     pub factories: Factories,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 27 |     pub repositories: Repositories,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub services: Services,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 29 |     pub assemblers: Assemblers,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]  --> src/app/account/domain/account.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Account {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/app/account/domain/account.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Account {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn update_name(&self, name: String) -> Result<Account, DomainError> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn update_email(&self, email: String) -> Result<Account, DomainError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn update_password(&self, password: HashedPassword) -> Result<Account, DomainError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn compare_password(&self, password: &str, hashing_service: &dyn PasswordHashingService) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn id(&self) -> &AccountId {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn name(&self) -> &String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn email(&self) -> &String {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn password(&self) -> &HashedPassword {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn created_at(&self) -> &UtcInstant {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn updated_at(&self) -> &UtcInstant {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `guard_update_before_create` is never used
[INFO] [stdout]    --> src/app/account/domain/account.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn guard_update_before_create(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountId` is never constructed
[INFO] [stdout]  --> src/app/account/domain/account_id.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct AccountId {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from`, `new`, and `value` are never used
[INFO] [stdout]   --> src/app/account/domain/account_id.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl AccountId {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from(id: Id) -> AccountId {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new(value: String) -> AccountId {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn value(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `password_hashing_service`, `id_generation_service`, and `date_manipulation_service` are never read
[INFO] [stdout]   --> src/app/account/domain/factory.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct AccountFactory {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 10 |     password_hashing_service: Arc<dyn PasswordHashingService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     id_generation_service: Arc<dyn IdGenerationService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     date_manipulation_service: Arc<dyn DateManipulationService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `submit_account` is never used
[INFO] [stdout]   --> src/app/account/domain/factory.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl AccountFactory {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn submit_account(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_by_id` and `is_email_already_used` are never used
[INFO] [stdout]  --> src/app/account/domain/repository.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait AccountRepository : AggregateRepository<AccountDto> {
[INFO] [stdout]   |           ----------------- methods in this trait
[INFO] [stdout] 6 |     fn find_by_id(&mut self, id: AccountIdDto) -> Result<Option<AccountDto>, DomainError>;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 7 |
[INFO] [stdout] 8 |     fn is_email_already_used(&mut self, email: &str) -> Result<bool, DomainError>;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/create.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/create.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/update_email.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/update_email.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/update_password.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/update_password.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/update_name.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/update_name.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `password_hashing_assembler`, `date_manipulation_assembler`, and `date_manipulation_service` are never read
[INFO] [stdout]   --> src/app/account/application/assembler.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AccountAssembler {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout]  9 |     password_hashing_assembler: Arc<PasswordHashingAssembler>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     date_manipulation_assembler: Arc<DateManipulationAssembler>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     date_manipulation_service: Arc<dyn DateManipulationService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dehydrate`, `hydrate`, `dehydrate_account_id`, and `hydrate_account_id` are never used
[INFO] [stdout]   --> src/app/account/application/assembler.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl AccountAssembler {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn dehydrate(&self, account: &Account) -> AccountDto {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn hydrate(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn dehydrate_account_id(&self, id: &AccountId) -> AccountIdDto {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn hydrate_account_id(&self, dto: &AccountIdDto) -> AccountId {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]   --> src/app/account/infrastructure/postgresql_account_repository.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PostgresqlAccountRepository {
[INFO] [stdout]    |            --------------------------- field in this struct
[INFO] [stdout] 11 |     client: Cell<postgres::Client>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_create_error` is never used
[INFO] [stdout]    --> src/app/account/infrastructure/postgresql_account_repository.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl PostgresqlAccountRepository {
[INFO] [stdout]     | -------------------------------- associated function in this implementation
[INFO] [stdout] 102 |     fn parse_create_error(err: &SqlState) -> DomainError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Id` is never constructed
[INFO] [stdout]  --> src/app/_services/domain/id_generation/domain/id.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Id {
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/app/_services/domain/id_generation/domain/id.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Id {
[INFO] [stdout]    | ------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new(value: String) -> Id {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn value(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate` is never used
[INFO] [stdout]  --> src/app/_services/domain/id_generation/domain/id_generation_service.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait IdGenerationService {
[INFO] [stdout]   |           ------------------- method in this trait
[INFO] [stdout] 4 |     fn generate(&self) -> Id;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hydrate` and `dehydrate` are never used
[INFO] [stdout]   --> src/app/_services/domain/password_hashing/application/assembler.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl PasswordHashingAssembler {
[INFO] [stdout]    | ----------------------------- methods in this implementation
[INFO] [stdout]  6 |     pub fn hydrate(&self, hashed_password: &HashedPasswordDto) -> HashedPassword {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn dehydrate(&self, hashed_password: &HashedPassword) -> HashedPasswordDto {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HashedPassword` is never constructed
[INFO] [stdout]  --> src/app/_services/domain/password_hashing/domain/hashed_password.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct HashedPassword {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `compare` are never used
[INFO] [stdout]   --> src/app/_services/domain/password_hashing/domain/hashed_password.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl HashedPassword {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(value: String) -> HashedPassword {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn compare(&self, password: &str, hashing_service: &dyn PasswordHashingService) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hash_password` and `verify_password` are never used
[INFO] [stdout]  --> src/app/_services/domain/password_hashing/domain/password_hashing_service.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait PasswordHashingService {
[INFO] [stdout]   |           ---------------------- methods in this trait
[INFO] [stdout] 5 |     fn hash_password(&self, password: &str) -> Result<HashedPassword, DomainError>;
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     fn verify_password(&self, password: &str, hashed_password: &HashedPassword) -> bool;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hydrate` and `dehydrate` are never used
[INFO] [stdout]   --> src/app/_services/domain/date_manipulation/application/assembler.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl DateManipulationAssembler {
[INFO] [stdout]    | ------------------------------ methods in this implementation
[INFO] [stdout]  7 |     pub fn hydrate(&self, utc_instant_dto: &UtcInstantDto) -> Result<UtcInstant, DomainError> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn dehydrate(&self, utc_instant: &UtcInstant) -> UtcInstantDto {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UtcInstant` is never constructed
[INFO] [stdout]  --> src/app/_services/domain/date_manipulation/domain/utc_instant.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct UtcInstant {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `now` and `is_after` are never used
[INFO] [stdout]  --> src/app/_services/domain/date_manipulation/domain/date_manipulation_service.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait DateManipulationService {
[INFO] [stdout]   |           ----------------------- methods in this trait
[INFO] [stdout] 4 |     fn now(&self) -> UtcInstant;
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 5 |     fn is_after(&self, first: &UtcInstant, second: &UtcInstant) -> bool;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let ctx = configuration::new();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save` is never used
[INFO] [stdout]  --> src/app/_shared/domain/aggregate_repository.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait AggregateRepository<AggregateDto> {
[INFO] [stdout]   |           ------------------- method in this trait
[INFO] [stdout] 4 |     fn save(&mut self, aggregate: AggregateDto) -> Result<(), DomainError>;
[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 `ErrorType` is never used
[INFO] [stdout]  --> src/app/_shared/domain/domain_error.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ErrorType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DomainError` is never constructed
[INFO] [stdout]   --> src/app/_shared/domain/domain_error.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/app/_shared/domain/domain_error.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl DomainError {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn message(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn error_type(&self) -> &ErrorType {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn invalid_argument(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn not_found(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn already_exists(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn unknown(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn service_unavailable(message: String) -> DomainError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_factory` is never read
[INFO] [stdout]  --> src/app/_shared/application/use_case_context.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Factories {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     pub account_factory: account::domain::AccountFactory,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_repository` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Repositories {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 10 |     pub account_repository: Box<dyn account::domain::AccountRepository>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `password_hashing_service` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DomainServices {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 14 |     pub password_hashing_service: Arc<dyn _services::domain::password_hashing::PasswordHashingService>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `domain` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Services {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 18 |     pub domain: DomainServices,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `account_assembler` is never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Assemblers {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     pub account_assembler: account::application::AccountAssembler,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `factories`, `repositories`, `services`, and `assemblers` are never read
[INFO] [stdout]   --> src/app/_shared/application/use_case_context.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct UseCaseContext {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 26 |     pub factories: Factories,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 27 |     pub repositories: Repositories,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 28 |     pub services: Services,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 29 |     pub assemblers: Assemblers,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]  --> src/app/account/domain/account.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Account {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/app/account/domain/account.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Account {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn update_name(&self, name: String) -> Result<Account, DomainError> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn update_email(&self, email: String) -> Result<Account, DomainError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn update_password(&self, password: HashedPassword) -> Result<Account, DomainError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn compare_password(&self, password: &str, hashing_service: &dyn PasswordHashingService) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn id(&self) -> &AccountId {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn name(&self) -> &String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn email(&self) -> &String {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn password(&self) -> &HashedPassword {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn created_at(&self) -> &UtcInstant {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn updated_at(&self) -> &UtcInstant {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `guard_update_before_create` is never used
[INFO] [stdout]    --> src/app/account/domain/account.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn guard_update_before_create(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountId` is never constructed
[INFO] [stdout]  --> src/app/account/domain/account_id.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct AccountId {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from`, `new`, and `value` are never used
[INFO] [stdout]   --> src/app/account/domain/account_id.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl AccountId {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from(id: Id) -> AccountId {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn new(value: String) -> AccountId {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn value(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `password_hashing_service`, `id_generation_service`, and `date_manipulation_service` are never read
[INFO] [stdout]   --> src/app/account/domain/factory.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct AccountFactory {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 10 |     password_hashing_service: Arc<dyn PasswordHashingService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     id_generation_service: Arc<dyn IdGenerationService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     date_manipulation_service: Arc<dyn DateManipulationService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `submit_account` is never used
[INFO] [stdout]   --> src/app/account/domain/factory.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl AccountFactory {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn submit_account(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find_by_id` and `is_email_already_used` are never used
[INFO] [stdout]  --> src/app/account/domain/repository.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait AccountRepository : AggregateRepository<AccountDto> {
[INFO] [stdout]   |           ----------------- methods in this trait
[INFO] [stdout] 6 |     fn find_by_id(&mut self, id: AccountIdDto) -> Result<Option<AccountDto>, DomainError>;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 7 |
[INFO] [stdout] 8 |     fn is_email_already_used(&mut self, email: &str) -> Result<bool, DomainError>;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/create.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/create.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/update_email.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/update_email.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/update_password.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/update_password.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Params` is never constructed
[INFO] [stdout]  --> src/app/account/application/use_cases/update_name.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Params {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]   --> src/app/account/application/use_cases/update_name.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handler(context: &mut UseCaseContext, params: Params) -> Result<(), DomainError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `password_hashing_assembler`, `date_manipulation_assembler`, and `date_manipulation_service` are never read
[INFO] [stdout]   --> src/app/account/application/assembler.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AccountAssembler {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout]  9 |     password_hashing_assembler: Arc<PasswordHashingAssembler>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     date_manipulation_assembler: Arc<DateManipulationAssembler>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     date_manipulation_service: Arc<dyn DateManipulationService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dehydrate`, `hydrate`, `dehydrate_account_id`, and `hydrate_account_id` are never used
[INFO] [stdout]   --> src/app/account/application/assembler.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl AccountAssembler {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn dehydrate(&self, account: &Account) -> AccountDto {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn hydrate(
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn dehydrate_account_id(&self, id: &AccountId) -> AccountIdDto {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn hydrate_account_id(&self, dto: &AccountIdDto) -> AccountId {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `client` is never read
[INFO] [stdout]   --> src/app/account/infrastructure/postgresql_account_repository.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PostgresqlAccountRepository {
[INFO] [stdout]    |            --------------------------- field in this struct
[INFO] [stdout] 11 |     client: Cell<postgres::Client>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_create_error` is never used
[INFO] [stdout]    --> src/app/account/infrastructure/postgresql_account_repository.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl PostgresqlAccountRepository {
[INFO] [stdout]     | -------------------------------- associated function in this implementation
[INFO] [stdout] 102 |     fn parse_create_error(err: &SqlState) -> DomainError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Id` is never constructed
[INFO] [stdout]  --> src/app/_services/domain/id_generation/domain/id.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Id {
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/app/_services/domain/id_generation/domain/id.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Id {
[INFO] [stdout]    | ------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new(value: String) -> Id {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn value(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate` is never used
[INFO] [stdout]  --> src/app/_services/domain/id_generation/domain/id_generation_service.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait IdGenerationService {
[INFO] [stdout]   |           ------------------- method in this trait
[INFO] [stdout] 4 |     fn generate(&self) -> Id;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hydrate` and `dehydrate` are never used
[INFO] [stdout]   --> src/app/_services/domain/password_hashing/application/assembler.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl PasswordHashingAssembler {
[INFO] [stdout]    | ----------------------------- methods in this implementation
[INFO] [stdout]  6 |     pub fn hydrate(&self, hashed_password: &HashedPasswordDto) -> HashedPassword {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn dehydrate(&self, hashed_password: &HashedPassword) -> HashedPasswordDto {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HashedPassword` is never constructed
[INFO] [stdout]  --> src/app/_services/domain/password_hashing/domain/hashed_password.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct HashedPassword {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/app/_services/domain/date_manipulation/infrastructure/chrono_date_manipulation_service.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl ChronoDateManipulationService {
[INFO] [stdout]   | ---------------------------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `compare` are never used
[INFO] [stdout]   --> src/app/_services/domain/password_hashing/domain/hashed_password.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl HashedPassword {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(value: String) -> HashedPassword {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn compare(&self, password: &str, hashing_service: &dyn PasswordHashingService) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hash_password` and `verify_password` are never used
[INFO] [stdout]  --> src/app/_services/domain/password_hashing/domain/password_hashing_service.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait PasswordHashingService {
[INFO] [stdout]   |           ---------------------- methods in this trait
[INFO] [stdout] 5 |     fn hash_password(&self, password: &str) -> Result<HashedPassword, DomainError>;
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     fn verify_password(&self, password: &str, hashed_password: &HashedPassword) -> bool;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `hydrate` and `dehydrate` are never used
[INFO] [stdout]   --> src/app/_services/domain/date_manipulation/application/assembler.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl DateManipulationAssembler {
[INFO] [stdout]    | ------------------------------ methods in this implementation
[INFO] [stdout]  7 |     pub fn hydrate(&self, utc_instant_dto: &UtcInstantDto) -> Result<UtcInstant, DomainError> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn dehydrate(&self, utc_instant: &UtcInstant) -> UtcInstantDto {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UtcInstant` is never constructed
[INFO] [stdout]  --> src/app/_services/domain/date_manipulation/domain/utc_instant.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct UtcInstant {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `now` and `is_after` are never used
[INFO] [stdout]  --> src/app/_services/domain/date_manipulation/domain/date_manipulation_service.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait DateManipulationService {
[INFO] [stdout]   |           ----------------------- methods in this trait
[INFO] [stdout] 4 |     fn now(&self) -> UtcInstant;
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 5 |     fn is_after(&self, first: &UtcInstant, second: &UtcInstant) -> bool;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/app/_services/domain/date_manipulation/infrastructure/chrono_date_manipulation_service.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl ChronoDateManipulationService {
[INFO] [stdout]   | ---------------------------------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.51s
[INFO] running `Command { std: "docker" "inspect" "2a666e94d9466f8efe8aea380eceef43219cb77682b894fccc16c8520b4f6ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a666e94d9466f8efe8aea380eceef43219cb77682b894fccc16c8520b4f6ac2", kill_on_drop: false }`
[INFO] [stdout] 2a666e94d9466f8efe8aea380eceef43219cb77682b894fccc16c8520b4f6ac2
