[INFO] cloning repository https://github.com/taoufikayoub/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/taoufikayoub/http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoufikayoub%2Fhttp-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoufikayoub%2Fhttp-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 662d499e946a7ddb36059bd6067a6fc2acdad514 [INFO] testing taoufikayoub/http-server-rust against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaoufikayoub%2Fhttp-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] validating manifest of git repo https://github.com/taoufikayoub/http-server-rust on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taoufikayoub/http-server-rust [INFO] finished tweaking git repo https://github.com/taoufikayoub/http-server-rust [INFO] tweaked toml for git repo https://github.com/taoufikayoub/http-server-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taoufikayoub/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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ea265c73de5b7997585d323623fbc6a72fbdb51872a051483286f26a723b6a [INFO] running `Command { std: "docker" "start" "-a" "d7ea265c73de5b7997585d323623fbc6a72fbdb51872a051483286f26a723b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ea265c73de5b7997585d323623fbc6a72fbdb51872a051483286f26a723b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ea265c73de5b7997585d323623fbc6a72fbdb51872a051483286f26a723b6a", kill_on_drop: false }` [INFO] [stdout] d7ea265c73de5b7997585d323623fbc6a72fbdb51872a051483286f26a723b6a [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a47662a3d395d4ef223b0d71bfd4ec9a756d14276ff3a559c9af6b4b98b969c [INFO] running `Command { std: "docker" "start" "-a" "3a47662a3d395d4ef223b0d71bfd4ec9a756d14276ff3a559c9af6b4b98b969c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling codecrafters-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/http_parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/http_parser.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `json` is never used [INFO] [stdout] --> src/http_parser.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl HttpResponse { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn json(content: &T) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.83s [INFO] running `Command { std: "docker" "inspect" "3a47662a3d395d4ef223b0d71bfd4ec9a756d14276ff3a559c9af6b4b98b969c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a47662a3d395d4ef223b0d71bfd4ec9a756d14276ff3a559c9af6b4b98b969c", kill_on_drop: false }` [INFO] [stdout] 3a47662a3d395d4ef223b0d71bfd4ec9a756d14276ff3a559c9af6b4b98b969c [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c91534389455b50a86e475c6b3c85a7b5919b947415fcb5fbf48148fc1520c [INFO] running `Command { std: "docker" "start" "-a" "17c91534389455b50a86e475c6b3c85a7b5919b947415fcb5fbf48148fc1520c", kill_on_drop: false }` [INFO] [stderr] Compiling codecrafters-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/http_parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/http_parser.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `json` is never used [INFO] [stdout] --> src/http_parser.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl HttpResponse { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn json(content: &T) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "17c91534389455b50a86e475c6b3c85a7b5919b947415fcb5fbf48148fc1520c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c91534389455b50a86e475c6b3c85a7b5919b947415fcb5fbf48148fc1520c", kill_on_drop: false }` [INFO] [stdout] 17c91534389455b50a86e475c6b3c85a7b5919b947415fcb5fbf48148fc1520c [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 986285e0baf3ceeaab8d987f306c670736f1b15a7260da3b06efdb726159c19e [INFO] running `Command { std: "docker" "start" "-a" "986285e0baf3ceeaab8d987f306c670736f1b15a7260da3b06efdb726159c19e", kill_on_drop: false }` [INFO] [stderr] warning: field `version` is never read [INFO] [stderr] --> src/http_parser.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct HttpRequest { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Forbidden` is never constructed [INFO] [stderr] --> src/http_parser.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 84 | pub enum StatusCode { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 89 | Forbidden = 403, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatusCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `json` is never used [INFO] [stderr] --> src/http_parser.rs:215:12 [INFO] [stderr] | [INFO] [stderr] 188 | impl HttpResponse { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 215 | pub fn json(content: &T) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `codecrafters-http-server` (bin "codecrafters-http-server" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thread_pool_server-af4f809e48f93894) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_http_server-67684b1cbb093a64) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests thread_pool_server [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "986285e0baf3ceeaab8d987f306c670736f1b15a7260da3b06efdb726159c19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986285e0baf3ceeaab8d987f306c670736f1b15a7260da3b06efdb726159c19e", kill_on_drop: false }` [INFO] [stdout] 986285e0baf3ceeaab8d987f306c670736f1b15a7260da3b06efdb726159c19e