[INFO] cloning repository https://github.com/radenrishwan/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/radenrishwan/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 781db1309034ffdddcf7cdedb16d3ccee01c0db0
[INFO] checking radenrishwan/http-server against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-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/radenrishwan/http-server
[INFO] finished tweaking git repo https://github.com/radenrishwan/http-server
[INFO] tweaked toml for git repo https://github.com/radenrishwan/http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/radenrishwan/http-server on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/radenrishwan/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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90da8235860ee7d2f41ef554d2f975f00eca2665a27e107b44e7f3d1df1da2e0
[INFO] running `Command { std: "docker" "start" "-a" "90da8235860ee7d2f41ef554d2f975f00eca2665a27e107b44e7f3d1df1da2e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90da8235860ee7d2f41ef554d2f975f00eca2665a27e107b44e7f3d1df1da2e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90da8235860ee7d2f41ef554d2f975f00eca2665a27e107b44e7f3d1df1da2e0", kill_on_drop: false }`
[INFO] [stdout] 90da8235860ee7d2f41ef554d2f975f00eca2665a27e107b44e7f3d1df1da2e0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3009fe8feee0f6be756de94a62af4bb13b39efad5367fa86c172f0c0e7581ac3
[INFO] running `Command { std: "docker" "start" "-a" "3009fe8feee0f6be756de94a62af4bb13b39efad5367fa86c172f0c0e7581ac3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking tokio v1.35.0
[INFO] [stderr]     Checking simple-http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]  --> src/handler.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn handler(stream: &mut TcpStream, handler: &dyn Fn(Request, Response) -> ()) -> Result<(), std::io::Error>{
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, and `body` are never read
[INFO] [stdout]  --> src/request.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Request {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 5 |     pub method: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 6 |     pub path: String,
[INFO] [stdout] 7 |     pub version: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 8 |     pub headers: HashMap<String, String>,
[INFO] [stdout] 9 |     pub body: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Request` 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 `get_value` is never used
[INFO] [stdout]   --> src/utils.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_value(headers: &HashMap<String, String>, key: &str) -> Result<String, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handler` is never used
[INFO] [stdout]  --> src/handler.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn handler(stream: &mut TcpStream, handler: &dyn Fn(Request, Response) -> ()) -> Result<(), std::io::Error>{
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, and `body` are never read
[INFO] [stdout]  --> src/request.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Request {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 5 |     pub method: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 6 |     pub path: String,
[INFO] [stdout] 7 |     pub version: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 8 |     pub headers: HashMap<String, String>,
[INFO] [stdout] 9 |     pub body: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Request` 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 `get_value` is never used
[INFO] [stdout]   --> src/utils.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn get_value(headers: &HashMap<String, String>, key: &str) -> Result<String, Error> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.40s
[INFO] running `Command { std: "docker" "inspect" "3009fe8feee0f6be756de94a62af4bb13b39efad5367fa86c172f0c0e7581ac3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3009fe8feee0f6be756de94a62af4bb13b39efad5367fa86c172f0c0e7581ac3", kill_on_drop: false }`
[INFO] [stdout] 3009fe8feee0f6be756de94a62af4bb13b39efad5367fa86c172f0c0e7581ac3
