[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] testing AlexDiru/rust-http-server against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexDiru%2Frust-http-server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexDiru/rust-http-server on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded route-recognizer v0.3.1
[INFO] [stderr]   Downloaded pretty_assertions v1.4.0
[INFO] [stderr]   Downloaded anyhow v1.0.68
[INFO] [stderr]   Downloaded pin-project-lite v0.2.10
[INFO] [stderr]   Downloaded syn v1.0.48
[INFO] [stderr]   Downloaded tokio v1.29.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ca1540ec608e8723dce078c74b8c6a3b5cdb6c8664e0186c786d67076df67061
[INFO] running `Command { std: "docker" "start" "-a" "ca1540ec608e8723dce078c74b8c6a3b5cdb6c8664e0186c786d67076df67061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca1540ec608e8723dce078c74b8c6a3b5cdb6c8664e0186c786d67076df67061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca1540ec608e8723dce078c74b8c6a3b5cdb6c8664e0186c786d67076df67061", kill_on_drop: false }`
[INFO] [stdout] ca1540ec608e8723dce078c74b8c6a3b5cdb6c8664e0186c786d67076df67061
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ab4de91dfb28f6dd511b2f2d368edf499f5c242d545d884d3db4b073e8d75c79
[INFO] running `Command { std: "docker" "start" "-a" "ab4de91dfb28f6dd511b2f2d368edf499f5c242d545d884d3db4b073e8d75c79", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.10
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling route-recognizer v0.3.1
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling 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] 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] running `Command { std: "docker" "inspect" "ab4de91dfb28f6dd511b2f2d368edf499f5c242d545d884d3db4b073e8d75c79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab4de91dfb28f6dd511b2f2d368edf499f5c242d545d884d3db4b073e8d75c79", kill_on_drop: false }`
[INFO] [stdout] ab4de91dfb28f6dd511b2f2d368edf499f5c242d545d884d3db4b073e8d75c79
