[INFO] cloning repository https://github.com/linhfishhh/rust-auth2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linhfishhh/rust-auth2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhfishhh%2Frust-auth2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhfishhh%2Frust-auth2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ce11d105475438a3e7573c82fc9349bf3e88a36 [INFO] building linhfishhh/rust-auth2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinhfishhh%2Frust-auth2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/linhfishhh/rust-auth2 [INFO] finished tweaking git repo https://github.com/linhfishhh/rust-auth2 [INFO] tweaked toml for git repo https://github.com/linhfishhh/rust-auth2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/linhfishhh/rust-auth2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/linhfishhh/rust-auth2 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e271ed69d5c5e19a109d8dc9ca683ffc4da2552a6c5e71236195fe0a5c21a93d [INFO] running `Command { std: "docker" "start" "-a" "e271ed69d5c5e19a109d8dc9ca683ffc4da2552a6c5e71236195fe0a5c21a93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e271ed69d5c5e19a109d8dc9ca683ffc4da2552a6c5e71236195fe0a5c21a93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e271ed69d5c5e19a109d8dc9ca683ffc4da2552a6c5e71236195fe0a5c21a93d", kill_on_drop: false }` [INFO] [stdout] e271ed69d5c5e19a109d8dc9ca683ffc4da2552a6c5e71236195fe0a5c21a93d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91b1acb62d01803e588ad6e4a8c69ae422e386b17dfe1299044570522c7d05fc [INFO] running `Command { std: "docker" "start" "-a" "91b1acb62d01803e588ad6e4a8c69ae422e386b17dfe1299044570522c7d05fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling async-session v3.0.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling oauth2-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Error, Ok, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uri::Port` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use http::{uri::Port, StatusCode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `csrf_token` [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let (auth_url, csrf_token) = client [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_csrf_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accessToken` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | accessToken: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `access_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `refreshToken` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | refreshToken: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "91b1acb62d01803e588ad6e4a8c69ae422e386b17dfe1299044570522c7d05fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b1acb62d01803e588ad6e4a8c69ae422e386b17dfe1299044570522c7d05fc", kill_on_drop: false }` [INFO] [stdout] 91b1acb62d01803e588ad6e4a8c69ae422e386b17dfe1299044570522c7d05fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6e96cd4ab4aebf8b538ee5a4855ad11f5b55da5b1ba8dff243860ffbd514bbc [INFO] running `Command { std: "docker" "start" "-a" "a6e96cd4ab4aebf8b538ee5a4855ad11f5b55da5b1ba8dff243860ffbd514bbc", kill_on_drop: false }` [INFO] [stderr] Compiling oauth2-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Error, Ok, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uri::Port` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use http::{uri::Port, StatusCode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `csrf_token` [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let (auth_url, csrf_token) = client [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_csrf_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `accessToken` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | accessToken: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `access_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `refreshToken` should have a snake case name [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | refreshToken: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "a6e96cd4ab4aebf8b538ee5a4855ad11f5b55da5b1ba8dff243860ffbd514bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e96cd4ab4aebf8b538ee5a4855ad11f5b55da5b1ba8dff243860ffbd514bbc", kill_on_drop: false }` [INFO] [stdout] a6e96cd4ab4aebf8b538ee5a4855ad11f5b55da5b1ba8dff243860ffbd514bbc