[INFO] cloning repository https://github.com/Kircheneer/rust-toy-http-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kircheneer/rust-toy-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKircheneer%2Frust-toy-http-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKircheneer%2Frust-toy-http-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c06d53a4476af6c31ebc62f740856c4846e47f5
[INFO] checking Kircheneer/rust-toy-http-server against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKircheneer%2Frust-toy-http-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kircheneer/rust-toy-http-server
[INFO] finished tweaking git repo https://github.com/Kircheneer/rust-toy-http-server
[INFO] tweaked toml for git repo https://github.com/Kircheneer/rust-toy-http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kircheneer/rust-toy-http-server on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kircheneer/rust-toy-http-server 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking Kircheneer/rust-toy-http-server against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKircheneer%2Frust-toy-http-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kircheneer/rust-toy-http-server
[INFO] finished tweaking git repo https://github.com/Kircheneer/rust-toy-http-server
[INFO] tweaked toml for git repo https://github.com/Kircheneer/rust-toy-http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kircheneer/rust-toy-http-server on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kircheneer/rust-toy-http-server 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc5dd9de7f9efee1eefaa1995e959b800ae11a32a767d0268bbaf9e510c66ee1
[INFO] running `Command { std: "docker" "start" "-a" "dc5dd9de7f9efee1eefaa1995e959b800ae11a32a767d0268bbaf9e510c66ee1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc5dd9de7f9efee1eefaa1995e959b800ae11a32a767d0268bbaf9e510c66ee1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc5dd9de7f9efee1eefaa1995e959b800ae11a32a767d0268bbaf9e510c66ee1", kill_on_drop: false }`
[INFO] [stdout] dc5dd9de7f9efee1eefaa1995e959b800ae11a32a767d0268bbaf9e510c66ee1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 685f0116e73a9c441713229bcba8fe4f5d680d5bd0e183aa2b1e43638eb2b1b0
[INFO] running `Command { std: "docker" "start" "-a" "685f0116e73a9c441713229bcba8fe4f5d680d5bd0e183aa2b1e43638eb2b1b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking http v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/main.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 let n = match socket.read(&mut buf).await {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/main.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let request = match parse_request(&buf).await {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `path`, `version`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct HTTPRequest<'a> {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 7  |     method: &'a str,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     path: &'a str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 9  |     version: &'a str,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     headers: HashMap<String, String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 11 |     body: Vec<&'a str>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HTTPRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/main.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 | async fn parse_request(buf: &[u8; 1024]) -> Result<HTTPRequest, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                             ^^^^^^^^^^^            ----------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 | async fn parse_request(buf: &[u8; 1024]) -> Result<HTTPRequest<'_>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/main.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 let n = match socket.read(&mut buf).await {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/main.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 let request = match parse_request(&buf).await {
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `path`, `version`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | struct HTTPRequest<'a> {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 7  |     method: &'a str,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 8  |     path: &'a str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 9  |     version: &'a str,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     headers: HashMap<String, String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 11 |     body: Vec<&'a str>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HTTPRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/main.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 | async fn parse_request(buf: &[u8; 1024]) -> Result<HTTPRequest, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                             ^^^^^^^^^^^            ----------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 | async fn parse_request(buf: &[u8; 1024]) -> Result<HTTPRequest<'_>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s
[INFO] running `Command { std: "docker" "inspect" "685f0116e73a9c441713229bcba8fe4f5d680d5bd0e183aa2b1e43638eb2b1b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "685f0116e73a9c441713229bcba8fe4f5d680d5bd0e183aa2b1e43638eb2b1b0", kill_on_drop: false }`
[INFO] [stdout] 685f0116e73a9c441713229bcba8fe4f5d680d5bd0e183aa2b1e43638eb2b1b0
