[INFO] cloning repository https://github.com/devfire/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/devfire/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21b16421470a3bad49017a0850ebb16bc990a722
[INFO] checking devfire/http-server against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/devfire/http-server
[INFO] finished tweaking git repo https://github.com/devfire/http-server
[INFO] tweaked toml for git repo https://github.com/devfire/http-server written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devfire/http-server on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devfire/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" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c
[INFO] running `Command { std: "docker" "start" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c", 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" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c", 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" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use http::Request;
[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: `http::Method`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use http::Method;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use http::Request;
[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: `request::ParseError`
[INFO] [stdout]  --> src/http/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use request::ParseError;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::request`
[INFO] [stdout]  --> src/http/request.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::http::request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Method`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use http::Method;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/http/request.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt::{Display, Formatter, Result as FmtResult, write, Debug};
[INFO] [stdout]   |                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `request::ParseError`
[INFO] [stdout]  --> src/http/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use request::ParseError;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::request`
[INFO] [stdout]  --> src/http/request.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::http::request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/http/request.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt::{Display, Formatter, Result as FmtResult, write, Debug};
[INFO] [stdout]   |                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/http/request.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn from_byte_array(buf: &[u8]) -> Result<Self, String> {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/http/request.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (path, request) = get_next_word(request).ok_or(ParseError::InvalidRequest)?;
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/http/request.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let method: Method = method.parse()?;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/server.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 Ok((mut stream, address)) => {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/server.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...                   Ok(request) => {}
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read
[INFO] [stdout]   --> src/http/request.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 12 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     query_string: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_byte_array` is never used
[INFO] [stdout]   --> src/http/request.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Request {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn from_byte_array(buf: &[u8]) -> Result<Self, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> src/http/request.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn from_byte_array(buf: &[u8]) -> Result<Self, String> {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/http/request.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (path, request) = get_next_word(request).ok_or(ParseError::InvalidRequest)?;
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/http/request.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let method: Method = method.parse()?;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/server.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 Ok((mut stream, address)) => {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/server.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...                   Ok(request) => {}
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read
[INFO] [stdout]   --> src/http/request.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 12 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 13 |     query_string: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_byte_array` is never used
[INFO] [stdout]   --> src/http/request.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Request {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn from_byte_array(buf: &[u8]) -> Result<Self, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c", kill_on_drop: false }`
[INFO] [stdout] 0ed000f48125cb8cd92e2bb85818378196fdef7ec0775b009f0d217b34086d4c
