[INFO] cloning repository https://github.com/sitati-elsis/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/sitati-elsis/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitati-elsis%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitati-elsis%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb44b49d25ad1c61be68fcaed4c840511a99f99e [INFO] checking sitati-elsis/rust-http-server against master#a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitati-elsis%2Frust-http-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sitati-elsis/rust-http-server on toolchain a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sitati-elsis/rust-http-server [INFO] finished tweaking git repo https://github.com/sitati-elsis/rust-http-server [INFO] tweaked toml for git repo https://github.com/sitati-elsis/rust-http-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sitati-elsis/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" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking sitati-elsis/rust-http-server against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitati-elsis%2Frust-http-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sitati-elsis/rust-http-server on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sitati-elsis/rust-http-server [INFO] finished tweaking git repo https://github.com/sitati-elsis/rust-http-server [INFO] tweaked toml for git repo https://github.com/sitati-elsis/rust-http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sitati-elsis/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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking sitati-elsis/rust-http-server against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitati-elsis%2Frust-http-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sitati-elsis/rust-http-server on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sitati-elsis/rust-http-server [INFO] finished tweaking git repo https://github.com/sitati-elsis/rust-http-server [INFO] tweaked toml for git repo https://github.com/sitati-elsis/rust-http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sitati-elsis/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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac50a8dcb36c8ad8dd10e73fd29bf19f054361a8bff06bea3c7af64f141df516 [INFO] running `Command { std: "docker" "start" "-a" "ac50a8dcb36c8ad8dd10e73fd29bf19f054361a8bff06bea3c7af64f141df516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac50a8dcb36c8ad8dd10e73fd29bf19f054361a8bff06bea3c7af64f141df516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac50a8dcb36c8ad8dd10e73fd29bf19f054361a8bff06bea3c7af64f141df516", kill_on_drop: false }` [INFO] [stdout] ac50a8dcb36c8ad8dd10e73fd29bf19f054361a8bff06bea3c7af64f141df516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6412d36a97ee6cb9c2099f0ece3836921dce3f4110d0978d0f9204fddf4b2de9 [INFO] running `Command { std: "docker" "start" "-a" "6412d36a97ee6cb9c2099f0ece3836921dce3f4110d0978d0f9204fddf4b2de9", kill_on_drop: false }` [INFO] [stderr] Checking rust-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::ParseError` [INFO] [stdout] --> src/http/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use request::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::ParseError` [INFO] [stdout] --> src/http/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use request::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Request` [INFO] [stdout] --> src/server.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | ... Ok(Request) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Request` [INFO] [stdout] --> src/server.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | ... Ok(Request) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | query_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidRequest`, `InvalidEncoding`, `InvalidProtocol`, and `InvalidMethod` are never constructed [INFO] [stdout] --> src/http/request.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | InvalidRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | InvalidEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | InvalidProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | query_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidRequest`, `InvalidEncoding`, `InvalidProtocol`, and `InvalidMethod` are never constructed [INFO] [stdout] --> src/http/request.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | InvalidRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | InvalidEncoding, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | InvalidProtocol, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http/method.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Method { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 2 | GET, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | OPTIONS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | TRACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Request` should have a snake case name [INFO] [stdout] --> src/server.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | ... Ok(Request) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http/method.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Method { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 2 | GET, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | OPTIONS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | TRACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Request` should have a snake case name [INFO] [stdout] --> src/server.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | ... Ok(Request) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "6412d36a97ee6cb9c2099f0ece3836921dce3f4110d0978d0f9204fddf4b2de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6412d36a97ee6cb9c2099f0ece3836921dce3f4110d0978d0f9204fddf4b2de9", kill_on_drop: false }` [INFO] [stdout] 6412d36a97ee6cb9c2099f0ece3836921dce3f4110d0978d0f9204fddf4b2de9