[INFO] cloning repository https://github.com/Apokalip/Learn-Rust-by-Building-Real-Applications
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Apokalip/Learn-Rust-by-Building-Real-Applications" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApokalip%2FLearn-Rust-by-Building-Real-Applications", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApokalip%2FLearn-Rust-by-Building-Real-Applications'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8314b75b073e197a62098c2091af25fad9027d05
[INFO] checking Apokalip/Learn-Rust-by-Building-Real-Applications against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApokalip%2FLearn-Rust-by-Building-Real-Applications" "/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/Apokalip/Learn-Rust-by-Building-Real-Applications
[INFO] finished tweaking git repo https://github.com/Apokalip/Learn-Rust-by-Building-Real-Applications
[INFO] tweaked toml for git repo https://github.com/Apokalip/Learn-Rust-by-Building-Real-Applications written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Apokalip/Learn-Rust-by-Building-Real-Applications on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Apokalip/Learn-Rust-by-Building-Real-Applications 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e771874143b509495d6384a940821f6a42bba29c99682d961aec0c57d1d73472
[INFO] running `Command { std: "docker" "start" "-a" "e771874143b509495d6384a940821f6a42bba29c99682d961aec0c57d1d73472", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e771874143b509495d6384a940821f6a42bba29c99682d961aec0c57d1d73472", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e771874143b509495d6384a940821f6a42bba29c99682d961aec0c57d1d73472", kill_on_drop: false }`
[INFO] [stdout] e771874143b509495d6384a940821f6a42bba29c99682d961aec0c57d1d73472
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27240ce5497342908477d2b72f5e93a8622f7ea86b264239118a21261e3ede6e
[INFO] running `Command { std: "docker" "start" "-a" "27240ce5497342908477d2b72f5e93a8622f7ea86b264239118a21261e3ede6e", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_http_server_exp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/http_server.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/http_server.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |                                     handler.handle_request((&request))
[INFO] [stdout]    |                                                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -                                     handler.handle_request((&request))
[INFO] [stdout] 41 +                                     handler.handle_request(&request)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as QueryStringValue`
[INFO] [stdout]  --> src/http/mod.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result as FmtResult};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpStream`
[INFO] [stdout]  --> src/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/http_server.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/http_server.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |                                     handler.handle_request((&request))
[INFO] [stdout]    |                                                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -                                     handler.handle_request((&request))
[INFO] [stdout] 41 +                                     handler.handle_request(&request)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as QueryStringValue`
[INFO] [stdout]  --> src/http/mod.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Result as FmtResult};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpStream`
[INFO] [stdout]  --> src/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/http_server.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |                             if let Err(error) = response.send(&mut stream) {
[INFO] [stdout]    |                                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/http/request.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Some((method, request)) =>{},
[INFO] [stdout]    |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/http/request.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Some((method, request)) =>{},
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/http_server.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |                             if let Err(error) = response.send(&mut stream) {
[INFO] [stdout]    |                                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> src/http/request.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Some((method, request)) =>{},
[INFO] [stdout]    |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/http/request.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Some((method, request)) =>{},
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/http/request.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn query_string(&self) -> Option<&QueryString>{
[INFO] [stdout]    |                         ^^^^^            ------------
[INFO] [stdout]    |                         |                ||
[INFO] [stdout]    |                         |                |the lifetimes get resolved as `'_`
[INFO] [stdout]    |                         |                the lifetimes get resolved as `'_`
[INFO] [stdout]    |                         this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn query_string(&self) -> Option<&QueryString<'_>>{
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/http/query_string.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |      pub fn get(&self, key: &str) -> Option<&Value>{
[INFO] [stdout]    |                 ^^^^^                       ------
[INFO] [stdout]    |                 |                           ||
[INFO] [stdout]    |                 |                           |the lifetimes get resolved as `'_`
[INFO] [stdout]    |                 |                           the lifetimes get resolved as `'_`
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |      pub fn get(&self, key: &str) -> Option<&Value<'_>>{
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/http/request.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn query_string(&self) -> Option<&QueryString>{
[INFO] [stdout]    |                         ^^^^^            ------------
[INFO] [stdout]    |                         |                ||
[INFO] [stdout]    |                         |                |the lifetimes get resolved as `'_`
[INFO] [stdout]    |                         |                the lifetimes get resolved as `'_`
[INFO] [stdout]    |                         this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn query_string(&self) -> Option<&QueryString<'_>>{
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/http/query_string.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |      pub fn get(&self, key: &str) -> Option<&Value>{
[INFO] [stdout]    |                 ^^^^^                       ------
[INFO] [stdout]    |                 |                           ||
[INFO] [stdout]    |                 |                           |the lifetimes get resolved as `'_`
[INFO] [stdout]    |                 |                           the lifetimes get resolved as `'_`
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.29s
[INFO] running `Command { std: "docker" "inspect" "27240ce5497342908477d2b72f5e93a8622f7ea86b264239118a21261e3ede6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27240ce5497342908477d2b72f5e93a8622f7ea86b264239118a21261e3ede6e", kill_on_drop: false }`
[INFO] [stdout] 27240ce5497342908477d2b72f5e93a8622f7ea86b264239118a21261e3ede6e
