[INFO] cloning repository https://github.com/rk-7474/rust-tcp-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rk-7474/rust-tcp-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk-7474%2Frust-tcp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk-7474%2Frust-tcp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a3cbed7b6581d9bdfbc47740d2b46e7335093bf
[INFO] checking rk-7474/rust-tcp-server against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk-7474%2Frust-tcp-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rk-7474/rust-tcp-server
[INFO] finished tweaking git repo https://github.com/rk-7474/rust-tcp-server
[INFO] tweaked toml for git repo https://github.com/rk-7474/rust-tcp-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rk-7474/rust-tcp-server on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rk-7474/rust-tcp-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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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 rk-7474/rust-tcp-server against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk-7474%2Frust-tcp-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rk-7474/rust-tcp-server
[INFO] finished tweaking git repo https://github.com/rk-7474/rust-tcp-server
[INFO] tweaked toml for git repo https://github.com/rk-7474/rust-tcp-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rk-7474/rust-tcp-server on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rk-7474/rust-tcp-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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f
[INFO] running `Command { std: "docker" "start" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f", 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" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f", 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" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-tcp-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/response.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{info, error, debug};
[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: `fs` and `path::Path`
[INFO] [stdout]  --> src/request.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs, path::Path};
[INFO] [stdout]   |           ^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/handler.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/response.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{info, error, debug};
[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: `fs` and `path::Path`
[INFO] [stdout]  --> src/request.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs, path::Path};
[INFO] [stdout]   |           ^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/handler.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]  --> src/response.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Response {
[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 `ResponseStatus` is never constructed
[INFO] [stdout]  --> src/response.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ResponseStatus {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_string` and `new` are never used
[INFO] [stdout]   --> src/response.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Response {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn new(content: String, code: u16, message: String) -> Response {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RequestType` is never used
[INFO] [stdout]  --> src/request.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum RequestType {
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]   --> src/request.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Request {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `parse` are never used
[INFO] [stdout]   --> src/request.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Request {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(request_line: String) -> Request {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn parse(&self) -> Response {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]  --> src/response.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Response {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_get_request` is never used
[INFO] [stdout]   --> src/handler.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handle_get_request(request_line: &str) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseStatus` is never constructed
[INFO] [stdout]  --> src/response.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ResponseStatus {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_string` and `new` are never used
[INFO] [stdout]   --> src/response.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Response {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn new(content: String, code: u16, message: String) -> Response {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RequestType` is never used
[INFO] [stdout]  --> src/request.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum RequestType {
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]   --> src/request.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Request {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `parse` are never used
[INFO] [stdout]   --> src/request.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Request {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(request_line: String) -> Request {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn parse(&self) -> Response {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_get_request` is never used
[INFO] [stdout]   --> src/handler.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn handle_get_request(request_line: &str) -> Response {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/response.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{info, error, debug};
[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: `error` and `info`
[INFO] [stdout]  --> src/response.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{info, error, debug};
[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: `fs` and `path::Path`
[INFO] [stdout]  --> src/request.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs, path::Path};
[INFO] [stdout]   |           ^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs` and `path::Path`
[INFO] [stdout]  --> src/request.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs, path::Path};
[INFO] [stdout]   |           ^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/handler.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/handler.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::{info, error, debug};
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use log::{info, error, debug};
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f", kill_on_drop: false }`
[INFO] [stdout] 5db6f468623a752d46b192acb18ca7de90f1833a87785c114b6b24f25107195f
