[INFO] fetching crate rzmq 0.5.13... [INFO] testing rzmq-0.5.13 against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] extracting crate rzmq 0.5.13 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rzmq 0.5.13 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rzmq 0.5.13 [INFO] tweaked toml for crates.io crate rzmq 0.5.13 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rzmq 0.5.13 on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rzmq 0.5.13 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3de4fc14acbf99b28c69a0acc8d7a7b6d779160fe87db35b414caae118c714f6 [INFO] running `Command { std: "docker" "start" "-a" "3de4fc14acbf99b28c69a0acc8d7a7b6d779160fe87db35b414caae118c714f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3de4fc14acbf99b28c69a0acc8d7a7b6d779160fe87db35b414caae118c714f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de4fc14acbf99b28c69a0acc8d7a7b6d779160fe87db35b414caae118c714f6", kill_on_drop: false }` [INFO] [stdout] 3de4fc14acbf99b28c69a0acc8d7a7b6d779160fe87db35b414caae118c714f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cb18252f5087c545b38cfc8bf71e98705677308acb9b89f4fac3b75ffb5e1a1 [INFO] running `Command { std: "docker" "start" "-a" "9cb18252f5087c545b38cfc8bf71e98705677308acb9b89f4fac3b75ffb5e1a1", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling seize v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling atomic_float v1.1.0 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling fibre v0.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling rzmq v0.5.13 (/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:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) use latch::CountDownLatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDataCipher` [INFO] [stdout] --> src/security/mechanism.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{IDataCipher, ZmqError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IDataCipher` and `cipher::PassThroughDataCipher` [INFO] [stdout] --> src/security/null.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{IDataCipher, Mechanism, MechanismStatus, cipher::PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IDataCipher` and `cipher::PassThroughDataCipher` [INFO] [stdout] --> src/security/plain.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{IDataCipher, Mechanism, MechanismStatus, cipher::PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::message::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/sessionx/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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: `std::time::Duration` [INFO] [stdout] --> src/sessionx/actor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/pipe_manager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::socket::core::{SocketCore, command_processor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/shutdown.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::socket::core::{command_processor, pipe_manager, SocketCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fair_queue::FairQueue` [INFO] [stdout] --> src/socket/patterns/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) use fair_queue::FairQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `command::Command` and `mailbox::MailboxSender as SessionMailboxSender` [INFO] [stdout] --> src/socket/connection_iface.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::runtime::{command::Command, mailbox::MailboxSender as SessionMailboxSender}; [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::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:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) use runtime::{MailboxReceiver, MailboxSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | _ => 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:490:5 [INFO] [stdout] | [INFO] [stdout] 363 | Ok(Endpoint::Tcp(_addr, ref uri_from_parse)) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(Endpoint::Ipc(ref path_buf, ref uri_from_parse)) => { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 469 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | Err(e) => bind_result = Err(e), // Error from parse_endpoint [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 490 | _ => 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:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | _ => { [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:554:5 [INFO] [stdout] | [INFO] [stdout] 529 | / Ok(Endpoint::Tcp(_, ref parsed_uri_for_connecter)) [INFO] [stdout] 530 | | | Ok(Endpoint::Ipc(_, ref parsed_uri_for_connecter)) => { [INFO] [stdout] | |________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 542 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 551 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 554 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 641 | _ => { [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:641:5 [INFO] [stdout] | [INFO] [stdout] 575 | Ok(Endpoint::Tcp(_, _)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 606 | Ok(Endpoint::Ipc(path_buf, _)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 626 | Ok(Endpoint::Inproc(_)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 629 | Err(err) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 641 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | 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:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | 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: 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: 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: variable does not need to be mutable [INFO] [stdout] --> src/socket/dealer_socket.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | 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: unused variable: `connection_id_opt` [INFO] [stdout] --> src/socket/dealer_socket.rs:669:28 [INFO] [stdout] | [INFO] [stdout] 669 | let (endpoint_uri_opt, connection_id_opt) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:282:89 [INFO] [stdout] | [INFO] [stdout] 282 | let mut interaction_model_for_event: Option = None; [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: value assigned to `managing_actor_task_id_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:283:74 [INFO] [stdout] | [INFO] [stdout] 283 | 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:238:54 [INFO] [stdout] | [INFO] [stdout] 238 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:354:19 [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:54 [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: 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 `ProcessTokenAction` is more private than the item `Mechanism::process_token` [INFO] [stdout] --> src/security/mechanism.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | fn process_token(&mut self, token: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Mechanism::process_token` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProcessTokenAction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/security/mechanism.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum ProcessTokenAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ISecureFramer` is more private than the item `Mechanism::into_framer` [INFO] [stdout] --> src/security/mechanism.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | fn into_framer(self: Box) -> Result<(Box, Option>), ZmqError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Mechanism::into_framer` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `ISecureFramer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/security/framer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait ISecureFramer: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:8:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct CountDownLatch { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | count: Arc, [INFO] [stdout] 8 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CountDownLatch { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 12 | /// Creates a new latch initialized with the given count. [INFO] [stdout] 13 | pub fn new(count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn count_down(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn await_(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IDataCipher` is never used [INFO] [stdout] --> src/security/cipher.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IDataCipher: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PassThroughDataCipher` is never constructed [INFO] [stdout] --> src/security/cipher.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct PassThroughDataCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LengthPrefixedFramer` is never constructed [INFO] [stdout] --> src/security/framer.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) struct LengthPrefixedFramer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/framer.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 50 | impl LengthPrefixedFramer { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 51 | pub(crate) fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ContinueWaiting` is never constructed [INFO] [stdout] --> src/security/mechanism.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum ProcessTokenAction { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 17 | /// No immediate action is required. The handler should wait for the next event. [INFO] [stdout] 18 | ContinueWaiting, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessTokenAction` 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: variant `Initializing` is never constructed [INFO] [stdout] --> src/security/plain.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 15 | enum PlainState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 16 | 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: methods `fd` and `is_expecting_first_frame` are never used [INFO] [stdout] --> src/sessionx/cork.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 17 | impl TcpCorkInfoX { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn fd(&self) -> RawFd { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn is_expecting_first_frame(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourcePipeReadId` is never constructed [INFO] [stdout] --> src/socket/mod.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | 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:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | 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:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | 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:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | impl ShutdownCoordinator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 14 | 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:161:17 [INFO] [stdout] | [INFO] [stdout] 141 | impl CoreState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | 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:215:7 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) struct ZmtpEngineConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub use_send_zerocopy: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 216 | 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:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | 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:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn parse_key_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hwm` is never read [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct FairQueue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | hwm: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pipe_attached`, `pipe_detached`, `capacity`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl FairQueue { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn pipe_attached(&self, pipe_read_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn pipe_detached(&self, pipe_read_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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: field `decoders` is never read [INFO] [stdout] --> src/socket/patterns/framing.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct FramingLatch { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | decoders: [FramingOp; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FramingLatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/socket/patterns/framing.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl FramingLatch { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn decode(&self, frames: &mut Vec) { [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:97:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | 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: field `socket_logic` is never read [INFO] [stdout] --> src/transport/ipc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs: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 28.85s [INFO] running `Command { std: "docker" "inspect" "9cb18252f5087c545b38cfc8bf71e98705677308acb9b89f4fac3b75ffb5e1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb18252f5087c545b38cfc8bf71e98705677308acb9b89f4fac3b75ffb5e1a1", kill_on_drop: false }` [INFO] [stdout] 9cb18252f5087c545b38cfc8bf71e98705677308acb9b89f4fac3b75ffb5e1a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f250948c52288913de0a09a29c05ed456e105b45c66b9bf103eb72ec77075e7 [INFO] running `Command { std: "docker" "start" "-a" "2f250948c52288913de0a09a29c05ed456e105b45c66b9bf103eb72ec77075e7", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling zerocopy-derive v0.8.37 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling page_size v0.6.0 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling serial_test_derive v3.3.1 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.8.1 [INFO] [stderr] Compiling serial_test v3.3.1 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling criterion v0.8.1 [INFO] [stderr] Compiling rzmq v0.5.13 (/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:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) use latch::CountDownLatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDataCipher` [INFO] [stdout] --> src/security/mechanism.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{IDataCipher, ZmqError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IDataCipher` and `cipher::PassThroughDataCipher` [INFO] [stdout] --> src/security/null.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{IDataCipher, Mechanism, MechanismStatus, cipher::PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IDataCipher` and `cipher::PassThroughDataCipher` [INFO] [stdout] --> src/security/plain.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{IDataCipher, Mechanism, MechanismStatus, cipher::PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::message::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/sessionx/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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: `std::time::Duration` [INFO] [stdout] --> src/sessionx/actor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/pipe_manager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::socket::core::{SocketCore, command_processor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/shutdown.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::socket::core::{command_processor, pipe_manager, SocketCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fair_queue::FairQueue` [INFO] [stdout] --> src/socket/patterns/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) use fair_queue::FairQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `command::Command` and `mailbox::MailboxSender as SessionMailboxSender` [INFO] [stdout] --> src/socket/connection_iface.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::runtime::{command::Command, mailbox::MailboxSender as SessionMailboxSender}; [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::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:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) use runtime::{MailboxReceiver, MailboxSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bench_matrix v0.2.1 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | _ => 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:490:5 [INFO] [stdout] | [INFO] [stdout] 363 | Ok(Endpoint::Tcp(_addr, ref uri_from_parse)) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(Endpoint::Ipc(ref path_buf, ref uri_from_parse)) => { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 469 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | Err(e) => bind_result = Err(e), // Error from parse_endpoint [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 490 | _ => 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:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | _ => { [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:554:5 [INFO] [stdout] | [INFO] [stdout] 529 | / Ok(Endpoint::Tcp(_, ref parsed_uri_for_connecter)) [INFO] [stdout] 530 | | | Ok(Endpoint::Ipc(_, ref parsed_uri_for_connecter)) => { [INFO] [stdout] | |________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 542 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 551 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 554 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 641 | _ => { [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:641:5 [INFO] [stdout] | [INFO] [stdout] 575 | Ok(Endpoint::Tcp(_, _)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 606 | Ok(Endpoint::Ipc(path_buf, _)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 626 | Ok(Endpoint::Inproc(_)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 629 | Err(err) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 641 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | 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:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | 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: 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:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) use latch::CountDownLatch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IDataCipher` [INFO] [stdout] --> src/security/mechanism.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{IDataCipher, ZmqError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IDataCipher` and `cipher::PassThroughDataCipher` [INFO] [stdout] --> src/security/null.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{IDataCipher, Mechanism, MechanismStatus, cipher::PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IDataCipher` and `cipher::PassThroughDataCipher` [INFO] [stdout] --> src/security/plain.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use super::{IDataCipher, Mechanism, MechanismStatus, cipher::PassThroughDataCipher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::Metadata` [INFO] [stdout] --> src/security/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::message::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/sessionx/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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: `std::time::Duration` [INFO] [stdout] --> src/sessionx/actor.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/pipe_manager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::socket::core::{SocketCore, command_processor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command_processor` [INFO] [stdout] --> src/socket/core/shutdown.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::socket::core::{command_processor, pipe_manager, SocketCore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fair_queue::FairQueue` [INFO] [stdout] --> src/socket/patterns/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) use fair_queue::FairQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `command::Command` and `mailbox::MailboxSender as SessionMailboxSender` [INFO] [stdout] --> src/socket/connection_iface.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::runtime::{command::Command, mailbox::MailboxSender as SessionMailboxSender}; [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::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:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) use runtime::{MailboxReceiver, MailboxSender}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | _ => 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:490:5 [INFO] [stdout] | [INFO] [stdout] 363 | Ok(Endpoint::Tcp(_addr, ref uri_from_parse)) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(Endpoint::Ipc(ref path_buf, ref uri_from_parse)) => { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 469 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 489 | Err(e) => bind_result = Err(e), // Error from parse_endpoint [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 490 | _ => 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:554:5 [INFO] [stdout] | [INFO] [stdout] 554 | _ => { [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:554:5 [INFO] [stdout] | [INFO] [stdout] 529 | / Ok(Endpoint::Tcp(_, ref parsed_uri_for_connecter)) [INFO] [stdout] 530 | | | Ok(Endpoint::Ipc(_, ref parsed_uri_for_connecter)) => { [INFO] [stdout] | |________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 542 | Ok(Endpoint::Inproc(ref name)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 551 | Err(e) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 554 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/socket/core/command_processor.rs:641:5 [INFO] [stdout] | [INFO] [stdout] 641 | _ => { [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:641:5 [INFO] [stdout] | [INFO] [stdout] 575 | Ok(Endpoint::Tcp(_, _)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 606 | Ok(Endpoint::Ipc(path_buf, _)) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 626 | Ok(Endpoint::Inproc(_)) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 629 | Err(err) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 641 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/ipc.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | 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:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | 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: 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: 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: variable does not need to be mutable [INFO] [stdout] --> src/socket/dealer_socket.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | 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: unused variable: `connection_id_opt` [INFO] [stdout] --> src/socket/dealer_socket.rs:669:28 [INFO] [stdout] | [INFO] [stdout] 669 | let (endpoint_uri_opt, connection_id_opt) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:282:89 [INFO] [stdout] | [INFO] [stdout] 282 | let mut interaction_model_for_event: Option = None; [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: value assigned to `managing_actor_task_id_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:283:74 [INFO] [stdout] | [INFO] [stdout] 283 | 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:238:54 [INFO] [stdout] | [INFO] [stdout] 238 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:354:19 [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:54 [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: 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 `ProcessTokenAction` is more private than the item `Mechanism::process_token` [INFO] [stdout] --> src/security/mechanism.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | fn process_token(&mut self, token: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Mechanism::process_token` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProcessTokenAction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/security/mechanism.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum ProcessTokenAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ISecureFramer` is more private than the item `Mechanism::into_framer` [INFO] [stdout] --> src/security/mechanism.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | fn into_framer(self: Box) -> Result<(Box, Option>), ZmqError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Mechanism::into_framer` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `ISecureFramer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/security/framer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait ISecureFramer: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:8:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct CountDownLatch { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | count: Arc, [INFO] [stdout] 8 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CountDownLatch { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 12 | /// Creates a new latch initialized with the given count. [INFO] [stdout] 13 | pub fn new(count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn count_down(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn await_(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IDataCipher` is never used [INFO] [stdout] --> src/security/cipher.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IDataCipher: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PassThroughDataCipher` is never constructed [INFO] [stdout] --> src/security/cipher.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct PassThroughDataCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LengthPrefixedFramer` is never constructed [INFO] [stdout] --> src/security/framer.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) struct LengthPrefixedFramer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/framer.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 50 | impl LengthPrefixedFramer { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 51 | pub(crate) fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ContinueWaiting` is never constructed [INFO] [stdout] --> src/security/mechanism.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum ProcessTokenAction { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 17 | /// No immediate action is required. The handler should wait for the next event. [INFO] [stdout] 18 | ContinueWaiting, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessTokenAction` 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: variant `Initializing` is never constructed [INFO] [stdout] --> src/security/plain.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 15 | enum PlainState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 16 | 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: methods `fd` and `is_expecting_first_frame` are never used [INFO] [stdout] --> src/sessionx/cork.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 17 | impl TcpCorkInfoX { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn fd(&self) -> RawFd { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn is_expecting_first_frame(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourcePipeReadId` is never constructed [INFO] [stdout] --> src/socket/mod.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | 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:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | 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:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | 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:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | impl ShutdownCoordinator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 14 | 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:161:17 [INFO] [stdout] | [INFO] [stdout] 141 | impl CoreState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | 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:215:7 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) struct ZmtpEngineConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub use_send_zerocopy: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 216 | 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:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | 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:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn parse_key_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hwm` is never read [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct FairQueue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | hwm: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pipe_attached`, `pipe_detached`, `capacity`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl FairQueue { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn pipe_attached(&self, pipe_read_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn pipe_detached(&self, pipe_read_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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: field `decoders` is never read [INFO] [stdout] --> src/socket/patterns/framing.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct FramingLatch { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | decoders: [FramingOp; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FramingLatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/socket/patterns/framing.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl FramingLatch { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn decode(&self, frames: &mut Vec) { [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:97:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | 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: field `socket_logic` is never read [INFO] [stdout] --> src/transport/ipc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs: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 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: variable does not need to be mutable [INFO] [stdout] --> src/socket/dealer_socket.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | 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: unused variable: `connection_id_opt` [INFO] [stdout] --> src/socket/dealer_socket.rs:669:28 [INFO] [stdout] | [INFO] [stdout] 669 | let (endpoint_uri_opt, connection_id_opt) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `interaction_model_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:282:89 [INFO] [stdout] | [INFO] [stdout] 282 | let mut interaction_model_for_event: Option = None; [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: value assigned to `managing_actor_task_id_for_event` is never read [INFO] [stdout] --> src/transport/ipc.rs:283:74 [INFO] [stdout] | [INFO] [stdout] 283 | 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:238:54 [INFO] [stdout] | [INFO] [stdout] 238 | let mut loop_error_to_report: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sca_or_session_join_handle_opt` [INFO] [stdout] --> src/transport/tcp.rs:354:19 [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:54 [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: 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 `ProcessTokenAction` is more private than the item `Mechanism::process_token` [INFO] [stdout] --> src/security/mechanism.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | fn process_token(&mut self, token: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Mechanism::process_token` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProcessTokenAction` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/security/mechanism.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum ProcessTokenAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ISecureFramer` is more private than the item `Mechanism::into_framer` [INFO] [stdout] --> src/security/mechanism.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | fn into_framer(self: Box) -> Result<(Box, Option>), ZmqError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Mechanism::into_framer` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `ISecureFramer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/security/framer.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait ISecureFramer: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:8:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct CountDownLatch { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | count: Arc, [INFO] [stdout] 8 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CountDownLatch { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 12 | /// Creates a new latch initialized with the given count. [INFO] [stdout] 13 | pub fn new(count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn count_down(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn await_(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IDataCipher` is never used [INFO] [stdout] --> src/security/cipher.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IDataCipher: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PassThroughDataCipher` is never constructed [INFO] [stdout] --> src/security/cipher.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct PassThroughDataCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LengthPrefixedFramer` is never constructed [INFO] [stdout] --> src/security/framer.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) struct LengthPrefixedFramer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/security/framer.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 50 | impl LengthPrefixedFramer { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 51 | pub(crate) fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ContinueWaiting` is never constructed [INFO] [stdout] --> src/security/mechanism.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) enum ProcessTokenAction { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 17 | /// No immediate action is required. The handler should wait for the next event. [INFO] [stdout] 18 | ContinueWaiting, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessTokenAction` 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: variant `Initializing` is never constructed [INFO] [stdout] --> src/security/plain.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 15 | enum PlainState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 16 | 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: methods `fd` and `is_expecting_first_frame` are never used [INFO] [stdout] --> src/sessionx/cork.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 17 | impl TcpCorkInfoX { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn fd(&self) -> RawFd { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn is_expecting_first_frame(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourcePipeReadId` is never constructed [INFO] [stdout] --> src/socket/mod.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | 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:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | 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:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | 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:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | impl ShutdownCoordinator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 14 | 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:161:17 [INFO] [stdout] | [INFO] [stdout] 141 | impl CoreState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | 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:215:7 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) struct ZmtpEngineConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | pub use_send_zerocopy: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 216 | 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:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | 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:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn parse_key_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hwm` is never read [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct FairQueue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | hwm: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pipe_attached`, `pipe_detached`, `capacity`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/socket/patterns/fair_queue.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl FairQueue { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn pipe_attached(&self, pipe_read_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn pipe_detached(&self, pipe_read_id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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: field `decoders` is never read [INFO] [stdout] --> src/socket/patterns/framing.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct FramingLatch { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | decoders: [FramingOp; 2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FramingLatch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/socket/patterns/framing.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl FramingLatch { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn decode(&self, frames: &mut Vec) { [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:97:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl RouterMap { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | 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: field `socket_logic` is never read [INFO] [stdout] --> src/transport/ipc.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct IpcListener { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | socket_logic: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket_logic` is never read [INFO] [stdout] --> src/transport/tcp.rs: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 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: unused import: `Context` [INFO] [stdout] --> tests/dealer_rep.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/transport_failures.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/transport_failures.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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 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: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/dealer_rep.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SHORT_TIMEOUT: Duration = Duration::from_millis(200); [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/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: 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: unused import: `Context` [INFO] [stdout] --> tests/dealer_dealer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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: `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: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/transport_failures.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SHORT_TIMEOUT: Duration = Duration::from_millis(250); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_handshake_events` is never used [INFO] [stdout] --> examples/common/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn wait_for_handshake_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedPermitGuard` is never constructed [INFO] [stdout] --> examples/common/capacity_gate.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct OwnedPermitGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CapacityGate` is never constructed [INFO] [stdout] --> examples/common/capacity_gate.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct CapacityGate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PermitGuard` is never used [INFO] [stdout] --> examples/common/capacity_gate.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) type PermitGuard<'a> = GenericSemaphoreReleaser<'a, RawMutex>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `acquire`, `acquire_owned`, `release`, `get_permits`, and `capacity` are never used [INFO] [stdout] --> examples/common/capacity_gate.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl CapacityGate { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn acquire(&self) -> impl Future> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn acquire_owned(self: Arc) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn release(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_permits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> tests/security_plain.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(Ok(event)) => { [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(Ok(_)) => {}, // Ignore other events [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/security_plain.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | let mut monitor = client.monitor_default().await?; [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] --> tests/security_plain.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok((client_socket, mut client_monitor)) = client_setup_result { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_TIMEOUT` is never used [INFO] [stdout] --> tests/security_plain.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const TEST_TIMEOUT: Duration = Duration::from_secs(5); // Timeout for async test operations [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:330:3 [INFO] [stdout] | [INFO] [stdout] 330 | / tokio::time::timeout(SHUTDOWN_TIMEOUT, ctx.term()) [INFO] [stdout] 331 | | .await [INFO] [stdout] 332 | | .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] 330 | let _ = tokio::time::timeout(SHUTDOWN_TIMEOUT, ctx.term()) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_connections` [INFO] [stdout] --> tests/shutdown_race.rs:611:7 [INFO] [stdout] | [INFO] [stdout] 611 | let expected_connections = Arc::new(tokio::sync::Semaphore::new(TCP_NUM_PUSHERS)); // To count connections [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_connections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PULLERS` is never used [INFO] [stdout] --> tests/shutdown_race.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const NUM_PULLERS: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TCP_NUM_PULLERS` is never used [INFO] [stdout] --> tests/shutdown_race.rs:546:7 [INFO] [stdout] | [INFO] [stdout] 546 | const TCP_NUM_PULLERS: usize = 1; // Must be 1 for TCP bind [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/shutdown_race.rs:486:3 [INFO] [stdout] | [INFO] [stdout] 486 | pull_socket.close().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 486 | let _ = pull_socket.close().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/shutdown_race.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | sck.close().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 488 | let _ = sck.close().await; [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:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | 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] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/req_rep.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> tests/router_router.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, MsgFlags, SocketType, ZmqError, socket::options::ROUTING_ID}; [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/inproc_minimal.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rzmq::{Context, Msg, SocketType, ZmqError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/router_router.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const LONG_TIMEOUT: Duration = Duration::from_secs(2); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/req_rep.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const SHORT_TIMEOUT: Duration = Duration::from_millis(200); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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_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: unused import: `Context` [INFO] [stdout] --> tests/req_router.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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/req_router.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SHORT_TIMEOUT: Duration = Duration::from_millis(200); [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: `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: 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] [stderr] error: could not compile `rzmq` (test "shutdown_race"); 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8da20828b6ea601dfd8e2448cb50ace88876bd78/bin/rustc --crate-name shutdown_race --edition=2024 tests/shutdown_race.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"' --cfg 'feature="plain"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_external_clients", "curve", "default", "full", "full-linux", "inproc", "io-uring", "ipc", "noise_xx", "plain"))' -C metadata=7377674d3047d09d -C extra-filename=-e5955774c1f342e4 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-7e5dcd40304f6dad.rlib --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-10a8e25125184eb8.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c253683946cecbd3.so --extern atomic_float=/opt/rustwide/target/debug/deps/libatomic_float-d17183dea4ae88d9.rlib --extern bench_matrix=/opt/rustwide/target/debug/deps/libbench_matrix-c54539ff581136b3.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-443c99b827427271.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-752d6eacdc0bb513.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-26b13bef3a25aea6.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-e94f4b08ad944e46.rlib --extern fibre=/opt/rustwide/target/debug/deps/libfibre-0f7727724e53ec0e.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-0078695aead4d641.rlib --extern futures_intrusive=/opt/rustwide/target/debug/deps/libfutures_intrusive-58c21acaec87b3cf.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-0ae50395762272e0.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-b6d032f40c4e1dd9.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-cf398f63e9668d2c.rlib --extern rzmq=/opt/rustwide/target/debug/deps/librzmq-dd82a591d8f978e2.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-c881dccdc7c10c48.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a9cfc005d171b73c.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-e720aa68c8ef24a1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0c023f6e7c2f8088.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-429968785ab9d8b8.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-062b2270f192e5fc.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-7e12af25c63a1edb.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b0c4d292fa66269b.rlib --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-36c98e1e0ab441af.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-fd53fbec7e962863/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rzmq` (example "dealrtr_multitask"); 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8da20828b6ea601dfd8e2448cb50ace88876bd78/bin/rustc --crate-name dealrtr_multitask --edition=2024 examples/dealrtr_multitask.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="inproc"' --cfg 'feature="ipc"' --cfg 'feature="plain"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_external_clients", "curve", "default", "full", "full-linux", "inproc", "io-uring", "ipc", "noise_xx", "plain"))' -C metadata=ca176fb3e4cb17f5 -C extra-filename=-a1b1ccd278c2d760 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-7e5dcd40304f6dad.rlib --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-10a8e25125184eb8.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c253683946cecbd3.so --extern atomic_float=/opt/rustwide/target/debug/deps/libatomic_float-d17183dea4ae88d9.rlib --extern bench_matrix=/opt/rustwide/target/debug/deps/libbench_matrix-c54539ff581136b3.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-443c99b827427271.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-752d6eacdc0bb513.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-26b13bef3a25aea6.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-e94f4b08ad944e46.rlib --extern fibre=/opt/rustwide/target/debug/deps/libfibre-0f7727724e53ec0e.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-0078695aead4d641.rlib --extern futures_intrusive=/opt/rustwide/target/debug/deps/libfutures_intrusive-58c21acaec87b3cf.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-0ae50395762272e0.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-b6d032f40c4e1dd9.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-cf398f63e9668d2c.rlib --extern rzmq=/opt/rustwide/target/debug/deps/librzmq-dd82a591d8f978e2.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-c881dccdc7c10c48.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a9cfc005d171b73c.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-e720aa68c8ef24a1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0c023f6e7c2f8088.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-429968785ab9d8b8.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-062b2270f192e5fc.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-7e12af25c63a1edb.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b0c4d292fa66269b.rlib --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-36c98e1e0ab441af.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-fd53fbec7e962863/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `rzmq` (example "dealrtr_multiclient"); 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8da20828b6ea601dfd8e2448cb50ace88876bd78/bin/rustc --crate-name dealrtr_multiclient --edition=2024 examples/dealrtr_multiclient.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="inproc"' --cfg 'feature="ipc"' --cfg 'feature="plain"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_external_clients", "curve", "default", "full", "full-linux", "inproc", "io-uring", "ipc", "noise_xx", "plain"))' -C metadata=b7a958269bf665c9 -C extra-filename=-25469a5a0b6d14d4 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-7e5dcd40304f6dad.rlib --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-10a8e25125184eb8.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c253683946cecbd3.so --extern atomic_float=/opt/rustwide/target/debug/deps/libatomic_float-d17183dea4ae88d9.rlib --extern bench_matrix=/opt/rustwide/target/debug/deps/libbench_matrix-c54539ff581136b3.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-443c99b827427271.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-752d6eacdc0bb513.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-26b13bef3a25aea6.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-e94f4b08ad944e46.rlib --extern fibre=/opt/rustwide/target/debug/deps/libfibre-0f7727724e53ec0e.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-0078695aead4d641.rlib --extern futures_intrusive=/opt/rustwide/target/debug/deps/libfutures_intrusive-58c21acaec87b3cf.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-0ae50395762272e0.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-b6d032f40c4e1dd9.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-cf398f63e9668d2c.rlib --extern rzmq=/opt/rustwide/target/debug/deps/librzmq-dd82a591d8f978e2.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-c881dccdc7c10c48.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a9cfc005d171b73c.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-e720aa68c8ef24a1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0c023f6e7c2f8088.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-429968785ab9d8b8.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-062b2270f192e5fc.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-7e12af25c63a1edb.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b0c4d292fa66269b.rlib --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-36c98e1e0ab441af.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-fd53fbec7e962863/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `rzmq` (test "lifecycle") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8da20828b6ea601dfd8e2448cb50ace88876bd78/bin/rustc --crate-name lifecycle --edition=2024 tests/lifecycle.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"' --cfg 'feature="plain"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_external_clients", "curve", "default", "full", "full-linux", "inproc", "io-uring", "ipc", "noise_xx", "plain"))' -C metadata=5e6fc01bd4e159b3 -C extra-filename=-2f7ff9f86a1c737d --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-7e5dcd40304f6dad.rlib --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-10a8e25125184eb8.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c253683946cecbd3.so --extern atomic_float=/opt/rustwide/target/debug/deps/libatomic_float-d17183dea4ae88d9.rlib --extern bench_matrix=/opt/rustwide/target/debug/deps/libbench_matrix-c54539ff581136b3.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-443c99b827427271.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-752d6eacdc0bb513.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-26b13bef3a25aea6.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-e94f4b08ad944e46.rlib --extern fibre=/opt/rustwide/target/debug/deps/libfibre-0f7727724e53ec0e.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-0078695aead4d641.rlib --extern futures_intrusive=/opt/rustwide/target/debug/deps/libfutures_intrusive-58c21acaec87b3cf.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-0ae50395762272e0.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-b6d032f40c4e1dd9.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-cf398f63e9668d2c.rlib --extern rzmq=/opt/rustwide/target/debug/deps/librzmq-dd82a591d8f978e2.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-c881dccdc7c10c48.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a9cfc005d171b73c.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-e720aa68c8ef24a1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0c023f6e7c2f8088.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-429968785ab9d8b8.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-062b2270f192e5fc.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-7e12af25c63a1edb.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b0c4d292fa66269b.rlib --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-36c98e1e0ab441af.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-fd53fbec7e962863/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `rzmq` (test "security_plain"); 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8da20828b6ea601dfd8e2448cb50ace88876bd78/bin/rustc --crate-name security_plain --edition=2024 tests/security_plain.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"' --cfg 'feature="plain"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_external_clients", "curve", "default", "full", "full-linux", "inproc", "io-uring", "ipc", "noise_xx", "plain"))' -C metadata=7855353963f43c9b -C extra-filename=-f828194b78fc2a02 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-7e5dcd40304f6dad.rlib --extern async_recursion=/opt/rustwide/target/debug/deps/libasync_recursion-10a8e25125184eb8.so --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c253683946cecbd3.so --extern atomic_float=/opt/rustwide/target/debug/deps/libatomic_float-d17183dea4ae88d9.rlib --extern bench_matrix=/opt/rustwide/target/debug/deps/libbench_matrix-c54539ff581136b3.rlib --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-443c99b827427271.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-752d6eacdc0bb513.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-26b13bef3a25aea6.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-e94f4b08ad944e46.rlib --extern fibre=/opt/rustwide/target/debug/deps/libfibre-0f7727724e53ec0e.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-0078695aead4d641.rlib --extern futures_intrusive=/opt/rustwide/target/debug/deps/libfutures_intrusive-58c21acaec87b3cf.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-0ae50395762272e0.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-b6d032f40c4e1dd9.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-cf398f63e9668d2c.rlib --extern rzmq=/opt/rustwide/target/debug/deps/librzmq-dd82a591d8f978e2.rlib --extern serial_test=/opt/rustwide/target/debug/deps/libserial_test-c881dccdc7c10c48.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a9cfc005d171b73c.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-e720aa68c8ef24a1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0c023f6e7c2f8088.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-429968785ab9d8b8.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-062b2270f192e5fc.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-7e12af25c63a1edb.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b0c4d292fa66269b.rlib --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-36c98e1e0ab441af.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-fd53fbec7e962863/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "2f250948c52288913de0a09a29c05ed456e105b45c66b9bf103eb72ec77075e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f250948c52288913de0a09a29c05ed456e105b45c66b9bf103eb72ec77075e7", kill_on_drop: false }` [INFO] [stdout] 2f250948c52288913de0a09a29c05ed456e105b45c66b9bf103eb72ec77075e7