[INFO] cloning repository https://github.com/DanNisenson/rust-toy-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanNisenson/rust-toy-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanNisenson%2Frust-toy-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanNisenson%2Frust-toy-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 706dcf72ded9acbe34975ee890efe0fbb9de1602
[INFO] checking DanNisenson/rust-toy-server against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanNisenson%2Frust-toy-server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DanNisenson/rust-toy-server
[INFO] finished tweaking git repo https://github.com/DanNisenson/rust-toy-server
[INFO] tweaked toml for git repo https://github.com/DanNisenson/rust-toy-server written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DanNisenson/rust-toy-server on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DanNisenson/rust-toy-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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c
[INFO] running `Command { std: "docker" "start" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c", 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" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c", 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" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-toy-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         .map_err(|e| ServerError::new("Error flushing stream"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 |         .map_err(|e| ServerError::new("Error writing response to stream"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:176:23
[INFO] [stdout]     |
[INFO] [stdout] 176 |             .map_err(|e| ServerError::new(&format!("Bad \"content-length\": {value}")))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:188:19
[INFO] [stdout]     |
[INFO] [stdout] 188 |         .map_err(|e| ServerError::new("Error reading request start line"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:240:23
[INFO] [stdout]     |
[INFO] [stdout] 240 |             .map_err(|e| ServerError::new("Error reading request headers"))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:260:19
[INFO] [stdout]     |
[INFO] [stdout] 260 |         .map_err(|e| ServerError::new("Error reading request body"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:257:19
[INFO] [stdout]     |
[INFO] [stdout] 257 |         .map_err(|e| ServerError::new("Error reading request body"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_req` is never used
[INFO] [stdout]   --> src/lib/errors.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl ServerError {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn parse_req(error: io::Error) -> ServerError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Head`, `Connect`, `Options`, and `Trace` are never constructed
[INFO] [stdout]   --> src/lib/http.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Method {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] 18 |     Get,
[INFO] [stdout] 19 |     Head,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Connect,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 25 |     Options,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     Trace,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BadRequest` is never constructed
[INFO] [stdout]   --> src/lib/http.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 37 |     OK,
[INFO] [stdout] 38 |     BadRequest,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]  --> src/lib/thread_pool.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ThreadPool {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 9 |     workers: Vec<Worker>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `handle` are never read
[INFO] [stdout]  --> src/lib/worker.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Worker {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     id: String,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 8 |     handle: Option<JoinHandle<()>>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         .map_err(|e| ServerError::new("Error flushing stream"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 |         .map_err(|e| ServerError::new("Error writing response to stream"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:176:23
[INFO] [stdout]     |
[INFO] [stdout] 176 |             .map_err(|e| ServerError::new(&format!("Bad \"content-length\": {value}")))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib/errors.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         write!(f, "{}", self.0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let _ = write!(f, "{}", self.0);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:188:19
[INFO] [stdout]     |
[INFO] [stdout] 188 |         .map_err(|e| ServerError::new("Error reading request start line"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:240:23
[INFO] [stdout]     |
[INFO] [stdout] 240 |             .map_err(|e| ServerError::new("Error reading request headers"))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:260:19
[INFO] [stdout]     |
[INFO] [stdout] 260 |         .map_err(|e| ServerError::new("Error reading request body"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib/http.rs:257:19
[INFO] [stdout]     |
[INFO] [stdout] 257 |         .map_err(|e| ServerError::new("Error reading request body"))?;
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_req` is never used
[INFO] [stdout]   --> src/lib/errors.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl ServerError {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn parse_req(error: io::Error) -> ServerError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Head`, `Connect`, `Options`, and `Trace` are never constructed
[INFO] [stdout]   --> src/lib/http.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Method {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] 18 |     Get,
[INFO] [stdout] 19 |     Head,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Connect,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 25 |     Options,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     Trace,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BadRequest` is never constructed
[INFO] [stdout]   --> src/lib/http.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 37 |     OK,
[INFO] [stdout] 38 |     BadRequest,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]  --> src/lib/thread_pool.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ThreadPool {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 9 |     workers: Vec<Worker>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `handle` are never read
[INFO] [stdout]  --> src/lib/worker.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Worker {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     id: String,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 8 |     handle: Option<JoinHandle<()>>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib/errors.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         write!(f, "{}", self.0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let _ = write!(f, "{}", self.0);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c", kill_on_drop: false }`
[INFO] [stdout] 37bd957b18e5c2e4496285b650afd845c27941c265d634d30950ca211553098c
