[INFO] cloning repository https://github.com/shbhmrzd/benchmark_tokio_uring [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shbhmrzd/benchmark_tokio_uring" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshbhmrzd%2Fbenchmark_tokio_uring", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshbhmrzd%2Fbenchmark_tokio_uring'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9419812f79af3932954c58f1f82974922bf67a1 [INFO] checking shbhmrzd/benchmark_tokio_uring/a9419812f79af3932954c58f1f82974922bf67a1 against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshbhmrzd%2Fbenchmark_tokio_uring" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shbhmrzd/benchmark_tokio_uring on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shbhmrzd/benchmark_tokio_uring [INFO] finished tweaking git repo https://github.com/shbhmrzd/benchmark_tokio_uring [INFO] tweaked toml for git repo https://github.com/shbhmrzd/benchmark_tokio_uring written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shbhmrzd/benchmark_tokio_uring 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc6a48094ad00e77d247292b8195a853bee6877d38469acdaf00ba40bfd3b804 [INFO] running `Command { std: "docker" "start" "-a" "bc6a48094ad00e77d247292b8195a853bee6877d38469acdaf00ba40bfd3b804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc6a48094ad00e77d247292b8195a853bee6877d38469acdaf00ba40bfd3b804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6a48094ad00e77d247292b8195a853bee6877d38469acdaf00ba40bfd3b804", kill_on_drop: false }` [INFO] [stdout] bc6a48094ad00e77d247292b8195a853bee6877d38469acdaf00ba40bfd3b804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440701a2528879fe6e3c2c00037d2a75d355b8150496306886d8b30f47a07081 [INFO] running `Command { std: "docker" "start" "-a" "440701a2528879fe6e3c2c00037d2a75d355b8150496306886d8b30f47a07081", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling rdkafka-sys v4.8.0+2.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking tokio-uring v0.5.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking bollard-stubs v1.41.0 [INFO] [stderr] Checking async_benchmark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `CONCURRENT_REQUESTS` is never used [INFO] [stdout] --> benches/benchmark.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const CONCURRENT_REQUESTS: usize = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokio_benchmark` is never used [INFO] [stdout] --> benches/benchmark.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn tokio_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `io_uring_benchmark` is never used [INFO] [stdout] --> benches/benchmark.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn io_uring_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokio_concurrent_benchmark` is never used [INFO] [stdout] --> benches/benchmark.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn tokio_concurrent_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `io_uring_concurrent_benchmark` is never used [INFO] [stdout] --> benches/benchmark.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn io_uring_concurrent_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokio_throughput_benchmark` is never used [INFO] [stdout] --> benches/benchmark.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn tokio_throughput_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `io_uring_throughput_benchmark` is never used [INFO] [stdout] --> benches/benchmark.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn io_uring_throughput_benchmark(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking testcontainers v0.14.0 [INFO] [stderr] Checking rdkafka v0.29.0 [INFO] [stderr] Checking tokio_server v0.1.0 (/opt/rustwide/workdir/tokio_server) [INFO] [stderr] Checking io_uring_feedback v0.1.0 (/opt/rustwide/workdir/io_uring_feedback) [INFO] [stderr] Checking io_uring_server v0.1.0 (/opt/rustwide/workdir/io_uring_server) [INFO] [stdout] warning: unused import: `rdkafka::error::KafkaError` [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rdkafka::error::KafkaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_future_producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdkafka::error::KafkaError` [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rdkafka::error::KafkaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_future_producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_BATCH_SIZE: usize = 1000; // Maximum number of messages per batch [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUSH_INTERVAL_MS` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const FLUSH_INTERVAL_MS: u64 = 10; // Kafka flush interval in milliseconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn flush_to_kafka(producer: &BaseProducer, topic: &str, messages: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_batch_sender` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn kafka_batch_sender( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ZK_PORT` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static ZK_PORT: u16 = 2181; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `KAFKA_BROKER_PORT` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static KAFKA_BROKER_PORT: u16 = 9092; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `KAFKA_LISTENER_PORT` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static KAFKA_LISTENER_PORT: u16 = 9094; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_up_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn set_up_kafka( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zk_image` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn zk_image(port: u16) -> GenericImage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_image` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn kafka_image( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alter_advertised_listener_port` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn alter_advertised_listener_port( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_BATCH_SIZE: usize = 1000; // Maximum number of messages per batch [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUSH_INTERVAL_MS` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const FLUSH_INTERVAL_MS: u64 = 10; // Kafka flush interval in milliseconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn flush_to_kafka(producer: &FutureProducer, topic: &str, messages: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_batch_sender` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn kafka_batch_sender( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MAX_BATCH_SIZE: usize = 100; // Maximum number of messages per batch [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUSH_INTERVAL_MS` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const FLUSH_INTERVAL_MS: u64 = 10; // Flush interval for Kafka producer in milliseconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn flush_to_kafka(producer: &BaseProducer, topic: &str, messages: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_batch_sender` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn kafka_batch_sender( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | async fn handle_client(mut stream: TcpStream, producer: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | async fn read_from_stream(stream: &mut TcpStream, buf: Vec) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_payload` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | async fn parse_payload(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn send_to_kafka(producer: &BaseProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn handle_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn read_from_stream(stream: &mut TcpStream, buf: Vec) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_payload` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | async fn parse_payload(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn send_to_kafka(producer: &FutureProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | async fn handle_client(mut stream: TcpStream, producer: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | async fn read_from_stream(stream: &mut TcpStream, buf: Vec) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_payload` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | async fn parse_payload(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn send_to_kafka(producer: &BaseProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn handle_client(mut stream: TcpStream, producer: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn send_to_kafka(producer: &BaseProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_BATCH_SIZE: usize = 1000; // Maximum number of messages per batch [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUSH_INTERVAL_MS` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const FLUSH_INTERVAL_MS: u64 = 10; // Kafka flush interval in milliseconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn flush_to_kafka(producer: &BaseProducer, topic: &str, messages: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_batch_sender` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn kafka_batch_sender( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ZK_PORT` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static ZK_PORT: u16 = 2181; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `KAFKA_BROKER_PORT` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static KAFKA_BROKER_PORT: u16 = 9092; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `KAFKA_LISTENER_PORT` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static KAFKA_LISTENER_PORT: u16 = 9094; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_up_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn set_up_kafka( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zk_image` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn zk_image(port: u16) -> GenericImage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_image` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn kafka_image( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alter_advertised_listener_port` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/kafka.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn alter_advertised_listener_port( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_BATCH_SIZE: usize = 1000; // Maximum number of messages per batch [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUSH_INTERVAL_MS` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const FLUSH_INTERVAL_MS: u64 = 10; // Kafka flush interval in milliseconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn flush_to_kafka(producer: &FutureProducer, topic: &str, messages: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_batch_sender` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn kafka_batch_sender( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BATCH_SIZE` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MAX_BATCH_SIZE: usize = 100; // Maximum number of messages per batch [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUSH_INTERVAL_MS` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const FLUSH_INTERVAL_MS: u64 = 10; // Flush interval for Kafka producer in milliseconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flush_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn flush_to_kafka(producer: &BaseProducer, topic: &str, messages: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kafka_batch_sender` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn kafka_batch_sender( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn handle_request( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | async fn handle_client(mut stream: TcpStream, producer: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | async fn read_from_stream(stream: &mut TcpStream, buf: Vec) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_payload` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | async fn parse_payload(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn send_to_kafka(producer: &BaseProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | async fn handle_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | async fn read_from_stream(stream: &mut TcpStream, buf: Vec) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_payload` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | async fn parse_payload(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | async fn send_to_kafka(producer: &FutureProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | async fn handle_client(mut stream: TcpStream, producer: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | async fn read_from_stream(stream: &mut TcpStream, buf: Vec) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_payload` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | async fn parse_payload(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn send_to_kafka(producer: &BaseProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_TOPIC` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const KAFKA_TOPIC: &str = "kafka-topic"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KAFKA_BROKER` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const KAFKA_BROKER: &str = "kafka-broker"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn handle_client(mut stream: TcpStream, producer: Arc) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_stream` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | async fn write_to_stream(stream: &mut TcpStream, response: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn parse_http_request(buf: &[u8]) -> Result<&[u8], &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_to_kafka` is never used [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn send_to_kafka(producer: &BaseProducer, current_payload: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "440701a2528879fe6e3c2c00037d2a75d355b8150496306886d8b30f47a07081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440701a2528879fe6e3c2c00037d2a75d355b8150496306886d8b30f47a07081", kill_on_drop: false }` [INFO] [stdout] 440701a2528879fe6e3c2c00037d2a75d355b8150496306886d8b30f47a07081