[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBacbia3696%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bacbia3696/codecrafters-kafka-rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b7d910c9c46b71c7f05ade4adb940e6b3b28bf2d4eb5f94be16f4449db7960ce
[INFO] running `Command { std: "docker" "start" "-a" "b7d910c9c46b71c7f05ade4adb940e6b3b28bf2d4eb5f94be16f4449db7960ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7d910c9c46b71c7f05ade4adb940e6b3b28bf2d4eb5f94be16f4449db7960ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7d910c9c46b71c7f05ade4adb940e6b3b28bf2d4eb5f94be16f4449db7960ce", kill_on_drop: false }`
[INFO] [stdout] b7d910c9c46b71c7f05ade4adb940e6b3b28bf2d4eb5f94be16f4449db7960ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30e1b02ad9d0d0a0b0c3f108ae02b9d634a8ff9a516b97a113a1f1f118c90ca1
[INFO] running `Command { std: "docker" "start" "-a" "30e1b02ad9d0d0a0b0c3f108ae02b9d634a8ff9a516b97a113a1f1f118c90ca1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[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 serde_json v1.0.140
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.1.10
[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 log v0.4.27
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[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 bytes v1.7.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling chrono v0.4.41
[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 27.17s
[INFO] running `Command { std: "docker" "inspect" "30e1b02ad9d0d0a0b0c3f108ae02b9d634a8ff9a516b97a113a1f1f118c90ca1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30e1b02ad9d0d0a0b0c3f108ae02b9d634a8ff9a516b97a113a1f1f118c90ca1", kill_on_drop: false }`
[INFO] [stdout] 30e1b02ad9d0d0a0b0c3f108ae02b9d634a8ff9a516b97a113a1f1f118c90ca1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 710f1512af1f43d00a7cbc5972653528ae38ef8d3faed482eacb097a3bea7a2b
[INFO] running `Command { std: "docker" "start" "-a" "710f1512af1f43d00a7cbc5972653528ae38ef8d3faed482eacb097a3bea7a2b", 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 1.74s
[INFO] running `Command { std: "docker" "inspect" "710f1512af1f43d00a7cbc5972653528ae38ef8d3faed482eacb097a3bea7a2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "710f1512af1f43d00a7cbc5972653528ae38ef8d3faed482eacb097a3bea7a2b", kill_on_drop: false }`
[INFO] [stdout] 710f1512af1f43d00a7cbc5972653528ae38ef8d3faed482eacb097a3bea7a2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a2bc45be50a8f7ad43d928f23ec55b5d113ecb8c5238eeddb26b2c64d969d199
[INFO] running `Command { std: "docker" "start" "-a" "a2bc45be50a8f7ad43d928f23ec55b5d113ecb8c5238eeddb26b2c64d969d199", 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.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_kafka-09ccf41b07984efb)
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] [2m2025-11-08T08:48:36.170244144+00:00[0m [32m INFO[0m ThreadId(04) [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-08T08:48:36.170329804+00:00[0m [34mDEBUG[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a debug message
[INFO] [stdout] [2m2025-11-08T08:48:36.170344724+00:00[0m [32m INFO[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an info message
[INFO] [stdout] [2m2025-11-08T08:48:36.170356344+00:00[0m [33m WARN[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is a warning message
[INFO] [stdout] [2m2025-11-08T08:48:36.170366524+00:00[0m [31mERROR[0m ThreadId(04) [2mcodecrafters_kafka::logging::tests[0m[2m:[0m This is an error message
[INFO] [stdout] [2m2025-11-08T08:48:36.170496024+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-08T08:48:36.170569774+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=[0m84.2µs
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_empty ... ok
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_null ... ok
[INFO] [stdout] [2m2025-11-08T08:48:36.170679064+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] test protocol::encoding::tests::test_peek_functions ... ok
[INFO] [stdout] [2m2025-11-08T08:48:36.170720594+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=[0m47.7µs
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_insufficient_bytes ... ok
[INFO] [stdout] test logging::tests::test_log_config_default ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_roundtrip_with_client_id ... ok
[INFO] [stdout] test protocol::encoding::tests::test_decode_nullable_string_valid ... ok
[INFO] [stdout] test protocol::encoding::tests::test_safe_decode_insufficient_bytes ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_with_client_id ... ok
[INFO] [stdout] test logging::tests::test_logging_macros ... ok
[INFO] [stdout] test logging::tests::test_request_span ... ok
[INFO] [stdout] test protocol::headers::tests::test_request_header_v2_without_client_id ... ok
[INFO] [stdout] test logging::tests::test_connection_span ... 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::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] test protocol::headers::tests::test_response_header_v0_creation ... ok
[INFO] [stdout] test protocol::encoding::tests::test_encode_nullable_string_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' (40) 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:     0x5d050d22bd72 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5d050d22bd72 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5d050d22bd72 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d050d22bd72 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d050d23dbaf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5d050d23dbaf - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5d050d1f7803 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5d050d1f7803 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5d050d203aa2 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5d050d20930f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5d050d2091a1 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5d050cee993e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5d050cee993e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5d050d20991f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5d050d20991f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5d050d20977a - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5d050d203bd9 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5d050d1eb91d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5d050d248790 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5d050d247607 - core::slice::index::slice_index_fail::do_panic::runtime::h47a4343263a9b0c0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic.rs:173:21
[INFO] [stdout]   20:     0x5d050d247597 - core::slice::index::slice_index_fail::h36d914debd7a5b8b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic.rs:178:9
[INFO] [stdout]   21:     0x5d050cea441d - <core::ops::range::Range<usize> as core::slice::index::SliceIndex<[T]>>::index::hfb6c22118c6b1cfe
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/slice/index.rs:444:13
[INFO] [stdout]   22:     0x5d050cea441d - core::slice::index::<impl core::ops::index::Index<I> for [T]>::index::h90fbe3fa0dd7ad1b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/slice/index.rs:19:15
[INFO] [stdout]   23:     0x5d050cea441d - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::hb605c58b693d8e30
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:161:26
[INFO] [stdout]   24:     0x5d050cea4517 - codecrafters_kafka::protocol::headers::tests::test_response_header_v0_encoding::{{closure}}::h0be313b6de3a4693
[INFO] [stdout]                                at /opt/rustwide/workdir/src/protocol/headers.rs:150:42
[INFO] [stdout]   25:     0x5d050ceb20e6 - core::ops::function::FnOnce::call_once::h18960ca48bd53351
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5d050cee973b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5d050cee973b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   28:     0x5d050cefd79d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   29:     0x5d050cefd79d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30:     0x5d050cefd79d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   31:     0x5d050cefd79d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   32:     0x5d050cefd79d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x5d050cefd79d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   34:     0x5d050cefd79d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   35:     0x5d050ced6ce4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   36:     0x5d050ced6ce4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   37:     0x5d050ceda53a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   38:     0x5d050ceda53a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39:     0x5d050ceda53a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   40:     0x5d050ceda53a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   41:     0x5d050ceda53a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x5d050ceda53a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   43:     0x5d050ceda53a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x5d050d1fefdf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   45:     0x5d050d1fefdf - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   46:     0x7e8bf6f6daa4 - <unknown>
[INFO] [stdout]   47:     0x7e8bf6ffaa64 - 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.08s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin codecrafters-kafka`
[INFO] running `Command { std: "docker" "inspect" "a2bc45be50a8f7ad43d928f23ec55b5d113ecb8c5238eeddb26b2c64d969d199", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2bc45be50a8f7ad43d928f23ec55b5d113ecb8c5238eeddb26b2c64d969d199", kill_on_drop: false }`
[INFO] [stdout] a2bc45be50a8f7ad43d928f23ec55b5d113ecb8c5238eeddb26b2c64d969d199
