[INFO] cloning repository https://github.com/wahyurudiyan/axum-auth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wahyurudiyan/axum-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyurudiyan%2Faxum-auth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyurudiyan%2Faxum-auth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bc6fb460b2f810eead27cd04c9f075a1a273708 [INFO] testing wahyurudiyan/axum-auth against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyurudiyan%2Faxum-auth" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wahyurudiyan/axum-auth [INFO] finished tweaking git repo https://github.com/wahyurudiyan/axum-auth [INFO] tweaked toml for git repo https://github.com/wahyurudiyan/axum-auth written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wahyurudiyan/axum-auth on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wahyurudiyan/axum-auth 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded value-bag-sval2 v1.10.0 [INFO] [stderr] Downloaded sval_ref v2.14.0 [INFO] [stderr] Downloaded value-bag-serde1 v1.10.0 [INFO] [stderr] Downloaded sval_nested v2.14.0 [INFO] [stderr] Downloaded sval_serde v2.14.0 [INFO] [stderr] Downloaded sval_buffer v2.14.0 [INFO] [stderr] Downloaded sval v2.14.0 [INFO] [stderr] Downloaded sval_dynamic v2.14.0 [INFO] [stderr] Downloaded log v0.4.24 [INFO] [stderr] Downloaded sval_fmt v2.14.0 [INFO] [stderr] Downloaded orion v0.17.7 [INFO] [stderr] Downloaded sval_json v2.14.0 [INFO] [stderr] Downloaded pasetors v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b29ba7ba24d7665a4258a945dcbee9adacd18c519574c30d641807f66979676 [INFO] running `Command { std: "docker" "start" "-a" "8b29ba7ba24d7665a4258a945dcbee9adacd18c519574c30d641807f66979676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b29ba7ba24d7665a4258a945dcbee9adacd18c519574c30d641807f66979676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b29ba7ba24d7665a4258a945dcbee9adacd18c519574c30d641807f66979676", kill_on_drop: false }` [INFO] [stdout] 8b29ba7ba24d7665a4258a945dcbee9adacd18c519574c30d641807f66979676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6858638705ea8eec1c7484a8ca784d5a429209236b39365f270f72c20c4b460 [INFO] running `Command { std: "docker" "start" "-a" "d6858638705ea8eec1c7484a8ca784d5a429209236b39365f270f72c20c4b460", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.24 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ct-codecs v1.1.3 [INFO] [stderr] Compiling fiat-crypto v0.2.9 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling orion v0.17.7 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling pasetors v0.7.1 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling axum-auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_interface::AuthService` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use service::{auth_interface::AuthService, paseto_service::PasetoService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/controller/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/dto/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PasetoClaimRequest { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(user: User) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_expired` are never used [INFO] [stdout] --> src/models/dto/auth.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PasetoVerifyRequest { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 47 | pub fn new(token: String, expired: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nbf`, `exp`, and `iat` are never read [INFO] [stdout] --> src/models/entities/auth.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PayloadClaim { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | pub user_data: UserData, [INFO] [stdout] 6 | pub nbf: String, // Using chrono for parsing the timestamp [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub exp: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub iat: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadClaim` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `user_info` are never used [INFO] [stdout] --> src/models/entities/auth.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new User instance. [INFO] [stdout] 26 | pub fn new(user_id: u64, username: String, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn user_info(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.26s [INFO] running `Command { std: "docker" "inspect" "d6858638705ea8eec1c7484a8ca784d5a429209236b39365f270f72c20c4b460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6858638705ea8eec1c7484a8ca784d5a429209236b39365f270f72c20c4b460", kill_on_drop: false }` [INFO] [stdout] d6858638705ea8eec1c7484a8ca784d5a429209236b39365f270f72c20c4b460 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 289ce932ace67e6d0a63ab6bf5ffa8fcfe5c3e7cbe34cffe3674053399897264 [INFO] running `Command { std: "docker" "start" "-a" "289ce932ace67e6d0a63ab6bf5ffa8fcfe5c3e7cbe34cffe3674053399897264", kill_on_drop: false }` [INFO] [stderr] Compiling axum-auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_interface::AuthService` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use service::{auth_interface::AuthService, paseto_service::PasetoService}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/controller/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/dto/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PasetoClaimRequest { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(user: User) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_expired` are never used [INFO] [stdout] --> src/models/dto/auth.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PasetoVerifyRequest { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 47 | pub fn new(token: String, expired: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nbf`, `exp`, and `iat` are never read [INFO] [stdout] --> src/models/entities/auth.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PayloadClaim { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | pub user_data: UserData, [INFO] [stdout] 6 | pub nbf: String, // Using chrono for parsing the timestamp [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub exp: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub iat: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadClaim` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `user_info` are never used [INFO] [stdout] --> src/models/entities/auth.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new User instance. [INFO] [stdout] 26 | pub fn new(user_id: u64, username: String, role: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn user_info(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "289ce932ace67e6d0a63ab6bf5ffa8fcfe5c3e7cbe34cffe3674053399897264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289ce932ace67e6d0a63ab6bf5ffa8fcfe5c3e7cbe34cffe3674053399897264", kill_on_drop: false }` [INFO] [stdout] 289ce932ace67e6d0a63ab6bf5ffa8fcfe5c3e7cbe34cffe3674053399897264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 02086f9a00123ac411c77de58eb2fcfd1a9ebcf229f0e4d7048d0dbf12605cef [INFO] running `Command { std: "docker" "start" "-a" "02086f9a00123ac411c77de58eb2fcfd1a9ebcf229f0e4d7048d0dbf12605cef", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `auth_interface::AuthService` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use service::{auth_interface::AuthService, paseto_service::PasetoService}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sync::Arc` [INFO] [stderr] --> src/main.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{env, fs, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/api/controller/auth_controller.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/dto/auth.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl PasetoClaimRequest { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 11 | pub fn new(user: User) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `is_expired` are never used [INFO] [stderr] --> src/models/dto/auth.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 46 | impl PasetoVerifyRequest { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] 47 | pub fn new(token: String, expired: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn is_expired(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `nbf`, `exp`, and `iat` are never read [INFO] [stderr] --> src/models/entities/auth.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct PayloadClaim { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 5 | pub user_data: UserData, [INFO] [stderr] 6 | pub nbf: String, // Using chrono for parsing the timestamp [INFO] [stderr] | ^^^ [INFO] [stderr] 7 | pub exp: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 8 | pub iat: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PayloadClaim` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `user_info` are never used [INFO] [stderr] --> src/models/entities/auth.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl User { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 25 | /// Creates a new User instance. [INFO] [stderr] 26 | pub fn new(user_id: u64, username: String, role: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn user_info(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `axum-auth` (bin "axum-auth" test) generated 8 warnings (run `cargo fix --bin "axum-auth" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_auth-ea71a61d15c8f26c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02086f9a00123ac411c77de58eb2fcfd1a9ebcf229f0e4d7048d0dbf12605cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02086f9a00123ac411c77de58eb2fcfd1a9ebcf229f0e4d7048d0dbf12605cef", kill_on_drop: false }` [INFO] [stdout] 02086f9a00123ac411c77de58eb2fcfd1a9ebcf229f0e4d7048d0dbf12605cef