[INFO] cloning repository https://github.com/pedramcode/rust-http
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedramcode/rust-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedramcode%2Frust-http", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedramcode%2Frust-http'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9be1cda0c855941b3fd25a37978540b211750eaa
[INFO] checking pedramcode/rust-http against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedramcode%2Frust-http" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pedramcode/rust-http
[INFO] finished tweaking git repo https://github.com/pedramcode/rust-http
[INFO] tweaked toml for git repo https://github.com/pedramcode/rust-http written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pedramcode/rust-http on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pedramcode/rust-http 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1
[INFO] running `Command { std: "docker" "start" "6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1", 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" "6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1", 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" "6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-http v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `version` is never read
[INFO] [stdout]   --> src/http/parser.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut version: String = String::new();
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 87 |             version = head_tokens[2].to_string();
[INFO] [stdout]    |             ------- `version` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/http/parser.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Method {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn to_string(&self) -> &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: multiple fields are never read
[INFO] [stdout]   --> src/http/parser.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct HTTPMessage {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 55 |     pub kind: Kind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 56 |     pub version: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 57 |     pub url: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 58 |     pub status: Option<u32>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 59 |     pub reason: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 60 |     pub method: Option<Method>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 61 |     pub headers: Option<HashMap<String, String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 62 |     pub body: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HTTPMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `version` is never read
[INFO] [stdout]   --> src/http/parser.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut version: String = String::new();
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 87 |             version = head_tokens[2].to_string();
[INFO] [stdout]    |             ------- `version` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/http/parser.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Method {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn to_string(&self) -> &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: multiple fields are never read
[INFO] [stdout]   --> src/http/parser.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct HTTPMessage {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 55 |     pub kind: Kind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 56 |     pub version: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 57 |     pub url: Option<String>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 58 |     pub status: Option<u32>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 59 |     pub reason: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 60 |     pub method: Option<Method>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 61 |     pub headers: Option<HashMap<String, String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 62 |     pub body: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HTTPMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1", kill_on_drop: false }`
[INFO] [stdout] 6a5a73578f8fcfd5bfd009af8ed33e0495ef4a2f2d92ef7fb99c6b9c97b386a1
