[INFO] cloning repository https://github.com/caigq99/augment-oauth-service
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caigq99/augment-oauth-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Faugment-oauth-service", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Faugment-oauth-service'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 79ae408b2cb02d112d9293bf20476458a858ad44
[INFO] checking caigq99/augment-oauth-service against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Faugment-oauth-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/caigq99/augment-oauth-service
[INFO] finished tweaking git repo https://github.com/caigq99/augment-oauth-service
[INFO] tweaked toml for git repo https://github.com/caigq99/augment-oauth-service written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/caigq99/augment-oauth-service on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/caigq99/augment-oauth-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v2.0.15
[INFO] [stderr]   Downloaded pest_meta v2.8.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.97
[INFO] [stderr]   Downloaded pest_generator v2.8.1
[INFO] [stderr]   Downloaded thiserror v2.0.15
[INFO] [stderr]   Downloaded pest_derive v2.8.1
[INFO] [stderr]   Downloaded pest v2.8.1
[INFO] [stderr]   Downloaded winnow v0.7.12
[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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 248d59ebffe98b0e8f04345322bf32d8a3ddde2f26e4becbc92d4fe5fc0d7851
[INFO] running `Command { std: "docker" "start" "-a" "248d59ebffe98b0e8f04345322bf32d8a3ddde2f26e4becbc92d4fe5fc0d7851", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "248d59ebffe98b0e8f04345322bf32d8a3ddde2f26e4becbc92d4fe5fc0d7851", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "248d59ebffe98b0e8f04345322bf32d8a3ddde2f26e4becbc92d4fe5fc0d7851", kill_on_drop: false }`
[INFO] [stdout] 248d59ebffe98b0e8f04345322bf32d8a3ddde2f26e4becbc92d4fe5fc0d7851
[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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 075a03b9f8cd086662feb021cf3183f988b684cd7ae31cd77f1e3632c4a96259
[INFO] running `Command { std: "docker" "start" "-a" "075a03b9f8cd086662feb021cf3183f988b684cd7ae31cd77f1e3632c4a96259", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling thiserror v2.0.15
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking winnow v0.7.12
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.15
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking pest v2.8.1
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking uuid v1.18.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking augment-oauth-service v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `server_addr` is never used
[INFO] [stdout]    --> src/config.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl AppConfig {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn server_addr(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_found` is never used
[INFO] [stdout]   --> src/middleware.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn not_found(message: String) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unauthorized` is never used
[INFO] [stdout]   --> src/middleware.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn unauthorized(message: String) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success` is never used
[INFO] [stdout]   --> src/models.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn success(data: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token_type`, `expires_in`, and `refresh_token` are never read
[INFO] [stdout]    --> src/models.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct TokenExchangeResponse {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] 105 |     pub access_token: String,
[INFO] [stdout] 106 |     pub token_type: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 107 |     pub expires_in: Option<u64>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 108 |     pub refresh_token: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenExchangeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cleanup_expired_states` and `active_states_count` are never used
[INFO] [stdout]    --> src/oauth.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl OAuthService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn cleanup_expired_states(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn active_states_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_found` is never used
[INFO] [stdout]   --> src/middleware.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn not_found(message: String) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unauthorized` is never used
[INFO] [stdout]   --> src/middleware.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn unauthorized(message: String) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success` is never used
[INFO] [stdout]   --> src/models.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn success(data: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `token_type`, `expires_in`, and `refresh_token` are never read
[INFO] [stdout]    --> src/models.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct TokenExchangeResponse {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] 105 |     pub access_token: String,
[INFO] [stdout] 106 |     pub token_type: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 107 |     pub expires_in: Option<u64>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 108 |     pub refresh_token: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TokenExchangeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cleanup_expired_states` and `active_states_count` are never used
[INFO] [stdout]    --> src/oauth.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl OAuthService {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn cleanup_expired_states(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn active_states_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "075a03b9f8cd086662feb021cf3183f988b684cd7ae31cd77f1e3632c4a96259", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "075a03b9f8cd086662feb021cf3183f988b684cd7ae31cd77f1e3632c4a96259", kill_on_drop: false }`
[INFO] [stdout] 075a03b9f8cd086662feb021cf3183f988b684cd7ae31cd77f1e3632c4a96259
