[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] checking wahyurudiyan/axum-auth against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyurudiyan%2Faxum-auth" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wahyurudiyan/axum-auth on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking wahyurudiyan/axum-auth against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwahyurudiyan%2Faxum-auth" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wahyurudiyan/axum-auth on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 sval_ref v2.14.0 [INFO] [stderr] Downloaded sval_json v2.14.0 [INFO] [stderr] Downloaded sval_nested v2.14.0 [INFO] [stderr] Downloaded sval_serde v2.14.0 [INFO] [stderr] Downloaded sval_dynamic v2.14.0 [INFO] [stderr] Downloaded sval_buffer v2.14.0 [INFO] [stderr] Downloaded sval v2.14.0 [INFO] [stderr] Downloaded sval_fmt v2.14.0 [INFO] [stderr] Downloaded pasetors v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e42e4d7a2183fca1b9512a157bfcfc67c2b145939e3fd752dce688c806631187 [INFO] running `Command { std: "docker" "start" "-a" "e42e4d7a2183fca1b9512a157bfcfc67c2b145939e3fd752dce688c806631187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e42e4d7a2183fca1b9512a157bfcfc67c2b145939e3fd752dce688c806631187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42e4d7a2183fca1b9512a157bfcfc67c2b145939e3fd752dce688c806631187", kill_on_drop: false }` [INFO] [stdout] e42e4d7a2183fca1b9512a157bfcfc67c2b145939e3fd752dce688c806631187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cac29f87f3f7a8bf0cabc9213e089ad226578ee7f4057e7076a74c4d84e76ec [INFO] running `Command { std: "docker" "start" "-a" "6cac29f87f3f7a8bf0cabc9213e089ad226578ee7f4057e7076a74c4d84e76ec", 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 autocfg v1.4.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.24 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking fiat-crypto v0.2.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ct-codecs v1.1.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [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] Checking tokio v1.43.0 [INFO] [stderr] Checking orion v0.17.7 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking pasetors v0.7.1 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking 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: 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] [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 23.35s [INFO] running `Command { std: "docker" "inspect" "6cac29f87f3f7a8bf0cabc9213e089ad226578ee7f4057e7076a74c4d84e76ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cac29f87f3f7a8bf0cabc9213e089ad226578ee7f4057e7076a74c4d84e76ec", kill_on_drop: false }` [INFO] [stdout] 6cac29f87f3f7a8bf0cabc9213e089ad226578ee7f4057e7076a74c4d84e76ec