[INFO] cloning repository https://github.com/pseudorandom-x/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/pseudorandom-x/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 716a7fb77c4e0ed1333ee0693a95d8b273aa167e [INFO] checking pseudorandom-x/http-server against master#27d8a577138c0d319a572cd1a464c2b755e577de for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pseudorandom-x/http-server on toolchain 27d8a577138c0d319a572cd1a464c2b755e577de [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] finished tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] tweaked toml for git repo https://github.com/pseudorandom-x/http-server written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pseudorandom-x/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" "+27d8a577138c0d319a572cd1a464c2b755e577de" "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 pseudorandom-x/http-server against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pseudorandom-x/http-server on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] finished tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] tweaked toml for git repo https://github.com/pseudorandom-x/http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pseudorandom-x/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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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 pseudorandom-x/http-server against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pseudorandom-x/http-server on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] finished tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] tweaked toml for git repo https://github.com/pseudorandom-x/http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pseudorandom-x/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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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 pseudorandom-x/http-server against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudorandom-x%2Fhttp-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pseudorandom-x/http-server on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] finished tweaking git repo https://github.com/pseudorandom-x/http-server [INFO] tweaked toml for git repo https://github.com/pseudorandom-x/http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pseudorandom-x/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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f9dc06b16b44e17751eea377b72e7c51ce0dbff7790c900b75da403a89dd6a0 [INFO] running `Command { std: "docker" "start" "-a" "7f9dc06b16b44e17751eea377b72e7c51ce0dbff7790c900b75da403a89dd6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f9dc06b16b44e17751eea377b72e7c51ce0dbff7790c900b75da403a89dd6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9dc06b16b44e17751eea377b72e7c51ce0dbff7790c900b75da403a89dd6a0", kill_on_drop: false }` [INFO] [stdout] 7f9dc06b16b44e17751eea377b72e7c51ce0dbff7790c900b75da403a89dd6a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b91662c692393efab493ee5808a33b63042cc75cb6ea4fc3ee2a5106e67e2438 [INFO] running `Command { std: "docker" "start" "-a" "b91662c692393efab493ee5808a33b63042cc75cb6ea4fc3ee2a5106e67e2438", kill_on_drop: false }` [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking httpserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/http/request/parse_error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/http/request/parse_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::Request` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/http/request/parse_error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::Method` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::http::Method; // equivalent to crate::http::Method as for the server module, http is a sibling module [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/server.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{ TcpListener, TcpStream }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/http/request/parse_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Method; // from http, use the Method enum (exposed via "pub use..." in http/mod.rs) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::Request` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http::Request; // from http, use the Request struct (exposed via "pub use..." in http/mod.rs) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::Method` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::http::Method; // equivalent to crate::http::Method as for the server module, http is a sibling module [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/server.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{ TcpListener, TcpStream }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http::Method; // from http, use the Method enum (exposed via "pub use..." in http/mod.rs) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http::Request; // from http, use the Request struct (exposed via "pub use..." in http/mod.rs) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/http/request.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let (method, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/http/request.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | let (query, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/http/request.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let (method, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/http/request.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | let (query, request) = Self::get_next_word(request).ok_or(ParseError::InvalidEncoding)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GET`, `PUT`, `POST`, `DELETE`, and `PATCH` 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 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `path`, and `query_string` are never read [INFO] [stdout] --> src/http/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | query_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMethod` and `InvalidRequest` are never constructed [INFO] [stdout] --> src/http/request/parse_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | InvalidRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GET`, `PUT`, `POST`, `DELETE`, and `PATCH` 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 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | PATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `path`, and `query_string` are never read [INFO] [stdout] --> src/http/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | query_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMethod` and `InvalidRequest` are never constructed [INFO] [stdout] --> src/http/request/parse_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | InvalidMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | InvalidRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "b91662c692393efab493ee5808a33b63042cc75cb6ea4fc3ee2a5106e67e2438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91662c692393efab493ee5808a33b63042cc75cb6ea4fc3ee2a5106e67e2438", kill_on_drop: false }` [INFO] [stdout] b91662c692393efab493ee5808a33b63042cc75cb6ea4fc3ee2a5106e67e2438