[INFO] cloning repository https://github.com/tholander/rust_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/tholander/rust_http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftholander%2Frust_http_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftholander%2Frust_http_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ca07fc34e597a779260d1a04980fb9e7aff4fbc [INFO] checking tholander/rust_http_server against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftholander%2Frust_http_server" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tholander/rust_http_server on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tholander/rust_http_server [INFO] finished tweaking git repo https://github.com/tholander/rust_http_server [INFO] tweaked toml for git repo https://github.com/tholander/rust_http_server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/tholander/rust_http_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b88e6e63e76fe8c657b5eb289d86c73a2b302bd23c92616970cf42382a0ce323 [INFO] running `Command { std: "docker" "start" "-a" "b88e6e63e76fe8c657b5eb289d86c73a2b302bd23c92616970cf42382a0ce323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88e6e63e76fe8c657b5eb289d86c73a2b302bd23c92616970cf42382a0ce323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88e6e63e76fe8c657b5eb289d86c73a2b302bd23c92616970cf42382a0ce323", kill_on_drop: false }` [INFO] [stdout] b88e6e63e76fe8c657b5eb289d86c73a2b302bd23c92616970cf42382a0ce323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5bdee5fde2e367aae61aaef88abd0d42f451f3f15dc4bee46f99ad404c1fc55 [INFO] running `Command { std: "docker" "start" "-a" "f5bdee5fde2e367aae61aaef88abd0d42f451f3f15dc4bee46f99ad404c1fc55", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/request.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn try_from(buffer: &[u8]) -> Result { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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-server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/request.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn try_from(buffer: &[u8]) -> Result { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f5bdee5fde2e367aae61aaef88abd0d42f451f3f15dc4bee46f99ad404c1fc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5bdee5fde2e367aae61aaef88abd0d42f451f3f15dc4bee46f99ad404c1fc55", kill_on_drop: false }` [INFO] [stdout] f5bdee5fde2e367aae61aaef88abd0d42f451f3f15dc4bee46f99ad404c1fc55