[INFO] cloning repository https://github.com/samuelorji/simple_http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samuelorji/simple_http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsimple_http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsimple_http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d143d8382e552a7103996cf047db0007a04d0fdc [INFO] checking samuelorji/simple_http against master#8f08b3a32478b8d0507732800ecb548a76e0fd0c for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelorji%2Fsimple_http" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/samuelorji/simple_http [INFO] finished tweaking git repo https://github.com/samuelorji/simple_http [INFO] tweaked toml for git repo https://github.com/samuelorji/simple_http written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/samuelorji/simple_http on toolchain 8f08b3a32478b8d0507732800ecb548a76e0fd0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/samuelorji/simple_http 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" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe6514322ae050f66a14e89cbc909bf799c4787ecb68f4e723b7816c78f4bae5 [INFO] running `Command { std: "docker" "start" "-a" "fe6514322ae050f66a14e89cbc909bf799c4787ecb68f4e723b7816c78f4bae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe6514322ae050f66a14e89cbc909bf799c4787ecb68f4e723b7816c78f4bae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6514322ae050f66a14e89cbc909bf799c4787ecb68f4e723b7816c78f4bae5", kill_on_drop: false }` [INFO] [stdout] fe6514322ae050f66a14e89cbc909bf799c4787ecb68f4e723b7816c78f4bae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f30fe49b051cb74f0506e0d3cc13e0ffa4e07090e09c9912a00d0fbd1e390fbe [INFO] running `Command { std: "docker" "start" "-a" "f30fe49b051cb74f0506e0d3cc13e0ffa4e07090e09c9912a00d0fbd1e390fbe", kill_on_drop: false }` [INFO] [stderr] Checking simple_http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `format` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, format, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/http/HttpParser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | if(*byte == 13){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if(*byte == 13){ [INFO] [stdout] 65 + if *byte == 13 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | if(*byte == 13 && bytes[index + 2] == 13_u8){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if(*byte == 13 && bytes[index + 2] == 13_u8){ [INFO] [stdout] 76 + if *byte == 13 && bytes[index + 2] == 13_u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if (*byte == b' '){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if (*byte == b' '){ [INFO] [stdout] 90 + if *byte == b' ' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | if(method.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if(method.is_none()){ [INFO] [stdout] 91 + if method.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | if(method.is_some() && path.is_some()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if(method.is_some() && path.is_some()){ [INFO] [stdout] 103 + if method.is_some() && path.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `format` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, format, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | if(elem.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if(elem.is_empty()){ [INFO] [stdout] 121 + if elem.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | if(header_end == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - if(header_end == 0){ [INFO] [stdout] 122 + if header_end == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/http/HttpParser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | if(stuff.len() != 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - if(stuff.len() != 3){ [INFO] [stdout] 131 + if stuff.len() != 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/http/errors.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, format, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | if(*byte == 13){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - if(*byte == 13){ [INFO] [stdout] 65 + if *byte == 13 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/http/status_codes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | if(*byte == 13 && bytes[index + 2] == 13_u8){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if(*byte == 13 && bytes[index + 2] == 13_u8){ [INFO] [stdout] 76 + if *byte == 13 && bytes[index + 2] == 13_u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `json` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | json, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `html` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | html, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | if (*byte == b' '){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if (*byte == b' '){ [INFO] [stdout] 90 + if *byte == b' ' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `text` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | text [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/threading/threadpool.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, LockResult, Mutex}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | if(method.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if(method.is_none()){ [INFO] [stdout] 91 + if method.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecvError` [INFO] [stdout] --> src/threading/threadpool.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{Receiver, RecvError, Sender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | if(method.is_some() && path.is_some()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if(method.is_some() && path.is_some()){ [INFO] [stdout] 103 + if method.is_some() && path.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::status_codes::StatusCode` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use http::status_codes::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::response::HttpResponse` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http::response::HttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | if(elem.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if(elem.is_empty()){ [INFO] [stdout] 121 + if elem.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | if(header_end == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - if(header_end == 0){ [INFO] [stdout] 122 + if header_end == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/http/HttpParser.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | if(stuff.len() != 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - if(stuff.len() != 3){ [INFO] [stdout] 131 + if stuff.len() != 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/http/errors.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, format, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/http/status_codes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `json` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | json, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `html` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | html, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Html` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `text` should have an upper camel case name [INFO] [stdout] --> src/http/content_types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | text [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LockResult` [INFO] [stdout] --> src/threading/threadpool.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, LockResult, Mutex}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecvError` [INFO] [stdout] --> src/threading/threadpool.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{Receiver, RecvError, Sender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::status_codes::StatusCode` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use http::status_codes::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::response::HttpResponse` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http::response::HttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_start` [INFO] [stdout] --> src/http/HttpParser.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut body_start = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_string` [INFO] [stdout] --> src/http/HttpParser.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let header_string :&str = &rest[..header_end].join(""); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http/HttpParser.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut body_start = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_start` [INFO] [stdout] --> src/http/HttpParser.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut body_start = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_string` [INFO] [stdout] --> src/http/HttpParser.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let header_string :&str = &rest[..header_end].join(""); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http/HttpParser.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut body_start = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/http/errors.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | _ => "Nothing", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/http/errors.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 13 | HttpParserErrors::InvalidProtocol => "Invalid Protocol", [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 14 | HttpParserErrors::InvalidRequest => "Invalid Request", [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 15 | HttpParserErrors::InvalidMethod => "Invalid Method", [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 16 | _ => "Nothing", [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/http/errors.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | _ => "Nothing", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/http/errors.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 13 | HttpParserErrors::InvalidProtocol => "Invalid Protocol", [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 14 | HttpParserErrors::InvalidRequest => "Invalid Request", [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 15 | HttpParserErrors::InvalidMethod => "Invalid Method", [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 16 | _ => "Nothing", [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&self, handler: impl Handler, pool: ThreadPool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Server { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 37 | fn new(address: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn run(&self, handler: impl Handler, pool: ThreadPool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Server { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 37 | fn new(address: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_http` (bin "simple_http" test); 28 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/8f08b3a32478b8d0507732800ecb548a76e0fd0c/bin/rustc --crate-name simple_http --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a8e73e8dde626dc8 -C extra-filename=-97ab372a7f4d9735 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple_http` (bin "simple_http"); 28 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/8f08b3a32478b8d0507732800ecb548a76e0fd0c/bin/rustc --crate-name simple_http --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=0497d46078293c72 -C extra-filename=-28fda58e0c3996a9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "f30fe49b051cb74f0506e0d3cc13e0ffa4e07090e09c9912a00d0fbd1e390fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30fe49b051cb74f0506e0d3cc13e0ffa4e07090e09c9912a00d0fbd1e390fbe", kill_on_drop: false }` [INFO] [stdout] f30fe49b051cb74f0506e0d3cc13e0ffa4e07090e09c9912a00d0fbd1e390fbe