[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-10-28 for beta-1.92-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBacbia3696%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bacbia3696/codecrafters-kafka-rust on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e5d2ea608f61198050424cb5ef773b97f2a24d47ceed6adca8f62f7b8541292
[INFO] running `Command { std: "docker" "start" "-a" "7e5d2ea608f61198050424cb5ef773b97f2a24d47ceed6adca8f62f7b8541292", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e5d2ea608f61198050424cb5ef773b97f2a24d47ceed6adca8f62f7b8541292", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e5d2ea608f61198050424cb5ef773b97f2a24d47ceed6adca8f62f7b8541292", kill_on_drop: false }`
[INFO] [stdout] 7e5d2ea608f61198050424cb5ef773b97f2a24d47ceed6adca8f62f7b8541292
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87054da1d38a0854498c674ecfcf255b7e8684455099469513e78d4a4b664d4a
[INFO] running `Command { std: "docker" "start" "-a" "87054da1d38a0854498c674ecfcf255b7e8684455099469513e78d4a4b664d4a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[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 serde_json v1.0.140
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling hex v0.4.3
[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 59.28s
[INFO] running `Command { std: "docker" "inspect" "87054da1d38a0854498c674ecfcf255b7e8684455099469513e78d4a4b664d4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87054da1d38a0854498c674ecfcf255b7e8684455099469513e78d4a4b664d4a", kill_on_drop: false }`
[INFO] [stdout] 87054da1d38a0854498c674ecfcf255b7e8684455099469513e78d4a4b664d4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51b9d53ff4b3ed5d872fd4aed2d46b55fdc711e0fac9770a4bbf7083938a756e
[INFO] running `Command { std: "docker" "start" "-a" "51b9d53ff4b3ed5d872fd4aed2d46b55fdc711e0fac9770a4bbf7083938a756e", 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.44s
[INFO] running `Command { std: "docker" "inspect" "51b9d53ff4b3ed5d872fd4aed2d46b55fdc711e0fac9770a4bbf7083938a756e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51b9d53ff4b3ed5d872fd4aed2d46b55fdc711e0fac9770a4bbf7083938a756e", kill_on_drop: false }`
[INFO] [stdout] 51b9d53ff4b3ed5d872fd4aed2d46b55fdc711e0fac9770a4bbf7083938a756e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cacf57d1a2e3496a1ccc35667f9a87f31f2b2818e56568f661a088d85aa71157
[INFO] running `Command { std: "docker" "start" "-a" "cacf57d1a2e3496a1ccc35667f9a87f31f2b2818e56568f661a088d85aa71157", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `init_default` is never used
[INFO] [stderr]    --> src/logging/mod.rs:158:12
[INFO] [stderr]     |
[INFO] [stderr]  62 | impl Logger {
[INFO] [stderr]     | ----------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 158 |     pub fn init_default() -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `broker_span` and `log_connection_metrics` are never used
[INFO] [stderr]    --> src/logging/mod.rs:216:12
[INFO] [stderr]     |
[INFO] [stderr] 193 | impl LogUtils {
[INFO] [stderr]     | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 216 |     pub fn broker_span(operation: &str) -> Span {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 225 |     pub fn log_connection_metrics(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `codecrafters-kafka` (bin "codecrafters-kafka" test) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_kafka-a49202372d4106ea)
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_null ... ok
[INFO] [stdout] test protocol::encoding::tests::test_encode_nullable_string_roundtrip ... ok
[INFO] [stdout] test protocol::encoding::tests::test_safe_decode_insufficient_bytes ... ok
[INFO] [stdout] [2m2025-11-01T20:43:07.530577399+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] [stdout] [2m2025-11-01T20:43:07.530705919+00:00[0m [34mDEBUG[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a debug message
[INFO] [stdout] [2m2025-11-01T20:43:07.530750349+00:00[0m [32m INFO[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an info message
[INFO] [stdout] [2m2025-11-01T20:43:07.530762639+00:00[0m [33m WARN[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a warning message
[INFO] [stdout] [2m2025-11-01T20:43:07.530772319+00:00[0m [31mERROR[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an error message
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_empty ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_insufficient_bytes ... ok
[INFO] [stdout] test protocol::encoding::tests::test_peek_functions ... ok
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_valid ... ok
[INFO] [stdout] test logging::tests::test_logging_macros ... ok
[INFO] [stdout] test logging::tests::test_log_config_default ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_with_client_id ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_without_client_id ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_roundtrip_with_client_id ... ok
[INFO] [stdout] test protocol::headers::tests::test_response_header_v0_roundtrip ... ok
[INFO] [stdout] test protocol::integration_tests::test_backward_compatibility_functions ... ok
[INFO] [stdout] test protocol::headers::tests::test_response_header_v0_creation ... ok
[INFO] [stdout] test protocol::integration_tests::test_full_protocol_roundtrip ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_roundtrip_with_null_client_id ... ok
[INFO] [stdout] [2m2025-11-01T20:43:07.547056468+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] [stdout] [2m2025-11-01T20:43:07.547110488+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=[0m61.6µs
[INFO] [stdout] [2m2025-11-01T20:43:07.547238528+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] [stdout] [2m2025-11-01T20:43:07.547271748+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.6µs
[INFO] [stdout] test logging::tests::test_request_span ... ok
[INFO] [stdout] test logging::tests::test_connection_span ... 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' (32) 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:     0x61c7806969c2 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x61c7806969c2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x61c7806969c2 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x61c7806969c2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h47627beda0767f4c
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x61c7806a89ff - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x61c7806a89ff - core::fmt::write::h8a63064c67176fd8
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x61c780662333 - std::io::default_write_fmt::hd4797e693c0ec256
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x61c780662333 - std::io::Write::write_fmt::h791e240ad2720c99
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x61c78066e852 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x61c78067400f - std::panicking::default_hook::{{closure}}::h23e0299d4738b766
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x61c780673ea1 - std::panicking::default_hook::hfeec6294e8751b62
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x61c7803542ee - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3f5a16438cee2b4e
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9
[INFO] [stdout]   12:     0x61c7803542ee - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x61c78067461f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb18da3e68df7464
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9
[INFO] [stdout]   14:     0x61c78067461f - std::panicking::panic_with_hook::hd57cd463d793ed79
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x61c78067447a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x61c78066e989 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x61c78065641d - __rustc[256c90bb7e548b45]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x61c7806b3610 - core::panicking::panic_fmt::hf19c198748ef6a95
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x61c7806b2487 - core::slice::index::slice_index_fail::do_panic::runtime::h12ea8721f495ef48
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic.rs:173:21
[INFO] [stdout]   20:     0x61c7806b2417 - core::slice::index::slice_index_fail::hb9fdb0fbeb891fba
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic.rs:178:9
[INFO] [stdout]   21:     0x61c7803105fd - <core::ops::range::Range<usize> as core::slice::index::SliceIndex<[T]>>::index::h4193931a0debb747
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/slice/index.rs:438:13
[INFO] [stdout]   22:     0x61c7803105fd - core::slice::index::<impl core::ops::index::Index<I> for [T]>::index::h6f99d6bcbfb40760
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/slice/index.rs:18:15
[INFO] [stdout]   23:     0x61c7803105fd - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::hf812f25e71163478
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:161:26
[INFO] [stdout]   24:     0x61c7803106f7 - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::{{closure}}::hc6ad0f06c1260b45
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:150:42
[INFO] [stdout]   25:     0x61c78031e866 - core::ops::function::FnOnce::call_once::h5f26fa04f3446ab5
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61c78035413b - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x61c78035413b - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18
[INFO] [stdout]   28:     0x61c780368758 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74
[INFO] [stdout]   29:     0x61c780368758 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30:     0x61c780368758 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40
[INFO] [stdout]   31:     0x61c780368758 - std::panicking::catch_unwind::h8609b446221def5f
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19
[INFO] [stdout]   32:     0x61c780368758 - std::panic::catch_unwind::h362f73cc48531e26
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x61c780368758 - test::run_test_in_process::hf52fd21d696aae67
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27
[INFO] [stdout]   34:     0x61c780368758 - test::run_test::{{closure}}::h7e780b8354e6d007
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43
[INFO] [stdout]   35:     0x61c780341524 - test::run_test::{{closure}}::hdc2695f2276aad3e
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41
[INFO] [stdout]   36:     0x61c780341524 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   37:     0x61c780344e5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   38:     0x61c780344e5a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39:     0x61c780344e5a - std::panicking::catch_unwind::do_call::h495689350c27df20
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40
[INFO] [stdout]   40:     0x61c780344e5a - std::panicking::catch_unwind::hf22437c51d1b3740
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19
[INFO] [stdout]   41:     0x61c780344e5a - std::panic::catch_unwind::habda1a57de8231f8
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x61c780344e5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   43:     0x61c780344e5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x61c780669c7f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he4d85cb537521972
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9
[INFO] [stdout]   45:     0x61c780669c7f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd
[INFO] [stdout]                                at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   46:     0x7b7eda3c5aa4 - <unknown>
[INFO] [stdout]   47:     0x7b7eda452a34 - 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" "cacf57d1a2e3496a1ccc35667f9a87f31f2b2818e56568f661a088d85aa71157", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cacf57d1a2e3496a1ccc35667f9a87f31f2b2818e56568f661a088d85aa71157", kill_on_drop: false }`
[INFO] [stdout] cacf57d1a2e3496a1ccc35667f9a87f31f2b2818e56568f661a088d85aa71157
