[INFO] fetching crate rzmq 0.5.4... [INFO] building rzmq-0.5.4 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rzmq 0.5.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rzmq 0.5.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rzmq 0.5.4 [INFO] tweaked toml for crates.io crate rzmq 0.5.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rzmq 0.5.4 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rzmq 0.5.4 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded xs_x25519-dalek v2.0.2 [INFO] [stderr] Downloaded sdd v3.0.10 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded fibre v0.5.0 [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded serde v1.0.225 [INFO] [stderr] Downloaded clap v4.5.47 [INFO] [stderr] Downloaded clap_builder v4.5.47 [INFO] [stderr] Downloaded seize v0.5.1 [INFO] [stderr] Downloaded ghash v0.5.1 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded js-sys v0.3.80 [INFO] [stderr] Downloaded bench_matrix v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.103 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded eventfd v0.2.0 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded atomic_float v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.103 [INFO] [stderr] Downloaded aes-gcm v0.10.3 [INFO] [stderr] Downloaded inout v0.1.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.103 [INFO] [stderr] Downloaded curve25519-dalek v4.1.3 [INFO] [stderr] Downloaded web-sys v0.3.80 [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.225 [INFO] [stderr] Downloaded io_uring_buf_ring v0.2.1 [INFO] [stderr] Downloaded papaya v0.2.3 [INFO] [stderr] Downloaded scc v2.4.0 [INFO] [stderr] Downloaded serde_core v1.0.225 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded xs_curve25519-dalek v4.1.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.103 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ac2c3d8414bd68d4ef1a506281922350cd35e44528dd2380b0e2c17d6bad531 [INFO] running `Command { std: "docker" "start" "-a" "1ac2c3d8414bd68d4ef1a506281922350cd35e44528dd2380b0e2c17d6bad531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac2c3d8414bd68d4ef1a506281922350cd35e44528dd2380b0e2c17d6bad531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac2c3d8414bd68d4ef1a506281922350cd35e44528dd2380b0e2c17d6bad531", kill_on_drop: false }` [INFO] [stdout] 1ac2c3d8414bd68d4ef1a506281922350cd35e44528dd2380b0e2c17d6bad531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db46a8a746b6a18b5af44a691148d7917b0e9fcbf7958947aeb24f00588320aa [INFO] running `Command { std: "docker" "start" "-a" "db46a8a746b6a18b5af44a691148d7917b0e9fcbf7958947aeb24f00588320aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling atomic_float v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling seize v0.5.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling fibre v0.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling rzmq v0.5.4 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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: `crate::socket::core::pipe_manager::run_pipe_reader_task` [INFO] [stdout] --> src/transport/inproc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::socket::core::pipe_manager::run_pipe_reader_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr as StdSocketAddr` [INFO] [stdout] --> src/transport/tcp.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | use std::net::{SocketAddr as StdSocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/transport/tcp.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | 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)]` (part of `#[warn(unused)]`) 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(err) => { [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] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 244 | let _connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DEALER_SEND_BUFFER_PARTS` [INFO] [stdout] | [INFO] [stdout] 244 - let connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] 244 + let socket::dealer_socket::MAX_DEALER_SEND_BUFFER_PARTS = match &interaction_model_from_event { [INFO] [stdout] | [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 `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | 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:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | 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: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/ipc.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | let mut setup_successful = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | 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:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | 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: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 354 | 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:485:19 [INFO] [stdout] | [INFO] [stdout] 485 | setup_successful = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/tcp.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:354:19 [INFO] [stdout] | [INFO] [stdout] 354 | 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)]` (part of `#[warn(unused)]`) 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:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | 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:624:21 [INFO] [stdout] | [INFO] [stdout] 624 | 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:76:16 [INFO] [stdout] | [INFO] [stdout] 12 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | 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:111:17 [INFO] [stdout] | [INFO] [stdout] 110 | impl SessionConnection { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 111 | 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:36:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) struct TcpListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | socket_logic: Arc, [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)]` (part of `#[warn(unused)]`) 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 38.86s [INFO] running `Command { std: "docker" "inspect" "db46a8a746b6a18b5af44a691148d7917b0e9fcbf7958947aeb24f00588320aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db46a8a746b6a18b5af44a691148d7917b0e9fcbf7958947aeb24f00588320aa", kill_on_drop: false }` [INFO] [stdout] db46a8a746b6a18b5af44a691148d7917b0e9fcbf7958947aeb24f00588320aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae244012ae526c134aa0e3744d3255de9d6d38b3347815d9f82728bb9021ded2 [INFO] running `Command { std: "docker" "start" "-a" "ae244012ae526c134aa0e3744d3255de9d6d38b3347815d9f82728bb9021ded2", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling rzmq v0.5.4 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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: `crate::socket::core::pipe_manager::run_pipe_reader_task` [INFO] [stdout] --> src/transport/inproc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::socket::core::pipe_manager::run_pipe_reader_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr as StdSocketAddr` [INFO] [stdout] --> src/transport/tcp.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | use std::net::{SocketAddr as StdSocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/transport/tcp.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | 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)]` (part of `#[warn(unused)]`) 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(err) => { [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] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 244 | let _connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DEALER_SEND_BUFFER_PARTS` [INFO] [stdout] | [INFO] [stdout] 244 - let connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] 244 + let socket::dealer_socket::MAX_DEALER_SEND_BUFFER_PARTS = match &interaction_model_from_event { [INFO] [stdout] | [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] Compiling bench_matrix v0.2.0 [INFO] [stdout] warning: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | 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:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | 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: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/ipc.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | let mut setup_successful = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | 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:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | 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: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 354 | 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:485:19 [INFO] [stdout] | [INFO] [stdout] 485 | setup_successful = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/tcp.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:354:19 [INFO] [stdout] | [INFO] [stdout] 354 | 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)]` (part of `#[warn(unused)]`) 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: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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: `crate::socket::core::pipe_manager::run_pipe_reader_task` [INFO] [stdout] --> src/transport/inproc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::socket::core::pipe_manager::run_pipe_reader_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr as StdSocketAddr` [INFO] [stdout] --> src/transport/tcp.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | use std::net::{SocketAddr as StdSocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/transport/tcp.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | 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)]` (part of `#[warn(unused)]`) 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(err) => { [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] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 244 | let _connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DEALER_SEND_BUFFER_PARTS` [INFO] [stdout] | [INFO] [stdout] 244 - let connection_instance_id = match &interaction_model_from_event { [INFO] [stdout] 244 + let socket::dealer_socket::MAX_DEALER_SEND_BUFFER_PARTS = match &interaction_model_from_event { [INFO] [stdout] | [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: 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: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | 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:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | 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: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/ipc.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | let mut setup_successful = true; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | 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:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | 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: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:354:23 [INFO] [stdout] | [INFO] [stdout] 354 | 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:485:19 [INFO] [stdout] | [INFO] [stdout] 485 | setup_successful = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loop_error_to_report` is never read [INFO] [stdout] --> src/transport/tcp.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/tcp.rs:354:19 [INFO] [stdout] | [INFO] [stdout] 354 | 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/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)]` (part of `#[warn(unused)]`) 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:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | 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:624:21 [INFO] [stdout] | [INFO] [stdout] 624 | 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:76:16 [INFO] [stdout] | [INFO] [stdout] 12 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | 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:111:17 [INFO] [stdout] | [INFO] [stdout] 110 | impl SessionConnection { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 111 | 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:36:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) struct TcpListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | socket_logic: Arc, [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | 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:624:21 [INFO] [stdout] | [INFO] [stdout] 624 | 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:76:16 [INFO] [stdout] | [INFO] [stdout] 12 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | 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:111:17 [INFO] [stdout] | [INFO] [stdout] 110 | impl SessionConnection { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 111 | 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:36:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) struct TcpListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | socket_logic: Arc, [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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 import: `RCVTIMEO` [INFO] [stdout] --> tests/dns.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | options::{RCVTIMEO, RECONNECT_IVL}, SocketEvent, SNDTIMEO [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rzmq` (lib test); 81 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/c7f6aa2869acdbf014d094c6e427e554e160b6db/bin/rustc --crate-name rzmq --edition=2024 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="inproc"' --cfg 'feature="ipc"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_external_clients", "default", "full", "full-linux", "inproc", "io-uring", "ipc", "noise_xx"))' -C metadata=d9414fb37987bf00 -C extra-filename=-0fc575bf48be872c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-88c2c5723ab188c9.rlib --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-5d265bddc45d788b.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c7578571db373ae6.so --extern atomic_float=/opt/rustwide/target/debug/deps/libatomic_float-d17183dea4ae88d9.rlib --extern bench_matrix=/opt/rustwide/target/debug/deps/libbench_matrix-af1abb24b2f40d72.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-ae83ff7d8b19c6be.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-34290214aa8e3d25.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-7ddf695c3bcbf2a4.rlib --extern fibre=/opt/rustwide/target/debug/deps/libfibre-9ad7b7fa005c6ccd.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-80ff56753e4ae891.rlib --extern futures_intrusive=/opt/rustwide/target/debug/deps/libfutures_intrusive-b8c4dcbb2acb51cb.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-a58beeab2e1413cc.rlib --extern linked_hash_map=/opt/rustwide/target/debug/deps/liblinked_hash_map-40ad1551522f3eec.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0ba6aecba7086d38.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-f021a49f779d1a7a.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-0fb1ff72e4e2dbf7.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-7bc9464640871822.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-3ed8ac1c6dcd3fb1.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-06b5d1ce7dd4fa05.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-3caf15f5698ba843.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-39ec6481aacf9601.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-60e26cf8f0e9fd0b.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-42ef0945ef96bb43.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-f4cbb9cdd7f089c6.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ae244012ae526c134aa0e3744d3255de9d6d38b3347815d9f82728bb9021ded2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae244012ae526c134aa0e3744d3255de9d6d38b3347815d9f82728bb9021ded2", kill_on_drop: false }` [INFO] [stdout] ae244012ae526c134aa0e3744d3255de9d6d38b3347815d9f82728bb9021ded2