[INFO] cloning repository https://github.com/hydrol0x/Ironic-Webserver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hydrol0x/Ironic-Webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhydrol0x%2FIronic-Webserver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhydrol0x%2FIronic-Webserver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee7f08f6ca32e2aa111946609a53f2d2064db05e
[INFO] checking hydrol0x/Ironic-Webserver against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhydrol0x%2FIronic-Webserver" "/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/hydrol0x/Ironic-Webserver
[INFO] finished tweaking git repo https://github.com/hydrol0x/Ironic-Webserver
[INFO] tweaked toml for git repo https://github.com/hydrol0x/Ironic-Webserver written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hydrol0x/Ironic-Webserver on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hydrol0x/Ironic-Webserver 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b0286292b44b561577da460c79045f8fd4e31372475529ceceb9dea6bfa0d333
[INFO] running `Command { std: "docker" "start" "-a" "b0286292b44b561577da460c79045f8fd4e31372475529ceceb9dea6bfa0d333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0286292b44b561577da460c79045f8fd4e31372475529ceceb9dea6bfa0d333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0286292b44b561577da460c79045f8fd4e31372475529ceceb9dea6bfa0d333", kill_on_drop: false }`
[INFO] [stdout] b0286292b44b561577da460c79045f8fd4e31372475529ceceb9dea6bfa0d333
[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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 981de3822dd96fb2069dcbb375f02d6cbb516b3b209de4c0afac8cbc331ef9a2
[INFO] running `Command { std: "docker" "start" "-a" "981de3822dd96fb2069dcbb375f02d6cbb516b3b209de4c0afac8cbc331ef9a2", kill_on_drop: false }`
[INFO] [stderr]     Checking webserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[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 import: `Thread`
[INFO] [stdout]  --> src/main.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::{self, JoinHandle, Thread};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpStatus`
[INFO] [stdout]   --> src/main.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | use http::{HttpMethod, HttpRequest, HttpResp, HttpStatus, HttpVersion};
[INFO] [stdout]    |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `webserver` (bin "webserver") due to 1 previous error; 12 warnings emitted
[INFO] [stdout] warning: unused variable: `status_text`
[INFO] [stdout]    --> src/http.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let status_text = parts[2..].join(" "); // Join remaining parts for status text
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_text`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: enum `ThreadStatus` is never used
[INFO] [stdout]   --> src/main.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ThreadStatus {
[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 `thread` and `id` are never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Worker {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 23 |     thread: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run_task` is never used
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn run_task() {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct ThreadPool {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 40 |     // threads: Vec<(Sender<u8>, ThreadStatus)>,
[INFO] [stdout] 41 |     workers: Vec<Worker>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> src/http.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | impl HttpMethod {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 144 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_string` and `with_code` are never used
[INFO] [stdout]    --> src/http.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl HttpResp {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn from_string(response: &str) -> Result<Self, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn with_code(status_code: u16, version: HttpVersion) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `headers`, and `body` are never read
[INFO] [stdout]    --> src/http.rs:288:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub struct HttpRequest {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 288 |     version: HttpVersion,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 289 |     headers: Option<HttpHeaders>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 290 |     body: Option<String>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_string` are never used
[INFO] [stdout]    --> src/http.rs:294:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | impl HttpRequest {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 294 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/http.rs:331:38
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let version_string: String = parts[2].parse().expect("Couldn't parse status code");
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/main.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{self, File};
[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 import: `Thread`
[INFO] [stdout]  --> src/main.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::{self, JoinHandle, Thread};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpStatus`
[INFO] [stdout]   --> src/main.rs:12:47
[INFO] [stdout]    |
[INFO] [stdout] 12 | use http::{HttpMethod, HttpRequest, HttpResp, HttpStatus, HttpVersion};
[INFO] [stdout]    |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status_text`
[INFO] [stdout]    --> src/http.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let status_text = parts[2..].join(" "); // Join remaining parts for status text
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_text`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ThreadStatus` is never used
[INFO] [stdout]   --> src/main.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ThreadStatus {
[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 `thread` and `id` are never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Worker {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 23 |     thread: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run_task` is never used
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn run_task() {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]   --> src/main.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct ThreadPool {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 40 |     // threads: Vec<(Sender<u8>, ThreadStatus)>,
[INFO] [stdout] 41 |     workers: Vec<Worker>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> src/http.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | impl HttpMethod {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 144 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_string` and `with_code` are never used
[INFO] [stdout]    --> src/http.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl HttpResp {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn from_string(response: &str) -> Result<Self, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn with_code(status_code: u16, version: HttpVersion) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `headers`, and `body` are never read
[INFO] [stdout]    --> src/http.rs:288:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub struct HttpRequest {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 288 |     version: HttpVersion,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 289 |     headers: Option<HttpHeaders>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 290 |     body: Option<String>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_string` are never used
[INFO] [stdout]    --> src/http.rs:294:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | impl HttpRequest {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 294 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> src/http.rs:331:38
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let version_string: String = parts[2].parse().expect("Couldn't parse status code");
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `webserver` (bin "webserver" test) due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "981de3822dd96fb2069dcbb375f02d6cbb516b3b209de4c0afac8cbc331ef9a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "981de3822dd96fb2069dcbb375f02d6cbb516b3b209de4c0afac8cbc331ef9a2", kill_on_drop: false }`
[INFO] [stdout] 981de3822dd96fb2069dcbb375f02d6cbb516b3b209de4c0afac8cbc331ef9a2
