[INFO] cloning repository https://github.com/ibrahimel/odecrafters-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/ibrahimel/odecrafters-http-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimel%2Fodecrafters-http-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimel%2Fodecrafters-http-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1503f295a0bfb50c188ef02f1e583510b2c72fe2 [INFO] building ibrahimel/odecrafters-http-server-rust against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibrahimel%2Fodecrafters-http-server-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ibrahimel/odecrafters-http-server-rust on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ibrahimel/odecrafters-http-server-rust [INFO] finished tweaking git repo https://github.com/ibrahimel/odecrafters-http-server-rust [INFO] tweaked toml for git repo https://github.com/ibrahimel/odecrafters-http-server-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ibrahimel/odecrafters-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47b4ff485149386062e7e1e1bcd8e83e1cda552048c8ac8f847f1f80fd0759f0 [INFO] running `Command { std: "docker" "start" "-a" "47b4ff485149386062e7e1e1bcd8e83e1cda552048c8ac8f847f1f80fd0759f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47b4ff485149386062e7e1e1bcd8e83e1cda552048c8ac8f847f1f80fd0759f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b4ff485149386062e7e1e1bcd8e83e1cda552048c8ac8f847f1f80fd0759f0", kill_on_drop: false }` [INFO] [stdout] 47b4ff485149386062e7e1e1bcd8e83e1cda552048c8ac8f847f1f80fd0759f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f25560a06132e3f3623d308d53be1d0b87abc1c22f995ea7ff75c395703e66ca [INFO] running `Command { std: "docker" "start" "-a" "f25560a06132e3f3623d308d53be1d0b87abc1c22f995ea7ff75c395703e66ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling codecrafters-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `HOST` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const HOST: &str = "localhost:4221"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADERS` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const HEADERS: [&str; 5] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const PROTOCOL: &str = "HTTP/1.1"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESPONSE_400` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const RESPONSE_400: &str = "HTTP/1.1 400 Bad Request\r\n\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `content_type`, `content_length`, and `accept` are never read [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct HTTPRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | user_agent: Option, [INFO] [stdout] 41 | content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | content_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | accept: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.64s [INFO] running `Command { std: "docker" "inspect" "f25560a06132e3f3623d308d53be1d0b87abc1c22f995ea7ff75c395703e66ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f25560a06132e3f3623d308d53be1d0b87abc1c22f995ea7ff75c395703e66ca", kill_on_drop: false }` [INFO] [stdout] f25560a06132e3f3623d308d53be1d0b87abc1c22f995ea7ff75c395703e66ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e79392176bbe0fcc3e43bee3b581540cdcc987bacae2209f7bc43a42849d5c44 [INFO] running `Command { std: "docker" "start" "-a" "e79392176bbe0fcc3e43bee3b581540cdcc987bacae2209f7bc43a42849d5c44", kill_on_drop: false }` [INFO] [stderr] Compiling codecrafters-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `HOST` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const HOST: &str = "localhost:4221"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADERS` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const HEADERS: [&str; 5] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const PROTOCOL: &str = "HTTP/1.1"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESPONSE_400` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const RESPONSE_400: &str = "HTTP/1.1 400 Bad Request\r\n\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `content_type`, `content_length`, and `accept` are never read [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct HTTPRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | user_agent: Option, [INFO] [stdout] 41 | content_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | content_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 43 | accept: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HTTPRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "e79392176bbe0fcc3e43bee3b581540cdcc987bacae2209f7bc43a42849d5c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79392176bbe0fcc3e43bee3b581540cdcc987bacae2209f7bc43a42849d5c44", kill_on_drop: false }` [INFO] [stdout] e79392176bbe0fcc3e43bee3b581540cdcc987bacae2209f7bc43a42849d5c44