[INFO] cloning repository https://github.com/garrettkolson/pneumatic_core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garrettkolson/pneumatic_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarrettkolson%2Fpneumatic_core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarrettkolson%2Fpneumatic_core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 423f5b7b5ed109660c882ebe1e589f0865472a4a
[INFO] testing garrettkolson/pneumatic_core against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarrettkolson%2Fpneumatic_core" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/garrettkolson/pneumatic_core
[INFO] finished tweaking git repo https://github.com/garrettkolson/pneumatic_core
[INFO] tweaked toml for git repo https://github.com/garrettkolson/pneumatic_core written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/garrettkolson/pneumatic_core on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/garrettkolson/pneumatic_core 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded file-lock v2.1.11
[INFO] [stderr]   Downloaded uuid v1.9.1
[INFO] [stderr]   Downloaded bytes v1.6.1
[INFO] [stderr]   Downloaded generator v0.8.4
[INFO] [stderr]   Downloaded dashmap v7.0.0-rc2
[INFO] [stderr]   Downloaded moka v0.12.10
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70f5c7e10fafef4260d8dcf44d360dc55f3f77c454b5fea97622ddbe664da2b4
[INFO] running `Command { std: "docker" "start" "-a" "70f5c7e10fafef4260d8dcf44d360dc55f3f77c454b5fea97622ddbe664da2b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70f5c7e10fafef4260d8dcf44d360dc55f3f77c454b5fea97622ddbe664da2b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70f5c7e10fafef4260d8dcf44d360dc55f3f77c454b5fea97622ddbe664da2b4", kill_on_drop: false }`
[INFO] [stdout] 70f5c7e10fafef4260d8dcf44d360dc55f3f77c454b5fea97622ddbe664da2b4
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57a0c82df94fec6077390ebd9684a6e2afa3c3c9738c07081be6ff88a28802df
[INFO] running `Command { std: "docker" "start" "-a" "57a0c82df94fec6077390ebd9684a6e2afa3c3c9738c07081be6ff88a28802df", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling cc v1.2.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling moka v0.12.10
[INFO] [stderr]    Compiling bytes v1.6.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling strum v0.27.1
[INFO] [stderr]    Compiling uuid v1.9.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling dashmap v7.0.0-rc2
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling rmp v0.8.14
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling file-lock v2.1.11
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling rmp-serde v1.3.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling pneumatic_core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::conns::factories::IsConnFactory`
[INFO] [stdout]   --> src/node.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::conns::factories::IsConnFactory;
[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: `crate::conns::streams::Stream`
[INFO] [stdout]   --> src/node.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::conns::streams::Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr`
[INFO] [stdout]  --> src/conns/factories.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]  --> src/conns/senders.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{SocketAddr, TcpListener, TcpStream};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UnixListener`
[INFO] [stdout]  --> src/conns/senders.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::unix::net::{UnixListener, UnixStream};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Receiver`
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::sync::mpsc::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::IpAddr::V4`
[INFO] [stdout]  --> src/data.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::IpAddr::V4;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/data.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `moka::sync::Cache`
[INFO] [stdout]  --> src/data.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use moka::sync::Cache;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `OnceLock`, and `RwLock`
[INFO] [stdout]  --> src/data.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, OnceLock, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Category::Data`
[INFO] [stdout]  --> src/data.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::error::Category::Data;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind` and `Error`
[INFO] [stdout]  --> src/tokens.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Error, ErrorKind};
[INFO] [stdout]   |               ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/tokens.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::encoding::serialize_to_bytes_rmp`
[INFO] [stdout]  --> src/tokens.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::encoding::serialize_to_bytes_rmp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/blocks.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude`
[INFO] [stdout]  --> src/blocks.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{Utc, prelude::*};
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/conns.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `strum::IntoEnumIterator`
[INFO] [stdout]  --> src/node.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use strum::IntoEnumIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/conns.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/conns.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/conns.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `registration_batch`
[INFO] [stdout]    --> src/node/registry.rs:189:36
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_batch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns/listeners.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns/listeners.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns.rs:38:81
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn send_on_thread(cloned_data: Arc<RwLock<Vec<u8>>>, conn: Box<dyn Sender>, addr: SocketAddr)
[INFO] [stdout]    |                                                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conns.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let (mut reader, mut writer) = stream.into_split()?;
[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/config.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut environment_metadata = DashMap::new();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn encrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn decrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signature`
[INFO] [stdout]   --> src/crypto.rs:40:31
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn sign_data(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn hash(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/tokens.rs:113:24
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/tokens.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl NodeRegistryNode {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 78 |     fn new(ip: IpAddr, conn: Box<dyn Connection>) -> Self {
[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 `NodeRegistry` is never constructed
[INFO] [stdout]   --> src/node/registry.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NodeRegistry {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/node/registry.rs:28:11
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl NodeRegistry {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  28 |     const LISTENER_THREAD_COUNT: usize = 4;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  29 |
[INFO] [stdout]  30 |     pub fn init(config: Arc<Config>,
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn get_nodes(&self, node_type: &NodeRegistryType) -> Option<Nodes> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn node_is_already_registered(&self, key: &Vec<u8>, node_type: &NodeRegistryType) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     fn type_is_maxed_out(&self, node_type: &NodeRegistryType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn listen_for_conn_requests(registry: Arc<NodeRegistry>, this_func_type: &NodeRegistryType) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     async fn process_conn_request(&self, data: Vec<u8>, mut stream: Box<dyn Stream>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn register_connection(&self, conn: Box<dyn Connection>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn can_accept_this_connection(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn check_db_node_user(user_key: &Vec<u8>, environment_id: &str, min_stake: u64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn select_registration_node_type(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     fn can_select_this_type(&self, request: &NodeRegistryRequest, node_type: NodeRegistryType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn send_to_all(&self, data: Vec<u8>, node_type: &NodeRegistryType) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `listening_thread` is never read
[INFO] [stdout]   --> src/conns.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct TcpConnection {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 85 |     writer: Box<dyn StreamWriter>,
[INFO] [stdout] 86 |     listening_thread: tokio::task::JoinHandle<()>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEST_TIMEOUT` is never used
[INFO] [stdout]  --> src/conns/senders.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TEST_TIMEOUT: Duration = Duration::from_secs(5);
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `test_block` is never used
[INFO] [stdout]   --> src/blocks.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn test_block(prev_hash: Vec<u8>) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.14s
[INFO] running `Command { std: "docker" "inspect" "57a0c82df94fec6077390ebd9684a6e2afa3c3c9738c07081be6ff88a28802df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57a0c82df94fec6077390ebd9684a6e2afa3c3c9738c07081be6ff88a28802df", kill_on_drop: false }`
[INFO] [stdout] 57a0c82df94fec6077390ebd9684a6e2afa3c3c9738c07081be6ff88a28802df
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c06042d2bc7fa2a611c054ca276d07ac7c31e9974e2d3d0ce0bf01abf60b5df
[INFO] running `Command { std: "docker" "start" "-a" "8c06042d2bc7fa2a611c054ca276d07ac7c31e9974e2d3d0ce0bf01abf60b5df", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stdout] warning: unused import: `crate::conns::factories::IsConnFactory`
[INFO] [stdout]   --> src/node.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::conns::factories::IsConnFactory;
[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: `crate::conns::streams::Stream`
[INFO] [stdout]   --> src/node.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::conns::streams::Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr`
[INFO] [stdout]  --> src/conns/factories.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]  --> src/conns/senders.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{SocketAddr, TcpListener, TcpStream};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UnixListener`
[INFO] [stdout]  --> src/conns/senders.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::unix::net::{UnixListener, UnixStream};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Receiver`
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::sync::mpsc::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::IpAddr::V4`
[INFO] [stdout]  --> src/data.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::IpAddr::V4;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/data.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `moka::sync::Cache`
[INFO] [stdout]  --> src/data.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use moka::sync::Cache;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `OnceLock`, and `RwLock`
[INFO] [stdout]  --> src/data.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, OnceLock, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Category::Data`
[INFO] [stdout]  --> src/data.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::error::Category::Data;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind` and `Error`
[INFO] [stdout]  --> src/tokens.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Error, ErrorKind};
[INFO] [stdout]   |               ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/tokens.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::encoding::serialize_to_bytes_rmp`
[INFO] [stdout]  --> src/tokens.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::encoding::serialize_to_bytes_rmp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/blocks.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude`
[INFO] [stdout]  --> src/blocks.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{Utc, prelude::*};
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/conns.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `strum::IntoEnumIterator`
[INFO] [stdout]  --> src/node.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use strum::IntoEnumIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/conns.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/conns.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/conns.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `registration_batch`
[INFO] [stdout]    --> src/node/registry.rs:189:36
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_batch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns/listeners.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns/listeners.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns.rs:38:81
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn send_on_thread(cloned_data: Arc<RwLock<Vec<u8>>>, conn: Box<dyn Sender>, addr: SocketAddr)
[INFO] [stdout]    |                                                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conns.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let (mut reader, mut writer) = stream.into_split()?;
[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/config.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut environment_metadata = DashMap::new();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn encrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn decrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signature`
[INFO] [stdout]   --> src/crypto.rs:40:31
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn sign_data(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn hash(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/tokens.rs:113:24
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/tokens.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl NodeRegistryNode {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 78 |     fn new(ip: IpAddr, conn: Box<dyn Connection>) -> Self {
[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 `NodeRegistry` is never constructed
[INFO] [stdout]   --> src/node/registry.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NodeRegistry {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/node/registry.rs:28:11
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl NodeRegistry {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  28 |     const LISTENER_THREAD_COUNT: usize = 4;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  29 |
[INFO] [stdout]  30 |     pub fn init(config: Arc<Config>,
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn get_nodes(&self, node_type: &NodeRegistryType) -> Option<Nodes> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn node_is_already_registered(&self, key: &Vec<u8>, node_type: &NodeRegistryType) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     fn type_is_maxed_out(&self, node_type: &NodeRegistryType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn listen_for_conn_requests(registry: Arc<NodeRegistry>, this_func_type: &NodeRegistryType) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     async fn process_conn_request(&self, data: Vec<u8>, mut stream: Box<dyn Stream>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn register_connection(&self, conn: Box<dyn Connection>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn can_accept_this_connection(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn check_db_node_user(user_key: &Vec<u8>, environment_id: &str, min_stake: u64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn select_registration_node_type(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     fn can_select_this_type(&self, request: &NodeRegistryRequest, node_type: NodeRegistryType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn send_to_all(&self, data: Vec<u8>, node_type: &NodeRegistryType) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `listening_thread` is never read
[INFO] [stdout]   --> src/conns.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct TcpConnection {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 85 |     writer: Box<dyn StreamWriter>,
[INFO] [stdout] 86 |     listening_thread: tokio::task::JoinHandle<()>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEST_TIMEOUT` is never used
[INFO] [stdout]  --> src/conns/senders.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TEST_TIMEOUT: Duration = Duration::from_secs(5);
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `test_block` is never used
[INFO] [stdout]   --> src/blocks.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn test_block(prev_hash: Vec<u8>) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling pneumatic_core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::conns::factories::IsConnFactory`
[INFO] [stdout]   --> src/node.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::conns::factories::IsConnFactory;
[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: `crate::conns::streams::Stream`
[INFO] [stdout]   --> src/node.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::conns::streams::Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr` and `Ipv4Addr`
[INFO] [stdout]  --> src/conns/factories.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpStream};
[INFO] [stdout]   |                ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc::Receiver`
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::sync::mpsc::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::IpAddr::V4`
[INFO] [stdout]  --> src/data.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::IpAddr::V4;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/data.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/data.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `moka::sync::Cache`
[INFO] [stdout]  --> src/data.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use moka::sync::Cache;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `OnceLock`, and `RwLock`
[INFO] [stdout]  --> src/data.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::{Arc, OnceLock, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Category::Data`
[INFO] [stdout]  --> src/data.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::error::Category::Data;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind` and `Error`
[INFO] [stdout]  --> src/tokens.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{Error, ErrorKind};
[INFO] [stdout]   |               ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/tokens.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::encoding::serialize_to_bytes_rmp`
[INFO] [stdout]  --> src/tokens.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::encoding::serialize_to_bytes_rmp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/blocks.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/conns.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude`
[INFO] [stdout]  --> src/blocks.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{Utc, prelude::*};
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `strum::IntoEnumIterator`
[INFO] [stdout]  --> src/node.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use strum::IntoEnumIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/node.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/conns.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/conns.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/conns.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `registration_batch`
[INFO] [stdout]    --> src/node/registry.rs:189:36
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_batch`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/conns/streams.rs:320:18
[INFO] [stdout]     |
[INFO] [stdout] 320 |             let (r1, w1) = tokio_stream1.into_split();
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/conns/streams.rs:348:18
[INFO] [stdout]     |
[INFO] [stdout] 348 |             let (r1, w1) = tokio_stream1.into_split();
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns/listeners.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns/listeners.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/conns.rs:38:81
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn send_on_thread(cloned_data: Arc<RwLock<Vec<u8>>>, conn: Box<dyn Sender>, addr: SocketAddr)
[INFO] [stdout]    |                                                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/conns.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let (mut reader, mut writer) = stream.into_split()?;
[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: unused variable: `pool`
[INFO] [stdout]    --> src/server.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let pool = ThreadPool::new(0);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sender`
[INFO] [stdout]    --> src/server.rs:200:14
[INFO] [stdout]     |
[INFO] [stdout] 200 |         let (sender, receiver) = mpsc::channel::<Job>();
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `async_sender`
[INFO] [stdout]    --> src/server.rs:201:14
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let (async_sender, async_receiver) = mpsc::channel::<AsyncJob>();
[INFO] [stdout]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `stuff` is never read
[INFO] [stdout]    --> src/server.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |             stuff = "more stuff";
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/server.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |             let data = cloned_mutex.lock().unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sender`
[INFO] [stdout]    --> src/server.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let (sender, receiver) = mpsc::channel::<Job>();
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `async_sender`
[INFO] [stdout]    --> src/server.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 |         let (async_sender, async_receiver) = mpsc::channel::<AsyncJob>();
[INFO] [stdout]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `stuff` is never read
[INFO] [stdout]    --> src/server.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |             stuff = "different stuff";
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/config.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut environment_metadata = DashMap::new();
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn encrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn decrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signature`
[INFO] [stdout]   --> src/crypto.rs:40:31
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stdout]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn sign_data(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/crypto.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn hash(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/tokens.rs:113:24
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/tokens.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_text`
[INFO] [stdout]   --> src/logging.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let Ok(log_text) = file.file.read_to_string(&mut buffer)
[INFO] [stdout]    |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/node.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl NodeRegistryNode {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 78 |     fn new(ip: IpAddr, conn: Box<dyn Connection>) -> Self {
[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 `NodeRegistry` is never constructed
[INFO] [stdout]   --> src/node/registry.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct NodeRegistry {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/node/registry.rs:28:11
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl NodeRegistry {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  28 |     const LISTENER_THREAD_COUNT: usize = 4;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  29 |
[INFO] [stdout]  30 |     pub fn init(config: Arc<Config>,
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn get_nodes(&self, node_type: &NodeRegistryType) -> Option<Nodes> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn node_is_already_registered(&self, key: &Vec<u8>, node_type: &NodeRegistryType) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     fn type_is_maxed_out(&self, node_type: &NodeRegistryType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn listen_for_conn_requests(registry: Arc<NodeRegistry>, this_func_type: &NodeRegistryType) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     async fn process_conn_request(&self, data: Vec<u8>, mut stream: Box<dyn Stream>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn register_connection(&self, conn: Box<dyn Connection>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn can_accept_this_connection(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn check_db_node_user(user_key: &Vec<u8>, environment_id: &str, min_stake: u64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn select_registration_node_type(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     fn can_select_this_type(&self, request: &NodeRegistryRequest, node_type: NodeRegistryType) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn send_to_all(&self, data: Vec<u8>, node_type: &NodeRegistryType) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `listening_thread` is never read
[INFO] [stdout]   --> src/conns.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct TcpConnection {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 85 |     writer: Box<dyn StreamWriter>,
[INFO] [stdout] 86 |     listening_thread: tokio::task::JoinHandle<()>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_tcp_echo_server` is never used
[INFO] [stdout]    --> src/conns/senders.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 |     fn run_tcp_echo_server(addr: SocketAddr, ready_tx: mpsc::SyncSender<()>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.77s
[INFO] running `Command { std: "docker" "inspect" "8c06042d2bc7fa2a611c054ca276d07ac7c31e9974e2d3d0ce0bf01abf60b5df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c06042d2bc7fa2a611c054ca276d07ac7c31e9974e2d3d0ce0bf01abf60b5df", kill_on_drop: false }`
[INFO] [stdout] 8c06042d2bc7fa2a611c054ca276d07ac7c31e9974e2d3d0ce0bf01abf60b5df
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 58af98618a2cee4e7380e2c02b30c2d99ff051af77d195feaee5c80a111bde9b
[INFO] running `Command { std: "docker" "start" "-a" "58af98618a2cee4e7380e2c02b30c2d99ff051af77d195feaee5c80a111bde9b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::conns::factories::IsConnFactory`
[INFO] [stderr]   --> src/node.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::conns::factories::IsConnFactory;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::conns::streams::Stream`
[INFO] [stderr]   --> src/node.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::conns::streams::Stream;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `IpAddr` and `Ipv4Addr`
[INFO] [stderr]  --> src/conns/factories.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpStream};
[INFO] [stderr]   |                ^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TcpListener`
[INFO] [stderr]  --> src/conns/senders.rs:2:28
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::{SocketAddr, TcpListener, TcpStream};
[INFO] [stderr]   |                            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `UnixListener`
[INFO] [stderr]  --> src/conns/senders.rs:3:26
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::unix::net::{UnixListener, UnixStream};
[INFO] [stderr]   |                          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::sync::mpsc::Receiver`
[INFO] [stderr]  --> src/server.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use tokio::sync::mpsc::Receiver;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::net::IpAddr::V4`
[INFO] [stderr]  --> src/data.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::net::IpAddr::V4;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `IpAddr`
[INFO] [stderr]  --> src/data.rs:2:16
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::{IpAddr, Ipv4Addr, SocketAddr, SocketAddrV4};
[INFO] [stderr]   |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Deref`
[INFO] [stderr]  --> src/data.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::ops::Deref;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `moka::sync::Cache`
[INFO] [stderr]  --> src/data.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use moka::sync::Cache;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `OnceLock`, and `RwLock`
[INFO] [stderr]  --> src/data.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::sync::{Arc, OnceLock, RwLock};
[INFO] [stderr]   |                 ^^^  ^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/data.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::error::Category::Data`
[INFO] [stderr]  --> src/data.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use serde_json::error::Category::Data;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ErrorKind` and `Error`
[INFO] [stderr]  --> src/tokens.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::{Error, ErrorKind};
[INFO] [stderr]   |               ^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Deref`
[INFO] [stderr]  --> src/tokens.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::ops::Deref;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::encoding::serialize_to_bytes_rmp`
[INFO] [stderr]  --> src/tokens.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::encoding::serialize_to_bytes_rmp;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::hash::Hash`
[INFO] [stderr]  --> src/blocks.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::hash::Hash;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `prelude`
[INFO] [stderr]  --> src/blocks.rs:4:19
[INFO] [stderr]   |
[INFO] [stderr] 4 | use chrono::{Utc, prelude::*};
[INFO] [stderr]   |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]  --> src/conns.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::io::{Read, Write};
[INFO] [stderr]   |                     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `strum::IntoEnumIterator`
[INFO] [stderr]  --> src/node.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use strum::IntoEnumIterator;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Read`
[INFO] [stderr]  --> src/node.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::Read;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AsyncWriteExt`
[INFO] [stderr]   --> src/conns.rs:13:31
[INFO] [stderr]    |
[INFO] [stderr] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stderr]    |                               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Read`
[INFO] [stderr]  --> src/conns.rs:7:15
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::io::{Read, Write};
[INFO] [stderr]   |               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AsyncReadExt`
[INFO] [stderr]   --> src/conns.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stderr]    |                 ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `registration_batch`
[INFO] [stderr]    --> src/node/registry.rs:189:36
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registration_batch`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/conns/listeners.rs:26:22
[INFO] [stderr]    |
[INFO] [stderr] 26 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stderr]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/conns/listeners.rs:47:22
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let (stream, addr) = self.inner_listener.accept()?;
[INFO] [stderr]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/conns.rs:38:81
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub fn send_on_thread(cloned_data: Arc<RwLock<Vec<u8>>>, conn: Box<dyn Sender>, addr: SocketAddr)
[INFO] [stderr]    |                                                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/conns.rs:93:26
[INFO] [stderr]    |
[INFO] [stderr] 93 |         let (mut reader, mut writer) = stream.into_split()?;
[INFO] [stderr]    |                          ----^^^^^^
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/config.rs:93:13
[INFO] [stderr]    |
[INFO] [stderr] 93 |         let mut environment_metadata = DashMap::new();
[INFO] [stderr]    |             ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/crypto.rs:32:23
[INFO] [stderr]    |
[INFO] [stderr] 32 |     fn encrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stderr]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/crypto.rs:36:23
[INFO] [stderr]    |
[INFO] [stderr] 36 |     fn decrypt(&self, data: Vec<u8>) -> Vec<u8> {
[INFO] [stderr]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `signature`
[INFO] [stderr]   --> src/crypto.rs:40:31
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stderr]    |                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/crypto.rs:40:52
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn check_signature(&self, signature: &Vec<u8>, data: &Vec<u8>) -> bool {
[INFO] [stderr]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/crypto.rs:44:25
[INFO] [stderr]    |
[INFO] [stderr] 44 |     fn sign_data(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stderr]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]   --> src/crypto.rs:56:20
[INFO] [stderr]    |
[INFO] [stderr] 56 |     fn hash(&self, data: &Vec<u8>) -> Vec<u8> {
[INFO] [stderr]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `block`
[INFO] [stderr]    --> src/tokens.rs:113:24
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stderr]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `token`
[INFO] [stderr]    --> src/tokens.rs:113:39
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fn validate(&self, block: &Block, token: &Token) -> BlockValidationResult {
[INFO] [stderr]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/node.rs:78:8
[INFO] [stderr]    |
[INFO] [stderr] 77 | impl NodeRegistryNode {
[INFO] [stderr]    | --------------------- associated function in this implementation
[INFO] [stderr] 78 |     fn new(ip: IpAddr, conn: Box<dyn Connection>) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NodeRegistry` is never constructed
[INFO] [stderr]   --> src/node/registry.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct NodeRegistry {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/node/registry.rs:28:11
[INFO] [stderr]     |
[INFO] [stderr]  27 | impl NodeRegistry {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  28 |     const LISTENER_THREAD_COUNT: usize = 4;
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  29 |
[INFO] [stderr]  30 |     pub fn init(config: Arc<Config>,
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  45 |     pub fn get_nodes(&self, node_type: &NodeRegistryType) -> Option<Nodes> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  55 |     pub fn node_is_already_registered(&self, key: &Vec<u8>, node_type: &NodeRegistryType) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  62 |     fn type_is_maxed_out(&self, node_type: &NodeRegistryType) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  69 |     pub fn listen_for_conn_requests(registry: Arc<NodeRegistry>, this_func_type: &NodeRegistryType) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  93 |     async fn process_conn_request(&self, data: Vec<u8>, mut stream: Box<dyn Stream>) {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     fn register_connection(&self, conn: Box<dyn Connection>,
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 120 |     fn can_accept_this_connection(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 133 |     fn check_db_node_user(user_key: &Vec<u8>, environment_id: &str, min_stake: u64) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 140 |     fn select_registration_node_type(&self, request: &NodeRegistryRequest) -> Option<NodeRegistryType> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 160 |     fn can_select_this_type(&self, request: &NodeRegistryRequest, node_type: NodeRegistryType) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 164 |     pub fn send_to_all(&self, data: Vec<u8>, node_type: &NodeRegistryType) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 189 |     fn process_registration(&self, registration_batch: RegistrationBatch) -> RegistrationBatchResult {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `listening_thread` is never read
[INFO] [stderr]   --> src/conns.rs:86:5
[INFO] [stderr]    |
[INFO] [stderr] 84 | struct TcpConnection {
[INFO] [stderr]    |        ------------- field in this struct
[INFO] [stderr] 85 |     writer: Box<dyn StreamWriter>,
[INFO] [stderr] 86 |     listening_thread: tokio::task::JoinHandle<()>
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TEST_TIMEOUT` is never used
[INFO] [stderr]  --> src/conns/senders.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const TEST_TIMEOUT: Duration = Duration::from_secs(5);
[INFO] [stderr]   |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `test_block` is never used
[INFO] [stderr]   --> src/blocks.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl Block {
[INFO] [stderr]    | ---------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 36 |     fn test_block(prev_hash: Vec<u8>) -> Self {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]    --> src/conns/streams.rs:320:18
[INFO] [stderr]     |
[INFO] [stderr] 320 |             let (r1, w1) = tokio_stream1.into_split();
[INFO] [stderr]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r1`
[INFO] [stderr]    --> src/conns/streams.rs:348:18
[INFO] [stderr]     |
[INFO] [stderr] 348 |             let (r1, w1) = tokio_stream1.into_split();
[INFO] [stderr]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> src/server.rs:174:13
[INFO] [stderr]     |
[INFO] [stderr] 174 |         let pool = ThreadPool::new(0);
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sender`
[INFO] [stderr]    --> src/server.rs:200:14
[INFO] [stderr]     |
[INFO] [stderr] 200 |         let (sender, receiver) = mpsc::channel::<Job>();
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `async_sender`
[INFO] [stderr]    --> src/server.rs:201:14
[INFO] [stderr]     |
[INFO] [stderr] 201 |         let (async_sender, async_receiver) = mpsc::channel::<AsyncJob>();
[INFO] [stderr]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_sender`
[INFO] [stderr] 
[INFO] [stderr] warning: value captured by `stuff` is never read
[INFO] [stderr]    --> src/server.rs:213:13
[INFO] [stderr]     |
[INFO] [stderr] 213 |             stuff = "more stuff";
[INFO] [stderr]     |             ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: did you mean to capture by reference instead?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]    --> src/server.rs:226:17
[INFO] [stderr]     |
[INFO] [stderr] 226 |             let data = cloned_mutex.lock().unwrap();
[INFO] [stderr]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sender`
[INFO] [stderr]    --> src/server.rs:221:14
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let (sender, receiver) = mpsc::channel::<Job>();
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `async_sender`
[INFO] [stderr]    --> src/server.rs:230:14
[INFO] [stderr]     |
[INFO] [stderr] 230 |         let (async_sender, async_receiver) = mpsc::channel::<AsyncJob>();
[INFO] [stderr]     |              ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_sender`
[INFO] [stderr] 
[INFO] [stderr] warning: value captured by `stuff` is never read
[INFO] [stderr]    --> src/server.rs:247:13
[INFO] [stderr]     |
[INFO] [stderr] 247 |             stuff = "different stuff";
[INFO] [stderr]     |             ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: did you mean to capture by reference instead?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_text`
[INFO] [stderr]   --> src/logging.rs:54:16
[INFO] [stderr]    |
[INFO] [stderr] 54 |         let Ok(log_text) = file.file.read_to_string(&mut buffer)
[INFO] [stderr]    |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_text`
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_tcp_echo_server` is never used
[INFO] [stderr]    --> src/conns/senders.rs:107:8
[INFO] [stderr]     |
[INFO] [stderr] 107 |     fn run_tcp_echo_server(addr: SocketAddr, ready_tx: mpsc::SyncSender<()>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `pneumatic_core` (lib) generated 44 warnings (run `cargo fix --lib -p pneumatic_core` to apply 31 suggestions)
[INFO] [stderr] warning: `pneumatic_core` (lib test) generated 52 warnings (40 duplicates) (run `cargo fix --lib -p pneumatic_core --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pneumatic_core-1ba9049fd7950374)
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test conns::senders::senders_tests::test_tcp_sender_connection_timeout ... ok
[INFO] [stdout] test blocks::tests::get_current_chain_state_with_empty_chain ... ok
[INFO] [stdout] test blocks::tests::get_current_chain_state_with_invalid_chain ... ok
[INFO] [stdout] test blocks::tests::validate_next_block_with_invalid_block_hash ... ok
[INFO] [stdout] test blocks::tests::validate_next_block_with_invalid_previous_hash ... ok
[INFO] [stdout] test blocks::tests::validate_next_block_with_valid_block ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_core_uds_stream_read_to_end ... ok
[INFO] [stdout] test blocks::tests::get_current_chain_state_with_valid_chain ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_core_uds_stream_into_split ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_uds_reader_writer ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_core_tcp_stream_read_write ... ok
[INFO] [stdout] test conns::senders::senders_tests::test_uds_sender_invalid_path ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_core_tcp_stream_into_split ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_tcp_reader_writer ... ok
[INFO] [stdout] test server::tests::calling_thread_pool_build_with_zero_threads_returns_pool_creation_error ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_core_tcp_stream_read_to_end ... ok
[INFO] [stdout] test server::tests::calling_worker_new_returns_new_worker ... ok
[INFO] [stdout] test conns::senders::senders_tests::test_uds_sender_echo ... ok
[INFO] [stdout] test conns::streams::streams_tests::test_core_uds_stream_read_write ... ok
[INFO] [stdout] test server::tests::calling_thread_pool_execute_should_run_the_closure ... ok
[INFO] [stdout] test server::tests::calling_thread_pool_execute_async_should_run_closure ... ok
[INFO] [stdout] test server::tests::calling_thread_pool_build_with_more_than_zero_threads_returns_ok ... ok
[INFO] [stdout] test conns::senders::senders_tests::test_tcp_sender_echo ... ok
[INFO] [stdout] test conns::senders::senders_tests::test_tcp_sender_write_error ... ok
[INFO] [stdout] test server::tests::calling_thread_pool_new_with_more_than_zero_returns_thread_pool_with_correct_number_of_workers ... ok
[INFO] [stdout] test logging::tests::logger_should_log_message_to_file ... FAILED
[INFO] [stdout] test server::tests::calling_thread_pool_new_with_zero_threads_panics - should panic ... ok
[INFO] [stdout] test server::tests::calling_thread_pool_execute_with_poisoned_mutex_should_not_run_the_closure ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- logging::tests::logger_should_log_message_to_file stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'logging::tests::logger_should_log_message_to_file' (42) panicked at src/logging.rs:48:17:
[INFO] [stdout] error: No such file or directory (os error 2)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5581438011a8 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5581438011a8 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::trace_unsynchronized::<std[d054f6f42beb1baa]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5581438011a8 - std[d054f6f42beb1baa]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5581438011a8 - <<std[d054f6f42beb1baa]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5a1c3e9896636f3a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x55814381637a - <core[5a1c3e9896636f3a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x55814381637a - core[5a1c3e9896636f3a]::fmt::write
[INFO] [stdout]    6:     0x5581438061b2 - std[d054f6f42beb1baa]::io::default_write_fmt::<alloc[154f689e5dd3bae5]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5581438061b2 - <alloc[154f689e5dd3bae5]::vec::Vec<u8> as std[d054f6f42beb1baa]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5581437dd6e6 - <std[d054f6f42beb1baa]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5581437dd6e6 - std[d054f6f42beb1baa]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5581437f8919 - std[d054f6f42beb1baa]::panicking::default_hook
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5581436e214c - <alloc[154f689e5dd3bae5]::boxed::Box<dyn for<'a, 'b> core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   12:     0x5581436e214c - test[fad20673b750c10e]::test_main_inner::<test[fad20673b750c10e]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5581437f8b92 - <alloc[154f689e5dd3bae5]::boxed::Box<dyn for<'a, 'b> core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9
[INFO] [stdout]   14:     0x5581437f8b92 - std[d054f6f42beb1baa]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5581437dd7a2 - std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5581437d4fa9 - std[d054f6f42beb1baa]::sys::backtrace::__rust_end_short_backtrace::<std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5581437de67d - __rustc[7ab284efd7f33ea8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x558143816b3c - core[5a1c3e9896636f3a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5581436c7c78 - pneumatic_core[52e0d4b2b6890fb4]::logging::tests::logger_should_log_message_to_file
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logging.rs:48:17
[INFO] [stdout]   20:     0x5581436c6f47 - pneumatic_core[52e0d4b2b6890fb4]::logging::tests::logger_should_log_message_to_file::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logging.rs:37:43
[INFO] [stdout]   21:     0x5581436c8f96 - <pneumatic_core[52e0d4b2b6890fb4]::logging::tests::logger_should_log_message_to_file::{closure#0} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5581436d522b - <fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5581436d522b - test[fad20673b750c10e]::__rust_begin_short_backtrace::<core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>, fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:724:18
[INFO] [stdout]   24:     0x5581436e2aa5 - test[fad20673b750c10e]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:74
[INFO] [stdout]   25:     0x5581436e2aa5 - <core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x5581436e2aa5 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}>, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x5581436e2aa5 - std[d054f6f42beb1baa]::panicking::catch_unwind::<core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>, core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x5581436e2aa5 - std[d054f6f42beb1baa]::panic::catch_unwind::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<test[fad20673b750c10e]::run_test_in_process::{closure#0}>, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5581436e2aa5 - test[fad20673b750c10e]::run_test_in_process
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:27
[INFO] [stdout]   30:     0x5581436e2aa5 - test[fad20673b750c10e]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:668:43
[INFO] [stdout]   31:     0x5581436dd604 - test[fad20673b750c10e]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:698:41
[INFO] [stdout]   32:     0x5581436dd604 - std[d054f6f42beb1baa]::sys::backtrace::__rust_begin_short_backtrace::<test[fad20673b750c10e]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x5581436e5b22 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   34:     0x5581436e5b22 - <core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x5581436e5b22 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x5581436e5b22 - std[d054f6f42beb1baa]::panicking::catch_unwind::<(), core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x5581436e5b22 - std[d054f6f42beb1baa]::panic::catch_unwind::<core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe<std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5581436e5b22 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   39:     0x5581436e5b22 - <std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked<test[fad20673b750c10e]::run_test::{closure#1}, ()>::{closure#1} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x55814380066f - <alloc[154f689e5dd3bae5]::boxed::Box<dyn core[5a1c3e9896636f3a]::ops::function::FnOnce<(), Output = ()> + core[5a1c3e9896636f3a]::marker::Send> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2277:9
[INFO] [stdout]   41:     0x55814380066f - <std[d054f6f42beb1baa]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   42:     0x7bae03568aa4 - <unknown>
[INFO] [stdout]   43:     0x7bae035f5a64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     logging::tests::logger_should_log_message_to_file
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 27 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "58af98618a2cee4e7380e2c02b30c2d99ff051af77d195feaee5c80a111bde9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58af98618a2cee4e7380e2c02b30c2d99ff051af77d195feaee5c80a111bde9b", kill_on_drop: false }`
[INFO] [stdout] 58af98618a2cee4e7380e2c02b30c2d99ff051af77d195feaee5c80a111bde9b
