[INFO] cloning repository https://github.com/Migorithm/duva [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Migorithm/duva" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMigorithm%2Fduva", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMigorithm%2Fduva'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a18a205f1bd5d1268b11fcbd379f4f481a3245ad [INFO] checking Migorithm/duva against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMigorithm%2Fduva" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Migorithm/duva on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Migorithm/duva [INFO] finished tweaking git repo https://github.com/Migorithm/duva [INFO] tweaked toml for git repo https://github.com/Migorithm/duva written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Migorithm/duva 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcfa1cac1a9f802c7f9cf101a3ebf6c0c22fbe32e2760ed8ee6231e1aa9051c0 [INFO] running `Command { std: "docker" "start" "-a" "bcfa1cac1a9f802c7f9cf101a3ebf6c0c22fbe32e2760ed8ee6231e1aa9051c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcfa1cac1a9f802c7f9cf101a3ebf6c0c22fbe32e2760ed8ee6231e1aa9051c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfa1cac1a9f802c7f9cf101a3ebf6c0c22fbe32e2760ed8ee6231e1aa9051c0", kill_on_drop: false }` [INFO] [stdout] bcfa1cac1a9f802c7f9cf101a3ebf6c0c22fbe32e2760ed8ee6231e1aa9051c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23452ac3e5fddf06c2d2ecf3be0b5075c14a129a785e887469da350867c42aeb [INFO] running `Command { std: "docker" "start" "-a" "23452ac3e5fddf06c2d2ecf3be0b5075c14a129a785e887469da350867c42aeb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `services::cluster::actor::ClusterActor` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use services::cluster::actor::ClusterActor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `services::cluster::actor::ClusterActor` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use services::cluster::actor::ClusterActor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_stream` [INFO] [stdout] --> src/services/cluster/manager.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peer_stream = OutboundStream(TcpStream::connect(peer).await?); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/cluster/manager.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peer_stream = OutboundStream(TcpStream::connect(peer).await?); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repl_id` [INFO] [stdout] --> src/services/cluster/outbound_stream.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | ConnectionResponse::FULLRESYNC { repl_id, offset } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `repl_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/services/cluster/outbound_stream.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | ConnectionResponse::FULLRESYNC { repl_id, offset } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/services/cluster/actor.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | ClusterWriteCommand::Replicate { query } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `query: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_stream` [INFO] [stdout] --> src/services/cluster/manager.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peer_stream = OutboundStream(TcpStream::connect(peer).await?); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/cluster/manager.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut peer_stream = OutboundStream(TcpStream::connect(peer).await?); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repl_id` [INFO] [stdout] --> src/services/cluster/outbound_stream.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | ConnectionResponse::FULLRESYNC { repl_id, offset } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `repl_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/services/cluster/outbound_stream.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 28 | ConnectionResponse::FULLRESYNC { repl_id, offset } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/services/cluster/actor.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 72 | ClusterWriteCommand::Replicate { query } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `query: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notifier` [INFO] [stdout] --> src/services/config/actor.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let notifier = notifier; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster_handler` is never read [INFO] [stdout] --> src/services/cluster/actor.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct PeerListener { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 113 | connected: ClusterReadConnected, [INFO] [stdout] 114 | cluster_handler: Sender, // cluster_handler is used to send messages to the cluster actor [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `metadata`, and `checksum` are never read [INFO] [stdout] --> src/services/statefuls/persist/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DumpFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | pub(crate) header: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub(crate) metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub(crate) database: Vec, [INFO] [stdout] 12 | pub(crate) checksum: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DumpFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/services/cluster/actor.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | self.remove_peer(peer_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notifier` [INFO] [stdout] --> src/services/config/actor.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let notifier = notifier; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cluster_handler` is never read [INFO] [stdout] --> src/services/cluster/actor.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct PeerListener { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 113 | connected: ClusterReadConnected, [INFO] [stdout] 114 | cluster_handler: Sender, // cluster_handler is used to send messages to the cluster actor [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/services/statefuls/persist/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DumpFile { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | pub(crate) header: String, [INFO] [stdout] 10 | pub(crate) metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DumpFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/services/cluster/actor.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | self.remove_peer(peer_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClusterActor` and `PeerAddr` [INFO] [stdout] --> tests/common.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_starter_rust::services::cluster::actor::{ClusterActor, PeerAddr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> tests/common.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn array(arr: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replica_cluster_addr` [INFO] [stdout] --> tests/test_heartbeat_broadcasting.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let replica_cluster_addr = format!("127.0.0.1:{}", replica_server_cluster_port); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replica_cluster_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> tests/common.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TestStreamHandler<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 18 | pub read: ReadHalf<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub write: WriteHalf<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `get_response` are never used [INFO] [stdout] --> tests/common.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TestStreamHandler<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 29 | pub async fn send(&mut self, operation: &[u8]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn get_response(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn init_config_manager_with_free_port() -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> tests/common.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn array(arr: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> tests/common.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TestStreamHandler<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 18 | pub read: ReadHalf<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub write: WriteHalf<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `get_response` are never used [INFO] [stdout] --> tests/common.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TestStreamHandler<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 29 | pub async fn send(&mut self, operation: &[u8]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn get_response(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn init_config_manager_with_free_port() -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server_process` is never used [INFO] [stdout] --> tests/common.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn run_server_process(port: u16, replicaof: Option) -> TestProcessChild { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_message` is never used [INFO] [stdout] --> tests/common.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn wait_for_message(read: T, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> tests/common.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn array(arr: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn init_config_manager_with_free_port() -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> tests/common.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn array(arr: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `read` and `write` are never read [INFO] [stdout] --> tests/common.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TestStreamHandler<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 18 | pub read: ReadHalf<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub write: WriteHalf<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `get_response` are never used [INFO] [stdout] --> tests/common.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TestStreamHandler<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 29 | pub async fn send(&mut self, operation: &[u8]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn get_response(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn init_config_manager_with_free_port() -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_slave_config_manager_with_free_port` is never used [INFO] [stdout] --> tests/common.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn init_slave_config_manager_with_free_port(master_port: u16) -> ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_test_server` is never used [INFO] [stdout] --> tests/common.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn start_test_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array` is never used [INFO] [stdout] --> tests/common.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn array(arr: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `threeway_handshake_helper` is never used [INFO] [stdout] --> tests/common.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn threeway_handshake_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.14s [INFO] running `Command { std: "docker" "inspect" "23452ac3e5fddf06c2d2ecf3be0b5075c14a129a785e887469da350867c42aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23452ac3e5fddf06c2d2ecf3be0b5075c14a129a785e887469da350867c42aeb", kill_on_drop: false }` [INFO] [stdout] 23452ac3e5fddf06c2d2ecf3be0b5075c14a129a785e887469da350867c42aeb