[INFO] cloning repository https://github.com/hammsvietro/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/hammsvietro/rust_http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhammsvietro%2Frust_http_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhammsvietro%2Frust_http_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 220aed0b33daeb772dff402fc02b3fd766fce1a3 [INFO] checking hammsvietro/rust_http_server against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhammsvietro%2Frust_http_server" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hammsvietro/rust_http_server on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hammsvietro/rust_http_server [INFO] finished tweaking git repo https://github.com/hammsvietro/rust_http_server [INFO] tweaked toml for git repo https://github.com/hammsvietro/rust_http_server written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/hammsvietro/rust_http_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0ea5ee9c9d20c305fd554addd027c12170d042d97d2912ba1e934d90078c379 [INFO] running `Command { std: "docker" "start" "-a" "f0ea5ee9c9d20c305fd554addd027c12170d042d97d2912ba1e934d90078c379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0ea5ee9c9d20c305fd554addd027c12170d042d97d2912ba1e934d90078c379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ea5ee9c9d20c305fd554addd027c12170d042d97d2912ba1e934d90078c379", kill_on_drop: false }` [INFO] [stdout] f0ea5ee9c9d20c305fd554addd027c12170d042d97d2912ba1e934d90078c379 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 761d6169d4503ccd87f65e48b0351b0718a1ba38f62d71225ee5ea7298672439 [INFO] running `Command { std: "docker" "start" "-a" "761d6169d4503ccd87f65e48b0351b0718a1ba38f62d71225ee5ea7298672439", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.4.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking mio_async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::http::HttpRequest` [INFO] [stdout] --> src/event_loop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::HttpRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/event_loop.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let n = match socket.read(&mut buf).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/event_loop.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_request<'a>(req: &'a str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zas` [INFO] [stdout] --> src/http/parser.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn zas() -> &'static str { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HttpRequest` [INFO] [stdout] --> src/http/models.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HttpRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_request` [INFO] [stdout] --> src/event_loop.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_request<'a>(req: &'a str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::HttpRequest` [INFO] [stdout] --> src/event_loop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::HttpRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / block_on(rt.spawn(async { [INFO] [stdout] 13 | | let listener =TcpListener::bind("127.0.0.1:8080").await.unwrap(); [INFO] [stdout] 14 | | execute_loop(&listener).await [INFO] [stdout] 15 | | })); [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/event_loop.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let n = match socket.read(&mut buf).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/event_loop.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_request<'a>(req: &'a str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zas` [INFO] [stdout] --> src/http/parser.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn zas() -> &'static str { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HttpRequest` [INFO] [stdout] --> src/http/models.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HttpRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_request` [INFO] [stdout] --> src/event_loop.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse_request<'a>(req: &'a str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / block_on(rt.spawn(async { [INFO] [stdout] 13 | | let listener =TcpListener::bind("127.0.0.1:8080").await.unwrap(); [INFO] [stdout] 14 | | execute_loop(&listener).await [INFO] [stdout] 15 | | })); [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.69s [INFO] running `Command { std: "docker" "inspect" "761d6169d4503ccd87f65e48b0351b0718a1ba38f62d71225ee5ea7298672439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761d6169d4503ccd87f65e48b0351b0718a1ba38f62d71225ee5ea7298672439", kill_on_drop: false }` [INFO] [stdout] 761d6169d4503ccd87f65e48b0351b0718a1ba38f62d71225ee5ea7298672439