[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 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshbhmrzd%2Fbenchmark_tokio_uring" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shbhmrzd/benchmark_tokio_uring on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53902919b4c69baa7b98e4e84862fff50bbc3a55b66068b52268502115763c50 [INFO] running `Command { std: "docker" "start" "-a" "53902919b4c69baa7b98e4e84862fff50bbc3a55b66068b52268502115763c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53902919b4c69baa7b98e4e84862fff50bbc3a55b66068b52268502115763c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53902919b4c69baa7b98e4e84862fff50bbc3a55b66068b52268502115763c50", kill_on_drop: false }` [INFO] [stdout] 53902919b4c69baa7b98e4e84862fff50bbc3a55b66068b52268502115763c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cbbdbd6a2c1ca9b4f1614ac5b6afed6a281189ae9383482a6d30d44413e7dec [INFO] running `Command { std: "docker" "start" "-a" "0cbbdbd6a2c1ca9b4f1614ac5b6afed6a281189ae9383482a6d30d44413e7dec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling rdkafka-sys v4.8.0+2.3.0 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v3.2.25 [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] Checking futures-util v0.3.31 [INFO] [stderr] Compiling darling_core v0.13.4 [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 zerocopy v0.7.35 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking chrono v0.4.38 [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 ciborium v0.2.2 [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)]` (part of `#[warn(unused)]`) 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 io_uring_feedback v0.1.0 (/opt/rustwide/workdir/io_uring_feedback) [INFO] [stderr] Checking tokio_server v0.1.0 (/opt/rustwide/workdir/tokio_server) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Payload { [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: enum `AppError` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/app_error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Payload { [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: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Payload { [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: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Payload { [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 41 | | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] 42 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 43 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 70 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 71 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 72 | | })) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 71 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 72 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] 88 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 128 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 129 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 130 | | })) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 129 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 130 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 66 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 66 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 69 | | .await [INFO] [stdout] ... | [INFO] [stdout] 82 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 69 | | .await [INFO] [stdout] ... | [INFO] [stdout] 80 | | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] 81 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 121 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 122 | | })) [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 121 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 122 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] 88 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 125 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 126 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 127 | | })) [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 126 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 127 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] 41 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 70 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 71 | | })) [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 70 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 71 | | })) [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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `io_uring_feedback` (bin "io_uring_feedback") due to 45 previous errors; 72 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_base_producer.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Payload { [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: enum `AppError` is never used [INFO] [stdout] --> io_uring_feedback/src/../../infra/app_error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_local_kafka_future_producer.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Payload { [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: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_remote_kafka_base_producer.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Payload { [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: struct `Payload` is never constructed [INFO] [stdout] --> io_uring_feedback/src/main_tcp_tokio_remote_kafka_base_producer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Payload { [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 41 | | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] 42 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 43 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 70 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 71 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 72 | | })) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_iouring_remote_kafka_future_producer.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 71 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 72 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] 88 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 128 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 129 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 130 | | })) [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_base_producer.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 129 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 130 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 66 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 66 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 69 | | .await [INFO] [stdout] ... | [INFO] [stdout] 82 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | // Read the body of the HTTP request [INFO] [stdout] 68 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 69 | | .await [INFO] [stdout] ... | [INFO] [stdout] 80 | | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] 81 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 121 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 122 | | })) [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_local_kafka_future_producer.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 121 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 122 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 73 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:73:71 [INFO] [stdout] | [INFO] [stdout] 73 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 74 | | // Read the body of the HTTP request [INFO] [stdout] 75 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 76 | | .await [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] 88 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(Response::new(Body::from("Message queued for Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 125 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 126 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 127 | | })) [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_remote_kafka_base_producer.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 126 | | handle_request(req, shared_buffer.clone()) [INFO] [stdout] 127 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 18 | | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | if req.method() == hyper::Method::POST && req.uri().path() == "/" { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 19 | | // Extract the body payload [INFO] [stdout] 20 | | let body_bytes = hyper::body::to_bytes(req.into_body()) [INFO] [stdout] 21 | | .await [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] 41 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Response::new(Body::from("Message sent to Kafka"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(Response::new(Body::from("404 Not Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 70 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 71 | | })) [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> io_uring_feedback/src/main_hyper_tokio_remote_kafka_future_producer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 70 | | handle_request(req, producer_clone.clone()) [INFO] [stdout] 71 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io_uring_feedback` (bin "io_uring_feedback" test) due to 45 previous errors; 72 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0cbbdbd6a2c1ca9b4f1614ac5b6afed6a281189ae9383482a6d30d44413e7dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbbdbd6a2c1ca9b4f1614ac5b6afed6a281189ae9383482a6d30d44413e7dec", kill_on_drop: false }` [INFO] [stdout] 0cbbdbd6a2c1ca9b4f1614ac5b6afed6a281189ae9383482a6d30d44413e7dec