[INFO] cloning repository https://github.com/Gomaozao/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/Gomaozao/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGomaozao%2Fhttp-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGomaozao%2Fhttp-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3da5ecdc71b1dba5d09bbcabe6a81f855d8b10b0 [INFO] testing Gomaozao/http-server against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGomaozao%2Fhttp-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gomaozao/http-server [INFO] finished tweaking git repo https://github.com/Gomaozao/http-server [INFO] tweaked toml for git repo https://github.com/Gomaozao/http-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gomaozao/http-server on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Gomaozao/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] testing Gomaozao/http-server against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGomaozao%2Fhttp-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gomaozao/http-server [INFO] finished tweaking git repo https://github.com/Gomaozao/http-server [INFO] tweaked toml for git repo https://github.com/Gomaozao/http-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gomaozao/http-server on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Gomaozao/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f055714f4ec5708d3ce5b6b8b84b98f9473b158e44fa132a9dc6cbce8a6e2815 [INFO] running `Command { std: "docker" "start" "-a" "f055714f4ec5708d3ce5b6b8b84b98f9473b158e44fa132a9dc6cbce8a6e2815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f055714f4ec5708d3ce5b6b8b84b98f9473b158e44fa132a9dc6cbce8a6e2815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f055714f4ec5708d3ce5b6b8b84b98f9473b158e44fa132a9dc6cbce8a6e2815", kill_on_drop: false }` [INFO] [stdout] f055714f4ec5708d3ce5b6b8b84b98f9473b158e44fa132a9dc6cbce8a6e2815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ce699457deb04f0a2fac01ccc162e2197af2c300f881f8932e3033b43794124 [INFO] running `Command { std: "docker" "start" "-a" "0ce699457deb04f0a2fac01ccc162e2197af2c300f881f8932e3033b43794124", kill_on_drop: false }` [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::http::ParseError`, `crate::http::Response`, `crate::http::StatusCode` [INFO] [stdout] --> src/server.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::http::{ParseError, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ no `StatusCode` in `http` [INFO] [stdout] | | | [INFO] [stdout] | | no `Response` in `http` [INFO] [stdout] | no `ParseError` in `http` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this type alias instead: [INFO] [stdout] std::string::ParseError [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::http::Response`, `super::http::StatusCode` [INFO] [stdout] --> src/website_handler.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use super::http::{Method, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ no `StatusCode` in `http` [INFO] [stdout] | | [INFO] [stdout] | no `Response` in `http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `request::Request: TryFrom<&[u8]>` is not satisfied [INFO] [stdout] --> src/server.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | ... let response = match Request::try_from(&buffer[..]) { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&[u8]>` is not implemented for `request::Request` [INFO] [stdout] --> src/http/request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&[u8]` to implement `Into` [INFO] [stdout] = note: required for `request::Request` to implement `TryFrom<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `request::Request: From<&[u8]>` is not satisfied [INFO] [stdout] --> src/server.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | ... let response = match Request::try_from(&buffer[..]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&[u8]>` is not implemented for `request::Request` [INFO] [stdout] --> src/http/request.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&[u8]` to implement `Into` [INFO] [stdout] = note: required for `request::Request` to implement `TryFrom<&[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `method` found for reference `&request::Request` in the current scope [INFO] [stdout] --> src/website_handler.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | match request.method() { [INFO] [stdout] | ^^^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `path` found for reference `&request::Request` in the current scope [INFO] [stdout] --> src/website_handler.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | Method::GET => match request.path() { [INFO] [stdout] | ^^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server` (bin "server") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0ce699457deb04f0a2fac01ccc162e2197af2c300f881f8932e3033b43794124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce699457deb04f0a2fac01ccc162e2197af2c300f881f8932e3033b43794124", kill_on_drop: false }` [INFO] [stdout] 0ce699457deb04f0a2fac01ccc162e2197af2c300f881f8932e3033b43794124