[INFO] cloning repository https://github.com/molayodecker/auth-central [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/molayodecker/auth-central" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolayodecker%2Fauth-central", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolayodecker%2Fauth-central'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 267a4c2aa13cef6807230b3618177c1533c6176a [INFO] checking molayodecker/auth-central against 65dd30fb9e882a7e8f0be10caca62936db2a98b8 for pr-133502-28 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolayodecker%2Fauth-central" "/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/molayodecker/auth-central [INFO] finished tweaking git repo https://github.com/molayodecker/auth-central [INFO] tweaked toml for git repo https://github.com/molayodecker/auth-central written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/molayodecker/auth-central on toolchain 65dd30fb9e882a7e8f0be10caca62936db2a98b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65dd30fb9e882a7e8f0be10caca62936db2a98b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/molayodecker/auth-central 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" "+65dd30fb9e882a7e8f0be10caca62936db2a98b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.31 [INFO] [stderr] Downloaded bitflags v2.12.1 [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded validator_derive v0.19.0 [INFO] [stderr] Downloaded uuid v1.23.2 [INFO] [stderr] Downloaded hashlink v0.11.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.4 [INFO] [stderr] Downloaded axum-macros v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d [INFO] running `Command { std: "docker" "start" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d" "/opt/rustwide/cargo-home/bin/cargo" "+65dd30fb9e882a7e8f0be10caca62936db2a98b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d" "/opt/rustwide/cargo-home/bin/cargo" "+65dd30fb9e882a7e8f0be10caca62936db2a98b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling hybrid-array v0.4.12 [INFO] [stderr] Compiling cmov v0.5.4 [INFO] [stderr] Checking log v0.4.31 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling ctutils v0.4.2 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hashlink v0.11.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling uuid v1.23.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Compiling hkdf v0.13.0 [INFO] [stderr] Compiling rand v0.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.12.1 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling whoami v2.1.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling sqlx-core v0.9.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling sqlx-postgres v0.9.0 [INFO] [stderr] Checking validator v0.19.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Checking sqlx v0.9.0 [INFO] [stderr] Checking auth-central v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `email` and `roles` are never read [INFO] [stdout] --> src/middleware/auth.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AuthUser { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub user_id: Uuid, [INFO] [stdout] 14 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub aud: String, [INFO] [stdout] 16 | pub roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_role` is never used [INFO] [stdout] --> src/middleware/auth.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AuthUser { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 21 | pub fn has_role(&self, role: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/models/app.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/models/role.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `refresh_token_hash`, `user_agent`, `ip_address`, `expires_at`, `revoked_at`, and `created_at` are never read [INFO] [stdout] --> src/models/session.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub refresh_token_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub expires_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub revoked_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/models/user.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revoke_session_by_refresh_hash` is never used [INFO] [stdout] --> src/services/session.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn revoke_session_by_refresh_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revoke_all_user_sessions` is never used [INFO] [stdout] --> src/services/session.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | pub async fn revoke_all_user_sessions(pool: &PgPool, user_id: Uuid) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `roles` are never read [INFO] [stdout] --> src/middleware/auth.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AuthUser { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | pub user_id: Uuid, [INFO] [stdout] 14 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub aud: String, [INFO] [stdout] 16 | pub roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_role` is never used [INFO] [stdout] --> src/middleware/auth.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AuthUser { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 21 | pub fn has_role(&self, role: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/models/app.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/models/role.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Role { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `refresh_token_hash`, `user_agent`, `ip_address`, `expires_at`, `revoked_at`, and `created_at` are never read [INFO] [stdout] --> src/models/session.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub refresh_token_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub expires_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub revoked_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/models/user.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revoke_session_by_refresh_hash` is never used [INFO] [stdout] --> src/services/session.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn revoke_session_by_refresh_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revoke_all_user_sessions` is never used [INFO] [stdout] --> src/services/session.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | pub async fn revoke_all_user_sessions(pool: &PgPool, user_id: Uuid) -> AppResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d", kill_on_drop: false }` [INFO] [stdout] 84772719925a30a025913dd60648909b8032c3c2c105bbdb14e07ce47940af9d