[INFO] cloning repository https://github.com/AlexDiru/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/AlexDiru/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexDiru%2Frust-http-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexDiru%2Frust-http-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 31c5d94e773ef80c4e0ef986a7ec58d670de1ec7
[INFO] checking AlexDiru/rust-http-server against master#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexDiru%2Frust-http-server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlexDiru/rust-http-server
[INFO] finished tweaking git repo https://github.com/AlexDiru/rust-http-server
[INFO] tweaked toml for git repo https://github.com/AlexDiru/rust-http-server written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexDiru/rust-http-server on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlexDiru/rust-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" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pin-project-lite v0.2.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41d39c29c14b2011d42f09ebfa71b25e12d7a8026579846747c683c7faa05daf
[INFO] running `Command { std: "docker" "start" "-a" "41d39c29c14b2011d42f09ebfa71b25e12d7a8026579846747c683c7faa05daf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41d39c29c14b2011d42f09ebfa71b25e12d7a8026579846747c683c7faa05daf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41d39c29c14b2011d42f09ebfa71b25e12d7a8026579846747c683c7faa05daf", kill_on_drop: false }`
[INFO] [stdout] 41d39c29c14b2011d42f09ebfa71b25e12d7a8026579846747c683c7faa05daf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6af541b7c6d1cef516663d8586660ad54b14fcedeb618a4302cafed9ebd69352
[INFO] running `Command { std: "docker" "start" "-a" "6af541b7c6d1cef516663d8586660ad54b14fcedeb618a4302cafed9ebd69352", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]     Checking pin-project-lite v0.2.10
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking route-recognizer v0.3.1
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]     Checking http-server-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:73
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn file_endpoint(params: &Params, headers: &HashMap<String, String>) -> String {
[INFO] [stdout]    |    -------------                                                        ^^^^^^ expected `String`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:73
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn file_endpoint(params: &Params, headers: &HashMap<String, String>) -> String {
[INFO] [stdout]    |    -------------                                                        ^^^^^^ expected `String`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http-server-starter-rust` (bin "http-server-starter-rust") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `http-server-starter-rust` (bin "http-server-starter-rust" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "6af541b7c6d1cef516663d8586660ad54b14fcedeb618a4302cafed9ebd69352", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6af541b7c6d1cef516663d8586660ad54b14fcedeb618a4302cafed9ebd69352", kill_on_drop: false }`
[INFO] [stdout] 6af541b7c6d1cef516663d8586660ad54b14fcedeb618a4302cafed9ebd69352
