[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 1.93.0 for beta-1.94-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBacbia3696%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bacbia3696/codecrafters-kafka-rust on toolchain 1.93.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "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" "+1.93.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio v1.45.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14079bf1d34bc056e81ce90fc4eff60e8018bf2d59ce9dfbde1e2c65f33d3c00
[INFO] running `Command { std: "docker" "start" "-a" "14079bf1d34bc056e81ce90fc4eff60e8018bf2d59ce9dfbde1e2c65f33d3c00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14079bf1d34bc056e81ce90fc4eff60e8018bf2d59ce9dfbde1e2c65f33d3c00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14079bf1d34bc056e81ce90fc4eff60e8018bf2d59ce9dfbde1e2c65f33d3c00", kill_on_drop: false }`
[INFO] [stdout] 14079bf1d34bc056e81ce90fc4eff60e8018bf2d59ce9dfbde1e2c65f33d3c00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e352b6fe6cfa7ea78ec482fe6c56b2a9d76ae8cc6cbe09a243569b9f215febbd
[INFO] running `Command { std: "docker" "start" "-a" "e352b6fe6cfa7ea78ec482fe6c56b2a9d76ae8cc6cbe09a243569b9f215febbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.63
[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 nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling parking_lot v0.12.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 serde v1.0.219
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[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 27.92s
[INFO] running `Command { std: "docker" "inspect" "e352b6fe6cfa7ea78ec482fe6c56b2a9d76ae8cc6cbe09a243569b9f215febbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e352b6fe6cfa7ea78ec482fe6c56b2a9d76ae8cc6cbe09a243569b9f215febbd", kill_on_drop: false }`
[INFO] [stdout] e352b6fe6cfa7ea78ec482fe6c56b2a9d76ae8cc6cbe09a243569b9f215febbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 344ef592e44b2dc5905c715302ad38a090ddad52643e9b79dc828b3e321c581c
[INFO] running `Command { std: "docker" "start" "-a" "344ef592e44b2dc5905c715302ad38a090ddad52643e9b79dc828b3e321c581c", 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.45s
[INFO] running `Command { std: "docker" "inspect" "344ef592e44b2dc5905c715302ad38a090ddad52643e9b79dc828b3e321c581c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "344ef592e44b2dc5905c715302ad38a090ddad52643e9b79dc828b3e321c581c", kill_on_drop: false }`
[INFO] [stdout] 344ef592e44b2dc5905c715302ad38a090ddad52643e9b79dc828b3e321c581c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bb8df9248476e050a95db2f36edd2aa890eaef6356227caa3bf50f1663ef9587
[INFO] running `Command { std: "docker" "start" "-a" "bb8df9248476e050a95db2f36edd2aa890eaef6356227caa3bf50f1663ef9587", 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-4a4f752c4de09d0b)
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test logging::tests::test_log_config_default ... ok
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_null ... ok
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_valid ... ok
[INFO] [stdout] test protocol::encoding::tests::test_peek_functions ... ok
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_empty ... 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] test protocol::headers::tests::test_request_header_v2_insufficient_bytes ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_roundtrip_with_null_client_id ... 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::headers::tests::test_response_header_v0_creation ... ok
[INFO] [stdout] test protocol::integration_tests::test_full_protocol_roundtrip ... ok
[INFO] [stdout] test protocol::integration_tests::test_backward_compatibility_functions ... ok
[INFO] [stdout] [2m2026-01-26T15:58:36.217650127+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] [2m2026-01-26T15:58:36.217797576+00:00[0m [34mDEBUG[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a debug message
[INFO] [stdout] [2m2026-01-26T15:58:36.217835596+00:00[0m [32m INFO[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an info message
[INFO] [stdout] [2m2026-01-26T15:58:36.217849887+00:00[0m [33m WARN[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a warning message
[INFO] [stdout] [2m2026-01-26T15:58:36.217841196+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] [2m2026-01-26T15:58:36.217870756+00:00[0m [31mERROR[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an error message
[INFO] [stdout] [2m2026-01-26T15:58:36.217864956+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] [2m2026-01-26T15:58:36.217884856+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=[0m51.3µs
[INFO] [stdout] [2m2026-01-26T15:58:36.217898716+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=[0m37.6µs
[INFO] [stdout] test logging::tests::test_logging_macros ... ok
[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' (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:     0x644838c3fad2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x644838c3fad2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x644838c3fad2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x644838c3fad2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x644838c51857 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x644838c51857 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x644838c0c856 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x644838c0c856 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x644838c1e119 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x644838c1e119 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x644838c1dfb1 - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x644838909fee - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x644838909fee - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x644838c1e392 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x644838c1e392 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x644838c1e1d8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x644838c18a09 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x644838c00f6d - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x644838c5befc - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x644838c5b0c0 - core::slice::index::slice_index_fail::do_panic::runtime::h4bb69ec72810f05b
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic.rs:173:21
[INFO] [stdout]   20:     0x644838c5b037 - core::slice::index::slice_index_fail::hbd24f17dd87e846d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic.rs:178:9
[INFO] [stdout]   21:     0x6448388d21cb - <core::ops::range::Range<usize> as core::slice::index::SliceIndex<[T]>>::index::hf4ae9d83d42e6e4c
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/slice/index.rs:443:13
[INFO] [stdout]   22:     0x6448388d21cb - core::slice::index::<impl core::ops::index::Index<I> for [T]>::index::hf070895885889723
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/slice/index.rs:19:15
[INFO] [stdout]   23:     0x6448388d21cb - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::h8e495cf5327009cc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:161:26
[INFO] [stdout]   24:     0x6448388d22b7 - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::{{closure}}::h41c58d00d126bb59
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:150:42
[INFO] [stdout]   25:     0x6448388e8cd6 - core::ops::function::FnOnce::call_once::h16d60d0b10083134
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x644838909e1b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x644838909e1b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   28:     0x64483891d7aa - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   29:     0x64483891d7aa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30:     0x64483891d7aa - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   31:     0x64483891d7aa - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   32:     0x64483891d7aa - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x64483891d7aa - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   34:     0x64483891d7aa - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   35:     0x6448388f7a44 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   36:     0x6448388f7a44 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   37:     0x6448388fb372 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   38:     0x6448388fb372 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39:     0x6448388fb372 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   40:     0x6448388fb372 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   41:     0x6448388fb372 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x6448388fb372 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   43:     0x6448388fb372 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x644838c1408f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   45:     0x644838c1408f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   46:     0x7f7969bbfaa4 - <unknown>
[INFO] [stdout]   47:     0x7f7969c4ca64 - 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.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin codecrafters-kafka`
[INFO] running `Command { std: "docker" "inspect" "bb8df9248476e050a95db2f36edd2aa890eaef6356227caa3bf50f1663ef9587", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb8df9248476e050a95db2f36edd2aa890eaef6356227caa3bf50f1663ef9587", kill_on_drop: false }`
[INFO] [stdout] bb8df9248476e050a95db2f36edd2aa890eaef6356227caa3bf50f1663ef9587
