[INFO] cloning repository https://github.com/ramik10/codecrafters-http-server-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ramik10/codecrafters-http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framik10%2Fcodecrafters-http-server-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framik10%2Fcodecrafters-http-server-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4e6d0db7fe7d3688c21476379b417f9fa49b1fa6
[INFO] checking ramik10/codecrafters-http-server-rust against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framik10%2Fcodecrafters-http-server-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ramik10/codecrafters-http-server-rust
[INFO] finished tweaking git repo https://github.com/ramik10/codecrafters-http-server-rust
[INFO] tweaked toml for git repo https://github.com/ramik10/codecrafters-http-server-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ramik10/codecrafters-http-server-rust on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ramik10/codecrafters-http-server-rust 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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d61b8fb86cf57d1ebb3ada556ffa57501d82a4ce921bd46c982198558636561
[INFO] running `Command { std: "docker" "start" "-a" "0d61b8fb86cf57d1ebb3ada556ffa57501d82a4ce921bd46c982198558636561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d61b8fb86cf57d1ebb3ada556ffa57501d82a4ce921bd46c982198558636561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d61b8fb86cf57d1ebb3ada556ffa57501d82a4ce921bd46c982198558636561", kill_on_drop: false }`
[INFO] [stdout] 0d61b8fb86cf57d1ebb3ada556ffa57501d82a4ce921bd46c982198558636561
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a99ef67b250936766da2bcbf6dd1882fc1b06de8e87f2cd77ba46d78f8809f52
[INFO] running `Command { std: "docker" "start" "-a" "a99ef67b250936766da2bcbf6dd1882fc1b06de8e87f2cd77ba46d78f8809f52", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking codecrafters-http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BufReader` and `read`
[INFO] [stdout]  --> src/main.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, fs::{self, read}, io::{BufRead, BufReader, Read, Write}, net::TcpStream, str};
[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 imports: `BufReader` and `read`
[INFO] [stdout]  --> src/main.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, fs::{self, read}, io::{BufRead, BufReader, Read, Write}, net::TcpStream, str};
[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: `BufRead`
[INFO] [stdout]  --> src/main.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, fs::{self, read}, io::{BufRead, BufReader, Read, Write}, net::TcpStream, str};
[INFO] [stdout]   |                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/main.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, fs::{self, read}, io::{BufRead, BufReader, Read, Write}, net::TcpStream, str};
[INFO] [stdout]   |                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let mut lines = req.lines();
[INFO] [stdout]    |                     ----^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |                         Err(e)=>{
[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: value assigned to `should_gzip` is never read
[INFO] [stdout]   --> src/main.rs:63:43
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     let mut should_gzip = false;
[INFO] [stdout]    |                                           ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     should_gzip = parts.contains(&"gzip,") || parts.contains(&"gzip");
[INFO] [stdout]    |                     ----------------------------------------------------------------- `should_gzip` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `line` is never read
[INFO] [stdout]    --> src/main.rs:121:36
[INFO] [stdout]     |
[INFO] [stdout] 121 | ...   let mut line = String::new();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 128 | ...       line = format!("HTTP/1.1 200 OK\r\nContent-Type: application/octet-stream\r\nContent-Length: {}\r\n\r\n{}",_content.len()...
[INFO] [stdout]     |           ---- `line` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let mut lines = req.lines();
[INFO] [stdout]    |                     ----^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |                         Err(e)=>{
[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: value assigned to `should_gzip` is never read
[INFO] [stdout]   --> src/main.rs:63:43
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     let mut should_gzip = false;
[INFO] [stdout]    |                                           ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 66 |                     should_gzip = parts.contains(&"gzip,") || parts.contains(&"gzip");
[INFO] [stdout]    |                     ----------------------------------------------------------------- `should_gzip` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `line` is never read
[INFO] [stdout]    --> src/main.rs:121:36
[INFO] [stdout]     |
[INFO] [stdout] 121 | ...   let mut line = String::new();
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 128 | ...       line = format!("HTTP/1.1 200 OK\r\nContent-Type: application/octet-stream\r\nContent-Length: {}\r\n\r\n{}",_content.len()...
[INFO] [stdout]     |           ---- `line` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.66s
[INFO] running `Command { std: "docker" "inspect" "a99ef67b250936766da2bcbf6dd1882fc1b06de8e87f2cd77ba46d78f8809f52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a99ef67b250936766da2bcbf6dd1882fc1b06de8e87f2cd77ba46d78f8809f52", kill_on_drop: false }`
[INFO] [stdout] a99ef67b250936766da2bcbf6dd1882fc1b06de8e87f2cd77ba46d78f8809f52
