[INFO] fetching crate rzmq 0.5.2... [INFO] checking rzmq-0.5.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate rzmq 0.5.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rzmq 0.5.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rzmq 0.5.2 [INFO] tweaked toml for crates.io crate rzmq 0.5.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rzmq 0.5.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rzmq 0.5.2 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 948ddb1c7c24804019131ba8087d66dfac502c372ec50e59aa1d452e82b606c7 [INFO] running `Command { std: "docker" "start" "-a" "948ddb1c7c24804019131ba8087d66dfac502c372ec50e59aa1d452e82b606c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "948ddb1c7c24804019131ba8087d66dfac502c372ec50e59aa1d452e82b606c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948ddb1c7c24804019131ba8087d66dfac502c372ec50e59aa1d452e82b606c7", kill_on_drop: false }` [INFO] [stdout] 948ddb1c7c24804019131ba8087d66dfac502c372ec50e59aa1d452e82b606c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1482d08b0744db82aad7d176cb107277c535eec80c3c690bc8723749d19c20df [INFO] running `Command { std: "docker" "start" "-a" "1482d08b0744db82aad7d176cb107277c535eec80c3c690bc8723749d19c20df", kill_on_drop: false }` [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking seize v0.5.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking sdd v3.0.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking atomic_float v1.1.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking papaya v0.2.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking fibre v0.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking rzmq v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/throttle/mod.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | let α = self.shared.config.adaptive_learning_rate; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'α' (U+03B1) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemEvent` [INFO] [stdout] --> src/runtime/actor_drop_guard.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::runtime::{ActorType, SystemEvent}; // Adjust imports as needed [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/runtime/actor_drop_guard.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/runtime/actor_drop_guard.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `latch::CountDownLatch` [INFO] [stdout] --> src/runtime/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use latch::CountDownLatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PassThroughDataCipher` [INFO] [stdout] --> src/security/mod.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use cipher::{IDataCipher, PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zap::ZapClient` [INFO] [stdout] --> src/security/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) use zap::ZapClient; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::message::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/sessionx/actor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::fd::AsRawFd; // For AsRawFd bound if S needs it for cork_info init [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Blob` [INFO] [stdout] --> src/sessionx/protocol_handler/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::Blob; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `plain` [INFO] [stdout] --> src/sessionx/protocol_handler/handshake.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "plain")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench_external_clients`, `default`, `full`, `full-linux`, `inproc`, `io-uring`, `ipc`, and `noise_xx` [INFO] [stdout] = help: consider adding `plain` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/sessionx/protocol_handler/handshake.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionPhaseX`, `HandshakeSubPhaseX`, and `ZmtpHandshakeProgressX` [INFO] [stdout] --> src/sessionx/mod.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | ConnectionPhaseX, HandshakeSubPhaseX, ZmtpHandshakeProgressX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context as RzmqContext` [INFO] [stdout] --> src/socket/core/command_processor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::Context as RzmqContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActorType` [INFO] [stdout] --> src/socket/core/command_processor.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::runtime::{ActorType, Command, MailboxSender, SystemEvent}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pipe_manager` [INFO] [stdout] --> src/socket/core/command_processor.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::socket::core::{pipe_manager, shutdown, SocketCore}; // For calling other helpers [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/pipe_manager.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::socket::core::{command_processor, SocketCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActorType` [INFO] [stdout] --> src/socket/core/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::runtime::{mailbox, ActorType, MailboxSender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pipe_manager::send_msg_with_timeout` [INFO] [stdout] --> src/socket/core/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use pipe_manager::send_msg_with_timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fair_queue::FairQueue` [INFO] [stdout] --> src/socket/patterns/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use fair_queue::FairQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/socket/connection_iface.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::socket::core::state::EndpointInfo` [INFO] [stdout] --> src/socket/rep_socket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::socket::core::state::EndpointInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourcePipeReadId` [INFO] [stdout] --> src/socket/rep_socket.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::socket::{ISocket, SourcePipeReadId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/socket/rep_socket.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CoreState` [INFO] [stdout] --> src/socket/router_socket.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::socket::core::{CoreState, SocketCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/socket/router_socket.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockReadGuard as ParkingLotRwLockReadGuard` [INFO] [stdout] --> src/socket/router_socket.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use parking_lot::RwLockReadGuard as ParkingLotRwLockReadGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/transport/endpoint.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::socket::core::pipe_manager::run_pipe_reader_task` [INFO] [stdout] --> src/transport/inproc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::socket::core::pipe_manager::run_pipe_reader_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/transport/tcp.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | use tracing::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MailboxSender` [INFO] [stdout] --> src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) use runtime::{MailboxReceiver, MailboxSender}; // The main entry point for creating sockets. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: value assigned to `made_progress_decrypting` is never read [INFO] [stdout] --> src/sessionx/protocol_handler/data_io.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | made_progress_decrypting = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | _ => bind_result = Err(ZmqError::UnsupportedTransport(endpoint.to_string())), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/socket/core/command_processor.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 362 | Ok(Endpoint::Tcp(_addr, ref uri_from_parse)) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 416 | Ok(Endpoint::Ipc(ref path_buf, ref uri_from_parse)) => { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 466 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 486 | Err(e) => bind_result = Err(e), // Error from parse_endpoint [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 487 | _ => bind_result = Err(ZmqError::UnsupportedTransport(endpoint.to_string())), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/socket/core/command_processor.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 526 | / Ok(Endpoint::Tcp(_, ref parsed_uri_for_connecter)) [INFO] [stdout] 527 | | | Ok(Endpoint::Ipc(_, ref parsed_uri_for_connecter)) => { [INFO] [stdout] | |________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 539 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 548 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 551 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_context_clone` [INFO] [stdout] --> src/transport/inproc.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | let connector_context_clone = core_arc.context.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_context_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/socket/core/command_processor.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(Endpoint::Tcp(_, _)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 595 | Ok(Endpoint::Ipc(path_buf, _)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 615 | Ok(Endpoint::Inproc(_)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 618 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 630 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_instance_id` [INFO] [stdout] --> src/socket/core/event_processor.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | let connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_instance_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_connection_iface` [INFO] [stdout] --> src/socket/core/event_processor.rs:263:7 [INFO] [stdout] | [INFO] [stdout] 263 | let final_connection_iface: Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_connection_iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bench_matrix v0.2.0 [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/ipc.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | let mut interaction_model_for_event: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `managing_actor_task_id_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | let mut managing_actor_task_id_for_event: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | let mut setup_successful = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let mut connection_outcome: Result< [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | async fn run_command_loop(mut self, parent_socket_id: usize) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/tcp.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | let mut sca_or_session_join_handle_opt: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sca_or_session_join_handle_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `setup_successful` is never read [INFO] [stdout] --> src/transport/tcp.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | setup_successful = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | let mut sca_or_session_join_handle_opt: Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/throttle/mod.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | let α = self.shared.config.adaptive_learning_rate; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'α' (U+03B1) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemEvent` [INFO] [stdout] --> src/runtime/actor_drop_guard.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::runtime::{ActorType, SystemEvent}; // Adjust imports as needed [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering` [INFO] [stdout] --> src/runtime/actor_drop_guard.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/runtime/actor_drop_guard.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `latch::CountDownLatch` [INFO] [stdout] --> src/runtime/mod.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use latch::CountDownLatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PassThroughDataCipher` [INFO] [stdout] --> src/security/mod.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use cipher::{IDataCipher, PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zap::ZapClient` [INFO] [stdout] --> src/security/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) use zap::ZapClient; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::message::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/sessionx/actor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::fd::AsRawFd; // For AsRawFd bound if S needs it for cork_info init [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Blob` [INFO] [stdout] --> src/sessionx/protocol_handler/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::Blob; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `plain` [INFO] [stdout] --> src/sessionx/protocol_handler/handshake.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "plain")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bench_external_clients`, `default`, `full`, `full-linux`, `inproc`, `io-uring`, `ipc`, and `noise_xx` [INFO] [stdout] = help: consider adding `plain` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/sessionx/protocol_handler/handshake.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionPhaseX`, `HandshakeSubPhaseX`, and `ZmtpHandshakeProgressX` [INFO] [stdout] --> src/sessionx/mod.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | ConnectionPhaseX, HandshakeSubPhaseX, ZmtpHandshakeProgressX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::Context as RzmqContext` [INFO] [stdout] --> src/socket/core/command_processor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::context::Context as RzmqContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActorType` [INFO] [stdout] --> src/socket/core/command_processor.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::runtime::{ActorType, Command, MailboxSender, SystemEvent}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pipe_manager` [INFO] [stdout] --> src/socket/core/command_processor.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::socket::core::{pipe_manager, shutdown, SocketCore}; // For calling other helpers [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/pipe_manager.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::socket::core::{command_processor, SocketCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActorType` [INFO] [stdout] --> src/socket/core/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::runtime::{mailbox, ActorType, MailboxSender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pipe_manager::send_msg_with_timeout` [INFO] [stdout] --> src/socket/core/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use pipe_manager::send_msg_with_timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fair_queue::FairQueue` [INFO] [stdout] --> src/socket/patterns/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use fair_queue::FairQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/socket/connection_iface.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::socket::core::state::EndpointInfo` [INFO] [stdout] --> src/socket/rep_socket.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::socket::core::state::EndpointInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourcePipeReadId` [INFO] [stdout] --> src/socket/rep_socket.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::socket::{ISocket, SourcePipeReadId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/socket/rep_socket.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CoreState` [INFO] [stdout] --> src/socket/router_socket.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::socket::core::{CoreState, SocketCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/socket/router_socket.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::RwLockReadGuard as ParkingLotRwLockReadGuard` [INFO] [stdout] --> src/socket/router_socket.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use parking_lot::RwLockReadGuard as ParkingLotRwLockReadGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/transport/endpoint.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::socket::core::pipe_manager::run_pipe_reader_task` [INFO] [stdout] --> src/transport/inproc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::socket::core::pipe_manager::run_pipe_reader_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/transport/tcp.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | use tracing::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MailboxSender` [INFO] [stdout] --> src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) use runtime::{MailboxReceiver, MailboxSender}; // The main entry point for creating sockets. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `made_progress_decrypting` is never read [INFO] [stdout] --> src/sessionx/protocol_handler/data_io.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | made_progress_decrypting = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | _ => bind_result = Err(ZmqError::UnsupportedTransport(endpoint.to_string())), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/socket/core/command_processor.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 362 | Ok(Endpoint::Tcp(_addr, ref uri_from_parse)) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 416 | Ok(Endpoint::Ipc(ref path_buf, ref uri_from_parse)) => { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 466 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 486 | Err(e) => bind_result = Err(e), // Error from parse_endpoint [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 487 | _ => bind_result = Err(ZmqError::UnsupportedTransport(endpoint.to_string())), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/socket/core/command_processor.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 526 | / Ok(Endpoint::Tcp(_, ref parsed_uri_for_connecter)) [INFO] [stdout] 527 | | | Ok(Endpoint::Ipc(_, ref parsed_uri_for_connecter)) => { [INFO] [stdout] | |________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 539 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 548 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 551 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connector_context_clone` [INFO] [stdout] --> src/transport/inproc.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | let connector_context_clone = core_arc.context.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connector_context_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/socket/core/command_processor.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 572 | Ok(Endpoint::Tcp(_, _)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 595 | Ok(Endpoint::Ipc(path_buf, _)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 615 | Ok(Endpoint::Inproc(_)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 618 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 630 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_instance_id` [INFO] [stdout] --> src/socket/core/event_processor.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | let connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_instance_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_connection_iface` [INFO] [stdout] --> src/socket/core/event_processor.rs:263:7 [INFO] [stdout] | [INFO] [stdout] 263 | let final_connection_iface: Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_connection_iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/ipc.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | let mut interaction_model_for_event: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `managing_actor_task_id_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | let mut managing_actor_task_id_for_event: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | let mut setup_successful = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | let mut connection_outcome: Result< [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | async fn run_command_loop(mut self, parent_socket_id: usize) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/tcp.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | let mut sca_or_session_join_handle_opt: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sca_or_session_join_handle_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `setup_successful` is never read [INFO] [stdout] --> src/transport/tcp.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | setup_successful = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | let mut sca_or_session_join_handle_opt: Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket/dealer_socket.rs:470:11 [INFO] [stdout] | [INFO] [stdout] 470 | let mut transaction_guard = self.current_send_transaction.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket/router_socket.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut current_send_target_guard = self.current_send_target.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ISocketConnection` is more private than the item `SystemEvent::NewConnectionEstablished::connection_iface` [INFO] [stdout] --> src/runtime/system_events.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | connection_iface: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SystemEvent::NewConnectionEstablished::connection_iface` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `ISocketConnection` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/socket/connection_iface.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) trait ISocketConnection: Send + Sync + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PipeState` is more private than the item `WritePipeCoordinator::remove_pipe` [INFO] [stdout] --> src/socket/patterns/pipe_coordinator.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn remove_pipe(&self, pipe_id: PipeId) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `WritePipeCoordinator::remove_pipe` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PipeState` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/socket/patterns/pipe_coordinator.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct PipeState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `binder_core_id` is never read [INFO] [stdout] --> src/context.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct InprocBinding { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) binder_core_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InprocBinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_socket_command_sender` is never used [INFO] [stdout] --> src/context.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 55 | impl ContextInner { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub(crate) fn get_socket_command_sender(&self, handle: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerAddress` is never constructed [INFO] [stdout] --> src/message/metadata.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PeerAddress(pub SocketAddr); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZapUserId` is never constructed [INFO] [stdout] --> src/message/metadata.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ZapUserId(pub String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notify` is never read [INFO] [stdout] --> src/runtime/latch.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CountDownLatch { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | count: Arc, [INFO] [stdout] 10 | notify: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountDownLatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `count_down`, and `await_` are never used [INFO] [stdout] --> src/runtime/latch.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl CountDownLatch { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 14 | /// Creates a new latch initialized with the given count. [INFO] [stdout] 15 | pub fn new(count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn count_down(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn await_(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Initializing` is never constructed [INFO] [stdout] --> src/security/plain.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | enum PlainState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 10 | Initializing, // Start state (not strictly used as we set initial state in new()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlainState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourcePipeReadId` is never constructed [INFO] [stdout] --> src/socket/mod.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | struct SourcePipeReadId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_pipe_reader_task` is never used [INFO] [stdout] --> src/socket/core/pipe_manager.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn run_pipe_reader_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_session_state_by_uri` is never used [INFO] [stdout] --> src/socket/core/pipe_manager.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub(crate) async fn cleanup_session_state_by_uri( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_msg_with_timeout` is never used [INFO] [stdout] --> src/socket/core/pipe_manager.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | pub(crate) async fn send_msg_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_phase` is never used [INFO] [stdout] --> src/socket/core/shutdown.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | impl ShutdownCoordinator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 17 | pub(crate) fn current_phase(&self) -> ShutdownPhase { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pipe_sender` is never used [INFO] [stdout] --> src/socket/core/state.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 84 | impl CoreState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn get_pipe_sender(&self, pipe_write_id: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `use_send_zerocopy` and `use_recv_multishot` are never read [INFO] [stdout] --> src/socket/options.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) struct ZmtpEngineConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 194 | pub use_send_zerocopy: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | pub use_recv_multishot: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZmtpEngineConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration_ms_option` is never used [INFO] [stdout] --> src/socket/options.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn parse_duration_ms_option(value: &[u8]) -> Result, ZmqError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_key_option` is never used [INFO] [stdout] --> src/socket/options.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 381 | pub(crate) fn parse_key_option(value: &[u8], option_id: i32) -> Result<[u8; N], ZmqError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl FairQueue { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_identity_by_read_pipe` is never used [INFO] [stdout] --> src/socket/patterns/router.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 13 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn get_identity_by_read_pipe(&self, pipe_read_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_connection_id` and `as_any` are never used [INFO] [stdout] --> src/socket/connection_iface.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) trait ISocketConnection: Send + Sync + fmt::Debug { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 45 | fn get_connection_id(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionConnection` is never constructed [INFO] [stdout] --> src/socket/connection_iface.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct SessionConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/socket/connection_iface.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 111 | impl SessionConnection { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 112 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identity` and `payload_frames` are never read [INFO] [stdout] --> src/socket/router_socket.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 33 | struct RouterRecvBuffer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | identity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | payload_frames: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterRecvBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_recv_buffer` is never read [INFO] [stdout] --> src/socket/router_socket.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct RouterSocket { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | current_recv_buffer: TokioMutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/ipc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct TcpListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_socket2_options_pre_connect` is never used [INFO] [stdout] --> src/transport/tcp.rs:1196:4 [INFO] [stdout] | [INFO] [stdout] 1196 | fn apply_socket2_options_pre_connect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_tcp_socket_options_to_std` is never used [INFO] [stdout] --> src/transport/tcp.rs:1253:4 [INFO] [stdout] | [INFO] [stdout] 1253 | fn apply_tcp_socket_options_to_std( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_current_balance` is never used [INFO] [stdout] --> src/throttle/mod.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 173 | impl ThrottleGuard { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 174 | pub fn get_current_balance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_strategy` is never used [INFO] [stdout] --> src/throttle/strategies.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn linear_strategy(state: &ThrottleStateView) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentTiming` is never constructed [INFO] [stdout] --> src/profiler.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct SegmentTiming { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoopProfiler` is never constructed [INFO] [stdout] --> src/profiler.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct LoopProfiler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `INITIAL_SEGMENT_LABEL`, `new`, `loop_start`, `mark_segment_end_and_start_new`, and `log_and_reset_for_next_loop` are never used [INFO] [stdout] --> src/profiler.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl LoopProfiler { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 31 | const INITIAL_SEGMENT_LABEL: &'static str = "loop_setup"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub fn new(threshold: Duration, log_interval: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn loop_start(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn mark_segment_end_and_start_new(&mut self, next_segment_label: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn log_and_reset_for_next_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | self.sender.close(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = self.sender.close(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/inproc_minimal.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/req_rep.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/dealer_router.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, MsgFlags, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> tests/dealer_router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBenchmarkLogicFn`, `AsyncSetupFn`, `AsyncTeardownFn`, `ExtractorFn`, `GlobalSetupFn`, and `GlobalTeardownFn` [INFO] [stdout] --> benches/pull_throughput.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | async_suite::{AsyncBenchmarkLogicFn, AsyncBenchmarkSuite, AsyncSetupFn, AsyncTeardownFn}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | ExtractorFn, GlobalSetupFn, GlobalTeardownFn, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/push_pull_lifecycle.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBenchmarkLogicFn`, `AsyncSetupFn`, `AsyncTeardownFn`, `ExtractorFn`, `GlobalSetupFn`, and `GlobalTeardownFn` [INFO] [stdout] --> benches/pub_sub_throughput.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | async_suite::{AsyncBenchmarkLogicFn, AsyncBenchmarkSuite, AsyncSetupFn, AsyncTeardownFn}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | ExtractorFn, GlobalSetupFn, GlobalTeardownFn, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/pub_sub.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> tests/pub_sub.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/push_pull_lifecycle.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SHORT_TIMEOUT: Duration = Duration::from_millis(250); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/req_rep.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SHORT_TIMEOUT: Duration = Duration::from_millis(200); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncBenchmarkLogicFn`, `AsyncSetupFn`, `AsyncTeardownFn`, `ExtractorFn`, `GlobalSetupFn`, and `GlobalTeardownFn` [INFO] [stdout] --> benches/dealer_router_throughput.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | async_suite::{AsyncBenchmarkLogicFn, AsyncBenchmarkSuite, AsyncSetupFn, AsyncTeardownFn}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | ExtractorFn, GlobalSetupFn, GlobalTeardownFn, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Blob` [INFO] [stdout] --> benches/dealer_router_throughput.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | Blob, Context, Msg, MsgFlags, SocketType, ZmqError, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncSetupFn` and `ExtractorFn` [INFO] [stdout] --> benches/req_rep_throughput.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | async_suite::{AsyncBenchmarkSuite, AsyncSetupFn}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | ExtractorFn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::level_filters::LevelFilter` [INFO] [stdout] --> benches/req_rep_throughput.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::level_filters::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx_arc` is never read [INFO] [stdout] --> benches/pub_sub_throughput.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 50 | struct BenchState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | ctx_arc: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Socket` [INFO] [stdout] --> tests/push_pull.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rzmq::{Context, Msg, Socket, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx_arc` is never read [INFO] [stdout] --> benches/pull_throughput.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 50 | struct BenchState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 51 | ctx_arc: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_handle` [INFO] [stdout] --> examples/req_rep_flurry.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | let client_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_handle` [INFO] [stdout] --> examples/req_rep_flurry.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | let client_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Blob` and `Context` [INFO] [stdout] --> tests/reconnect_tests.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Blob, Context, Msg, MsgFlags, Socket, SocketType, ZmqError, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> tests/reconnect_tests.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx_arc` is never read [INFO] [stdout] --> benches/req_rep_throughput.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 51 | struct BenchState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | ctx_arc: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/plain_tests.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | if let Ok((client_socket, mut client_monitor)) = client_setup_result { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/transport_failures.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/transport_failures.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `LINGER`, `RCVHWM`, and `SNDHWM` [INFO] [stdout] --> tests/socket_options.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | socket::options::{LAST_ENDPOINT, LINGER, RCVHWM, SNDHWM}, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 3 | Context, Msg, SocketType, ZmqError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_handshake_events` is never used [INFO] [stdout] --> examples/common/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn wait_for_handshake_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedPermitGuard` is never constructed [INFO] [stdout] --> examples/common/capacity_gate.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct OwnedPermitGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CapacityGate` is never constructed [INFO] [stdout] --> examples/common/capacity_gate.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CapacityGate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PermitGuard` is never used [INFO] [stdout] --> examples/common/capacity_gate.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) type PermitGuard<'a> = GenericSemaphoreReleaser<'a, RawMutex>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `acquire`, `acquire_owned`, `release`, `get_permits`, and `capacity` are never used [INFO] [stdout] --> examples/common/capacity_gate.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl CapacityGate { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn acquire(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn acquire_owned(self: Arc) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn release(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_permits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TIMEOUT` is never used [INFO] [stdout] --> tests/plain_tests.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const TEST_TIMEOUT: Duration = Duration::from_secs(5); // Timeout for async test operations [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/req_rep_advanced.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Off` and `Verbose` are never constructed [INFO] [stdout] --> examples/dealrtr_multitask.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 29 | enum PrintLogLevel { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 30 | Off, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | Info, [INFO] [stdout] 32 | Verbose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrintLogLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/dealrtr_multitask.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 106 | struct DealerSenderStats { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 107 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealerSenderStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_event` is never used [INFO] [stdout] --> examples/common/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn wait_for_event( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_handshake_events` is never used [INFO] [stdout] --> examples/common/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn wait_for_handshake_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> examples/common/capacity_gate.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CapacityGate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapacityGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PermitGuard` is never used [INFO] [stdout] --> examples/common/capacity_gate.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) type PermitGuard<'a> = GenericSemaphoreReleaser<'a, RawMutex>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `acquire`, `get_permits`, and `capacity` are never used [INFO] [stdout] --> examples/common/capacity_gate.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl CapacityGate { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn acquire(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_permits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/dealrtr_multitask.rs:299:3 [INFO] [stdout] | [INFO] [stdout] 299 | / tokio::time::timeout(SHUTDOWN_TIMEOUT, ctx.term()) [INFO] [stdout] 300 | | .await [INFO] [stdout] 301 | | .expect("Context termination timed out!"); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 299 | let _ = tokio::time::timeout(SHUTDOWN_TIMEOUT, ctx.term()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETUP_TIMEOUT` is never used [INFO] [stdout] --> benches/dealer_router_throughput.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const SETUP_TIMEOUT: Duration = Duration::from_secs(20); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx_arc` is never read [INFO] [stdout] --> benches/dealer_router_throughput.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 52 | struct BenchState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 53 | ctx_arc: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dealer_endpoint_uri` is never read [INFO] [stdout] --> tests/dealer_router_advanced.rs:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | let mut dealer_endpoint_uri = "".to_string(); // Store the specific endpoint URI seen by router [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/tcp_corking.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const SHORT_TIMEOUT: Duration = Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/transport_failures.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SHORT_TIMEOUT: Duration = Duration::from_millis(250); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Off` and `Verbose` are never constructed [INFO] [stdout] --> examples/dealrtr_multiclient.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 30 | enum PrintLogLevel { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 31 | Off, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Info, [INFO] [stdout] 33 | Verbose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrintLogLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/dealrtr_multiclient.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 121 | struct DealerSenderStats { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 122 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealerSenderStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_event` is never used [INFO] [stdout] --> examples/common/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn wait_for_event( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_handshake_events` is never used [INFO] [stdout] --> examples/common/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn wait_for_handshake_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> examples/common/capacity_gate.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CapacityGate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapacityGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PermitGuard` is never used [INFO] [stdout] --> examples/common/capacity_gate.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) type PermitGuard<'a> = GenericSemaphoreReleaser<'a, RawMutex>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `acquire`, `get_permits`, and `capacity` are never used [INFO] [stdout] --> examples/common/capacity_gate.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl CapacityGate { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn acquire(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_permits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/dealrtr_multiclient.rs:331:3 [INFO] [stdout] | [INFO] [stdout] 331 | / tokio::time::timeout(SHUTDOWN_TIMEOUT, ctx.term()) [INFO] [stdout] 332 | | .await [INFO] [stdout] 333 | | .expect("Context termination timed out!"); [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 331 | let _ = tokio::time::timeout(SHUTDOWN_TIMEOUT, ctx.term()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_connections` [INFO] [stdout] --> tests/shutdown_race.rs:612:7 [INFO] [stdout] | [INFO] [stdout] 612 | let expected_connections = Arc::new(tokio::sync::Semaphore::new(TCP_NUM_PUSHERS)); // To count connections [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_connections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PULLERS` is never used [INFO] [stdout] --> tests/shutdown_race.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const NUM_PULLERS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TCP_NUM_PULLERS` is never used [INFO] [stdout] --> tests/shutdown_race.rs:547:7 [INFO] [stdout] | [INFO] [stdout] 547 | const TCP_NUM_PULLERS: usize = 1; // Must be 1 for TCP bind [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/shutdown_race.rs:487:3 [INFO] [stdout] | [INFO] [stdout] 487 | pull_socket.close().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 487 | let _ = pull_socket.close().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/shutdown_race.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | sck.close().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 489 | let _ = sck.close().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket/dealer_socket.rs:470:11 [INFO] [stdout] | [INFO] [stdout] 470 | let mut transaction_guard = self.current_send_transaction.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket/router_socket.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut current_send_target_guard = self.current_send_target.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ISocketConnection` is more private than the item `SystemEvent::NewConnectionEstablished::connection_iface` [INFO] [stdout] --> src/runtime/system_events.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | connection_iface: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `SystemEvent::NewConnectionEstablished::connection_iface` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `ISocketConnection` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/socket/connection_iface.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) trait ISocketConnection: Send + Sync + fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PipeState` is more private than the item `WritePipeCoordinator::remove_pipe` [INFO] [stdout] --> src/socket/patterns/pipe_coordinator.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn remove_pipe(&self, pipe_id: PipeId) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `WritePipeCoordinator::remove_pipe` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PipeState` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/socket/patterns/pipe_coordinator.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct PipeState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `binder_core_id` is never read [INFO] [stdout] --> src/context.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct InprocBinding { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) binder_core_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InprocBinding` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_socket_command_sender` is never used [INFO] [stdout] --> src/context.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 55 | impl ContextInner { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub(crate) fn get_socket_command_sender(&self, handle: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerAddress` is never constructed [INFO] [stdout] --> src/message/metadata.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PeerAddress(pub SocketAddr); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZapUserId` is never constructed [INFO] [stdout] --> src/message/metadata.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ZapUserId(pub String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `notify` is never read [INFO] [stdout] --> src/runtime/latch.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CountDownLatch { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | count: Arc, [INFO] [stdout] 10 | notify: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CountDownLatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `count_down`, and `await_` are never used [INFO] [stdout] --> src/runtime/latch.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl CountDownLatch { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 14 | /// Creates a new latch initialized with the given count. [INFO] [stdout] 15 | pub fn new(count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn count_down(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn await_(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Initializing` is never constructed [INFO] [stdout] --> src/security/plain.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | enum PlainState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 10 | Initializing, // Start state (not strictly used as we set initial state in new()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlainState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourcePipeReadId` is never constructed [INFO] [stdout] --> src/socket/mod.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | struct SourcePipeReadId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_pipe_reader_task` is never used [INFO] [stdout] --> src/socket/core/pipe_manager.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) async fn run_pipe_reader_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_session_state_by_uri` is never used [INFO] [stdout] --> src/socket/core/pipe_manager.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | pub(crate) async fn cleanup_session_state_by_uri( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_msg_with_timeout` is never used [INFO] [stdout] --> src/socket/core/pipe_manager.rs:633:21 [INFO] [stdout] | [INFO] [stdout] 633 | pub(crate) async fn send_msg_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_phase` is never used [INFO] [stdout] --> src/socket/core/shutdown.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 16 | impl ShutdownCoordinator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 17 | pub(crate) fn current_phase(&self) -> ShutdownPhase { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pipe_sender` is never used [INFO] [stdout] --> src/socket/core/state.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 84 | impl CoreState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn get_pipe_sender(&self, pipe_write_id: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `use_send_zerocopy` and `use_recv_multishot` are never read [INFO] [stdout] --> src/socket/options.rs:194:7 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) struct ZmtpEngineConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 194 | pub use_send_zerocopy: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | pub use_recv_multishot: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZmtpEngineConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration_ms_option` is never used [INFO] [stdout] --> src/socket/options.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | pub(crate) fn parse_duration_ms_option(value: &[u8]) -> Result, ZmqError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_key_option` is never used [INFO] [stdout] --> src/socket/options.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 381 | pub(crate) fn parse_key_option(value: &[u8], option_id: i32) -> Result<[u8; N], ZmqError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl FairQueue { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_identity_by_read_pipe` is never used [INFO] [stdout] --> src/socket/patterns/router.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 13 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn get_identity_by_read_pipe(&self, pipe_read_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_connection_id` and `as_any` are never used [INFO] [stdout] --> src/socket/connection_iface.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) trait ISocketConnection: Send + Sync + fmt::Debug { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 45 | fn get_connection_id(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionConnection` is never constructed [INFO] [stdout] --> src/socket/connection_iface.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) struct SessionConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/socket/connection_iface.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 111 | impl SessionConnection { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 112 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identity` and `payload_frames` are never read [INFO] [stdout] --> src/socket/router_socket.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 33 | struct RouterRecvBuffer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 34 | identity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | payload_frames: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterRecvBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_recv_buffer` is never read [INFO] [stdout] --> src/socket/router_socket.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) struct RouterSocket { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | current_recv_buffer: TokioMutex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouterSocket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/ipc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct TcpListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_socket2_options_pre_connect` is never used [INFO] [stdout] --> src/transport/tcp.rs:1196:4 [INFO] [stdout] | [INFO] [stdout] 1196 | fn apply_socket2_options_pre_connect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_tcp_socket_options_to_std` is never used [INFO] [stdout] --> src/transport/tcp.rs:1253:4 [INFO] [stdout] | [INFO] [stdout] 1253 | fn apply_tcp_socket_options_to_std( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_current_balance` is never used [INFO] [stdout] --> src/throttle/mod.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 173 | impl ThrottleGuard { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 174 | pub fn get_current_balance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_strategy` is never used [INFO] [stdout] --> src/throttle/strategies.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn linear_strategy(state: &ThrottleStateView) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegmentTiming` is never constructed [INFO] [stdout] --> src/profiler.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct SegmentTiming { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoopProfiler` is never constructed [INFO] [stdout] --> src/profiler.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct LoopProfiler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `INITIAL_SEGMENT_LABEL`, `new`, `loop_start`, `mark_segment_end_and_start_new`, and `log_and_reset_for_next_loop` are never used [INFO] [stdout] --> src/profiler.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl LoopProfiler { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 31 | const INITIAL_SEGMENT_LABEL: &'static str = "loop_setup"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub fn new(threshold: Duration, log_interval: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn loop_start(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn mark_segment_end_and_start_new(&mut self, next_segment_label: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn log_and_reset_for_next_loop(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | self.sender.close(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = self.sender.close(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.17s [INFO] running `Command { std: "docker" "inspect" "1482d08b0744db82aad7d176cb107277c535eec80c3c690bc8723749d19c20df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1482d08b0744db82aad7d176cb107277c535eec80c3c690bc8723749d19c20df", kill_on_drop: false }` [INFO] [stdout] 1482d08b0744db82aad7d176cb107277c535eec80c3c690bc8723749d19c20df