[INFO] cloning repository https://github.com/laxman1129/rust-simple-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/laxman1129/rust-simple-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaxman1129%2Frust-simple-http-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaxman1129%2Frust-simple-http-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 111fdd91607fda7a1f2d105dd2714cb4f9706035
[INFO] checking laxman1129/rust-simple-http-server/111fdd91607fda7a1f2d105dd2714cb4f9706035 against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaxman1129%2Frust-simple-http-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/laxman1129/rust-simple-http-server
[INFO] finished tweaking git repo https://github.com/laxman1129/rust-simple-http-server
[INFO] tweaked toml for git repo https://github.com/laxman1129/rust-simple-http-server written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laxman1129/rust-simple-http-server on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/laxman1129/rust-simple-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" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28
[INFO] running `Command { std: "docker" "start" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28", 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" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28", 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" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http::Method;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/server.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write}; // using this trait to read from the stream
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as QueryStringValue`
[INFO] [stdout]  --> src/http/mod.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query_string::{QueryString,Value as QueryStringValue};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Result as FmtResult`
[INFO] [stdout]  --> src/http/response.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Result as FmtResult};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream`
[INFO] [stdout]  --> src/http/response.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::StripPrefixError`
[INFO] [stdout]  --> src/website_handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::StripPrefixError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http::Method;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/server.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write}; // using this trait to read from the stream
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as QueryStringValue`
[INFO] [stdout]  --> src/http/mod.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use query_string::{QueryString,Value as QueryStringValue};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Result as FmtResult`
[INFO] [stdout]  --> src/http/response.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Result as FmtResult};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream`
[INFO] [stdout]  --> src/http/response.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::StripPrefixError`
[INFO] [stdout]  --> src/website_handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::StripPrefixError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/http/request.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn query_string(&self) -> Option<&QueryString> {
[INFO] [stdout]    |                         ^^^^^            ^^^^^^^^^^^^
[INFO] [stdout]    |                         |                ||
[INFO] [stdout]    |                         |                |the same lifetime is hidden here
[INFO] [stdout]    |                         |                the same lifetime is elided here
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn query_string(&self) -> Option<&QueryString<'_>> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/http/query_string.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn get(&self, key: &str) -> Option<&Value> {
[INFO] [stdout]    |                ^^^^^                       ^^^^^^
[INFO] [stdout]    |                |                           ||
[INFO] [stdout]    |                |                           |the same lifetime is hidden here
[INFO] [stdout]    |                |                           the same lifetime is elided here
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn get(&self, key: &str) -> Option<&Value<'_>> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/http/request.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn query_string(&self) -> Option<&QueryString> {
[INFO] [stdout]    |                         ^^^^^            ^^^^^^^^^^^^
[INFO] [stdout]    |                         |                ||
[INFO] [stdout]    |                         |                |the same lifetime is hidden here
[INFO] [stdout]    |                         |                the same lifetime is elided here
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn query_string(&self) -> Option<&QueryString<'_>> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/http/query_string.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn get(&self, key: &str) -> Option<&Value> {
[INFO] [stdout]    |                ^^^^^                       ^^^^^^
[INFO] [stdout]    |                |                           ||
[INFO] [stdout]    |                |                           |the same lifetime is hidden here
[INFO] [stdout]    |                |                           the same lifetime is elided here
[INFO] [stdout]    |                the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn get(&self, key: &str) -> Option<&Value<'_>> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28", kill_on_drop: false }`
[INFO] [stdout] 1d674d7173d42309bd1fd21e5602f6363b97af0a3dc7395e8f1d8675fe40ae28
