[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] building caigq99/augment-oauth-service against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Faugment-oauth-service" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caigq99/augment-oauth-service on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a708b4b0dea0af3ee052329244ae7b787bd883b924a3ddf195cd23973b048578 [INFO] running `Command { std: "docker" "start" "-a" "a708b4b0dea0af3ee052329244ae7b787bd883b924a3ddf195cd23973b048578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a708b4b0dea0af3ee052329244ae7b787bd883b924a3ddf195cd23973b048578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a708b4b0dea0af3ee052329244ae7b787bd883b924a3ddf195cd23973b048578", kill_on_drop: false }` [INFO] [stdout] a708b4b0dea0af3ee052329244ae7b787bd883b924a3ddf195cd23973b048578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba4c20f17340a988191f7a4c20b642e2d5a528e063f9b186b62815fede045828 [INFO] running `Command { std: "docker" "start" "-a" "ba4c20f17340a988191f7a4c20b642e2d5a528e063f9b186b62815fede045828", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [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 tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling 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 ApiResponse { [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, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 107 | pub expires_in: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub refresh_token: Option, [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 08s [INFO] running `Command { std: "docker" "inspect" "ba4c20f17340a988191f7a4c20b642e2d5a528e063f9b186b62815fede045828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4c20f17340a988191f7a4c20b642e2d5a528e063f9b186b62815fede045828", kill_on_drop: false }` [INFO] [stdout] ba4c20f17340a988191f7a4c20b642e2d5a528e063f9b186b62815fede045828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd8ba4a759914bd068911afbc0ee430254a18758c6e7adf5c8bf9a948d3af1a1 [INFO] running `Command { std: "docker" "start" "-a" "dd8ba4a759914bd068911afbc0ee430254a18758c6e7adf5c8bf9a948d3af1a1", kill_on_drop: false }` [INFO] [stderr] Compiling augment-oauth-service v0.2.0 (/opt/rustwide/workdir) [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 ApiResponse { [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, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 107 | pub expires_in: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub refresh_token: Option, [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 `test` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "dd8ba4a759914bd068911afbc0ee430254a18758c6e7adf5c8bf9a948d3af1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8ba4a759914bd068911afbc0ee430254a18758c6e7adf5c8bf9a948d3af1a1", kill_on_drop: false }` [INFO] [stdout] dd8ba4a759914bd068911afbc0ee430254a18758c6e7adf5c8bf9a948d3af1a1