[INFO] cloning repository https://github.com/C0rn3l1a/rust-oauth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/C0rn3l1a/rust-oauth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC0rn3l1a%2Frust-oauth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC0rn3l1a%2Frust-oauth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c8debc72290b44eb80a4740ef347c099e723b88f
[INFO] testing C0rn3l1a/rust-oauth against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC0rn3l1a%2Frust-oauth" "/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/C0rn3l1a/rust-oauth
[INFO] finished tweaking git repo https://github.com/C0rn3l1a/rust-oauth
[INFO] tweaked toml for git repo https://github.com/C0rn3l1a/rust-oauth written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/C0rn3l1a/rust-oauth on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/C0rn3l1a/rust-oauth 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.axum.feature
[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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f7bbdfb905c258354af8762d3f77d8acd748b61d56fc506f4da76e1663280c5
[INFO] running `Command { std: "docker" "start" "-a" "2f7bbdfb905c258354af8762d3f77d8acd748b61d56fc506f4da76e1663280c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f7bbdfb905c258354af8762d3f77d8acd748b61d56fc506f4da76e1663280c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f7bbdfb905c258354af8762d3f77d8acd748b61d56fc506f4da76e1663280c5", kill_on_drop: false }`
[INFO] [stdout] 2f7bbdfb905c258354af8762d3f77d8acd748b61d56fc506f4da76e1663280c5
[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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05427b908a194a57e8906a5765f023c4a1a4ca167a85149d505dafa812a5c156
[INFO] running `Command { std: "docker" "start" "-a" "05427b908a194a57e8906a5765f023c4a1a4ca167a85149d505dafa812a5c156", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.axum.feature
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling h2 v0.4.9
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling sqlx-core v0.8.5
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.5
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling axum v0.8.3
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.5
[INFO] [stderr]    Compiling sqlx-macros v0.8.5
[INFO] [stderr]    Compiling sqlx v0.8.5
[INFO] [stderr]    Compiling rust-oauth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `exchange_code_for_token` in this scope
[INFO] [stdout]   --> src/auth/google/controller.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Some(code) => match exchange_code_for_token(code).await {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::auth::google::utils::exchange_code_for_token;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GoogleTokenResponse` in this scope
[INFO] [stdout]   --> src/auth/google/utils.rs:13:60
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn exchange_code_for_token(code: &str) -> Result<GoogleTokenResponse, String> {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::auth::google::types::GoogleTokenResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GoogleTokenResponse` in this scope
[INFO] [stdout]   --> src/auth/google/utils.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .json::<GoogleTokenResponse>()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::auth::google::types::GoogleTokenResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]   --> src/auth/google/controller.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use reqwest::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/auth/google/controller.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/auth/google/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `urlencoding::encode`
[INFO] [stdout]  --> src/auth/google/types.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use urlencoding::encode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntoResponse`, `Json`, `Response`, `extract::Query`, and `http::StatusCode`
[INFO] [stdout]  --> src/auth/google/types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     extract::Query,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 6 |     http::StatusCode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Json,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/auth/google/types.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]   --> src/auth/google/types.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use reqwest::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `urlencoding::encode`
[INFO] [stdout]  --> src/auth/google/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use urlencoding::encode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntoResponse`, `Json`, `Response`, `extract::Query`, and `http::StatusCode`
[INFO] [stdout]  --> src/auth/google/utils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     extract::Query,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     response::{IntoResponse, Response},
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 6 |     http::StatusCode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Json,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/auth/google/utils.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/auth/google/utils.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/auth/google/controller.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |             Ok(tokens) => Json(tokens).into_response(),
[INFO] [stdout]    |                           ^^^^         ------------- type must be known at this point
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           cannot infer type of the type parameter `T` declared on the struct `Json`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |             Ok(tokens) => Json::<T>(tokens).into_response(),
[INFO] [stdout]    |                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-oauth` (bin "rust-oauth") due to 4 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "05427b908a194a57e8906a5765f023c4a1a4ca167a85149d505dafa812a5c156", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05427b908a194a57e8906a5765f023c4a1a4ca167a85149d505dafa812a5c156", kill_on_drop: false }`
[INFO] [stdout] 05427b908a194a57e8906a5765f023c4a1a4ca167a85149d505dafa812a5c156
