[INFO] cloning repository https://github.com/mzwennes/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/mzwennes/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzwennes%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzwennes%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d3c689c5e615355a93f22d36f2e737ef37abf37 [INFO] checking mzwennes/rust-http-server against master#a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzwennes%2Frust-http-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/mzwennes/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/mzwennes/rust-http-server [INFO] finished tweaking git repo https://github.com/mzwennes/rust-http-server [INFO] tweaked toml for git repo https://github.com/mzwennes/rust-http-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mzwennes/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 mzwennes/rust-http-server against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzwennes%2Frust-http-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/mzwennes/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/mzwennes/rust-http-server [INFO] finished tweaking git repo https://github.com/mzwennes/rust-http-server [INFO] tweaked toml for git repo https://github.com/mzwennes/rust-http-server written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mzwennes/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-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf8b69e088ba79dc3ecf9f8d384adccc875d0ec301ad25f847089d48a240064 [INFO] running `Command { std: "docker" "start" "-a" "ebf8b69e088ba79dc3ecf9f8d384adccc875d0ec301ad25f847089d48a240064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf8b69e088ba79dc3ecf9f8d384adccc875d0ec301ad25f847089d48a240064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf8b69e088ba79dc3ecf9f8d384adccc875d0ec301ad25f847089d48a240064", kill_on_drop: false }` [INFO] [stdout] ebf8b69e088ba79dc3ecf9f8d384adccc875d0ec301ad25f847089d48a240064 [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab06e8ecebb29c1f53c7b427c5f59cfbdb9b873276f4a783b824a9ee507bddd [INFO] running `Command { std: "docker" "start" "-a" "8ab06e8ecebb29c1f53c7b427c5f59cfbdb9b873276f4a783b824a9ee507bddd", kill_on_drop: false }` [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use query::{QueryString, QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use query::{QueryString, QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, QueryStringValue<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 15 | pub fn get(&self, key: &str) -> Option<&QueryStringValue> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string`, `protocol`, `headers`, and `body` are never read [INFO] [stdout] --> src/http/request.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | protocol: Protocol, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_string` is never used [INFO] [stdout] --> src/http/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protocol` is never read [INFO] [stdout] --> src/http/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | status_code: StatusCode, [INFO] [stdout] 7 | protocol: Protocol, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | server.run(WebsiteHandler::new(public_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = server.run(WebsiteHandler::new(public_path)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, QueryStringValue<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 15 | pub fn get(&self, key: &str) -> Option<&QueryStringValue> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string`, `protocol`, `headers`, and `body` are never read [INFO] [stdout] --> src/http/request.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | protocol: Protocol, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | headers: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `query_string` is never used [INFO] [stdout] --> src/http/request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protocol` is never read [INFO] [stdout] --> src/http/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | status_code: StatusCode, [INFO] [stdout] 7 | protocol: Protocol, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | server.run(WebsiteHandler::new(public_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = server.run(WebsiteHandler::new(public_path)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "8ab06e8ecebb29c1f53c7b427c5f59cfbdb9b873276f4a783b824a9ee507bddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab06e8ecebb29c1f53c7b427c5f59cfbdb9b873276f4a783b824a9ee507bddd", kill_on_drop: false }` [INFO] [stdout] 8ab06e8ecebb29c1f53c7b427c5f59cfbdb9b873276f4a783b824a9ee507bddd