[INFO] cloning repository https://github.com/amityahav/codecrafters-kafka-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amityahav/codecrafters-kafka-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famityahav%2Fcodecrafters-kafka-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famityahav%2Fcodecrafters-kafka-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 4278ec006d386039d24490f9769c1a2adbcecd1b
[INFO] testing amityahav/codecrafters-kafka-rust against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famityahav%2Fcodecrafters-kafka-rust" "/workspace/builds/worker-1-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/amityahav/codecrafters-kafka-rust
[INFO] finished tweaking git repo https://github.com/amityahav/codecrafters-kafka-rust
[INFO] tweaked toml for git repo https://github.com/amityahav/codecrafters-kafka-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/amityahav/codecrafters-kafka-rust on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/amityahav/codecrafters-kafka-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9
[INFO] running `"docker" "start" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9"`
[INFO] running `"docker" "inspect" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling codecrafters-kafka v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/wire.rs:268:32
[INFO] [stdout]     |
[INFO] [stdout] 268 |     pub fn serialize(&self) -> Vec<u8> {
[INFO] [stdout]     |            ---------           ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]     |            |
[INFO] [stdout]     |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server.rs:130:59
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn handle_describe_topic_partitions_req(req: &Request) -> Result<DescribeTopicPartitionsResponse, String> {
[INFO] [stdout]     |    ------------------------------------                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<_, String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<DescribeTopicPartitionsResponse, String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]   --> src/wire.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn deserialize(&mut self,  reader: &mut Cursor<&[u8]>) {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `codecrafters-kafka` (bin "codecrafters-kafka") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: unused dependency `anyhow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | anyhow = "1.0.68"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `anyhow`
[INFO] [stderr] warning: unused dependency `bytes`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | bytes = "1.3.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `bytes`
[INFO] [stderr] warning: unused dependency `thiserror`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | thiserror = "1.0.38"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `thiserror`
[INFO] [stderr] warning: `codecrafters-kafka` (manifest) generated 3 warnings
[INFO] running `"docker" "inspect" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9"`
[INFO] running `"docker" "rm" "-f" "2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9"`
[INFO] [stdout] 2c6680438488ccbf8797552232875ec18365bc4ecb600c37f161c1d667b5b3f9
