[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] testing jessaimaya/codecrafters-http-server-rust against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessaimaya%2Fcodecrafters-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] 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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jessaimaya/codecrafters-http-server-rust on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1.99.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed
[INFO] running `Command { std: "docker" "start" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", 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]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling http-server-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 25.72s
[INFO] running `Command { std: "docker" "inspect" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling pretty_assertions v1.4.0
[INFO] [stderr]    Compiling http-server-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.80s
[INFO] running `Command { std: "docker" "inspect" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/http_server_starter_rust-417b534bbb9cd06e)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test httprequest::tests::test_method_into ... ok
[INFO] [stdout] test httprequest::tests::read_http_request ... ok
[INFO] [stdout] test httprequest::tests::test_version_into ... ok
[INFO] [stdout] test httpresponse::tests::test_response_200 ... FAILED
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin http-server-starter-rust`
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- httpresponse::tests::test_response_200 stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'httpresponse::tests::test_response_200' (932) panicked at src/httpresponse.rs:145:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: HttpResponse { version: "HTTP/1.1", status_code: "200", status_text: "OK", headers: Some({"Content-Type": "text/plain"}), body: Some(Text("My body content")) }
[INFO] [stdout]  right: HttpResponse { version: "HTTP/1.1", status_code: "200", status_text: "OK", headers: Some({"Content-Type": "text/html"}), body: Some(Text("My body content")) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x581a6b50e431 - <<std[104cf6e2632825ea]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x581a6b522a1a - core[7c831bd917ebf35f]::fmt::write
[INFO] [stdout]    2:     0x581a6b5128cc - <alloc[2fdc3f7464fcf288]::vec::Vec<u8> as core[7c831bd917ebf35f]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x581a6b4eaa16 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x581a6b506b49 - std[104cf6e2632825ea]::panicking::default_hook
[INFO] [stdout]    5:     0x581a6b4a3000 - test[73009c9f9aebf890]::test_main_inner::<test[73009c9f9aebf890]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x581a6b506d02 - std[104cf6e2632825ea]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x581a6b4eaac2 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x581a6b4e3469 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace::<std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x581a6b4eb6bd - __rustc[b0d56fa5b193ad05]::rust_begin_unwind
[INFO] [stdout]   10:     0x581a6b52314c - core[7c831bd917ebf35f]::panicking::panic_fmt
[INFO] [stdout]   11:     0x581a6b523063 - core[7c831bd917ebf35f]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x581a6b49529e - core[7c831bd917ebf35f]::panicking::assert_failed::<http_server_starter_rust[a7955d831b0cb333]::httpresponse::HttpResponse, http_server_starter_rust[a7955d831b0cb333]::httpresponse::HttpResponse>
[INFO] [stdout]   13:     0x581a6b496189 - <http_server_starter_rust[a7955d831b0cb333]::httpresponse::tests::test_response_200::{closure#0} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x581a6b4962eb - test[73009c9f9aebf890]::__rust_begin_short_backtrace::<core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>>
[INFO] [stdout]   15:     0x581a6b4a3955 - test[73009c9f9aebf890]::run_test::{closure#0}
[INFO] [stdout]   16:     0x581a6b49cd14 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<test[73009c9f9aebf890]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x581a6b4a6ab2 - <std[104cf6e2632825ea]::thread::lifecycle::spawn_unchecked<test[73009c9f9aebf890]::run_test::{closure#1}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x581a6b50dd09 - <std[104cf6e2632825ea]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7ba4f378f07a - <unknown>
[INFO] [stdout]   20:     0x7ba4f3822534 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     httpresponse::tests::test_response_200
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed", kill_on_drop: false }`
[INFO] [stdout] c7cef43a28c3d87eddd5d0fe6c3fa4ac58c7f72669de8f91e10258df041976ed
