[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] building radenrishwan/http-server against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-server" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/radenrishwan/http-server on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b91b8c867d28f7700e384d750c19131503a66bd69a2f8114100a4b0df1948a3 [INFO] running `Command { std: "docker" "start" "-a" "5b91b8c867d28f7700e384d750c19131503a66bd69a2f8114100a4b0df1948a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b91b8c867d28f7700e384d750c19131503a66bd69a2f8114100a4b0df1948a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b91b8c867d28f7700e384d750c19131503a66bd69a2f8114100a4b0df1948a3", kill_on_drop: false }` [INFO] [stdout] 5b91b8c867d28f7700e384d750c19131503a66bd69a2f8114100a4b0df1948a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52bb686fa23071100778612a5550171c239e87e803d0fba693b2418cb7267a3c [INFO] running `Command { std: "docker" "start" "-a" "52bb686fa23071100778612a5550171c239e87e803d0fba693b2418cb7267a3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling 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: function `get_value` is never used [INFO] [stdout] --> src/utils.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn get_value(headers: &HashMap, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [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, [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.07s [INFO] running `Command { std: "docker" "inspect" "52bb686fa23071100778612a5550171c239e87e803d0fba693b2418cb7267a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52bb686fa23071100778612a5550171c239e87e803d0fba693b2418cb7267a3c", kill_on_drop: false }` [INFO] [stdout] 52bb686fa23071100778612a5550171c239e87e803d0fba693b2418cb7267a3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11d7be47ca856cd7cc71282bc9230b29b00d7239f3faadb93eea575f363a56ca [INFO] running `Command { std: "docker" "start" "-a" "11d7be47ca856cd7cc71282bc9230b29b00d7239f3faadb93eea575f363a56ca", kill_on_drop: false }` [INFO] [stderr] Compiling 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, [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, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "11d7be47ca856cd7cc71282bc9230b29b00d7239f3faadb93eea575f363a56ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d7be47ca856cd7cc71282bc9230b29b00d7239f3faadb93eea575f363a56ca", kill_on_drop: false }` [INFO] [stdout] 11d7be47ca856cd7cc71282bc9230b29b00d7239f3faadb93eea575f363a56ca