[INFO] cloning repository https://github.com/Lvcky-gg/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/Lvcky-gg/http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLvcky-gg%2Fhttp_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLvcky-gg%2Fhttp_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dfdbb608dfe6aa28ad0d34c025715fca3ef113b4
[INFO] checking Lvcky-gg/http_server against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLvcky-gg%2Fhttp_server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Lvcky-gg/http_server
[INFO] finished tweaking git repo https://github.com/Lvcky-gg/http_server
[INFO] tweaked toml for git repo https://github.com/Lvcky-gg/http_server written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lvcky-gg/http_server on toolchain 987a165cfab916796a8315782b83ac460a651ce2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Lvcky-gg/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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3877cdefb29738bc538289c7225002ec84a4a0c037a2867dc453997393619f7
[INFO] running `Command { std: "docker" "start" "-a" "a3877cdefb29738bc538289c7225002ec84a4a0c037a2867dc453997393619f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3877cdefb29738bc538289c7225002ec84a4a0c037a2867dc453997393619f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3877cdefb29738bc538289c7225002ec84a4a0c037a2867dc453997393619f7", kill_on_drop: false }`
[INFO] [stdout] a3877cdefb29738bc538289c7225002ec84a4a0c037a2867dc453997393619f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1175dcfd4a1579dfe9fe8d8796c7ec891f93c0c3a9b956cb6988d86893386b3
[INFO] running `Command { std: "docker" "start" "-a" "d1175dcfd4a1579dfe9fe8d8796c7ec891f93c0c3a9b956cb6988d86893386b3", kill_on_drop: false }`
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `:`, found `Option`
[INFO] [stdout]  --> src/http/response.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Response {
[INFO] [stdout]   |            -------- while parsing this struct
[INFO] [stdout] 6 |     status_code:StatusCode,
[INFO] [stdout] 7 |     body Option<String>,
[INFO] [stdout]   |          ^^^^^^ expected `:`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `:`, found `Option`
[INFO] [stdout]  --> src/http/response.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Response {
[INFO] [stdout]   |            -------- while parsing this struct
[INFO] [stdout] 6 |     status_code:StatusCode,
[INFO] [stdout] 7 |     body Option<String>,
[INFO] [stdout]   |          ^^^^^^ expected `:`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s
[INFO] [stdout]   --> src/http/query_string.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 |   #[derive(Debug)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^ not applicable here
[INFO] [stdout] 12 | / impl<'buf> QueryString<'buf>{
[INFO] [stdout] 13 | |     pub fn get(&self, key: &str) -> Option<&Value>{
[INFO] [stdout] 14 | |         self.data.get(key)
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_- not a `struct`, `enum` or `union`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s
[INFO] [stdout]   --> src/http/query_string.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 |   #[derive(Debug)]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^ not applicable here
[INFO] [stdout] 12 | / impl<'buf> QueryString<'buf>{
[INFO] [stdout] 13 | |     pub fn get(&self, key: &str) -> Option<&Value>{
[INFO] [stdout] 14 | |         self.data.get(key)
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_- not a `struct`, `enum` or `union`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0255]: the name `StatusCode` is defined multiple times
[INFO] [stdout]  --> src/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum StatusCode{}
[INFO] [stdout]   | ------------------- previous definition of the type `StatusCode` here
[INFO] [stdout] 2 | use super::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ `StatusCode` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StatusCode` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::StatusCode as OtherStatusCode;
[INFO] [stdout]   |                       ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0255]: the name `StatusCode` is defined multiple times
[INFO] [stdout]  --> src/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum StatusCode{}
[INFO] [stdout]   | ------------------- previous definition of the type `StatusCode` here
[INFO] [stdout] 2 | use super::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ `StatusCode` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `StatusCode` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::StatusCode as OtherStatusCode;
[INFO] [stdout]   |                       ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use http::Request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Method`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::Method;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/server.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::TryInto;
[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: `Value as QueryStringValue`
[INFO] [stdout]  --> src/http/mod.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::Response`
[INFO] [stdout]  --> src/http/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use response::Response;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::StatusCode`
[INFO] [stdout]  --> src/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use http::Request;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Method`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::Method;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/server.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::convert::TryInto;
[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: `Value as QueryStringValue`
[INFO] [stdout]  --> src/http/mod.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::Response`
[INFO] [stdout]  --> src/http/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use response::Response;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::StatusCode`
[INFO] [stdout]  --> src/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::StatusCode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `QueryString<'buf>` doesn't implement `Debug`
[INFO] [stdout]   --> src/http/request.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Debug)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 12 |     query_string: Option<QueryString<'buf>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `QueryString<'buf>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `QueryString<'buf>` or manually `impl Debug for QueryString<'buf>`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Option<T>`
[INFO] [stdout] help: consider annotating `QueryString<'buf>` with `#[derive(Debug)]`
[INFO] [stdout]   --> src/http/query_string.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 + #[derive(Debug)]
[INFO] [stdout]  3 | pub struct QueryString<'buf>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `QueryString<'buf>` doesn't implement `Debug`
[INFO] [stdout]   --> src/http/request.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Debug)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 12 |     query_string: Option<QueryString<'buf>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `QueryString<'buf>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `QueryString<'buf>` or manually `impl Debug for QueryString<'buf>`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Option<T>`
[INFO] [stdout] help: consider annotating `QueryString<'buf>` with `#[derive(Debug)]`
[INFO] [stdout]   --> src/http/query_string.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout]  2 + #[derive(Debug)]
[INFO] [stdout]  3 | pub struct QueryString<'buf>{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0255, E0277, E0774.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0255`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0255, E0277, E0774.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0255`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server` (bin "server") due to 4 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `server` (bin "server" test) due to 4 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d1175dcfd4a1579dfe9fe8d8796c7ec891f93c0c3a9b956cb6988d86893386b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1175dcfd4a1579dfe9fe8d8796c7ec891f93c0c3a9b956cb6988d86893386b3", kill_on_drop: false }`
[INFO] [stdout] d1175dcfd4a1579dfe9fe8d8796c7ec891f93c0c3a9b956cb6988d86893386b3
