[INFO] cloning repository https://github.com/mpata2000/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/mpata2000/HTTP-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpata2000%2FHTTP-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpata2000%2FHTTP-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bcc780658f54585a800ff127af2b40e2dcadb83 [INFO] checking mpata2000/HTTP-Server against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpata2000%2FHTTP-Server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpata2000/HTTP-Server on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpata2000/HTTP-Server [INFO] finished tweaking git repo https://github.com/mpata2000/HTTP-Server [INFO] tweaked toml for git repo https://github.com/mpata2000/HTTP-Server written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mpata2000/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78ffc230fcc3bf3a01b4fba817fa1f6a99cfa12e06e7035b4e42e5298ffda141 [INFO] running `Command { std: "docker" "start" "-a" "78ffc230fcc3bf3a01b4fba817fa1f6a99cfa12e06e7035b4e42e5298ffda141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78ffc230fcc3bf3a01b4fba817fa1f6a99cfa12e06e7035b4e42e5298ffda141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ffc230fcc3bf3a01b4fba817fa1f6a99cfa12e06e7035b4e42e5298ffda141", kill_on_drop: false }` [INFO] [stdout] 78ffc230fcc3bf3a01b4fba817fa1f6a99cfa12e06e7035b4e42e5298ffda141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6175b7dcb709aa87a851e23428ba8a00d0703af5f8f4e231e963286f73c1455 [INFO] running `Command { std: "docker" "start" "-a" "c6175b7dcb709aa87a851e23428ba8a00d0703af5f8f4e231e963286f73c1455", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking HTTP-Server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http_request::HttpRequest` [INFO] [stdout] --> src/router.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | context::Context, http_method::HttpMethod, http_request::HttpRequest, http_status::HttpStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/server.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/server.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | net::{TcpListener, TcpStream}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http_request::HttpRequest` [INFO] [stdout] --> src/router.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | context::Context, http_method::HttpMethod, http_request::HttpRequest, http_status::HttpStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/server.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/server.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | net::{TcpListener, TcpStream}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | fn read_head(mut stream: &mut S) -> Result { [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: variable does not need to be mutable [INFO] [stdout] --> src/context.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut r; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start`, `read_head`, and `handle_connection` are never used [INFO] [stdout] --> src/server.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn start(&self, addr: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn read_head(mut stream: &mut S) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn handle_connection(mut stream: &mut S) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `HTTP_Server` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `http_server` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | fn read_head(mut stream: &mut S) -> Result { [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: variable does not need to be mutable [INFO] [stdout] --> src/context.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut r; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start` is never used [INFO] [stdout] --> src/server.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn start(&self, addr: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "c6175b7dcb709aa87a851e23428ba8a00d0703af5f8f4e231e963286f73c1455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6175b7dcb709aa87a851e23428ba8a00d0703af5f8f4e231e963286f73c1455", kill_on_drop: false }` [INFO] [stdout] c6175b7dcb709aa87a851e23428ba8a00d0703af5f8f4e231e963286f73c1455