[INFO] cloning repository https://github.com/gasser707/rust-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/gasser707/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasser707%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasser707%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed15b0900dcaa4218a7719f54b5ffa50e9fdd244 [INFO] checking gasser707/rust-http-server against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasser707%2Frust-http-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gasser707/rust-http-server on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gasser707/rust-http-server [INFO] finished tweaking git repo https://github.com/gasser707/rust-http-server [INFO] tweaked toml for git repo https://github.com/gasser707/rust-http-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gasser707/rust-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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de0f535ca6c25ea0ece9d563de10c83518fed8c41f91b7232e636e9e31307459 [INFO] running `Command { std: "docker" "start" "-a" "de0f535ca6c25ea0ece9d563de10c83518fed8c41f91b7232e636e9e31307459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de0f535ca6c25ea0ece9d563de10c83518fed8c41f91b7232e636e9e31307459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0f535ca6c25ea0ece9d563de10c83518fed8c41f91b7232e636e9e31307459", kill_on_drop: false }` [INFO] [stdout] de0f535ca6c25ea0ece9d563de10c83518fed8c41f91b7232e636e9e31307459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 992a15404f8f622c3a9369e74f7471bba2b34fea331f408d106fb252da453893 [INFO] running `Command { std: "docker" "start" "-a" "992a15404f8f622c3a9369e74f7471bba2b34fea331f408d106fb252da453893", kill_on_drop: false }` [INFO] [stderr] Checking server-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result as FmtResult`, and `net::TcpStream` [INFO] [stdout] --> src/http/response.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{Display, Formatter, Result as FmtResult}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | net::TcpStream, [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:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result as FmtResult`, and `net::TcpStream` [INFO] [stdout] --> src/http/response.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{Display, Formatter, Result as FmtResult}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | net::TcpStream, [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:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub use query_string::{QueryString, Value as QueryStringValue}; [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:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, key: &str) -> Option<&'buf Value> { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 15 | pub fn get(&self, key: &str) -> Option<&'buf 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:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | 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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | 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:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, key: &str) -> Option<&'buf Value> { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 15 | pub fn get(&self, key: &str) -> Option<&'buf 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:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | 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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn query_string(&self) -> Option<&QueryString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "992a15404f8f622c3a9369e74f7471bba2b34fea331f408d106fb252da453893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992a15404f8f622c3a9369e74f7471bba2b34fea331f408d106fb252da453893", kill_on_drop: false }` [INFO] [stdout] 992a15404f8f622c3a9369e74f7471bba2b34fea331f408d106fb252da453893