[INFO] cloning repository https://github.com/rbennum/simple-web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rbennum/simple-web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbennum%2Fsimple-web-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbennum%2Fsimple-web-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93ee98c4e484a1560ee413c7d500110d992beca8 [INFO] checking rbennum/simple-web-server against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbennum%2Fsimple-web-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/rbennum/simple-web-server [INFO] finished tweaking git repo https://github.com/rbennum/simple-web-server [INFO] tweaked toml for git repo https://github.com/rbennum/simple-web-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rbennum/simple-web-server on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rbennum/simple-web-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" "+028201683a76a5cd349729c6819c46607119c4e8" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d86bf88ef78b5d19330c4c2d7b17ee2c3576d4c4f0aa27cb129abe15aaad75 [INFO] running `Command { std: "docker" "start" "-a" "29d86bf88ef78b5d19330c4c2d7b17ee2c3576d4c4f0aa27cb129abe15aaad75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d86bf88ef78b5d19330c4c2d7b17ee2c3576d4c4f0aa27cb129abe15aaad75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d86bf88ef78b5d19330c4c2d7b17ee2c3576d4c4f0aa27cb129abe15aaad75", kill_on_drop: false }` [INFO] [stdout] 29d86bf88ef78b5d19330c4c2d7b17ee2c3576d4c4f0aa27cb129abe15aaad75 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec60aa93d6045b1313036b2b9cfd93956063dce4d12dda08f2be337dc324810 [INFO] running `Command { std: "docker" "start" "-a" "3ec60aa93d6045b1313036b2b9cfd93956063dce4d12dda08f2be337dc324810", kill_on_drop: false }` [INFO] [stderr] Checking web_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query_string` is never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request<'buf> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | path: &'buf str, [INFO] [stdout] 12 | query_string: Option>, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_string` is never used [INFO] [stdout] --> src/http/request.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http/method.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Method { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | GET, [INFO] [stdout] 6 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | OPTIONS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | TRACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | PATH [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | 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:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [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:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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: field `query_string` is never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request<'buf> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | path: &'buf str, [INFO] [stdout] 12 | query_string: Option>, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_string` is never used [INFO] [stdout] --> src/http/request.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http/method.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Method { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 5 | GET, [INFO] [stdout] 6 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | OPTIONS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | TRACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | PATH [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | 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:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [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:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | 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.12s [INFO] running `Command { std: "docker" "inspect" "3ec60aa93d6045b1313036b2b9cfd93956063dce4d12dda08f2be337dc324810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec60aa93d6045b1313036b2b9cfd93956063dce4d12dda08f2be337dc324810", kill_on_drop: false }` [INFO] [stdout] 3ec60aa93d6045b1313036b2b9cfd93956063dce4d12dda08f2be337dc324810