[INFO] cloning repository https://github.com/pseudorandom-x/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/pseudorandom-x/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 716a7fb77c4e0ed1333ee0693a95d8b273aa167e
[INFO] checking pseudorandom-x/http-server against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pseudorandom-x/http-server
[INFO] finished tweaking git repo https://github.com/pseudorandom-x/http-server
[INFO] tweaked toml for git repo https://github.com/pseudorandom-x/http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pseudorandom-x/http-server on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pseudorandom-x/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" "+011c518242557d21690f7936b5812318dc2fec47" "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 pseudorandom-x/http-server against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pseudorandom-x/http-server
[INFO] finished tweaking git repo https://github.com/pseudorandom-x/http-server
[INFO] tweaked toml for git repo https://github.com/pseudorandom-x/http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pseudorandom-x/http-server on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pseudorandom-x/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" "+011c518242557d21690f7936b5812318dc2fec47" "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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c
[INFO] running `Command { std: "docker" "start" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c", 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" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c", 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" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking httpserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/http/request/parse_error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[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: `std::string::FromUtf8Error`
[INFO] [stdout]  --> src/http/request/parse_error.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::string::FromUtf8Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::Request`
[INFO] [stdout]  --> src/server.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::http::Request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::Method`
[INFO] [stdout]  --> src/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::http::Method; // equivalent to crate::http::Method as for the server module, http is a sibling module
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/server.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::net::{ TcpListener, TcpStream };
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Method`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::Method; // from http, use the Method enum (exposed via "pub use..." in http/mod.rs)
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http::Request; // from http, use the Request struct (exposed via "pub use..." in http/mod.rs)
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/http/request/parse_error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[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: `std::string::FromUtf8Error`
[INFO] [stdout]  --> src/http/request/parse_error.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::string::FromUtf8Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::Request`
[INFO] [stdout]  --> src/server.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::http::Request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::Method`
[INFO] [stdout]  --> src/server.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::http::Method; // equivalent to crate::http::Method as for the server module, http is a sibling module
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/server.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::net::{ TcpListener, TcpStream };
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Method`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::Method; // from http, use the Method enum (exposed via "pub use..." in http/mod.rs)
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http::Request; // from http, use the Request struct (exposed via "pub use..." in http/mod.rs)
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/http/request.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let (method, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?;
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/http/request.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let (method, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?;
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]   --> src/http/request.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let (query, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?;
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]   --> src/http/request.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let (query, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?;
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Method` is never used
[INFO] [stdout]  --> src/http/method.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Method {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> src/http/request.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Request {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_next_word` is never used
[INFO] [stdout]   --> src/http/request.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Request {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 15 |     fn get_next_word(string: &str) -> Option<(&str, &str)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ParseError` is never used
[INFO] [stdout]  --> src/http/request/parse_error.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum ParseError {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `message` is never used
[INFO] [stdout]   --> src/http/request/parse_error.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ParseError {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 15 |     pub fn message(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Method` is never used
[INFO] [stdout]  --> src/http/method.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Method {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> src/http/request.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Request {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_next_word` is never used
[INFO] [stdout]   --> src/http/request.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Request {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 15 |     fn get_next_word(string: &str) -> Option<(&str, &str)> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ParseError` is never used
[INFO] [stdout]  --> src/http/request/parse_error.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum ParseError {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `message` is never used
[INFO] [stdout]   --> src/http/request/parse_error.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ParseError {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 15 |     pub fn message(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c", kill_on_drop: false }`
[INFO] [stdout] b465caecd0fbff6f2aafa685f1ee8708b3f082d5b332e17e9ca200b30d4cd02c
