[INFO] cloning repository https://github.com/federicobaldini/r-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/federicobaldini/r-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedericobaldini%2Fr-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedericobaldini%2Fr-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a99d8014c81f8e1ca5dfa83f7613a38e8c3ca509 [INFO] checking federicobaldini/r-server against master#65cd843ae06ad00123c131a431ed5304e4cd577a for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedericobaldini%2Fr-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/federicobaldini/r-server on toolchain 65cd843ae06ad00123c131a431ed5304e4cd577a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/federicobaldini/r-server [INFO] finished tweaking git repo https://github.com/federicobaldini/r-server [INFO] tweaked toml for git repo https://github.com/federicobaldini/r-server written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/federicobaldini/r-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" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "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 federicobaldini/r-server against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedericobaldini%2Fr-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/federicobaldini/r-server on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/federicobaldini/r-server [INFO] finished tweaking git repo https://github.com/federicobaldini/r-server [INFO] tweaked toml for git repo https://github.com/federicobaldini/r-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/federicobaldini/r-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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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 federicobaldini/r-server against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffedericobaldini%2Fr-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/federicobaldini/r-server on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/federicobaldini/r-server [INFO] finished tweaking git repo https://github.com/federicobaldini/r-server [INFO] tweaked toml for git repo https://github.com/federicobaldini/r-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/federicobaldini/r-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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8f5ee36de8ac1d7d61a9335168cc700d4cd4d5b3dbf484f40c0d352e3e9d0f4 [INFO] running `Command { std: "docker" "start" "-a" "e8f5ee36de8ac1d7d61a9335168cc700d4cd4d5b3dbf484f40c0d352e3e9d0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8f5ee36de8ac1d7d61a9335168cc700d4cd4d5b3dbf484f40c0d352e3e9d0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f5ee36de8ac1d7d61a9335168cc700d4cd4d5b3dbf484f40c0d352e3e9d0f4", kill_on_drop: false }` [INFO] [stdout] e8f5ee36de8ac1d7d61a9335168cc700d4cd4d5b3dbf484f40c0d352e3e9d0f4 [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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aabaa7b40aea9f940c77001dd3aa5e80ffd55beede121420fe504c9cdf0f9dc [INFO] running `Command { std: "docker" "start" "-a" "2aabaa7b40aea9f940c77001dd3aa5e80ffd55beede121420fe504c9cdf0f9dc", kill_on_drop: false }` [INFO] [stderr] Checking rust-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/request.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/e34498b580c936a8f8a419616d9571f03b6c038e/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/e34498b580c936a8f8a419616d9571f03b6c038e/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/request.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/e34498b580c936a8f8a419616d9571f03b6c038e/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/e34498b580c936a8f8a419616d9571f03b6c038e/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/headers.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Headers<'buf> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, &'buf str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Headers` 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/headers.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'buf> Headers<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 9 | pub fn get(&self, key: &str) -> Option<&&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, Value<'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] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:15:10 [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<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string` and `headers` are never read [INFO] [stdout] --> src/http/request.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: &'buf str, [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method, [INFO] [stdout] 15 | headers: Headers<'buf>, [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: methods `query_string` and `headers` are never used [INFO] [stdout] --> src/http/request.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn headers(&self) -> &Headers { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Created`, `NoContent`, `Unauthorized`, and `Forbidden` are never constructed [INFO] [stdout] --> src/http/status_code.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Ok = 200, [INFO] [stdout] 6 | Created = 201, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | NoContent = 204, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | BadRequest = 400, [INFO] [stdout] 9 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/headers.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Headers<'buf> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, &'buf str>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Headers` 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/headers.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'buf> Headers<'buf> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 9 | pub fn get(&self, key: &str) -> Option<&&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | data: HashMap<&'buf str, Value<'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] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:15:10 [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<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string` and `headers` are never read [INFO] [stdout] --> src/http/request.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: &'buf str, [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method, [INFO] [stdout] 15 | headers: Headers<'buf>, [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: methods `query_string` and `headers` are never used [INFO] [stdout] --> src/http/request.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn headers(&self) -> &Headers { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Created`, `NoContent`, `Unauthorized`, and `Forbidden` are never constructed [INFO] [stdout] --> src/http/status_code.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Ok = 200, [INFO] [stdout] 6 | Created = 201, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | NoContent = 204, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | BadRequest = 400, [INFO] [stdout] 9 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "2aabaa7b40aea9f940c77001dd3aa5e80ffd55beede121420fe504c9cdf0f9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aabaa7b40aea9f940c77001dd3aa5e80ffd55beede121420fe504c9cdf0f9dc", kill_on_drop: false }` [INFO] [stdout] 2aabaa7b40aea9f940c77001dd3aa5e80ffd55beede121420fe504c9cdf0f9dc