[INFO] cloning repository https://github.com/rehan-jaffer/rust-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/rehan-jaffer/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehan-jaffer%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehan-jaffer%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfe14017c1c42c14ce480b1ea3cafe92f13cf3ea [INFO] checking rehan-jaffer/rust-http-server against master#7bdae134cba57426d3c56b5de737a351762445e1 for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehan-jaffer%2Frust-http-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rehan-jaffer/rust-http-server on toolchain 7bdae134cba57426d3c56b5de737a351762445e1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7bdae134cba57426d3c56b5de737a351762445e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rehan-jaffer/rust-http-server [INFO] finished tweaking git repo https://github.com/rehan-jaffer/rust-http-server [INFO] tweaked toml for git repo https://github.com/rehan-jaffer/rust-http-server written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rehan-jaffer/rust-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" "+7bdae134cba57426d3c56b5de737a351762445e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rehan-jaffer/rust-http-server against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehan-jaffer%2Frust-http-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rehan-jaffer/rust-http-server on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rehan-jaffer/rust-http-server [INFO] finished tweaking git repo https://github.com/rehan-jaffer/rust-http-server [INFO] tweaked toml for git repo https://github.com/rehan-jaffer/rust-http-server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rehan-jaffer/rust-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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rehan-jaffer/rust-http-server against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehan-jaffer%2Frust-http-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rehan-jaffer/rust-http-server on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rehan-jaffer/rust-http-server [INFO] finished tweaking git repo https://github.com/rehan-jaffer/rust-http-server [INFO] tweaked toml for git repo https://github.com/rehan-jaffer/rust-http-server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rehan-jaffer/rust-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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v4.0.0 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5c89f3c8a0008af68fb571a934a443294dededf8500dd193e6f6301bc44265c [INFO] running `Command { std: "docker" "start" "-a" "b5c89f3c8a0008af68fb571a934a443294dededf8500dd193e6f6301bc44265c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c89f3c8a0008af68fb571a934a443294dededf8500dd193e6f6301bc44265c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c89f3c8a0008af68fb571a934a443294dededf8500dd193e6f6301bc44265c", kill_on_drop: false }` [INFO] [stdout] b5c89f3c8a0008af68fb571a934a443294dededf8500dd193e6f6301bc44265c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e04901201117666e640d4d66efcad9a7e757a0af7e01f78fab0665dab6ab4fbd [INFO] running `Command { std: "docker" "start" "-a" "e04901201117666e640d4d66efcad9a7e757a0af7e01f78fab0665dab6ab4fbd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking thread-id v4.0.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/server/plugins/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/server/plugins/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/plugins/file.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/server/plugins/file.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/linescodec.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linescodec.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/linescodec.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linescodec.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_mode` is never read [INFO] [stdout] --> src/server.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Server<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub debug_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http/request.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HTTPRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub headers: super::headers::HTTPHeaders [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden` and `InternalError` are never constructed [INFO] [stdout] --> src/http/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum HTTPResponseType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 5 | Ok, [INFO] [stdout] 6 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPResponseType` 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: fields `key` and `value` are never read [INFO] [stdout] --> src/http/headers.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HTTPHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | value: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http/headers.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HTTPHeaders { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | headers: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_mode` is never read [INFO] [stdout] --> src/server.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Server<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub debug_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http/request.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HTTPRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub headers: super::headers::HTTPHeaders [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden` and `InternalError` are never constructed [INFO] [stdout] --> src/http/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum HTTPResponseType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 5 | Ok, [INFO] [stdout] 6 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPResponseType` 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: fields `key` and `value` are never read [INFO] [stdout] --> src/http/headers.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HTTPHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | value: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/http/headers.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HTTPHeaders { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | headers: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "e04901201117666e640d4d66efcad9a7e757a0af7e01f78fab0665dab6ab4fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04901201117666e640d4d66efcad9a7e757a0af7e01f78fab0665dab6ab4fbd", kill_on_drop: false }` [INFO] [stdout] e04901201117666e640d4d66efcad9a7e757a0af7e01f78fab0665dab6ab4fbd