[INFO] cloning repository https://github.com/lisahns/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/lisahns/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flisahns%2Fhttp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flisahns%2Fhttp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4099ba265bb458380c83d46b5983037bb5620109
[INFO] checking lisahns/http-server against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flisahns%2Fhttp-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lisahns/http-server
[INFO] finished tweaking git repo https://github.com/lisahns/http-server
[INFO] tweaked toml for git repo https://github.com/lisahns/http-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lisahns/http-server on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lisahns/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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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] 4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63
[INFO] running `Command { std: "docker" "start" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63", 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" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63", 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" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use http::Method;
[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: `http::Request`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use http::Method;
[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: fields `path`, `query_string`, and `method` are never read
[INFO] [stdout]   --> src/http/request.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Request<'buf> {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 11 |     path: &'buf str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     query_string: Option<QueryString<'buf>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 13 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]  --> src/http/query_string.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct QueryString<'buf> {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 7 |     data: HashMap<&'buf str, Value<'buf>>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/http/query_string.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<'buf> QueryString<'buf> {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 17 |     pub fn get (&self, key: &str) -> Option<&Value> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read
[INFO] [stdout]   --> src/http/request.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Request<'buf> {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 11 |     path: &'buf str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     query_string: Option<QueryString<'buf>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 13 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]  --> src/http/query_string.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct QueryString<'buf> {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 7 |     data: HashMap<&'buf str, Value<'buf>>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/http/query_string.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<'buf> QueryString<'buf> {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 17 |     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/query_string.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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/query_string.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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.12s
[INFO] running `Command { std: "docker" "inspect" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63", kill_on_drop: false }`
[INFO] [stdout] 4b377968e5bead44c6a4a08a592a5bb512713dea5ebb9336d04d4e9ef169ea63
