[INFO] cloning repository https://github.com/devpts00/jrpk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devpts00/jrpk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevpts00%2Fjrpk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevpts00%2Fjrpk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa03ca0b6d1a9d74e0804045fad8eeb97cecf1a2 [INFO] building devpts00/jrpk against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevpts00%2Fjrpk" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/devpts00/jrpk [INFO] finished tweaking git repo https://github.com/devpts00/jrpk [INFO] tweaked toml for git repo https://github.com/devpts00/jrpk written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devpts00/jrpk on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/devpts00/jrpk 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac6a978977852814cb74f009230bfb5f90d54ba66d7ccf031909efe856d67b7c [INFO] running `Command { std: "docker" "start" "-a" "ac6a978977852814cb74f009230bfb5f90d54ba66d7ccf031909efe856d67b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac6a978977852814cb74f009230bfb5f90d54ba66d7ccf031909efe856d67b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6a978977852814cb74f009230bfb5f90d54ba66d7ccf031909efe856d67b7c", kill_on_drop: false }` [INFO] [stdout] ac6a978977852814cb74f009230bfb5f90d54ba66d7ccf031909efe856d67b7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4026a27d1ec0816ee1492b72f4e4f1ef4b5fdf2094e00df4ecec1810b5f7abc1 [INFO] running `Command { std: "docker" "start" "-a" "4026a27d1ec0816ee1492b72f4e4f1ef4b5fdf2094e00df4ecec1810b5f7abc1", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling random-data v0.1.0 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling integer-encoding v4.0.2 [INFO] [stderr] Compiling bytesize v2.0.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling chrono v0.4.41 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling rsasl v2.2.0 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling rskafka v0.6.0 [INFO] [stderr] Compiling jrpk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `KfkRsp` [INFO] [stdout] --> src/kafka.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | x.swap(1, Ordering::AcqRel) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 115 | [INFO] [stdout] 116 | KfkRsp::Send { offsets } [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KfkRsp` [INFO] [stdout] --> src/server.rs:3:126 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::kafka::{KfkClientCache, KfkError, KfkReq, KfkReqId, KfkReqIdRcv, KfkReqIdSnd, KfkResId, KfkResIdRcv, KfkResIdSnd, KfkRsp, RsKa... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResId` [INFO] [stdout] --> src/server.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::{handle_future_result, set_buf_sizes, ReqId, ResId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_utf8_unchecked` [INFO] [stdout] --> src/server.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::str::{from_utf8, from_utf8_unchecked, Utf8Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/util.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/kafka.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicI64, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> src/kafka.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{debug, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/codec.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, enabled, info, trace, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SplitSink` and `SplitStream` [INFO] [stdout] --> src/tests.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::stream::{SplitSink, SplitStream}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/tests.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tests.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add` and `Range` [INFO] [stdout] --> src/tests.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::{Add, Range}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `BytesMut` [INFO] [stdout] --> src/tests.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpSocket` and `TcpStream` [INFO] [stdout] --> src/tests.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::net::{TcpSocket, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/tests.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::io::{AsyncWriteExt, AsyncReadExt, AsyncBufReadExt, BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinError` and `JoinHandle` [INFO] [stdout] --> src/tests.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `error` [INFO] [stdout] --> src/tests.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{debug, error, info, trace}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kafka::KfkResId` [INFO] [stdout] --> src/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::kafka::KfkResId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::handle_future_result` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::util::handle_future_result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/util.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | impl Display for ReqId { [INFO] [stdout] | ^^^^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `REQ`, `RSP` [INFO] [stdout] --> src/util.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ReqId { [INFO] [stdout] | ^^^^^ --- --- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/kafka.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | pub type KfkReqId = ReqId, KfkRsp, RsKafkaError>; [INFO] [stdout] | ^^^^^ -------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `REQ`, `RSP` [INFO] [stdout] --> src/util.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ReqId { [INFO] [stdout] | ^^^^^ --- --- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/util.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | impl ReqId { [INFO] [stdout] | ^^^^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 2 generic parameters: `REQ`, `RSP` [INFO] [stdout] --> src/util.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ReqId { [INFO] [stdout] | ^^^^^ --- --- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let total: usize = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for n in 0..send_count_per_producer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_read` [INFO] [stdout] --> src/tests.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut offset_read = false; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/tests.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | if let Ok(n) = reader.read_line(&mut line).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ReqId` in the current scope [INFO] [stdout] --> src/server.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let kfk_req_id = ReqId::new(id, kfk_req, jrp_rsp_snd.clone()); [INFO] [stdout] | ^^^ function or associated item not found in `ReqId<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/util.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ReqId { [INFO] [stdout] | -------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `crypto_common::KeyInit` [INFO] [stdout] candidate #3: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `digest::mac::Mac` [INFO] [stdout] candidate #8: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #9: `rand::distributions::uniform::UniformSampler` [INFO] [stdout] candidate #10: `typenum::marker_traits::Bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut offset_read = false; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/server.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | let cache = Arc::new(KfkClientCache::new(client, 1024)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `C` declared on the struct `KfkClientCache` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Debug` [INFO] [stdout] note: required by a bound in `KfkClientCache::::new` [INFO] [stdout] --> src/kafka.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | impl KfkClientCache { [INFO] [stdout] | ^^^^^ required by this bound in `KfkClientCache::::new` [INFO] [stdout] 234 | [INFO] [stdout] 235 | pub fn new(client: Client, capacity: u64) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 116 | let cache = Arc::new(KfkClientCache::::new(client, 1024)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ReqId` has no field named `res_snd` [INFO] [stdout] --> src/util.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | ReqId { id, req: request, res_snd: responses } [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 - ReqId { id, req: request, res_snd: responses } [INFO] [stdout] 58 + ReqId { id, req: request, rsp_snd: responses } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partitions` [INFO] [stdout] --> src/tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let partitions = 120; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | for n in 0..rec_count_per_send { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/server.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn from(value: SendError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/kafka.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | fn from(value: SendError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0283, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jrpk` (bin "jrpk") due to 7 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4026a27d1ec0816ee1492b72f4e4f1ef4b5fdf2094e00df4ecec1810b5f7abc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4026a27d1ec0816ee1492b72f4e4f1ef4b5fdf2094e00df4ecec1810b5f7abc1", kill_on_drop: false }` [INFO] [stdout] 4026a27d1ec0816ee1492b72f4e4f1ef4b5fdf2094e00df4ecec1810b5f7abc1