[INFO] cloning repository https://github.com/NickSzd/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/NickSzd/http_server_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickSzd%2Fhttp_server_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickSzd%2Fhttp_server_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b740141cc5571b8c8f843889880529d360bb221 [INFO] checking NickSzd/http_server_rust against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickSzd%2Fhttp_server_rust" "/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/NickSzd/http_server_rust on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NickSzd/http_server_rust [INFO] finished tweaking git repo https://github.com/NickSzd/http_server_rust [INFO] tweaked toml for git repo https://github.com/NickSzd/http_server_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NickSzd/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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "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 NickSzd/http_server_rust against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickSzd%2Fhttp_server_rust" "/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/NickSzd/http_server_rust on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NickSzd/http_server_rust [INFO] finished tweaking git repo https://github.com/NickSzd/http_server_rust [INFO] tweaked toml for git repo https://github.com/NickSzd/http_server_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NickSzd/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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "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 NickSzd/http_server_rust against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickSzd%2Fhttp_server_rust" "/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/NickSzd/http_server_rust on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NickSzd/http_server_rust [INFO] finished tweaking git repo https://github.com/NickSzd/http_server_rust [INFO] tweaked toml for git repo https://github.com/NickSzd/http_server_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NickSzd/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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b0e87710b79f527a49fb252103532680cf1dfdc05d9019e1488c240f0f83e30 [INFO] running `Command { std: "docker" "start" "-a" "1b0e87710b79f527a49fb252103532680cf1dfdc05d9019e1488c240f0f83e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b0e87710b79f527a49fb252103532680cf1dfdc05d9019e1488c240f0f83e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b0e87710b79f527a49fb252103532680cf1dfdc05d9019e1488c240f0f83e30", kill_on_drop: false }` [INFO] [stdout] 1b0e87710b79f527a49fb252103532680cf1dfdc05d9019e1488c240f0f83e30 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60c465f38016d81cd666d858813f0e54af4042741b6c14157140bf3d923ff908 [INFO] running `Command { std: "docker" "start" "-a" "60c465f38016d81cd666d858813f0e54af4042741b6c14157140bf3d923ff908", kill_on_drop: false }` [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Error` is not a member of trait `FromStr` [INFO] [stdout] --> src/http/method.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | type Error = MethodError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `FromStr` [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: `TcpStream` [INFO] [stdout] --> src/server.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [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] error[E0437]: type `Error` is not a member of trait `FromStr` [INFO] [stdout] --> src/http/method.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | type Error = MethodError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `FromStr` [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: `TcpStream` [INFO] [stdout] --> src/server.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [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] error[E0046]: not all trait items implemented, missing: `Err` [INFO] [stdout] --> src/http/method.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl FromStr for Method{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `Err` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Err = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Err` [INFO] [stdout] --> src/http/method.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl FromStr for Method{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `Err` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Err = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/method.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 4 | GET(String), [INFO] [stdout] | --- `GET` defines an enum variant constructor here, which should be called [INFO] [stdout] ... [INFO] [stdout] 21 | "GET" => Ok(Self::GET), [INFO] [stdout] | -- ^^^^^^^^^ expected `Method`, found enum constructor [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Method` [INFO] [stdout] found enum constructor `fn(String) -> Method {Method::GET}` [INFO] [stdout] help: the type constructed contains `fn(String) -> Method {Method::GET}` due to the type of the argument passed [INFO] [stdout] --> src/http/method.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | "GET" => Ok(Self::GET), [INFO] [stdout] | ^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/785364c7e5e0804473a3fddfb579798ea14e3493/library/core/src/result.rs:506:5 [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 21 | "GET" => Ok(Self::GET(/* String */)), [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/method.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 5 | DELETE(u64), [INFO] [stdout] | ------ `DELETE` defines an enum variant constructor here, which should be called [INFO] [stdout] ... [INFO] [stdout] 22 | "DELETE" => Ok(Self::DELETE), [INFO] [stdout] | -- ^^^^^^^^^^^^ expected `Method`, found enum constructor [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Method` [INFO] [stdout] found enum constructor `fn(u64) -> Method {Method::DELETE}` [INFO] [stdout] help: the type constructed contains `fn(u64) -> Method {Method::DELETE}` due to the type of the argument passed [INFO] [stdout] --> src/http/method.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | "DELETE" => Ok(Self::DELETE), [INFO] [stdout] | ^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/785364c7e5e0804473a3fddfb579798ea14e3493/library/core/src/result.rs:506:5 [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 22 | "DELETE" => Ok(Self::DELETE(/* u64 */)), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/method.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 4 | GET(String), [INFO] [stdout] | --- `GET` defines an enum variant constructor here, which should be called [INFO] [stdout] ... [INFO] [stdout] 21 | "GET" => Ok(Self::GET), [INFO] [stdout] | -- ^^^^^^^^^ expected `Method`, found enum constructor [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Method` [INFO] [stdout] found enum constructor `fn(String) -> Method {Method::GET}` [INFO] [stdout] help: the type constructed contains `fn(String) -> Method {Method::GET}` due to the type of the argument passed [INFO] [stdout] --> src/http/method.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | "GET" => Ok(Self::GET), [INFO] [stdout] | ^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/785364c7e5e0804473a3fddfb579798ea14e3493/library/core/src/result.rs:506:5 [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 21 | "GET" => Ok(Self::GET(/* String */)), [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/method.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 5 | DELETE(u64), [INFO] [stdout] | ------ `DELETE` defines an enum variant constructor here, which should be called [INFO] [stdout] ... [INFO] [stdout] 22 | "DELETE" => Ok(Self::DELETE), [INFO] [stdout] | -- ^^^^^^^^^^^^ expected `Method`, found enum constructor [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Method` [INFO] [stdout] found enum constructor `fn(u64) -> Method {Method::DELETE}` [INFO] [stdout] help: the type constructed contains `fn(u64) -> Method {Method::DELETE}` due to the type of the argument passed [INFO] [stdout] --> src/http/method.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | "DELETE" => Ok(Self::DELETE), [INFO] [stdout] | ^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/785364c7e5e0804473a3fddfb579798ea14e3493/library/core/src/result.rs:506:5 [INFO] [stdout] help: use parentheses to construct this tuple variant [INFO] [stdout] | [INFO] [stdout] 22 | "DELETE" => Ok(Self::DELETE(/* u64 */)), [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http_server` (bin "http_server") due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http_server` (bin "http_server" test) due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "60c465f38016d81cd666d858813f0e54af4042741b6c14157140bf3d923ff908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c465f38016d81cd666d858813f0e54af4042741b6c14157140bf3d923ff908", kill_on_drop: false }` [INFO] [stdout] 60c465f38016d81cd666d858813f0e54af4042741b6c14157140bf3d923ff908