[INFO] cloning repository https://github.com/aeroxmotion/http-server-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aeroxmotion/http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroxmotion%2Fhttp-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroxmotion%2Fhttp-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa0d4272f8cfeaa26130fb6ffc0bf0e3dd17f226 [INFO] checking aeroxmotion/http-server-rust against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroxmotion%2Fhttp-server-rust" "/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/aeroxmotion/http-server-rust [INFO] finished tweaking git repo https://github.com/aeroxmotion/http-server-rust [INFO] tweaked toml for git repo https://github.com/aeroxmotion/http-server-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aeroxmotion/http-server-rust on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aeroxmotion/http-server-rust 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89b3a103bc18b26a43a7c9326e719ec1c32f07ed12dbe33bfb04c9db39ce2ff7 [INFO] running `Command { std: "docker" "start" "-a" "89b3a103bc18b26a43a7c9326e719ec1c32f07ed12dbe33bfb04c9db39ce2ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89b3a103bc18b26a43a7c9326e719ec1c32f07ed12dbe33bfb04c9db39ce2ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b3a103bc18b26a43a7c9326e719ec1c32f07ed12dbe33bfb04c9db39ce2ff7", kill_on_drop: false }` [INFO] [stdout] 89b3a103bc18b26a43a7c9326e719ec1c32f07ed12dbe33bfb04c9db39ce2ff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 731a6174c77a159c39e6a2e896cacfcf95668f7c4f367c3a014dc309a98bfdb0 [INFO] running `Command { std: "docker" "start" "-a" "731a6174c77a159c39e6a2e896cacfcf95668f7c4f367c3a014dc309a98bfdb0", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rust-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `uri`, `version`, and `tcp_stream` are never read [INFO] [stdout] --> src/request.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub method: String, [INFO] [stdout] 9 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub tcp_stream: &'a TcpStream, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/response.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Response<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub status: StatusCode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/response.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> Response<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn parse(mut stream: &TcpStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 18 | pub fn parse(mut stream: &TcpStream) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/response.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(tcp_stream: &TcpStream) -> Response { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 37 | pub fn new(tcp_stream: &TcpStream) -> Response<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri`, `version`, and `tcp_stream` are never read [INFO] [stdout] --> src/request.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub method: String, [INFO] [stdout] 9 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub tcp_stream: &'a TcpStream, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/response.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Response<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub status: StatusCode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/response.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> Response<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn parse(mut stream: &TcpStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 18 | pub fn parse(mut stream: &TcpStream) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/response.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(tcp_stream: &TcpStream) -> Response { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 37 | pub fn new(tcp_stream: &TcpStream) -> Response<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.00s [INFO] running `Command { std: "docker" "inspect" "731a6174c77a159c39e6a2e896cacfcf95668f7c4f367c3a014dc309a98bfdb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731a6174c77a159c39e6a2e896cacfcf95668f7c4f367c3a014dc309a98bfdb0", kill_on_drop: false }` [INFO] [stdout] 731a6174c77a159c39e6a2e896cacfcf95668f7c4f367c3a014dc309a98bfdb0