[INFO] cloning repository https://github.com/Bacbia3696/codecrafters-kafka-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bacbia3696/codecrafters-kafka-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBacbia3696%2Fcodecrafters-kafka-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBacbia3696%2Fcodecrafters-kafka-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec27a47a8ac981bd6756fd769527c3669c72efdd
[INFO] testing Bacbia3696/codecrafters-kafka-rust against beta-2025-09-21 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBacbia3696%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bacbia3696/codecrafters-kafka-rust
[INFO] finished tweaking git repo https://github.com/Bacbia3696/codecrafters-kafka-rust
[INFO] tweaked toml for git repo https://github.com/Bacbia3696/codecrafters-kafka-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bacbia3696/codecrafters-kafka-rust on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bacbia3696/codecrafters-kafka-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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1c2c50de1c8aa918ccab5a9fb512b872e90fcd3e31754a0d58fd3339804537f
[INFO] running `Command { std: "docker" "start" "-a" "b1c2c50de1c8aa918ccab5a9fb512b872e90fcd3e31754a0d58fd3339804537f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1c2c50de1c8aa918ccab5a9fb512b872e90fcd3e31754a0d58fd3339804537f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1c2c50de1c8aa918ccab5a9fb512b872e90fcd3e31754a0d58fd3339804537f", kill_on_drop: false }`
[INFO] [stdout] b1c2c50de1c8aa918ccab5a9fb512b872e90fcd3e31754a0d58fd3339804537f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00194b1d0a0cadfb1c13168aea06a7b274d64d9bb84c9c58882a44736b45e95e
[INFO] running `Command { std: "docker" "start" "-a" "00194b1d0a0cadfb1c13168aea06a7b274d64d9bb84c9c58882a44736b45e95e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[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 tracing-serde v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling codecrafters-kafka v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `init_default` is never used
[INFO] [stdout]    --> src/logging/mod.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Logger {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn init_default() -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `broker_span` and `log_connection_metrics` are never used
[INFO] [stdout]    --> src/logging/mod.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl LogUtils {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn broker_span(operation: &str) -> Span {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn log_connection_metrics(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.47s
[INFO] running `Command { std: "docker" "inspect" "00194b1d0a0cadfb1c13168aea06a7b274d64d9bb84c9c58882a44736b45e95e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00194b1d0a0cadfb1c13168aea06a7b274d64d9bb84c9c58882a44736b45e95e", kill_on_drop: false }`
[INFO] [stdout] 00194b1d0a0cadfb1c13168aea06a7b274d64d9bb84c9c58882a44736b45e95e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eae35b6a7db012691cc5df7297e4e108509aa9fbac4b30195f51c9068bb8173c
[INFO] running `Command { std: "docker" "start" "-a" "eae35b6a7db012691cc5df7297e4e108509aa9fbac4b30195f51c9068bb8173c", kill_on_drop: false }`
[INFO] [stderr]    Compiling codecrafters-kafka v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `init_default` is never used
[INFO] [stdout]    --> src/logging/mod.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Logger {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn init_default() -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `broker_span` and `log_connection_metrics` are never used
[INFO] [stdout]    --> src/logging/mod.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl LogUtils {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn broker_span(operation: &str) -> Span {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn log_connection_metrics(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.03s
[INFO] running `Command { std: "docker" "inspect" "eae35b6a7db012691cc5df7297e4e108509aa9fbac4b30195f51c9068bb8173c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eae35b6a7db012691cc5df7297e4e108509aa9fbac4b30195f51c9068bb8173c", kill_on_drop: false }`
[INFO] [stdout] eae35b6a7db012691cc5df7297e4e108509aa9fbac4b30195f51c9068bb8173c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 093613f5fd656501e9d55b7c7ab850dbdf99c7b3cd095a74495ff196c0901df5
[INFO] running `Command { std: "docker" "start" "-a" "093613f5fd656501e9d55b7c7ab850dbdf99c7b3cd095a74495ff196c0901df5", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `init_default` is never used
[INFO] [stdout] 
[INFO] [stderr]    --> src/logging/mod.rs:158:12
[INFO] [stdout] running 20 tests
[INFO] [stderr]     |
[INFO] [stdout] [2m2025-09-24T16:14:27.927266575+00:00[0m [32m INFO[0m ThreadId(02) [2mcodecrafters_kafka::logging[0m[2m:[0m Logging system initialized [3mconfig[0m[2m=[0mLogConfig { level: "debug", console: true, file: false, log_dir: "./logs", file_prefix: "kafka-broker", json_format: false, with_timestamp: true, with_thread_ids: true, with_spans: true }
[INFO] [stderr]  62 | impl Logger {
[INFO] [stdout] [2m2025-09-24T16:14:27.927425865+00:00[0m [32m INFO[0m ThreadId(02) [1mconnection[0m[1m{[0m[3mpeer_addr[0m[2m=[0m127.0.0.1:9092[1m}[0m[2m:[0m [2mcodecrafters_kafka::logging[0m[2m:[0m new
[INFO] [stderr]     | ----------- associated function in this implementation
[INFO] [stdout] [2m2025-09-24T16:14:27.927601275+00:00[0m [32m INFO[0m ThreadId(05) [1mrequest[0m[1m{[0m[3mapi_key[0m[2m=[0m18 [3mcorrelation_id[0m[2m=[0m1 [3mclient_id[0m[2m=[0m"test-client"[1m}[0m[2m:[0m [2mcodecrafters_kafka::logging[0m[2m:[0m new
[INFO] [stderr] ...
[INFO] [stdout] [2m2025-09-24T16:14:27.927645905+00:00[0m [32m INFO[0m ThreadId(05) [1mrequest[0m[1m{[0m[3mapi_key[0m[2m=[0m18 [3mcorrelation_id[0m[2m=[0m1 [3mclient_id[0m[2m=[0m"test-client"[1m}[0m[2m:[0m [2mcodecrafters_kafka::logging[0m[2m:[0m close [3mtime.busy[0m[2m=[0m0.00ns [3mtime.idle[0m[2m=[0m49.6µs
[INFO] [stderr] 158 |     pub fn init_default() -> Result<()> {
[INFO] [stdout] [2m2025-09-24T16:14:27.927458215+00:00[0m [32m INFO[0m ThreadId(02) [1mconnection[0m[1m{[0m[3mpeer_addr[0m[2m=[0m127.0.0.1:9092[1m}[0m[2m:[0m [2mcodecrafters_kafka::logging[0m[2m:[0m close [3mtime.busy[0m[2m=[0m0.00ns [3mtime.idle[0m[2m=[0m35.0µs
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stdout] [2m2025-09-24T16:14:27.929623945+00:00[0m [34mDEBUG[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a debug message
[INFO] [stderr]     |
[INFO] [stdout] [2m2025-09-24T16:14:27.929677355+00:00[0m [32m INFO[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an info message
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] [2m2025-09-24T16:14:27.929694195+00:00[0m [33m WARN[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a warning message
[INFO] [stderr] 
[INFO] [stdout] [2m2025-09-24T16:14:27.929705095+00:00[0m [31mERROR[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an error message
[INFO] [stderr] warning: associated functions `broker_span` and `log_connection_metrics` are never used
[INFO] [stdout] test logging::tests::test_log_config_default ... ok
[INFO] [stderr]    --> src/logging/mod.rs:216:12
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_null ... ok
[INFO] [stderr]     |
[INFO] [stdout] test protocol::encoding::tests::test_encode_nullable_string_roundtrip ... ok
[INFO] [stderr] 193 | impl LogUtils {
[INFO] [stdout] test protocol::encoding::tests::test_safe_decode_insufficient_bytes ... ok
[INFO] [stderr]     | ------------- associated functions in this implementation
[INFO] [stdout] test protocol::encoding::tests::test_peek_functions ... ok
[INFO] [stderr] ...
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_insufficient_bytes ... ok
[INFO] [stderr] 216 |     pub fn broker_span(operation: &str) -> Span {
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_roundtrip_with_null_client_id ... ok
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_valid ... ok
[INFO] [stderr] ...
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_roundtrip_with_client_id ... ok
[INFO] [stderr] 225 |     pub fn log_connection_metrics(
[INFO] [stdout] test logging::tests::test_request_span ... ok
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] test logging::tests::test_connection_span ... ok
[INFO] [stderr] 
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_empty ... ok
[INFO] [stderr] warning: `codecrafters-kafka` (bin "codecrafters-kafka" test) generated 2 warnings
[INFO] [stdout] test logging::tests::test_logging_macros ... ok
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_with_client_id ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_kafka-a49202372d4106ea)
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_without_client_id ... ok
[INFO] [stdout] test protocol::headers::tests::test_response_header_v0_roundtrip ... ok
[INFO] [stdout] test protocol::headers::tests::test_response_header_v0_creation ... ok
[INFO] [stdout] test protocol::integration_tests::test_backward_compatibility_functions ... ok
[INFO] [stdout] test protocol::integration_tests::test_full_protocol_roundtrip ... ok
[INFO] [stdout] test protocol::headers::tests::test_response_header_v0_encoding ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- protocol::headers::tests::test_response_header_v0_encoding stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'protocol::headers::tests::test_response_header_v0_encoding' (41) panicked at src/protocol/headers.rs:161:26:
[INFO] [stdout] range end index 8 out of range for slice of length 4
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x636a14c65942 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x636a14c65942 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x636a14c65942 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x636a14c65942 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h67edf0e4d33c343c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x636a14c77b0f - core::fmt::rt::Argument::fmt::hef94184842aeafdd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x636a14c77b0f - core::fmt::write::hcf0c66b48a8fa606
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x636a14c30f31 - std::io::default_write_fmt::h69967ac0ba93195f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x636a14c30f31 - std::io::Write::write_fmt::h8db9396209deaa1c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x636a14c3d432 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x636a14c42caf - std::panicking::default_hook::{{closure}}::h91001850288db5f7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x636a14c42b41 - std::panicking::default_hook::h2346dbb704ef5512
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x636a149088ee - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h18383b2e29377420
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x636a149088ee - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x636a14c4336f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6dba6e441651a0d1
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x636a14c4336f - std::panicking::panic_with_hook::hd2b063a6090d23a4
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x636a14c431ca - std::panicking::panic_handler::{{closure}}::he666d95f139a333e
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x636a14c3d569 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x636a14c24c7d - __rustc[1d67440d6e82e4f]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x636a14c82760 - core::panicking::panic_fmt::h420ddb7fd73daf53
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x636a14c816c7 - core::slice::index::slice_index_fail::do_panic::runtime::hc9f72202467bb4d7
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic.rs:173:21
[INFO] [stdout]   20:     0x636a14c81577 - core::slice::index::slice_index_fail::h6b9484dcd0731795
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic.rs:178:9
[INFO] [stdout]   21:     0x636a148c634d - <core::ops::range::Range<usize> as core::slice::index::SliceIndex<[T]>>::index::he15b24398c19d5c2
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/slice/index.rs:438:13
[INFO] [stdout]   22:     0x636a148c634d - core::slice::index::<impl core::ops::index::Index<I> for [T]>::index::h6db55a1f4bffe48f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/slice/index.rs:18:15
[INFO] [stdout]   23:     0x636a148c634d - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::hc6765f66281e0c6b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:161:26
[INFO] [stdout]   24:     0x636a148c6447 - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::{{closure}}::h67dbea11a1d037ac
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:150:42
[INFO] [stdout]   25:     0x636a148bea16 - core::ops::function::FnOnce::call_once::hfc63422e9f48a8c3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x636a149086ab - core::ops::function::FnOnce::call_once::h70887edf07a630ba
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x636a149086ab - test::__rust_begin_short_backtrace::h27763c4cbbdb8601
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18
[INFO] [stdout]   28:     0x636a1491e315 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74
[INFO] [stdout]   29:     0x636a1491e315 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30:     0x636a1491e315 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   31:     0x636a1491e315 - std::panicking::catch_unwind::hae1ec7bf94407afa
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   32:     0x636a1491e315 - std::panic::catch_unwind::h0f4ff4773d84d3cd
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x636a1491e315 - test::run_test_in_process::h03fbc77ae48b3f10
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27
[INFO] [stdout]   34:     0x636a1491e315 - test::run_test::{{closure}}::h83476a9c453dc4d3
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43
[INFO] [stdout]   35:     0x636a148f4b04 - test::run_test::{{closure}}::h515482ad1e7fe7de
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41
[INFO] [stdout]   36:     0x636a148f4b04 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   37:     0x636a148f83ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   38:     0x636a148f83ca - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39:     0x636a148f83ca - std::panicking::catch_unwind::do_call::hdc29e11311eb7655
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40
[INFO] [stdout]   40:     0x636a148f83ca - std::panicking::catch_unwind::h9e402d6a96fef41c
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19
[INFO] [stdout]   41:     0x636a148f83ca - std::panic::catch_unwind::h9213c0c54aec70e0
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x636a148f83ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   43:     0x636a148f83ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x636a14c386cf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h2044e71c41d3958a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   45:     0x636a14c386cf - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a
[INFO] [stdout]                                at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   46:     0x784a4136eaa4 - <unknown>
[INFO] [stdout]   47:     0x784a413fba34 - clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     protocol::headers::tests::test_response_header_v0_encoding
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 19 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin codecrafters-kafka`
[INFO] running `Command { std: "docker" "inspect" "093613f5fd656501e9d55b7c7ab850dbdf99c7b3cd095a74495ff196c0901df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "093613f5fd656501e9d55b7c7ab850dbdf99c7b3cd095a74495ff196c0901df5", kill_on_drop: false }`
[INFO] [stdout] 093613f5fd656501e9d55b7c7ab850dbdf99c7b3cd095a74495ff196c0901df5
