[INFO] cloning repository https://github.com/henriquemrc12/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/henriquemrc12/http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenriquemrc12%2Fhttp-server-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenriquemrc12%2Fhttp-server-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e191fdd5637e6efc43adaf27cdb7ddfb027b43a1
[INFO] checking henriquemrc12/http-server-rust against master#8a65ee08296b36342bf7c3cdc15312ccbc357227 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenriquemrc12%2Fhttp-server-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/henriquemrc12/http-server-rust on toolchain 8a65ee08296b36342bf7c3cdc15312ccbc357227
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/henriquemrc12/http-server-rust
[INFO] finished tweaking git repo https://github.com/henriquemrc12/http-server-rust
[INFO] tweaked toml for git repo https://github.com/henriquemrc12/http-server-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/henriquemrc12/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" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 64d1d5762ddbbdcfcd37f030fe9d4ba1be5b86a3918782c1d0f0a6ff63f333ef
[INFO] running `Command { std: "docker" "start" "-a" "64d1d5762ddbbdcfcd37f030fe9d4ba1be5b86a3918782c1d0f0a6ff63f333ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64d1d5762ddbbdcfcd37f030fe9d4ba1be5b86a3918782c1d0f0a6ff63f333ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64d1d5762ddbbdcfcd37f030fe9d4ba1be5b86a3918782c1d0f0a6ff63f333ef", kill_on_drop: false }`
[INFO] [stdout] 64d1d5762ddbbdcfcd37f030fe9d4ba1be5b86a3918782c1d0f0a6ff63f333ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c682af60e9cece536fff006a89020f081747edb5e1198197e5274a10220d750a
[INFO] running `Command { std: "docker" "start" "-a" "c682af60e9cece536fff006a89020f081747edb5e1198197e5274a10220d750a", kill_on_drop: false }`
[INFO] [stderr]     Checking http_server_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:51:83
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let template_string = fs::read_to_string(format!("templates/{template_name}"))
[INFO] [stdout]    |                                                                                   ^ help: add `;` here
[INFO] [stdout] 52 |     let template: &str = template_string.expect("REASON").as_str();
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:51:83
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let template_string = fs::read_to_string(format!("templates/{template_name}"))
[INFO] [stdout]    |                                                                                   ^ help: add `;` here
[INFO] [stdout] 52 |     let template: &str = template_string.expect("REASON").as_str();
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |         response = format!("{status_line}\r\nContent-Length: {content_length}\r\n\r\n{contents}");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn item, found `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn item `fn() -> String {String::new}`
[INFO] [stdout]                found struct `String`
[INFO] [stdout]    = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:50:48
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn get_template_string(template_name: &str) -> &str {
[INFO] [stdout]    |    -------------------                         ^^^^ expected `&str`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 53 |     template;
[INFO] [stdout]    |             - help: remove this semicolon to return this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |         response = format!("{status_line}\r\nContent-Length: {content_length}\r\n\r\n{contents}");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn item, found `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn item `fn() -> String {String::new}`
[INFO] [stdout]                found struct `String`
[INFO] [stdout]    = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:50:48
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn get_template_string(template_name: &str) -> &str {
[INFO] [stdout]    |    -------------------                         ^^^^ expected `&str`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 53 |     template;
[INFO] [stdout]    |             - help: remove this semicolon to return this value
[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_example` (bin "http_server_example" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `http_server_example` (bin "http_server_example") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "c682af60e9cece536fff006a89020f081747edb5e1198197e5274a10220d750a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c682af60e9cece536fff006a89020f081747edb5e1198197e5274a10220d750a", kill_on_drop: false }`
[INFO] [stdout] c682af60e9cece536fff006a89020f081747edb5e1198197e5274a10220d750a
