[INFO] cloning repository https://github.com/watanabe-kts/http-server-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/watanabe-kts/http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatanabe-kts%2Fhttp-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatanabe-kts%2Fhttp-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95287a31114d648d007c8a02994256b04b6a06b4 [INFO] checking watanabe-kts/http-server-rust against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatanabe-kts%2Fhttp-server-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/watanabe-kts/http-server-rust on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/watanabe-kts/http-server-rust [INFO] finished tweaking git repo https://github.com/watanabe-kts/http-server-rust [INFO] tweaked toml for git repo https://github.com/watanabe-kts/http-server-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/watanabe-kts/http-server-rust 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "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 watanabe-kts/http-server-rust against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatanabe-kts%2Fhttp-server-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/watanabe-kts/http-server-rust on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/watanabe-kts/http-server-rust [INFO] finished tweaking git repo https://github.com/watanabe-kts/http-server-rust [INFO] tweaked toml for git repo https://github.com/watanabe-kts/http-server-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/watanabe-kts/http-server-rust 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9514e753a10b2df47d3ce6cd6a254f5b9e381865de3f49c75df5faae0948771f [INFO] running `Command { std: "docker" "start" "-a" "9514e753a10b2df47d3ce6cd6a254f5b9e381865de3f49c75df5faae0948771f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9514e753a10b2df47d3ce6cd6a254f5b9e381865de3f49c75df5faae0948771f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9514e753a10b2df47d3ce6cd6a254f5b9e381865de3f49c75df5faae0948771f", kill_on_drop: false }` [INFO] [stdout] 9514e753a10b2df47d3ce6cd6a254f5b9e381865de3f49c75df5faae0948771f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed69b30dd80ca9b7a1a4a0c8b5a3c6e3fe0cdb326eecd87d6f22c9ff5fd89935 [INFO] running `Command { std: "docker" "start" "-a" "ed69b30dd80ca9b7a1a4a0c8b5a3c6e3fe0cdb326eecd87d6f22c9ff5fd89935", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/server.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | addr: SocketAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` 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: methods `method`, `http_version`, and `raw_headers` are never used [INFO] [stdout] --> src/request.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 14 | pub fn method(&self) -> &Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn http_version(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn raw_headers(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/request.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 93 | kind: ErrorKind [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `kind` is never used [INFO] [stdout] --> src/request.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn kind(&self) -> ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/response.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | write!(&mut bw, "{}: {}\r\n", name, value); [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | b"Host: example.com:7777", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 27 elements, found one with 22 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 150 | ].iter().map(|s| s.to_string()); [INFO] [stdout] | --- the found closure [INFO] [stdout] 151 | [INFO] [stdout] 152 | let req = Request::parse(msg); [INFO] [stdout] | -------------- ^^^ expected `&[u8]`, found `Map, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Map, {closure@src/request.rs:150:22: 150:25}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(data: &[u8]) [INFO] [stdout] | ^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/request.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 163 | ].iter().map(|s| s.to_string()); [INFO] [stdout] | --- the found closure [INFO] [stdout] 164 | [INFO] [stdout] 165 | let req = Request::parse(msg); [INFO] [stdout] | -------------- ^^^ expected `&[u8]`, found `Map, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Map, {closure@src/request.rs:163:22: 163:25}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/request.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse(data: &[u8]) [INFO] [stdout] | ^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http` (bin "http" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ed69b30dd80ca9b7a1a4a0c8b5a3c6e3fe0cdb326eecd87d6f22c9ff5fd89935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed69b30dd80ca9b7a1a4a0c8b5a3c6e3fe0cdb326eecd87d6f22c9ff5fd89935", kill_on_drop: false }` [INFO] [stdout] ed69b30dd80ca9b7a1a4a0c8b5a3c6e3fe0cdb326eecd87d6f22c9ff5fd89935