[INFO] cloning repository https://github.com/YisusChrist/codecrafters-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/YisusChrist/codecrafters-http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYisusChrist%2Fcodecrafters-http-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYisusChrist%2Fcodecrafters-http-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1748929befa9eef55e73eb2442ba2ee7e46cbf8d [INFO] checking YisusChrist/codecrafters-http-server-rust against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYisusChrist%2Fcodecrafters-http-server-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YisusChrist/codecrafters-http-server-rust [INFO] finished tweaking git repo https://github.com/YisusChrist/codecrafters-http-server-rust [INFO] tweaked toml for git repo https://github.com/YisusChrist/codecrafters-http-server-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YisusChrist/codecrafters-http-server-rust on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YisusChrist/codecrafters-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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac629b97b8797b0ed03f1ec7753bf4a657875038866829f900e5997cd223be7 [INFO] running `Command { std: "docker" "start" "-a" "fac629b97b8797b0ed03f1ec7753bf4a657875038866829f900e5997cd223be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac629b97b8797b0ed03f1ec7753bf4a657875038866829f900e5997cd223be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac629b97b8797b0ed03f1ec7753bf4a657875038866829f900e5997cd223be7", kill_on_drop: false }` [INFO] [stdout] fac629b97b8797b0ed03f1ec7753bf4a657875038866829f900e5997cd223be7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e12abb90d7bc3a24674ab6eddee591dfaa489d99571359ef96bac5ae71e5ba44 [INFO] running `Command { std: "docker" "start" "-a" "e12abb90d7bc3a24674ab6eddee591dfaa489d99571359ef96bac5ae71e5ba44", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.29.1 [INFO] [stderr] Checking http-server-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | full_response += general_purpose::STANDARD.encode(&body_slice); // Encode binary data to base64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 332 | full_response += &general_purpose::STANDARD.encode(&body_slice); // Encode binary data to base64 [INFO] [stdout] | + [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | full_response += general_purpose::STANDARD.encode(&body_slice); // Encode binary data to base64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 332 | full_response += &general_purpose::STANDARD.encode(&body_slice); // Encode binary data to base64 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e12abb90d7bc3a24674ab6eddee591dfaa489d99571359ef96bac5ae71e5ba44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12abb90d7bc3a24674ab6eddee591dfaa489d99571359ef96bac5ae71e5ba44", kill_on_drop: false }` [INFO] [stdout] e12abb90d7bc3a24674ab6eddee591dfaa489d99571359ef96bac5ae71e5ba44