[INFO] cloning repository https://github.com/radenrishwan/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/radenrishwan/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16f39ad940bcfeee7174271bda5e539a312a208a [INFO] checking radenrishwan/http-server against master#1280928a99ad3ef2c5735b42dc8852456ae3b974 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-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/radenrishwan/http-server on toolchain 1280928a99ad3ef2c5735b42dc8852456ae3b974 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/radenrishwan/http-server [INFO] finished tweaking git repo https://github.com/radenrishwan/http-server [INFO] tweaked toml for git repo https://github.com/radenrishwan/http-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/radenrishwan/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" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "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 radenrishwan/http-server against try#9b9e20bc79549d80ab413f49d990713851172cc1 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fradenrishwan%2Fhttp-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/radenrishwan/http-server on toolchain 9b9e20bc79549d80ab413f49d990713851172cc1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/radenrishwan/http-server [INFO] finished tweaking git repo https://github.com/radenrishwan/http-server [INFO] tweaked toml for git repo https://github.com/radenrishwan/http-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/radenrishwan/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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a51eedda7d059e2186e3680450bdacba973e6fd44188df02eea7f9106c7afa9a [INFO] running `Command { std: "docker" "start" "-a" "a51eedda7d059e2186e3680450bdacba973e6fd44188df02eea7f9106c7afa9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a51eedda7d059e2186e3680450bdacba973e6fd44188df02eea7f9106c7afa9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51eedda7d059e2186e3680450bdacba973e6fd44188df02eea7f9106c7afa9a", kill_on_drop: false }` [INFO] [stdout] a51eedda7d059e2186e3680450bdacba973e6fd44188df02eea7f9106c7afa9a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f85fd1bd4d5c58a37269f978ee20a9ef0c3c1771c6a0bb1ea7fc8fe9a368c27 [INFO] running `Command { std: "docker" "start" "-a" "1f85fd1bd4d5c58a37269f978ee20a9ef0c3c1771c6a0bb1ea7fc8fe9a368c27", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking simple-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the type `[String]` cannot be indexed by `&str` [INFO] [stdout] --> src/utils.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | --- ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[String]>` is not implemented for `&str` [INFO] [stdout] note: required by a bound in `core::slice::::get` [INFO] [stdout] --> /rustc/9b9e20bc79549d80ab413f49d990713851172cc1/library/core/src/slice/mod.rs:608:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[String]` cannot be indexed by `&str` [INFO] [stdout] --> src/utils.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | --- ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[String]>` is not implemented for `&str` [INFO] [stdout] note: required by a bound in `core::slice::::get` [INFO] [stdout] --> /rustc/9b9e20bc79549d80ab413f49d990713851172cc1/library/core/src/slice/mod.rs:608:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<&_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<&_>` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie").is_some() || response.headers.get("cookie") { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<&_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<&_>` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie").is_some() || response.headers.get("cookie") { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[String]` cannot be indexed by `&str` [INFO] [stdout] --> src/utils.rs:11:77 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | --- ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[String]>` is not implemented for `&str` [INFO] [stdout] note: required by a bound in `core::slice::::get` [INFO] [stdout] --> /rustc/9b9e20bc79549d80ab413f49d990713851172cc1/library/core/src/slice/mod.rs:608:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[String]` cannot be indexed by `&str` [INFO] [stdout] --> src/utils.rs:11:77 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | --- ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[String]>` is not implemented for `&str` [INFO] [stdout] note: required by a bound in `core::slice::::get` [INFO] [stdout] --> /rustc/9b9e20bc79549d80ab413f49d990713851172cc1/library/core/src/slice/mod.rs:608:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<&_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<&_>` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie").is_some() { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ---------------------------------------------------------------- this expression has type `bool` [INFO] [stdout] 12 | Ok(cookies) => { [INFO] [stdout] | ^^^^^^^^^^^ expected `bool`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ---------------------------------------------------------------- this expression has type `bool` [INFO] [stdout] ... [INFO] [stdout] 23 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `bool`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<&_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<&_>` [INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie").is_some() { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ---------------------------------------------------------------- this expression has type `bool` [INFO] [stdout] 12 | Ok(cookies) => { [INFO] [stdout] | ^^^^^^^^^^^ expected `bool`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 11 | return match response.headers.get("Cookie") || response.headers.get("cookie") { [INFO] [stdout] | ---------------------------------------------------------------- this expression has type `bool` [INFO] [stdout] ... [INFO] [stdout] 23 | Err(_) => { [INFO] [stdout] | ^^^^^^ expected `bool`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-http-server` (bin "simple-http-server") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `simple-http-server` (bin "simple-http-server" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "1f85fd1bd4d5c58a37269f978ee20a9ef0c3c1771c6a0bb1ea7fc8fe9a368c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f85fd1bd4d5c58a37269f978ee20a9ef0c3c1771c6a0bb1ea7fc8fe9a368c27", kill_on_drop: false }` [INFO] [stdout] 1f85fd1bd4d5c58a37269f978ee20a9ef0c3c1771c6a0bb1ea7fc8fe9a368c27