[INFO] cloning repository https://github.com/johanyim/scrapi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johanyim/scrapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanyim%2Fscrapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanyim%2Fscrapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce46ec3ea4bfde2a0cdd10d19de3d5d5de327e33
[INFO] checking johanyim/scrapi against try#8ac0915e346f9a2e49ca3951b642c55bd7d1eaab for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanyim%2Fscrapi" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johanyim/scrapi
[INFO] finished tweaking git repo https://github.com/johanyim/scrapi
[INFO] tweaked toml for git repo https://github.com/johanyim/scrapi written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johanyim/scrapi on toolchain 8ac0915e346f9a2e49ca3951b642c55bd7d1eaab
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/johanyim/scrapi 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" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded addr2line v0.24.1
[INFO] [stderr]   Downloaded serde v1.0.210
[INFO] [stderr]   Downloaded async-trait v0.1.82
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.16
[INFO] [stderr]   Downloaded axum-core v0.4.3
[INFO] [stderr]   Downloaded serde_derive v1.0.210
[INFO] [stderr]   Downloaded hyper-util v0.1.8
[INFO] [stderr]   Downloaded axum v0.7.5
[INFO] [stderr]   Downloaded gimli v0.31.0
[INFO] [stderr]   Downloaded object v0.36.4
[INFO] [stderr]   Downloaded tokio v1.40.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd
[INFO] running `Command { std: "docker" "start" "95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper-util v0.1.8
[INFO] [stderr]     Checking json_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::model::Api`
[INFO] [stdout]  --> src/config.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::model::Api;
[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 imports: `SerializeStructVariant` and `SerializeStruct`
[INFO] [stdout]  --> src/model.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ser::{SerializeStruct, SerializeStructVariant},
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OpenOptions`, `Read`, `Write`, and `self`
[INFO] [stdout]  --> src/main.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fs::{self, File, OpenOptions},
[INFO] [stdout]   |          ^^^^        ^^^^^^^^^^^
[INFO] [stdout] 8 |     io::{Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Extension`
[INFO] [stdout]   --> src/main.rs:12:78
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::{extract::State, handler::Handler, http::StatusCode, routing::get, Extension, Router};
[INFO] [stdout]    |                                                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use serde::Serialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::Api`
[INFO] [stdout]  --> src/config.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::model::Api;
[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 imports: `SerializeStructVariant` and `SerializeStruct`
[INFO] [stdout]  --> src/model.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ser::{SerializeStruct, SerializeStructVariant},
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OpenOptions`, `Read`, `Write`, and `self`
[INFO] [stdout]  --> src/main.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fs::{self, File, OpenOptions},
[INFO] [stdout]   |          ^^^^        ^^^^^^^^^^^
[INFO] [stdout] 8 |     io::{Read, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Extension`
[INFO] [stdout]   --> src/main.rs:12:78
[INFO] [stdout]    |
[INFO] [stdout] 12 | use axum::{extract::State, handler::Handler, http::StatusCode, routing::get, Extension, Router};
[INFO] [stdout]    |                                                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use serde::Serialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | async fn make_handler<T2, S2, T, S, H>(route: String) -> T2
[INFO] [stdout]    |                       -- expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 81 |     let closure1 = |s| "aslkdjsad".to_string();
[INFO] [stdout]    |                    --- the found closure
[INFO] [stdout] 82 |
[INFO] [stdout] 83 |     return |t| closure1;
[INFO] [stdout]    |            ^^^^^^^^^^^^ expected type parameter `T2`, found closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `T2`
[INFO] [stdout]                      found closure `{closure@src/main.rs:83:12: 83:15}`
[INFO] [stdout]    = help: every closure has a distinct type and so could not always match the caller-chosen type of parameter `T2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | async fn make_handler<T2, S2, T, S, H>(route: String) -> T2
[INFO] [stdout]    |                       -- expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 81 |     let closure1 = |s| "aslkdjsad".to_string();
[INFO] [stdout]    |                    --- the found closure
[INFO] [stdout] 82 |
[INFO] [stdout] 83 |     return |t| closure1;
[INFO] [stdout]    |            ^^^^^^^^^^^^ expected type parameter `T2`, found closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `T2`
[INFO] [stdout]                      found closure `{closure@src/main.rs:83:12: 83:15}`
[INFO] [stdout]    = help: every closure has a distinct type and so could not always match the caller-chosen type of parameter `T2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut config: Value = serde_yaml::from_str(&contents).expect("Could not turn to yaml");
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json_api` (bin "json_api") due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `json_api` (bin "json_api" test) due to 1 previous error; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd", kill_on_drop: false }`
[INFO] [stdout] 95370c7b6fb9fcd34f9de2c74d49dea2ec1cc89d1121499a43058647f5e637dd
