[INFO] cloning repository https://github.com/mehrdadsalimii/auth-service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mehrdadsalimii/auth-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehrdadsalimii%2Fauth-service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehrdadsalimii%2Fauth-service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47d09914a131f4faa0b1080e559f68c0cba98fb3
[INFO] checking mehrdadsalimii/auth-service against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehrdadsalimii%2Fauth-service" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mehrdadsalimii/auth-service
[INFO] finished tweaking git repo https://github.com/mehrdadsalimii/auth-service
[INFO] tweaked toml for git repo https://github.com/mehrdadsalimii/auth-service written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mehrdadsalimii/auth-service on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mehrdadsalimii/auth-service 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d83b6b3d8bbdf4e43f60a6a9fd8a735f0212ac9b480bb6c13c69c818380bc817
[INFO] running `Command { std: "docker" "start" "-a" "d83b6b3d8bbdf4e43f60a6a9fd8a735f0212ac9b480bb6c13c69c818380bc817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d83b6b3d8bbdf4e43f60a6a9fd8a735f0212ac9b480bb6c13c69c818380bc817", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d83b6b3d8bbdf4e43f60a6a9fd8a735f0212ac9b480bb6c13c69c818380bc817", kill_on_drop: false }`
[INFO] [stdout] d83b6b3d8bbdf4e43f60a6a9fd8a735f0212ac9b480bb6c13c69c818380bc817
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 528495d1f6bf75264f016c9d8cb6eb6d0bb01181bca7208c099f192a532671f7
[INFO] running `Command { std: "docker" "start" "-a" "528495d1f6bf75264f016c9d8cb6eb6d0bb01181bca7208c099f192a532671f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tokio v1.52.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking xxhash-rust v0.8.15
[INFO] [stderr]     Checking arcstr v1.2.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking redis v1.2.0
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking auth-service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sqlx::postgres::types::PgCube::Point`
[INFO] [stdout]  --> src/handler/register_email.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::postgres::types::PgCube::Point;
[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: `crate::repository::mock_user_repository::MockUserRepository`
[INFO] [stdout]   --> src/handler/register_email.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::repository::mock_user_repository::MockUserRepository;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RedisResult`
[INFO] [stdout]  --> src/repository/redis_email_verification_repository.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use redis::{Client, Connection, RedisError, RedisResult, TypedCommands};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/usecase/register_email.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/infrastructure/redis.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::types::PgCube::Point`
[INFO] [stdout]  --> src/handler/register_email.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::postgres::types::PgCube::Point;
[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: `crate::repository::mock_user_repository::MockUserRepository`
[INFO] [stdout]   --> src/handler/register_email.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::repository::mock_user_repository::MockUserRepository;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RedisResult`
[INFO] [stdout]  --> src/repository/redis_email_verification_repository.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use redis::{Client, Connection, RedisError, RedisResult, TypedCommands};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/usecase/register_email.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/infrastructure/redis.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VerifyEmailRequest` is never constructed
[INFO] [stdout]  --> src/dto/verify_email_request.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct VerifyEmailRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/domain/user.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save` is never used
[INFO] [stdout]  --> src/repository/user_repository.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait UserRepository: Send + Sync{
[INFO] [stdout]   |           -------------- method in this trait
[INFO] [stdout] 5 |     async fn exists_by_email(&self, email: &str) -> bool;
[INFO] [stdout] 6 |     async fn save(&self, user: &User);
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockUserRepository` is never constructed
[INFO] [stdout]  --> src/repository/mock_user_repository.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MockUserRepository;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_code` is never used
[INFO] [stdout]  --> src/repository/email_verification_repository.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub trait EmailVerificationRepository: Send + Sync {
[INFO] [stdout]   |           --------------------------- method in this trait
[INFO] [stdout] 3 |     async fn save(&self, email: &str, code: &str, ttl: u64) -> Result<(), String>;
[INFO] [stdout] 4 |     async fn get_code(&self, email: &str) -> Result<Option<String>, String>;
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VerifyEmailRequest` is never constructed
[INFO] [stdout]  --> src/dto/verify_email_request.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct VerifyEmailRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/domain/user.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save` is never used
[INFO] [stdout]  --> src/repository/user_repository.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait UserRepository: Send + Sync{
[INFO] [stdout]   |           -------------- method in this trait
[INFO] [stdout] 5 |     async fn exists_by_email(&self, email: &str) -> bool;
[INFO] [stdout] 6 |     async fn save(&self, user: &User);
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockUserRepository` is never constructed
[INFO] [stdout]  --> src/repository/mock_user_repository.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MockUserRepository;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_code` is never used
[INFO] [stdout]  --> src/repository/email_verification_repository.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub trait EmailVerificationRepository: Send + Sync {
[INFO] [stdout]   |           --------------------------- method in this trait
[INFO] [stdout] 3 |     async fn save(&self, email: &str, code: &str, ttl: u64) -> Result<(), String>;
[INFO] [stdout] 4 |     async fn get_code(&self, email: &str) -> Result<Option<String>, String>;
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.02s
[INFO] running `Command { std: "docker" "inspect" "528495d1f6bf75264f016c9d8cb6eb6d0bb01181bca7208c099f192a532671f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "528495d1f6bf75264f016c9d8cb6eb6d0bb01181bca7208c099f192a532671f7", kill_on_drop: false }`
[INFO] [stdout] 528495d1f6bf75264f016c9d8cb6eb6d0bb01181bca7208c099f192a532671f7
