[INFO] cloning repository https://github.com/P40b0s/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/P40b0s/auth_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fauth_service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fauth_service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca46711e12c8982e897bd8028db08a7fcaf25514 [INFO] building P40b0s/auth_service against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FP40b0s%2Fauth_service" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/P40b0s/auth_service [INFO] finished tweaking git repo https://github.com/P40b0s/auth_service [INFO] tweaked toml for git repo https://github.com/P40b0s/auth_service written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/P40b0s/auth_service on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/P40b0s/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/P40b0s/jwt_authentification.git` [INFO] [stderr] Updating git repository `https://github.com/P40b0s/logger.git` [INFO] [stderr] Updating git repository `https://github.com/P40b0s/help_utilites.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded prettyplease v0.2.31 [INFO] [stderr] Downloaded aws-lc-rs v1.12.6 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] [stderr] Downloaded aws-lc-sys v0.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4c02630b1218020412118a06186020d641c1b8aeffca32501269fd761fd74fd [INFO] running `Command { std: "docker" "start" "-a" "e4c02630b1218020412118a06186020d641c1b8aeffca32501269fd761fd74fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4c02630b1218020412118a06186020d641c1b8aeffca32501269fd761fd74fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c02630b1218020412118a06186020d641c1b8aeffca32501269fd761fd74fd", kill_on_drop: false }` [INFO] [stdout] e4c02630b1218020412118a06186020d641c1b8aeffca32501269fd761fd74fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8f531208a48bd3b0fd971a82ebe1227a1bf576a26ce34d7698c6b6ed75aa94e [INFO] running `Command { std: "docker" "start" "-a" "d8f531208a48bd3b0fd971a82ebe1227a1bf576a26ce34d7698c6b6ed75aa94e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.12.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling aws-lc-sys v0.27.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling logger v0.1.2 (https://github.com/P40b0s/logger.git?branch=main#52871c8a) [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling logger v0.1.2 (https://github.com/P40b0s/logger.git#52871c8a) [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling utilites v0.1.0 (https://github.com/P40b0s/help_utilites.git#6191cb37) [INFO] [stderr] Compiling jwt_authentification v0.1.0 (https://github.com/P40b0s/jwt_authentification.git#887bd3cd) [INFO] [stderr] Compiling auth_service v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/role.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Role [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "d8f531208a48bd3b0fd971a82ebe1227a1bf576a26ce34d7698c6b6ed75aa94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8f531208a48bd3b0fd971a82ebe1227a1bf576a26ce34d7698c6b6ed75aa94e", kill_on_drop: false }` [INFO] [stdout] d8f531208a48bd3b0fd971a82ebe1227a1bf576a26ce34d7698c6b6ed75aa94e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce89c117ef26d99931b4023214086990a3c11a4c478ceccd5a78743ae9493b94 [INFO] running `Command { std: "docker" "start" "-a" "ce89c117ef26d99931b4023214086990a3c11a4c478ceccd5a78743ae9493b94", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/role.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Role [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling auth_service v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/db/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let repository = super::AuthorizationRepository::new(3).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/db/mod.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let user_id: uuid::Uuid = USER_ID.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `role` [INFO] [stdout] --> src/db/mod.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let role = Role::NonPrivileged; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_key_lifetime_days` [INFO] [stdout] --> src/db/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let refresh_key_lifetime_days = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_key_lifetime_days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip_addr` [INFO] [stdout] --> src/db/mod.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let ip_addr = String::from("182.5.202.220"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ip_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/db/mod.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let fingerprint = "111222333444555666777888999000".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audience` [INFO] [stdout] --> src/db/mod.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let audience = &["https://google.com", "https://stackoverflow.com", "https://chat.deepseek.com"]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audience` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jwt_service` [INFO] [stdout] --> src/db/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let jwt_service = JwtService::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jwt_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.08s [INFO] running `Command { std: "docker" "inspect" "ce89c117ef26d99931b4023214086990a3c11a4c478ceccd5a78743ae9493b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce89c117ef26d99931b4023214086990a3c11a4c478ceccd5a78743ae9493b94", kill_on_drop: false }` [INFO] [stdout] ce89c117ef26d99931b4023214086990a3c11a4c478ceccd5a78743ae9493b94