[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] testing caigq99/augment-oauth-service against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaigq99%2Faugment-oauth-service" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8317759e5efb8b2c8bf696d448e4f81435dfeb09ebfbe110cc069420acd0d05 [INFO] running `Command { std: "docker" "start" "-a" "e8317759e5efb8b2c8bf696d448e4f81435dfeb09ebfbe110cc069420acd0d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8317759e5efb8b2c8bf696d448e4f81435dfeb09ebfbe110cc069420acd0d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8317759e5efb8b2c8bf696d448e4f81435dfeb09ebfbe110cc069420acd0d05", kill_on_drop: false }` [INFO] [stdout] e8317759e5efb8b2c8bf696d448e4f81435dfeb09ebfbe110cc069420acd0d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dcb54b0428e4f3776745971b1027f461accce528d7929529f54f752d76e2b08 [INFO] running `Command { std: "docker" "start" "-a" "7dcb54b0428e4f3776745971b1027f461accce528d7929529f54f752d76e2b08", 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 log v0.4.27 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [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 http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling rustls v0.21.12 [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] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 url v2.5.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [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 16s [INFO] running `Command { std: "docker" "inspect" "7dcb54b0428e4f3776745971b1027f461accce528d7929529f54f752d76e2b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dcb54b0428e4f3776745971b1027f461accce528d7929529f54f752d76e2b08", kill_on_drop: false }` [INFO] [stdout] 7dcb54b0428e4f3776745971b1027f461accce528d7929529f54f752d76e2b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 930bf721c710dfe9c03b4e8da118ecc9c78adde6c8f3f7f07764492b366eb8d3 [INFO] running `Command { std: "docker" "start" "-a" "930bf721c710dfe9c03b4e8da118ecc9c78adde6c8f3f7f07764492b366eb8d3", 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.23s [INFO] running `Command { std: "docker" "inspect" "930bf721c710dfe9c03b4e8da118ecc9c78adde6c8f3f7f07764492b366eb8d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930bf721c710dfe9c03b4e8da118ecc9c78adde6c8f3f7f07764492b366eb8d3", kill_on_drop: false }` [INFO] [stdout] 930bf721c710dfe9c03b4e8da118ecc9c78adde6c8f3f7f07764492b366eb8d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2fd574ee45a72e0dfcbf12c493c2d0724a05e17e340745e18480a9e078a8c385 [INFO] running `Command { std: "docker" "start" "-a" "2fd574ee45a72e0dfcbf12c493c2d0724a05e17e340745e18480a9e078a8c385", kill_on_drop: false }` [INFO] [stderr] warning: function `not_found` is never used [INFO] [stderr] --> src/middleware.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn not_found(message: String) -> Response { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `unauthorized` is never used [INFO] [stderr] --> src/middleware.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn unauthorized(message: String) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `success` is never used [INFO] [stderr] --> src/models.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl ApiResponse { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 15 | pub fn success(data: T) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `token_type`, `expires_in`, and `refresh_token` are never read [INFO] [stderr] --> src/models.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct TokenExchangeResponse { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] 105 | pub access_token: String, [INFO] [stderr] 106 | pub token_type: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 107 | pub expires_in: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 108 | pub refresh_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenExchangeResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `cleanup_expired_states` and `active_states_count` are never used [INFO] [stderr] --> src/oauth.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl OAuthService { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn cleanup_expired_states(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn active_states_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `augment-oauth-service` (bin "augment-oauth-service" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/augment_oauth_service-45d5c0a4ba735223) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_server_addr ... ok [INFO] [stdout] test config::tests::test_find_available_port ... ok [INFO] [stdout] test config::tests::test_is_port_available ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2fd574ee45a72e0dfcbf12c493c2d0724a05e17e340745e18480a9e078a8c385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd574ee45a72e0dfcbf12c493c2d0724a05e17e340745e18480a9e078a8c385", kill_on_drop: false }` [INFO] [stdout] 2fd574ee45a72e0dfcbf12c493c2d0724a05e17e340745e18480a9e078a8c385