[INFO] cloning repository https://github.com/Gabulhas/swim-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gabulhas/swim-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabulhas%2Fswim-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabulhas%2Fswim-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fee067ea1d057027e25e49c863cc67258930b1bb
[INFO] checking Gabulhas/swim-rust against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabulhas%2Fswim-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Gabulhas/swim-rust
[INFO] finished tweaking git repo https://github.com/Gabulhas/swim-rust
[INFO] tweaked toml for git repo https://github.com/Gabulhas/swim-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gabulhas/swim-rust on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gabulhas/swim-rust 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30
[INFO] running `Command { std: "docker" "start" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]     Checking futures-sink v0.3.34
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking futures-channel v0.3.34
[INFO] [stderr]     Checking futures-io v0.3.34
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking clap_builder v4.6.6
[INFO] [stderr]     Checking thread_local v1.1.10
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling clap_derive v4.6.4
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking clap v4.6.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking futures-executor v0.3.34
[INFO] [stderr]     Checking futures v0.3.34
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking swim-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::message_types::SentMessage`
[INFO] [stdout]  --> src/peer_list.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::message_types::{Message, SentMessage};
[INFO] [stdout]   |                                     ^^^^^^^^^^^ no `SentMessage` in `message_types`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::message_types::SentMessage`
[INFO] [stdout]  --> src/peer_list.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::message_types::{Message, SentMessage};
[INFO] [stdout]   |                                     ^^^^^^^^^^^ no `SentMessage` in `message_types`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peer` in this scope
[INFO] [stdout]    --> src/failure_detection.rs:116:38
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peer` in this scope
[INFO] [stdout]    --> src/failure_detection.rs:116:38
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gossip_type` in this scope
[INFO] [stdout]    --> src/failure_detection.rs:116:44
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `gossip_type` in this scope
[INFO] [stdout]    --> src/failure_detection.rs:116:44
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     |                                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peer_incarnation_number` in this scope
[INFO] [stdout]    --> src/failure_detection.rs:116:57
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peer_incarnation_number` in this scope
[INFO] [stdout]    --> src/failure_detection.rs:116:57
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array` and `sync::Arc`
[INFO] [stdout]  --> src/connection.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{array, net::SocketAddr, sync::Arc};
[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: `array` and `sync::Arc`
[INFO] [stdout]  --> src/connection.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{array, net::SocketAddr, sync::Arc};
[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: `self`
[INFO] [stdout]  --> src/dispatcher.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::sync::mpsc::{self, Receiver, Sender};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/dispatcher.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     gossip_buffer::{self, GossipBuffer},
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FuturesUnordered`
[INFO] [stdout]  --> src/failure_detection.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::stream::{FuturesUnordered, StreamExt};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oneshot` and `time::sleep`
[INFO] [stdout]   --> src/failure_detection.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |     sync::{Mutex, mpsc::Receiver, oneshot},
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 11 |     time::sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, and `warn`
[INFO] [stdout]   --> src/failure_detection.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tracing::{error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReceivedMessage`, `self`, and `self`
[INFO] [stdout]   --> src/failure_detection.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 |     connection::{ConnectionHandler, ReceivedMessage},
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     gossip_buffer::{self, GossipBuffer},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 18 |     message_types::{FailureDetectionMessage, Message, MessageType},
[INFO] [stdout] 19 |     peer_list::{self, PeerFailureCheckState, PeerList},
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ConnectionError`
[INFO] [stdout]  --> src/message_types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ConnectionError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> src/message_types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ConnectionError`
[INFO] [stdout]  --> src/peer_list.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::errors::ConnectionError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/peer_list.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::message_types::{Message, SentMessage};
[INFO] [stdout]   |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/peer_list.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::{RwLock, oneshot};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/dispatcher.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::sync::mpsc::{self, Receiver, Sender};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/dispatcher.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 |     gossip_buffer::{self, GossipBuffer},
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FuturesUnordered`
[INFO] [stdout]  --> src/failure_detection.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::stream::{FuturesUnordered, StreamExt};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oneshot` and `time::sleep`
[INFO] [stdout]   --> src/failure_detection.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |     sync::{Mutex, mpsc::Receiver, oneshot},
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 11 |     time::sleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, and `warn`
[INFO] [stdout]   --> src/failure_detection.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tracing::{error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReceivedMessage`, `self`, and `self`
[INFO] [stdout]   --> src/failure_detection.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 |     connection::{ConnectionHandler, ReceivedMessage},
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     gossip_buffer::{self, GossipBuffer},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 18 |     message_types::{FailureDetectionMessage, Message, MessageType},
[INFO] [stdout] 19 |     peer_list::{self, PeerFailureCheckState, PeerList},
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ConnectionError`
[INFO] [stdout]  --> src/message_types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ConnectionError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> src/message_types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ConnectionError`
[INFO] [stdout]  --> src/peer_list.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::errors::ConnectionError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/peer_list.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::message_types::{Message, SentMessage};
[INFO] [stdout]   |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/peer_list.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::{RwLock, oneshot};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dispatcher.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout]  32 |                 .send(message.content.failure_detection)
[INFO] [stdout]     |                  ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `((u64, MessageType), String)`, found `(u64, MessageType)`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `((u64, MessageType), std::string::String)`
[INFO] [stdout]                found tuple `(u64, MessageType)`
[INFO] [stdout] help: the return type of this call is `(u64, MessageType)` due to the type of the argument passed
[INFO] [stdout]    --> src/dispatcher.rs:31:13
[INFO] [stdout]     |
[INFO] [stdout]  31 | /             fd_incoming_messages_rx
[INFO] [stdout]  32 | |                 .send(message.content.failure_detection)
[INFO] [stdout]     | |_______________________---------------------------------^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this argument influences the return type of `send`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.53.1/src/sync/mpsc/bounded.rs:816:18
[INFO] [stdout]     |
[INFO] [stdout] 816 |     pub async fn send(&self, value: T) -> Result<(), SendError<T>> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/dispatcher.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout]  32 |                 .send(message.content.failure_detection)
[INFO] [stdout]     |                  ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `((u64, MessageType), String)`, found `(u64, MessageType)`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `((u64, MessageType), std::string::String)`
[INFO] [stdout]                found tuple `(u64, MessageType)`
[INFO] [stdout] help: the return type of this call is `(u64, MessageType)` due to the type of the argument passed
[INFO] [stdout]    --> src/dispatcher.rs:31:13
[INFO] [stdout]     |
[INFO] [stdout]  31 | /             fd_incoming_messages_rx
[INFO] [stdout]  32 | |                 .send(message.content.failure_detection)
[INFO] [stdout]     | |_______________________---------------------------------^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         this argument influences the return type of `send`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.53.1/src/sync/mpsc/bounded.rs:816:18
[INFO] [stdout]     |
[INFO] [stdout] 816 |     pub async fn send(&self, value: T) -> Result<(), SendError<T>> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/failure_detection.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 109 | /          if let Some(info) = self.pending_acks.lock().await.remove(&ping_id) {
[INFO] [stdout] 110 | |              // mark the peer as suspect
[INFO] [stdout] 111 | |              self.peer_list
[INFO] [stdout] 112 | |                  .mark_peer(&info.peer, PeerFailureCheckState::Suspect)
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |/             self.gossip_buffer
[INFO] [stdout] 116 | ||                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     | ||________________________________________________________________________________^ expected `()`, found future
[INFO] [stdout] 117 | |              // start timer to kill the peer
[INFO] [stdout] 118 | |          }
[INFO] [stdout]     | |__________- `if` expressions without `else` arms expect their inner expression to be `()`
[INFO] [stdout]     |
[INFO] [stdout] note: calling an async function returns a future
[INFO] [stdout]    --> src/failure_detection.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 | /             self.gossip_buffer
[INFO] [stdout] 116 | |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     | |________________________________________________________________________________^
[INFO] [stdout] help: consider `await`ing on the `Future`
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number).await
[INFO] [stdout]     |                                                                                 ++++++
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number);
[INFO] [stdout]     |                                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_peers` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:130:58
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let peers: Vec<String> = self.connection_handler.get_peers().await.unwrap();
[INFO] [stdout]     |                                                          ^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `get_peers` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/failure_detection.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 109 | /          if let Some(info) = self.pending_acks.lock().await.remove(&ping_id) {
[INFO] [stdout] 110 | |              // mark the peer as suspect
[INFO] [stdout] 111 | |              self.peer_list
[INFO] [stdout] 112 | |                  .mark_peer(&info.peer, PeerFailureCheckState::Suspect)
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |/             self.gossip_buffer
[INFO] [stdout] 116 | ||                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     | ||________________________________________________________________________________^ expected `()`, found future
[INFO] [stdout] 117 | |              // start timer to kill the peer
[INFO] [stdout] 118 | |          }
[INFO] [stdout]     | |__________- `if` expressions without `else` arms expect their inner expression to be `()`
[INFO] [stdout]     |
[INFO] [stdout] note: calling an async function returns a future
[INFO] [stdout]    --> src/failure_detection.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 | /             self.gossip_buffer
[INFO] [stdout] 116 | |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number)
[INFO] [stdout]     | |________________________________________________________________________________^
[INFO] [stdout] help: consider `await`ing on the `Future`
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number).await
[INFO] [stdout]     |                                                                                 ++++++
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 .new_original_gossip(peer, gossip_type, peer_incarnation_number);
[INFO] [stdout]     |                                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_peers` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:139:58
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let peers: Vec<String> = self.connection_handler.get_peers().await.unwrap();
[INFO] [stdout]     |                                                          ^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `get_peers` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         match self
[INFO] [stdout] 163 |             .connection_handler
[INFO] [stdout] 164 |             .send_message(peer.to_string(), Message::Ping(ping_id))
[INFO] [stdout]     |              ^^^^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `send_message` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Ping` found for struct `Message` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:164:54
[INFO] [stdout]     |
[INFO] [stdout] 164 |             .send_message(peer.to_string(), Message::Ping(ping_id))
[INFO] [stdout]     |                                                      ^^^^ associated function or constant not found in `Message`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/message_types.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub struct Message {
[INFO] [stdout]     | ------------------ associated function or constant `Ping` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_peers` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:130:58
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let peers: Vec<String> = self.connection_handler.get_peers().await.unwrap();
[INFO] [stdout]     |                                                          ^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `get_peers` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 173 |         match self
[INFO] [stdout] 174 |             .connection_handler
[INFO] [stdout] 175 |             .send_message(
[INFO] [stdout]     |              ^^^^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `send_message` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `IndirectProbeRequest` found for struct `Message` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:177:26
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 Message::IndirectProbeRequest(probe_id, unresponsive_peer.to_string()),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `Message`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/message_types.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub struct Message {
[INFO] [stdout]     | ------------------ associated function or constant `IndirectProbeRequest` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GossipType`
[INFO] [stdout]   --> src/gossip_buffer.rs:63:38
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     if previous_type == GossipType::Suspect
[INFO] [stdout]    |                        ------------- ^^ ------------------- GossipType
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        GossipType
[INFO] [stdout]    |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `GossipType`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum GossipType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `GossipType` with `#[derive(PartialEq)]`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(PartialEq)]
[INFO] [stdout] 22 | pub enum GossipType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GossipType`
[INFO] [stdout]   --> src/gossip_buffer.rs:68:38
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     if previous_type == GossipType::Suspect
[INFO] [stdout]    |                        ------------- ^^ ------------------- GossipType
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        GossipType
[INFO] [stdout]    |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `GossipType`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum GossipType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `GossipType` with `#[derive(PartialEq)]`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(PartialEq)]
[INFO] [stdout] 22 | pub enum GossipType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]   --> src/gossip_buffer.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         if let Some(previous) = lock.get(&peer) {
[INFO] [stdout] 59 | |             let previous_inc_number = previous.gossip.incarnation_number;
[INFO] [stdout] 60 | |             let previous_type = previous.gossip.gossip_type;
[INFO] [stdout] 61 | |             match new_gossip_type {
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             return false;
[INFO] [stdout] 76 | |         }
[INFO] [stdout]    | |_________^ expected `bool`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]    = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_peers` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:139:58
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let peers: Vec<String> = self.connection_handler.get_peers().await.unwrap();
[INFO] [stdout]     |                                                          ^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `get_peers` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/dispatcher.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         tokio::spawn(Self::start_route(
[INFO] [stdout]    |                      ----------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 20 |             fd_incoming_messages_rx,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Sender<((u64, MessageType), String)>`, found `Sender<(u64, MessageType)>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Sender<((u64, MessageType), std::string::String)>`
[INFO] [stdout]               found struct `Sender<(u64, MessageType)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/dispatcher.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |     async fn start_route(
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |         fd_incoming_messages_rx: Sender<(FailureDetectionMessage, String)>,
[INFO] [stdout]    |         ------------------------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         match self
[INFO] [stdout] 163 |             .connection_handler
[INFO] [stdout] 164 |             .send_message(peer.to_string(), Message::Ping(ping_id))
[INFO] [stdout]     |              ^^^^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `send_message` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Ping` found for struct `Message` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:164:54
[INFO] [stdout]     |
[INFO] [stdout] 164 |             .send_message(peer.to_string(), Message::Ping(ping_id))
[INFO] [stdout]     |                                                      ^^^^ associated function or constant not found in `Message`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/message_types.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub struct Message {
[INFO] [stdout]     | ------------------ associated function or constant `Ping` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sleep_duration`
[INFO] [stdout]    --> src/failure_detection.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let sleep_duration = Duration::from_millis(self.check_timer);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sleep_duration`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_tick`
[INFO] [stdout]    --> src/failure_detection.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let current_tick = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_tick`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_handler`
[INFO] [stdout]   --> src/failure_detection.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         connection_handler: ConnectionHandler,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/failure_detection.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |         while let Some(((id, message_type), peer)) = fd_rx.recv().await {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_checked`
[INFO] [stdout]   --> src/failure_detection.rs:92:49
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 MessageType::IndirectProbeReply(peer_checked, is_alive) => {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_checked`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_gossips`
[INFO] [stdout]   --> src/gossip_buffer.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn merge_gossips(&self, new_gossips: Vec<Gossip>) {}
[INFO] [stdout]    |                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_gossips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_gossip`
[INFO] [stdout]   --> src/gossip_buffer.rs:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub async fn merge_gossip(&self, new_gossip: BufferedGossip) {}
[INFO] [stdout]    |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_gossip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for struct `ConnectionHandler` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 173 |         match self
[INFO] [stdout] 174 |             .connection_handler
[INFO] [stdout] 175 |             .send_message(
[INFO] [stdout]     |              ^^^^^^^^^^^^ method not found in `ConnectionHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/connection.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | pub struct ConnectionHandler {}
[INFO] [stdout]     | ---------------------------- method `send_message` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `IndirectProbeRequest` found for struct `Message` in the current scope
[INFO] [stdout]    --> src/failure_detection.rs:177:26
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 Message::IndirectProbeRequest(probe_id, unresponsive_peer.to_string()),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `Message`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/message_types.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub struct Message {
[INFO] [stdout]     | ------------------ associated function or constant `IndirectProbeRequest` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GossipType`
[INFO] [stdout]   --> src/gossip_buffer.rs:63:38
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     if previous_type == GossipType::Suspect
[INFO] [stdout]    |                        ------------- ^^ ------------------- GossipType
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        GossipType
[INFO] [stdout]    |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `GossipType`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum GossipType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `GossipType` with `#[derive(PartialEq)]`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(PartialEq)]
[INFO] [stdout] 22 | pub enum GossipType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GossipType`
[INFO] [stdout]   --> src/gossip_buffer.rs:68:38
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     if previous_type == GossipType::Suspect
[INFO] [stdout]    |                        ------------- ^^ ------------------- GossipType
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        GossipType
[INFO] [stdout]    |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `GossipType`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum GossipType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `GossipType` with `#[derive(PartialEq)]`
[INFO] [stdout]   --> src/message_types.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 + #[derive(PartialEq)]
[INFO] [stdout] 22 | pub enum GossipType {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0317]: `if` may be missing an `else` clause
[INFO] [stdout]   --> src/gossip_buffer.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 | /         if let Some(previous) = lock.get(&peer) {
[INFO] [stdout] 59 | |             let previous_inc_number = previous.gossip.incarnation_number;
[INFO] [stdout] 60 | |             let previous_type = previous.gossip.gossip_type;
[INFO] [stdout] 61 | |             match new_gossip_type {
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             return false;
[INFO] [stdout] 76 | |         }
[INFO] [stdout]    | |_________^ expected `bool`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `if` expressions without `else` evaluate to `()`
[INFO] [stdout]    = help: consider adding an `else` block that evaluates to the expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/dispatcher.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         tokio::spawn(Self::start_route(
[INFO] [stdout]    |                      ----------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 20 |             fd_incoming_messages_rx,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Sender<((u64, MessageType), String)>`, found `Sender<(u64, MessageType)>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Sender<((u64, MessageType), std::string::String)>`
[INFO] [stdout]               found struct `Sender<(u64, MessageType)>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/dispatcher.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |     async fn start_route(
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |         fd_incoming_messages_rx: Sender<(FailureDetectionMessage, String)>,
[INFO] [stdout]    |         ------------------------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `incoming_ch_rx`
[INFO] [stdout]   --> src/main.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let (incoming_ch_rx, outgoing_ch_tx) = ConnectionHandler::new(node_address);
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_ch_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outgoing_ch_tx`
[INFO] [stdout]   --> src/main.rs:51:26
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let (incoming_ch_rx, outgoing_ch_tx) = ConnectionHandler::new(node_address);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_ch_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0317, E0369, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `swim-rust` (bin "swim-rust" test) due to 16 previous errors; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `sleep_duration`
[INFO] [stdout]    --> src/failure_detection.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let sleep_duration = Duration::from_millis(self.check_timer);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sleep_duration`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_tick`
[INFO] [stdout]    --> src/failure_detection.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let current_tick = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_tick`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_handler`
[INFO] [stdout]   --> src/failure_detection.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         connection_handler: ConnectionHandler,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]   --> src/failure_detection.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 |         while let Some(((id, message_type), peer)) = fd_rx.recv().await {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer_checked`
[INFO] [stdout]   --> src/failure_detection.rs:92:49
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 MessageType::IndirectProbeReply(peer_checked, is_alive) => {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_checked`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_gossips`
[INFO] [stdout]   --> src/gossip_buffer.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn merge_gossips(&self, new_gossips: Vec<Gossip>) {}
[INFO] [stdout]    |                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_gossips`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_gossip`
[INFO] [stdout]   --> src/gossip_buffer.rs:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub async fn merge_gossip(&self, new_gossip: BufferedGossip) {}
[INFO] [stdout]    |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_gossip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `incoming_ch_rx`
[INFO] [stdout]   --> src/main.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let (incoming_ch_rx, outgoing_ch_tx) = ConnectionHandler::new(node_address);
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_ch_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outgoing_ch_tx`
[INFO] [stdout]   --> src/main.rs:51:26
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let (incoming_ch_rx, outgoing_ch_tx) = ConnectionHandler::new(node_address);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_ch_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0317, E0369, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `swim-rust` (bin "swim-rust") due to 16 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30", kill_on_drop: false }`
[INFO] [stdout] 3ed209afa4665759259ccc2148dcf17a200eb0096d44004e51a5648d3d4acc30
