[INFO] cloning repository https://github.com/redsnow1992/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/redsnow1992/codecrafters-kafka-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredsnow1992%2Fcodecrafters-kafka-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredsnow1992%2Fcodecrafters-kafka-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2fc966d3d1412061ffd68e2c72611245ae82f3ef
[INFO] checking redsnow1992/codecrafters-kafka-rust against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredsnow1992%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/redsnow1992/codecrafters-kafka-rust
[INFO] finished tweaking git repo https://github.com/redsnow1992/codecrafters-kafka-rust
[INFO] tweaked toml for git repo https://github.com/redsnow1992/codecrafters-kafka-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/redsnow1992/codecrafters-kafka-rust on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/redsnow1992/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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unty v0.0.4
[INFO] [stderr]   Downloaded bincode v2.0.1
[INFO] [stderr]   Downloaded bincode_derive v2.0.1
[INFO] [stderr]   Downloaded virtue v0.0.18
[INFO] [stderr]   Downloaded cc v1.2.25
[INFO] [stderr]   Downloaded serde_derive v1.0.210
[INFO] [stderr]   Downloaded serde v1.0.210
[INFO] [stderr]   Downloaded kafka-protocol v0.15.1
[INFO] [stderr]   Downloaded zstd-sys v2.0.15+zstd.1.5.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c282f0508fad90c0ee308601a8494158b821c33305c55a100b28cb8e3712d124
[INFO] running `Command { std: "docker" "start" "-a" "c282f0508fad90c0ee308601a8494158b821c33305c55a100b28cb8e3712d124", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c282f0508fad90c0ee308601a8494158b821c33305c55a100b28cb8e3712d124", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c282f0508fad90c0ee308601a8494158b821c33305c55a100b28cb8e3712d124", kill_on_drop: false }`
[INFO] [stdout] c282f0508fad90c0ee308601a8494158b821c33305c55a100b28cb8e3712d124
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d3afd76b29510ed74d6c27657b302484df72423dd4a67e0d85f177ed723e5ca
[INFO] running `Command { std: "docker" "start" "-a" "4d3afd76b29510ed74d6c27657b302484df72423dd4a67e0d85f177ed723e5ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling snap v1.1.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling virtue v0.0.18
[INFO] [stderr]    Compiling crc32c v0.6.8
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking unty v0.0.4
[INFO] [stderr]     Checking crc v3.3.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling bincode_derive v2.0.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling cc v1.2.25
[INFO] [stderr]     Checking bincode v2.0.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling lz4-sys v1.11.1+lz4-1.10.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking lz4 v1.28.1
[INFO] [stderr]     Checking kafka-protocol v0.15.1
[INFO] [stderr]     Checking codecrafters-kafka v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | /                     loop {
[INFO] [stdout] 35 | |                         match rd.read(&mut buffer).await {
[INFO] [stdout] 36 | |                             Ok(n) if n > 0 => {
[INFO] [stdout] 37 | |                                 let mut buf = BytesMut::from(&buffer[4..n]);
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                     }
[INFO] [stdout]    | |_____________________- any code following this expression is unreachable
[INFO] [stdout] 48 |                       let _ = socket.shutdown().await;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | /                     loop {
[INFO] [stdout] 35 | |                         match rd.read(&mut buffer).await {
[INFO] [stdout] 36 | |                             Ok(n) if n > 0 => {
[INFO] [stdout] 37 | |                                 let mut buf = BytesMut::from(&buffer[4..n]);
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |                     }
[INFO] [stdout]    | |_____________________- any code following this expression is unreachable
[INFO] [stdout] 48 |                       let _ = socket.shutdown().await;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.53s
[INFO] running `Command { std: "docker" "inspect" "4d3afd76b29510ed74d6c27657b302484df72423dd4a67e0d85f177ed723e5ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d3afd76b29510ed74d6c27657b302484df72423dd4a67e0d85f177ed723e5ca", kill_on_drop: false }`
[INFO] [stdout] 4d3afd76b29510ed74d6c27657b302484df72423dd4a67e0d85f177ed723e5ca
