[INFO] cloning repository https://github.com/ishworii/httpfromtcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ishworii/httpfromtcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishworii%2Fhttpfromtcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishworii%2Fhttpfromtcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c18a739384f694dd06760c2ca93dcbbefd4f7d5e
[INFO] checking ishworii/httpfromtcp against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fishworii%2Fhttpfromtcp" "/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/ishworii/httpfromtcp
[INFO] finished tweaking git repo https://github.com/ishworii/httpfromtcp
[INFO] tweaked toml for git repo https://github.com/ishworii/httpfromtcp written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ishworii/httpfromtcp on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ishworii/httpfromtcp 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1
[INFO] running `Command { std: "docker" "start" "cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1", 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" "cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1", 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" "cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking httpfromtcp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `RequestParser` and `request_from_reader`
[INFO] [stdout]  --> src/http/mod.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use parser::{RequestParser, request_from_reader};
[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: `RequestLine` and `Request`
[INFO] [stdout]  --> src/http/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use request::{Request, RequestLine};
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_default_headers`, `write_headers`, and `write_status_line`
[INFO] [stdout]  --> src/http/mod.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use response::{StatusCode, write_response, write_status_line, write_headers, get_default_headers};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestParser` and `request_from_reader`
[INFO] [stdout]  --> src/http/mod.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use parser::{RequestParser, request_from_reader};
[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: `RequestLine` and `Request`
[INFO] [stdout]  --> src/http/mod.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use request::{Request, RequestLine};
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_default_headers`, `write_headers`, and `write_status_line`
[INFO] [stdout]  --> src/http/mod.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use response::{StatusCode, write_response, write_status_line, write_headers, get_default_headers};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `headers_get` is never used
[INFO] [stdout]  --> src/http/parser.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn headers_get<'a>(headers: &'a HashMap<String, String>, key: &str) -> Option<&'a str> {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ParseState` is never used
[INFO] [stdout]   --> src/http/parser.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum ParseState {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestParser` is never constructed
[INFO] [stdout]   --> src/http/parser.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct RequestParser {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `parse`, `is_done`, and `into_request` are never used
[INFO] [stdout]    --> src/http/parser.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl RequestParser {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  29 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub fn parse(&mut self, buf: &[u8]) -> io::Result<usize> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn is_done(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn into_request(self) -> Option<Request> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_one_header_line` is never used
[INFO] [stdout]    --> src/http/parser.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn parse_one_header_line(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_from_reader` is never used
[INFO] [stdout]    --> src/http/parser.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub fn request_from_reader<R: Read>(mut reader: R) -> io::Result<Request> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestLine` is never constructed
[INFO] [stdout]  --> src/http/request.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RequestLine {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]   --> src/http/request.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Request {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest` and `InternalServerError` are never constructed
[INFO] [stdout]  --> src/http/response/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum StatusCode {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 6 |     Ok = 200,
[INFO] [stdout] 7 |     BadRequest = 400,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 8 |     InternalServerError = 500,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StatusCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `err` is never used
[INFO] [stdout]  --> src/http/utils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn err(msg: &str) -> io::Error {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_ows` is never used
[INFO] [stdout]   --> src/http/utils.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn is_ows(b: u8) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_tchar` is never used
[INFO] [stdout]   --> src/http/utils.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn is_tchar(b: u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `body` is never read
[INFO] [stdout]   --> src/http/request.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Request {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub body: Vec<u8>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] running `Command { std: "docker" "inspect" "cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1", kill_on_drop: false }`
[INFO] [stdout] cfa0b23d24513888a0360838e247b3d73210daacc2a81210dd4b1628b8ec21e1
