[INFO] cloning repository https://github.com/jessaimaya/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/jessaimaya/codecrafters-http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessaimaya%2Fcodecrafters-http-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessaimaya%2Fcodecrafters-http-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73787f93d8ec1d763f85dcd1d77093c60f075c82 [INFO] checking jessaimaya/codecrafters-http-server-rust against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessaimaya%2Fcodecrafters-http-server-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jessaimaya/codecrafters-http-server-rust on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jessaimaya/codecrafters-http-server-rust [INFO] finished tweaking git repo https://github.com/jessaimaya/codecrafters-http-server-rust [INFO] tweaked toml for git repo https://github.com/jessaimaya/codecrafters-http-server-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jessaimaya/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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00cebcb2a90e8145792589e83314c97a9187a7e62cec02c26c18e50afd4290c9 [INFO] running `Command { std: "docker" "start" "-a" "00cebcb2a90e8145792589e83314c97a9187a7e62cec02c26c18e50afd4290c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00cebcb2a90e8145792589e83314c97a9187a7e62cec02c26c18e50afd4290c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00cebcb2a90e8145792589e83314c97a9187a7e62cec02c26c18e50afd4290c9", kill_on_drop: false }` [INFO] [stdout] 00cebcb2a90e8145792589e83314c97a9187a7e62cec02c26c18e50afd4290c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65a76d37d35ed1f610aad7697f39184179f282e4b8413a72f42be32493a1d567 [INFO] running `Command { std: "docker" "start" "-a" "65a76d37d35ed1f610aad7697f39184179f282e4b8413a72f42be32493a1d567", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking itertools v0.11.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 socket2 v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [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: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | version: "HTTP/1.1".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | status_code: "200".into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | status_text: "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | response.status_code = status_code.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | "200" => "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | "201" => "Created".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | "400" => "Bad Request".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | "404" => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | "500" => "Internal Server Error".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | _ => "Not found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `httprequest::Version` to `httprequest::Version` [INFO] [stdout] --> src/httprequest.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | let v: Version = Version::V1_1.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | version: "HTTP/1.1".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | status_code: "200".into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | status_text: "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | response.status_code = status_code.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | "200" => "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | "201" => "Created".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | "400" => "Bad Request".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | "404" => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | "500" => "Internal Server Error".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/httpresponse.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | _ => "Not found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server-starter-rust` (bin "http-server-starter-rust") due to 10 previous errors [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 11 previous errors [INFO] running `Command { std: "docker" "inspect" "65a76d37d35ed1f610aad7697f39184179f282e4b8413a72f42be32493a1d567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a76d37d35ed1f610aad7697f39184179f282e4b8413a72f42be32493a1d567", kill_on_drop: false }` [INFO] [stdout] 65a76d37d35ed1f610aad7697f39184179f282e4b8413a72f42be32493a1d567