[INFO] cloning repository https://github.com/devfire/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/devfire/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21b16421470a3bad49017a0850ebb16bc990a722 [INFO] checking devfire/http-server against master#f9515fdd5aa132e27d9b580a35b27f4b453251c1 for pr-125923 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devfire/http-server on toolchain f9515fdd5aa132e27d9b580a35b27f4b453251c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devfire/http-server [INFO] finished tweaking git repo https://github.com/devfire/http-server [INFO] tweaked toml for git repo https://github.com/devfire/http-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/devfire/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" "+f9515fdd5aa132e27d9b580a35b27f4b453251c1" "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 devfire/http-server against try#71235522a9cf955f6b7ff56c0bfb2651ecd0180b for pr-125923 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevfire%2Fhttp-server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devfire/http-server on toolchain 71235522a9cf955f6b7ff56c0bfb2651ecd0180b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devfire/http-server [INFO] finished tweaking git repo https://github.com/devfire/http-server [INFO] tweaked toml for git repo https://github.com/devfire/http-server written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devfire/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" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7712dfff393a299fe6200818a4194f2337bee8deab1ae4b809be04144c1cdcee [INFO] running `Command { std: "docker" "start" "-a" "7712dfff393a299fe6200818a4194f2337bee8deab1ae4b809be04144c1cdcee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7712dfff393a299fe6200818a4194f2337bee8deab1ae4b809be04144c1cdcee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7712dfff393a299fe6200818a4194f2337bee8deab1ae4b809be04144c1cdcee", kill_on_drop: false }` [INFO] [stdout] 7712dfff393a299fe6200818a4194f2337bee8deab1ae4b809be04144c1cdcee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+71235522a9cf955f6b7ff56c0bfb2651ecd0180b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03da3fa157d0fb108504e7676c8f60ec7140900bb8d886bf037f12dfc74f2dbb [INFO] running `Command { std: "docker" "start" "-a" "03da3fa157d0fb108504e7676c8f60ec7140900bb8d886bf037f12dfc74f2dbb", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http::Method; [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: `crate::http::request` [INFO] [stdout] --> src/http/request.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::http::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/http/request.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter, Result as FmtResult, write, Debug}; [INFO] [stdout] | ^^^^^ [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http::Method; [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: `crate::http::request` [INFO] [stdout] --> src/http/request.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::http::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/http/request.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter, Result as FmtResult, write, Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_byte_array(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: `path` [INFO] [stdout] --> src/http/request.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (path, request) = get_next_word(request).ok_or(ParseError::InvalidRequest)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/http/request.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let method: Method = method.parse()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/server.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | Ok((mut stream, address)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | ... Ok(request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_byte_array(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: `path` [INFO] [stdout] --> src/http/request.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (path, request) = get_next_word(request).ok_or(ParseError::InvalidRequest)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/http/request.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let method: Method = method.parse()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | query_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Request { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | fn from_byte_array(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/server.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | Ok((mut stream, address)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/server.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | ... 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:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | query_string: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Request { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | fn from_byte_array(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "03da3fa157d0fb108504e7676c8f60ec7140900bb8d886bf037f12dfc74f2dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03da3fa157d0fb108504e7676c8f60ec7140900bb8d886bf037f12dfc74f2dbb", kill_on_drop: false }` [INFO] [stdout] 03da3fa157d0fb108504e7676c8f60ec7140900bb8d886bf037f12dfc74f2dbb