[INFO] cloning repository https://github.com/ivosequeros/aletheia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivosequeros/aletheia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivosequeros%2Faletheia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivosequeros%2Faletheia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c357cfeffc0502b7ba17663a0a5a749891c0cffb
[INFO] building ivosequeros/aletheia against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivosequeros%2Faletheia" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ivosequeros/aletheia on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ivosequeros/aletheia
[INFO] finished tweaking git repo https://github.com/ivosequeros/aletheia
[INFO] tweaked toml for git repo https://github.com/ivosequeros/aletheia written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ivosequeros/aletheia 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "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 tokio-macros v0.2.5
[INFO] [stderr]   Downloaded unicode-xid v0.2.0
[INFO] [stderr]   Downloaded tokio-util v0.3.1
[INFO] [stderr]   Downloaded winapi-build v0.1.1
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.4
[INFO] [stderr]   Downloaded rdrand v0.4.0
[INFO] [stderr]   Downloaded fuchsia-zircon-sys v0.3.3
[INFO] [stderr]   Downloaded xoroshiro128 v0.3.0
[INFO] [stderr]   Downloaded pin-utils v0.1.0-alpha.4
[INFO] [stderr]   Downloaded ws2_32-sys v0.2.1
[INFO] [stderr]   Downloaded failure_derive v0.1.7
[INFO] [stderr]   Downloaded rand_chacha v0.2.2
[INFO] [stderr]   Downloaded autocfg v1.0.0
[INFO] [stderr]   Downloaded memoffset v0.5.4
[INFO] [stderr]   Downloaded either v1.5.3
[INFO] [stderr]   Downloaded take_mut v0.2.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.63
[INFO] [stderr]   Downloaded adler32 v1.1.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.63
[INFO] [stderr]   Downloaded crossbeam-utils v0.7.2
[INFO] [stderr]   Downloaded digest v0.8.1
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.63
[INFO] [stderr]   Downloaded async-trait v0.1.36
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded rayon v1.3.1
[INFO] [stderr]   Downloaded heck v0.3.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.63
[INFO] [stderr]   Downloaded rle-decode-fast v1.0.1
[INFO] [stderr]   Downloaded num-bigint v0.2.6
[INFO] [stderr]   Downloaded regex v1.3.9
[INFO] [stderr]   Downloaded regex-automata v0.1.9
[INFO] [stderr]   Downloaded bumpalo v3.4.0
[INFO] [stderr]   Downloaded regex-syntax v0.6.18
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.63
[INFO] [stderr]   Downloaded clap v2.33.1
[INFO] [stderr]   Downloaded tokio v0.2.21
[INFO] [stderr]   Downloaded unicode-segmentation v1.6.0
[INFO] [stderr]   Downloaded avro-rs v0.10.0
[INFO] [stderr]   Downloaded js-sys v0.3.40
[INFO] [stderr]   Downloaded syn v1.0.30
[INFO] [stderr]   Downloaded crc32fast v1.2.0
[INFO] [stderr]   Downloaded bstr v0.2.13
[INFO] [stderr]   Downloaded winapi v0.2.8
[INFO] [stderr]   Downloaded libc v0.2.69
[INFO] [stderr]   Downloaded unicode-width v0.1.7
[INFO] [stderr]   Downloaded futures-util v0.3.4
[INFO] [stderr]   Downloaded fasthash-sys v0.3.2
[INFO] [stderr]   Downloaded rand v0.7.3
[INFO] [stderr]   Downloaded mio v0.6.21
[INFO] [stderr]   Downloaded generic-array v0.12.3
[INFO] [stderr]   Downloaded web-sys v0.3.40
[INFO] [stderr]   Downloaded zerocopy-derive v0.2.0
[INFO] [stderr]   Downloaded backtrace-sys v0.1.36
[INFO] [stderr]   Downloaded libflate v0.1.27
[INFO] [stderr]   Downloaded strum_macros v0.18.0
[INFO] [stderr]   Downloaded uuid v0.8.1
[INFO] [stderr]   Downloaded zerocopy v0.3.0
[INFO] [stderr]   Downloaded semver-parser v0.7.0
[INFO] [stderr]   Downloaded semver v0.9.0
[INFO] [stderr]   Downloaded cast v0.2.3
[INFO] [stderr]   Downloaded byteorder v1.3.4
[INFO] [stderr]   Downloaded csv-core v0.1.10
[INFO] [stderr]   Downloaded oorandom v11.1.2
[INFO] [stderr]   Downloaded criterion v0.3.2
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded typed-builder v0.5.1
[INFO] [stderr]   Downloaded textwrap v0.11.0
[INFO] [stderr]   Downloaded csv v1.1.3
[INFO] [stderr]   Downloaded criterion-plot v0.4.2
[INFO] [stderr]   Downloaded plotters v0.2.15
[INFO] [stderr]   Downloaded winapi v0.3.8
[INFO] [stderr]   Downloaded rayon-core v1.7.1
[INFO] [stderr]   Downloaded backtrace v0.3.46
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded serde v1.0.110
[INFO] [stderr]   Downloaded serde_json v1.0.53
[INFO] [stderr]   Downloaded arc-swap v0.4.6
[INFO] [stderr]   Downloaded derive_more v0.99.5
[INFO] [stderr]   Downloaded failure v0.1.7
[INFO] [stderr]   Downloaded num-traits v0.2.12
[INFO] [stderr]   Downloaded ryu v1.0.4
[INFO] [stderr]   Downloaded serde_derive v1.0.110
[INFO] [stderr]   Downloaded cc v1.0.50
[INFO] [stderr]   Downloaded bytes v0.5.4
[INFO] [stderr]   Downloaded itertools v0.9.0
[INFO] [stderr]   Downloaded walkdir v2.3.1
[INFO] [stderr]   Downloaded gcc v0.3.55
[INFO] [stderr]   Downloaded seahash v3.0.7
[INFO] [stderr]   Downloaded futures-channel v0.3.4
[INFO] [stderr]   Downloaded miow v0.3.3
[INFO] [stderr]   Downloaded atty v0.2.14
[INFO] [stderr]   Downloaded rustc_version v0.2.3
[INFO] [stderr]   Downloaded crossbeam-epoch v0.8.2
[INFO] [stderr]   Downloaded winapi-util v0.1.5
[INFO] [stderr]   Downloaded getrandom v0.1.14
[INFO] [stderr]   Downloaded socket2 v0.3.12
[INFO] [stderr]   Downloaded log v0.4.8
[INFO] [stderr]   Downloaded maybe-uninit v2.0.0
[INFO] [stderr]   Downloaded tinytemplate v1.1.0
[INFO] [stderr]   Downloaded synstructure v0.12.3
[INFO] [stderr]   Downloaded futures-task v0.3.4
[INFO] [stderr]   Downloaded futures v0.3.4
[INFO] [stderr]   Downloaded memchr v2.3.3
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.6
[INFO] [stderr]   Downloaded kernel32-sys v0.2.2
[INFO] [stderr]   Downloaded net2 v0.2.33
[INFO] [stderr]   Downloaded proc-macro2 v1.0.18
[INFO] [stderr]   Downloaded quote v1.0.3
[INFO] [stderr]   Downloaded strum v0.18.0
[INFO] [stderr]   Downloaded rand_core v0.3.1
[INFO] [stderr]   Downloaded futures-executor v0.3.4
[INFO] [stderr]   Downloaded futures-macro v0.3.4
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.15
[INFO] [stderr]   Downloaded rand_hc v0.2.0
[INFO] [stderr]   Downloaded fuchsia-zircon v0.3.3
[INFO] [stderr]   Downloaded mio-uds v0.6.7
[INFO] [stderr]   Downloaded crossbeam-deque v0.7.3
[INFO] [stderr]   Downloaded rustc-demangle v0.1.16
[INFO] [stderr]   Downloaded fuchsia-cprng v0.1.1
[INFO] [stderr]   Downloaded fasthash v0.4.0
[INFO] [stderr]   Downloaded itoa v0.4.5
[INFO] [stderr]   Downloaded futures-sink v0.3.4
[INFO] [stderr]   Downloaded fnv v1.0.6
[INFO] [stderr]   Downloaded redox_syscall v0.1.56
[INFO] [stderr]   Downloaded bitflags v1.2.1
[INFO] [stderr]   Downloaded hermit-abi v0.1.11
[INFO] [stderr]   Downloaded pin-project-lite v0.1.4
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.0
[INFO] [stderr]   Downloaded scopeguard v1.1.0
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.3
[INFO] [stderr]   Downloaded rand_core v0.4.2
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.8
[INFO] [stderr]   Downloaded sys-info v0.7.0
[INFO] [stderr]   Downloaded futures-core v0.3.4
[INFO] [stderr]   Downloaded lazy_static v1.4.0
[INFO] [stderr]   Downloaded iovec v0.1.4
[INFO] [stderr]   Downloaded miow v0.2.1
[INFO] [stderr]   Downloaded num_cpus v1.13.0
[INFO] [stderr]   Downloaded futures-io v0.3.4
[INFO] [stderr]   Downloaded cfg-if v0.1.10
[INFO] [stderr]   Downloaded slab v0.4.2
[INFO] [stderr]   Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]   Downloaded winapi-i686-pc-windows-gnu v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 787ed6304b7f5f9fa90423d05f3b9174709d59600b648ca27b66162d02059c19
[INFO] running `Command { std: "docker" "start" "-a" "787ed6304b7f5f9fa90423d05f3b9174709d59600b648ca27b66162d02059c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "787ed6304b7f5f9fa90423d05f3b9174709d59600b648ca27b66162d02059c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "787ed6304b7f5f9fa90423d05f3b9174709d59600b648ca27b66162d02059c19", kill_on_drop: false }`
[INFO] [stdout] 787ed6304b7f5f9fa90423d05f3b9174709d59600b648ca27b66162d02059c19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2bcfd7ebf99fc9c15b1760232b7253107f99d2f01de2da529fa9dad7846676c5
[INFO] running `Command { std: "docker" "start" "-a" "2bcfd7ebf99fc9c15b1760232b7253107f99d2f01de2da529fa9dad7846676c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling backtrace-sys v0.1.36
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.4
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling fasthash-sys v0.3.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling arc-swap v0.4.6
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling sys-info v0.7.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling adler32 v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling rle-decode-fast v1.0.1
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling libflate v0.1.27
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling criterion-plot v0.4.2
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling xoroshiro128 v0.3.0
[INFO] [stderr]    Compiling plotters v0.2.15
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling strum v0.18.0
[INFO] [stderr]    Compiling seahash v3.0.7
[INFO] [stderr]    Compiling oorandom v11.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling zerocopy-derive v0.2.0
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling strum_macros v0.18.0
[INFO] [stderr]    Compiling typed-builder v0.5.1
[INFO] [stderr]    Compiling failure v0.1.7
[INFO] [stderr]    Compiling tokio v0.2.21
[INFO] [stderr]    Compiling zerocopy v0.3.0
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling fasthash v0.4.0
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]    Compiling async-trait v0.1.36
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.53
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling csv v1.1.3
[INFO] [stderr]    Compiling tinytemplate v1.1.0
[INFO] [stderr]    Compiling avro-rs v0.10.0
[INFO] [stderr]    Compiling criterion v0.3.2
[INFO] [stderr]    Compiling gaze v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/codec/numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/codec/numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]  --> src/codec/numbers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncReadExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp::OwnedReadHalf`
[INFO] [stdout]  --> src/codec/numbers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::tcp::OwnedReadHalf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/codec/registry.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ReceiveStringError`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ReceiveStringError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/client.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/client.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt` and `AsyncRead`
[INFO] [stdout]  --> src/client.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncBufReadExt, AsyncRead};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/protocol/eater.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let start = std::time::Instant::now();
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/protocol/eater.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let (message, size) = reader.read_message().await;
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]    --> src/protocol/eater.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let store = connection.router.store.read().await;
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/protocol/eater.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude`
[INFO] [stdout]   --> src/client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/selection/filter.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             v => return Err("Filter contains field not allowed"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selector`
[INFO] [stdout]   --> src/selection/subscription.rs:64:41
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(ReceiveStringError)
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(())
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(std::str::Utf8Error)
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(())
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EatingError` is never used
[INFO] [stdout]   --> src/errors.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum EatingError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EatingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/selection/filter.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     GreaterThan(Vec<u8>),
[INFO] [stdout]   |     ----------- ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     GreaterThan(()),
[INFO] [stdout]   |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/selection/filter.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     LowerThan(Vec<u8>),
[INFO] [stdout]   |     --------- ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |     LowerThan(()),
[INFO] [stdout]   |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/selection/filter.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     StartsWith(Vec<u8>),
[INFO] [stdout]    |     ---------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 |     StartsWith(()),
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/selection/filter.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     EndsWith(Vec<u8>),
[INFO] [stdout]    |     -------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |     EndsWith(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build_checks_per_type` and `parse` are never used
[INFO] [stdout]   --> src/selection/filter.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait FilterBuilder {
[INFO] [stdout]    |           ------------- associated items in this trait
[INFO] [stdout] 21 |     fn build_checks_per_type(&self) -> ChecksRequiredPerType;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn parse(input: serde_json::Value) -> Result<Filter, ()>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `GreaterThan`, `LowerThan`, `StartsWith`, and `EndsWith` are never constructed
[INFO] [stdout]   --> src/selection/selector.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum FieldNonEqualityCheck {
[INFO] [stdout]    |          --------------------- variants in this enum
[INFO] [stdout] 19 |     GreaterThan(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     LowerThan(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     StartsWith(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     EndsWith(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FieldNonEqualityCheck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insert_or_add_to_existing` is never used
[INFO] [stdout]   --> src/selection/selector.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub trait ConditionalInsertion {
[INFO] [stdout]    |           -------------------- method in this trait
[INFO] [stdout] 55 |     fn insert_or_add_to_existing(&mut self, check: FieldNonEqualityCheck, subscription: SelectorSubscription);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `relay` and `distribute` are never used
[INFO] [stdout]   --> src/selection/selector.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub trait Selection {
[INFO] [stdout]    |           --------- associated items in this trait
[INFO] [stdout] 73 |     fn get_recipients(checker: Checker, message_type: &[u8]) -> Vec<Arc<Subscription>>;
[INFO] [stdout] 74 |     async fn relay(recipients: Vec<Arc<Subscription>>, message_type: &[u8], message: &[u8]);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     async fn distribute(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filter` is never read
[INFO] [stdout]   --> src/selection/subscription.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Subscription {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 9  |     pub id: Vec<u8>,
[INFO] [stdout] 10 |     pub filter: Filter,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `integrate`, and `disgregate` are never used
[INFO] [stdout]   --> src/selection/subscription.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Subscription {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn integrate(self: &Arc<Self>, selector: &mut Selector) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_incoming` is never used
[INFO] [stdout]  --> src/server.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn handle_incoming(stream: TcpStream, router: Arc<Router>) {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> src/server.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create<'c>() {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `varint_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait VarIntEncoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 41 |     fn varint_size(self) -> usize;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_varint_with_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait VarIntDecoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 46 |     fn get_varint_size(&self) -> Result<usize, ()>;
[INFO] [stdout] 47 |     fn read_varint_with_size(&self, length: usize) -> Result<u64, ()>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registry` is never constructed
[INFO] [stdout]  --> src/codec/registry.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Registry {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `add`, and `get_raw` are never used
[INFO] [stdout]   --> src/codec/registry.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Registry {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Registry {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn get(&self, message_type: &[u8]) -> Option<&Schema> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn add(&mut self, message_type: Vec<u8>, raw_schema: String) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn get_raw(&self, message_type: Vec<u8>) -> Result<&str, ()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_command`, `read_id`, and `read_message` are never used
[INFO] [stdout]   --> src/protocol/reader.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub trait ReadProtocol {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] 10 |     async fn read_command(&mut self) -> Result<Command, Error>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 11 |     async fn read_id(&mut self) -> Vec<u8>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 12 |     async fn read_message(&mut self) -> (Vec<u8>, u32);
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_message_ack` and `write_message_nack` are never used
[INFO] [stdout]   --> src/protocol/writer.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait WriteProtocol {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     async fn write_message_ack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     async fn write_message_nack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_smallest_readable_string` is never used
[INFO] [stdout]  --> src/protocol/time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait SmallestReadableString: Sized + Copy {
[INFO] [stdout]   |           ---------------------- method in this trait
[INFO] [stdout] 6 |     fn to_smallest_readable_string(self, result: &mut [u8; 6]) -> &[u8];
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `total_messages` is never used
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Eater` is never constructed
[INFO] [stdout]   --> src/protocol/eater.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Eater {}
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `report_total_messages`, `read`, and `acknowledge` are never used
[INFO] [stdout]    --> src/protocol/eater.rs:23:18
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl Eater {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] 23  |     pub async fn report_total_messages() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub async fn read(connection: Arc<Connection>) -> Result<ConnectionStatus, ConnectionError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn acknowledge(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionStatus` is never used
[INFO] [stdout]  --> src/connection.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ConnectionStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]   --> src/connection.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Connection {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `accept` are never used
[INFO] [stdout]   --> src/connection.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Connection {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 17 |     pub fn new(router: Arc<Router>, client: Arc<Client>) -> Connection {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub async fn accept(connection: Connection) {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `reader`, `address`, and `subscriptions` are never read
[INFO] [stdout]   --> src/client.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Client {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 15 |     pub id: Vec<u8>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 16 |     pub reader: Arc<Mutex<OwnedReadHalf>>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     pub writer: Arc<Mutex<OwnedWriteHalf>>,
[INFO] [stdout] 18 |     pub address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 19 |     pub subscriptions: Arc<RwLock<Vec<Arc<Subscription>>>>
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `add_subscription` are never used
[INFO] [stdout]   --> src/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Client {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 23 |     pub fn new(stream: TcpStream) -> Client {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub async fn add_subscription(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Router` is never constructed
[INFO] [stdout]  --> src/router.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Router {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_client`, and `remove_client` are never used
[INFO] [stdout]   --> src/router.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Router {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new() -> Router {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub async fn add_client(&self, id: Vec<u8>, client: Arc<Client>) {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn remove_client(&self, id: &Vec<u8>) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INNER_ALLOC_PERCENTAGE` is never used
[INFO] [stdout]   --> src/storage/mod.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const INNER_ALLOC_PERCENTAGE: f64 = 0.8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Store` is never constructed
[INFO] [stdout]   --> src/storage/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Store {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `ensure_sufficient_remaining_memory`, `append`, and `pipe` are never used
[INFO] [stdout]   --> src/storage/mod.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Store {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new() -> Arc<RwLock<Store>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     async fn ensure_sufficient_remaining_memory(store: Arc<RwLock<Self>>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn append(
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub async fn pipe(&self, offset: u64, subscription: Arc<Subscription>, router: Arc<Router>) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/selection/selector.rs:220:87
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 println!("Field value is {:?} -> {}", field, std::str::from_utf8(field.clone()).unwrap());
[INFO] [stdout]     |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `total_messages` should have an upper case name
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_MESSAGES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/storage/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ReceiveStringError`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ReceiveStringError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/client.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/client.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt` and `AsyncRead`
[INFO] [stdout]  --> src/client.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncBufReadExt, AsyncRead};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/codec/numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/codec/numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]  --> src/codec/numbers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncReadExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp::OwnedReadHalf`
[INFO] [stdout]  --> src/codec/numbers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::tcp::OwnedReadHalf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/codec/registry.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/protocol/eater.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let start = std::time::Instant::now();
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/protocol/eater.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let (message, size) = reader.read_message().await;
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]    --> src/protocol/eater.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let store = connection.router.store.read().await;
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude`
[INFO] [stdout]   --> src/client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/protocol/eater.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/selection/filter.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             v => return Err("Filter contains field not allowed"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selector`
[INFO] [stdout]   --> src/selection/subscription.rs:64:41
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `varint_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait VarIntEncoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 41 |     fn varint_size(self) -> usize;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_varint_with_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait VarIntDecoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 46 |     fn get_varint_size(&self) -> Result<usize, ()>;
[INFO] [stdout] 47 |     fn read_varint_with_size(&self, length: usize) -> Result<u64, ()>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(ReceiveStringError)
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(())
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(std::str::Utf8Error)
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(())
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EatingError` is never used
[INFO] [stdout]   --> src/errors.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum EatingError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EatingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_id` is never used
[INFO] [stdout]   --> src/protocol/reader.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub trait ReadProtocol {
[INFO] [stdout]    |           ------------ method in this trait
[INFO] [stdout] 10 |     async fn read_command(&mut self) -> Result<Command, Error>;
[INFO] [stdout] 11 |     async fn read_id(&mut self) -> Vec<u8>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_message_ack` and `write_message_nack` are never used
[INFO] [stdout]   --> src/protocol/writer.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait WriteProtocol {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     async fn write_message_ack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     async fn write_message_nack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_smallest_readable_string` is never used
[INFO] [stdout]  --> src/protocol/time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait SmallestReadableString: Sized + Copy {
[INFO] [stdout]   |           ---------------------- method in this trait
[INFO] [stdout] 6 |     fn to_smallest_readable_string(self, result: &mut [u8; 6]) -> &[u8];
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `acknowledge` is never used
[INFO] [stdout]    --> src/protocol/eater.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl Eater {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn acknowledge(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `relay` is never used
[INFO] [stdout]   --> src/selection/selector.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub trait Selection {
[INFO] [stdout]    |           --------- associated function in this trait
[INFO] [stdout] 73 |     fn get_recipients(checker: Checker, message_type: &[u8]) -> Vec<Arc<Subscription>>;
[INFO] [stdout] 74 |     async fn relay(recipients: Vec<Arc<Subscription>>, message_type: &[u8], message: &[u8]);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `ensure_sufficient_remaining_memory` is never used
[INFO] [stdout]   --> src/storage/mod.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Store {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     async fn ensure_sufficient_remaining_memory(store: Arc<RwLock<Self>>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `total_messages` should have an upper case name
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_MESSAGES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/selection/selector.rs:220:87
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 println!("Field value is {:?} -> {}", field, std::str::from_utf8(field.clone()).unwrap());
[INFO] [stdout]     |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/storage/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "2bcfd7ebf99fc9c15b1760232b7253107f99d2f01de2da529fa9dad7846676c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bcfd7ebf99fc9c15b1760232b7253107f99d2f01de2da529fa9dad7846676c5", kill_on_drop: false }`
[INFO] [stdout] 2bcfd7ebf99fc9c15b1760232b7253107f99d2f01de2da529fa9dad7846676c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f22527c4bcf77c90db3cc059e5429fed97fdef2414e689f873bae33aae51b21
[INFO] running `Command { std: "docker" "start" "-a" "6f22527c4bcf77c90db3cc059e5429fed97fdef2414e689f873bae33aae51b21", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/codec/numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/codec/numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]  --> src/codec/numbers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncReadExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp::OwnedReadHalf`
[INFO] [stdout]  --> src/codec/numbers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::tcp::OwnedReadHalf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/codec/registry.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ReceiveStringError`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ReceiveStringError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/client.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/client.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt` and `AsyncRead`
[INFO] [stdout]  --> src/client.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncBufReadExt, AsyncRead};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/protocol/eater.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let start = std::time::Instant::now();
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/protocol/eater.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let (message, size) = reader.read_message().await;
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]    --> src/protocol/eater.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let store = connection.router.store.read().await;
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/protocol/eater.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude`
[INFO] [stdout]   --> src/client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/selection/filter.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             v => return Err("Filter contains field not allowed"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selector`
[INFO] [stdout]   --> src/selection/subscription.rs:64:41
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(ReceiveStringError)
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(())
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(std::str::Utf8Error)
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(())
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EatingError` is never used
[INFO] [stdout]   --> src/errors.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum EatingError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EatingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/selection/filter.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     GreaterThan(Vec<u8>),
[INFO] [stdout]   |     ----------- ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     GreaterThan(()),
[INFO] [stdout]   |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/selection/filter.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     LowerThan(Vec<u8>),
[INFO] [stdout]   |     --------- ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |     LowerThan(()),
[INFO] [stdout]   |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/selection/filter.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     StartsWith(Vec<u8>),
[INFO] [stdout]    |     ---------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 |     StartsWith(()),
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/selection/filter.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     EndsWith(Vec<u8>),
[INFO] [stdout]    |     -------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |     EndsWith(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build_checks_per_type` and `parse` are never used
[INFO] [stdout]   --> src/selection/filter.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait FilterBuilder {
[INFO] [stdout]    |           ------------- associated items in this trait
[INFO] [stdout] 21 |     fn build_checks_per_type(&self) -> ChecksRequiredPerType;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn parse(input: serde_json::Value) -> Result<Filter, ()>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `GreaterThan`, `LowerThan`, `StartsWith`, and `EndsWith` are never constructed
[INFO] [stdout]   --> src/selection/selector.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum FieldNonEqualityCheck {
[INFO] [stdout]    |          --------------------- variants in this enum
[INFO] [stdout] 19 |     GreaterThan(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     LowerThan(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     StartsWith(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     EndsWith(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FieldNonEqualityCheck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insert_or_add_to_existing` is never used
[INFO] [stdout]   --> src/selection/selector.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub trait ConditionalInsertion {
[INFO] [stdout]    |           -------------------- method in this trait
[INFO] [stdout] 55 |     fn insert_or_add_to_existing(&mut self, check: FieldNonEqualityCheck, subscription: SelectorSubscription);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `relay` and `distribute` are never used
[INFO] [stdout]   --> src/selection/selector.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub trait Selection {
[INFO] [stdout]    |           --------- associated items in this trait
[INFO] [stdout] 73 |     fn get_recipients(checker: Checker, message_type: &[u8]) -> Vec<Arc<Subscription>>;
[INFO] [stdout] 74 |     async fn relay(recipients: Vec<Arc<Subscription>>, message_type: &[u8], message: &[u8]);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     async fn distribute(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filter` is never read
[INFO] [stdout]   --> src/selection/subscription.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Subscription {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 9  |     pub id: Vec<u8>,
[INFO] [stdout] 10 |     pub filter: Filter,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `integrate`, and `disgregate` are never used
[INFO] [stdout]   --> src/selection/subscription.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Subscription {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn integrate(self: &Arc<Self>, selector: &mut Selector) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_incoming` is never used
[INFO] [stdout]  --> src/server.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn handle_incoming(stream: TcpStream, router: Arc<Router>) {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> src/server.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create<'c>() {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `varint_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait VarIntEncoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 41 |     fn varint_size(self) -> usize;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_varint_with_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait VarIntDecoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 46 |     fn get_varint_size(&self) -> Result<usize, ()>;
[INFO] [stdout] 47 |     fn read_varint_with_size(&self, length: usize) -> Result<u64, ()>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registry` is never constructed
[INFO] [stdout]  --> src/codec/registry.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Registry {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `add`, and `get_raw` are never used
[INFO] [stdout]   --> src/codec/registry.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Registry {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Registry {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn get(&self, message_type: &[u8]) -> Option<&Schema> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn add(&mut self, message_type: Vec<u8>, raw_schema: String) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn get_raw(&self, message_type: Vec<u8>) -> Result<&str, ()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_command`, `read_id`, and `read_message` are never used
[INFO] [stdout]   --> src/protocol/reader.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub trait ReadProtocol {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] 10 |     async fn read_command(&mut self) -> Result<Command, Error>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 11 |     async fn read_id(&mut self) -> Vec<u8>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 12 |     async fn read_message(&mut self) -> (Vec<u8>, u32);
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_message_ack` and `write_message_nack` are never used
[INFO] [stdout]   --> src/protocol/writer.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait WriteProtocol {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     async fn write_message_ack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     async fn write_message_nack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_smallest_readable_string` is never used
[INFO] [stdout]  --> src/protocol/time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait SmallestReadableString: Sized + Copy {
[INFO] [stdout]   |           ---------------------- method in this trait
[INFO] [stdout] 6 |     fn to_smallest_readable_string(self, result: &mut [u8; 6]) -> &[u8];
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `total_messages` is never used
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Eater` is never constructed
[INFO] [stdout]   --> src/protocol/eater.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Eater {}
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `report_total_messages`, `read`, and `acknowledge` are never used
[INFO] [stdout]    --> src/protocol/eater.rs:23:18
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl Eater {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] 23  |     pub async fn report_total_messages() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub async fn read(connection: Arc<Connection>) -> Result<ConnectionStatus, ConnectionError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn acknowledge(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gaze v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `ConnectionStatus` is never used
[INFO] [stdout]  --> src/connection.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ConnectionStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]   --> src/connection.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Connection {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `accept` are never used
[INFO] [stdout]   --> src/connection.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Connection {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 17 |     pub fn new(router: Arc<Router>, client: Arc<Client>) -> Connection {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub async fn accept(connection: Connection) {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `reader`, `address`, and `subscriptions` are never read
[INFO] [stdout]   --> src/client.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Client {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 15 |     pub id: Vec<u8>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 16 |     pub reader: Arc<Mutex<OwnedReadHalf>>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     pub writer: Arc<Mutex<OwnedWriteHalf>>,
[INFO] [stdout] 18 |     pub address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 19 |     pub subscriptions: Arc<RwLock<Vec<Arc<Subscription>>>>
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `add_subscription` are never used
[INFO] [stdout]   --> src/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Client {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 23 |     pub fn new(stream: TcpStream) -> Client {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub async fn add_subscription(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Router` is never constructed
[INFO] [stdout]  --> src/router.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Router {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_client`, and `remove_client` are never used
[INFO] [stdout]   --> src/router.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Router {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new() -> Router {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub async fn add_client(&self, id: Vec<u8>, client: Arc<Client>) {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn remove_client(&self, id: &Vec<u8>) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INNER_ALLOC_PERCENTAGE` is never used
[INFO] [stdout]   --> src/storage/mod.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const INNER_ALLOC_PERCENTAGE: f64 = 0.8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Store` is never constructed
[INFO] [stdout]   --> src/storage/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Store {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `ensure_sufficient_remaining_memory`, `append`, and `pipe` are never used
[INFO] [stdout]   --> src/storage/mod.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Store {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new() -> Arc<RwLock<Store>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     async fn ensure_sufficient_remaining_memory(store: Arc<RwLock<Self>>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn append(
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub async fn pipe(&self, offset: u64, subscription: Arc<Subscription>, router: Arc<Router>) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/selection/selector.rs:220:87
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 println!("Field value is {:?} -> {}", field, std::str::from_utf8(field.clone()).unwrap());
[INFO] [stdout]     |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `total_messages` should have an upper case name
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_MESSAGES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/storage/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ReceiveStringError`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ReceiveStringError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/client.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/client.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt` and `AsyncRead`
[INFO] [stdout]  --> src/client.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncBufReadExt, AsyncRead};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/codec/numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/codec/numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]  --> src/codec/numbers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncReadExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp::OwnedReadHalf`
[INFO] [stdout]  --> src/codec/numbers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::tcp::OwnedReadHalf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/codec/registry.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/codec/numbers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/codec/numbers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::io::AsyncReadExt`
[INFO] [stdout]  --> src/codec/numbers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::AsyncReadExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::tcp::OwnedReadHalf`
[INFO] [stdout]  --> src/codec/numbers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::tcp::OwnedReadHalf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/codec/registry.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ReceiveStringError`
[INFO] [stdout]  --> src/client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::ReceiveStringError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `thread_rng`
[INFO] [stdout]  --> src/client.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter`
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> src/client.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Weak};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt` and `AsyncRead`
[INFO] [stdout]  --> src/client.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncBufReadExt, AsyncRead};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(map_first_last)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/protocol/eater.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let start = std::time::Instant::now();
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/protocol/eater.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let (message, size) = reader.read_message().await;
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]    --> src/protocol/eater.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let store = connection.router.store.read().await;
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> src/protocol/eater.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let start = std::time::Instant::now();
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/protocol/eater.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let (message, size) = reader.read_message().await;
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `store`
[INFO] [stdout]    --> src/protocol/eater.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let store = connection.router.store.read().await;
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude`
[INFO] [stdout]   --> src/client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/protocol/eater.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/selection/filter.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             v => return Err("Filter contains field not allowed"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selector`
[INFO] [stdout]   --> src/selection/subscription.rs:64:41
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/protocol/eater.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude`
[INFO] [stdout]   --> src/client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/selection/filter.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             v => return Err("Filter contains field not allowed"),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selector`
[INFO] [stdout]   --> src/selection/subscription.rs:64:41
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]   --> src/codec/numbers.rs:98:17
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut i = 0;
[INFO] [stdout]    |                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `varint_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait VarIntEncoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 41 |     fn varint_size(self) -> usize;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_varint_with_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait VarIntDecoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 46 |     fn get_varint_size(&self) -> Result<usize, ()>;
[INFO] [stdout] 47 |     fn read_varint_with_size(&self, length: usize) -> Result<u64, ()>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(ReceiveStringError)
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(())
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(std::str::Utf8Error)
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(())
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EatingError` is never used
[INFO] [stdout]   --> src/errors.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum EatingError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EatingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_id` is never used
[INFO] [stdout]   --> src/protocol/reader.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub trait ReadProtocol {
[INFO] [stdout]    |           ------------ method in this trait
[INFO] [stdout] 10 |     async fn read_command(&mut self) -> Result<Command, Error>;
[INFO] [stdout] 11 |     async fn read_id(&mut self) -> Vec<u8>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_message_ack` and `write_message_nack` are never used
[INFO] [stdout]   --> src/protocol/writer.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait WriteProtocol {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     async fn write_message_ack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     async fn write_message_nack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_smallest_readable_string` is never used
[INFO] [stdout]  --> src/protocol/time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait SmallestReadableString: Sized + Copy {
[INFO] [stdout]   |           ---------------------- method in this trait
[INFO] [stdout] 6 |     fn to_smallest_readable_string(self, result: &mut [u8; 6]) -> &[u8];
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `acknowledge` is never used
[INFO] [stdout]    --> src/protocol/eater.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl Eater {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn acknowledge(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `relay` is never used
[INFO] [stdout]   --> src/selection/selector.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub trait Selection {
[INFO] [stdout]    |           --------- associated function in this trait
[INFO] [stdout] 73 |     fn get_recipients(checker: Checker, message_type: &[u8]) -> Vec<Arc<Subscription>>;
[INFO] [stdout] 74 |     async fn relay(recipients: Vec<Arc<Subscription>>, message_type: &[u8], message: &[u8]);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `ensure_sufficient_remaining_memory` is never used
[INFO] [stdout]   --> src/storage/mod.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Store {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     async fn ensure_sufficient_remaining_memory(store: Arc<RwLock<Self>>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `total_messages` should have an upper case name
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_MESSAGES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/selection/selector.rs:220:87
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 println!("Field value is {:?} -> {}", field, std::str::from_utf8(field.clone()).unwrap());
[INFO] [stdout]     |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/storage/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(ReceiveStringError)
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Receive(())
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(std::io::Error),
[INFO] [stdout]    |     -- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     IO(()),
[INFO] [stdout]    |        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/errors.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(std::str::Utf8Error)
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReceiveStringError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Utf8(())
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EatingError` is never used
[INFO] [stdout]   --> src/errors.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum EatingError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EatingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/selection/filter.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     GreaterThan(Vec<u8>),
[INFO] [stdout]   |     ----------- ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     GreaterThan(()),
[INFO] [stdout]   |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/selection/filter.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     LowerThan(Vec<u8>),
[INFO] [stdout]   |     --------- ^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |     LowerThan(()),
[INFO] [stdout]   |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/selection/filter.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     StartsWith(Vec<u8>),
[INFO] [stdout]    |     ---------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 10 |     StartsWith(()),
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/selection/filter.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     EndsWith(Vec<u8>),
[INFO] [stdout]    |     -------- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |     EndsWith(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build_checks_per_type` and `parse` are never used
[INFO] [stdout]   --> src/selection/filter.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait FilterBuilder {
[INFO] [stdout]    |           ------------- associated items in this trait
[INFO] [stdout] 21 |     fn build_checks_per_type(&self) -> ChecksRequiredPerType;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn parse(input: serde_json::Value) -> Result<Filter, ()>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `GreaterThan`, `LowerThan`, `StartsWith`, and `EndsWith` are never constructed
[INFO] [stdout]   --> src/selection/selector.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum FieldNonEqualityCheck {
[INFO] [stdout]    |          --------------------- variants in this enum
[INFO] [stdout] 19 |     GreaterThan(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     LowerThan(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     StartsWith(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     EndsWith(Vec<u8>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FieldNonEqualityCheck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `insert_or_add_to_existing` is never used
[INFO] [stdout]   --> src/selection/selector.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub trait ConditionalInsertion {
[INFO] [stdout]    |           -------------------- method in this trait
[INFO] [stdout] 55 |     fn insert_or_add_to_existing(&mut self, check: FieldNonEqualityCheck, subscription: SelectorSubscription);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `relay` and `distribute` are never used
[INFO] [stdout]   --> src/selection/selector.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub trait Selection {
[INFO] [stdout]    |           --------- associated items in this trait
[INFO] [stdout] 73 |     fn get_recipients(checker: Checker, message_type: &[u8]) -> Vec<Arc<Subscription>>;
[INFO] [stdout] 74 |     async fn relay(recipients: Vec<Arc<Subscription>>, message_type: &[u8], message: &[u8]);
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     async fn distribute(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filter` is never read
[INFO] [stdout]   --> src/selection/subscription.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Subscription {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 9  |     pub id: Vec<u8>,
[INFO] [stdout] 10 |     pub filter: Filter,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `integrate`, and `disgregate` are never used
[INFO] [stdout]   --> src/selection/subscription.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Subscription {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn integrate(self: &Arc<Self>, selector: &mut Selector) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn disgregate(self: &Arc<Self>, selector: &mut Selector) {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_incoming` is never used
[INFO] [stdout]  --> src/server.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn handle_incoming(stream: TcpStream, router: Arc<Router>) {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> src/server.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create<'c>() {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `varint_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait VarIntEncoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 41 |     fn varint_size(self) -> usize;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_varint_with_size` is never used
[INFO] [stdout]   --> src/codec/numbers.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait VarIntDecoder {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 46 |     fn get_varint_size(&self) -> Result<usize, ()>;
[INFO] [stdout] 47 |     fn read_varint_with_size(&self, length: usize) -> Result<u64, ()>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registry` is never constructed
[INFO] [stdout]  --> src/codec/registry.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Registry {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, `add`, and `get_raw` are never used
[INFO] [stdout]   --> src/codec/registry.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Registry {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Registry {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn get(&self, message_type: &[u8]) -> Option<&Schema> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn add(&mut self, message_type: Vec<u8>, raw_schema: String) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn get_raw(&self, message_type: Vec<u8>) -> Result<&str, ()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_command`, `read_id`, and `read_message` are never used
[INFO] [stdout]   --> src/protocol/reader.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub trait ReadProtocol {
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] 10 |     async fn read_command(&mut self) -> Result<Command, Error>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 11 |     async fn read_id(&mut self) -> Vec<u8>;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 12 |     async fn read_message(&mut self) -> (Vec<u8>, u32);
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_message_ack` and `write_message_nack` are never used
[INFO] [stdout]   --> src/protocol/writer.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait WriteProtocol {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 13 |     async fn write_message_ack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     async fn write_message_nack(&mut self, id: &[u8]);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_smallest_readable_string` is never used
[INFO] [stdout]  --> src/protocol/time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait SmallestReadableString: Sized + Copy {
[INFO] [stdout]   |           ---------------------- method in this trait
[INFO] [stdout] 6 |     fn to_smallest_readable_string(self, result: &mut [u8; 6]) -> &[u8];
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `total_messages` is never used
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Eater` is never constructed
[INFO] [stdout]   --> src/protocol/eater.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Eater {}
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `report_total_messages`, `read`, and `acknowledge` are never used
[INFO] [stdout]    --> src/protocol/eater.rs:23:18
[INFO] [stdout]     |
[INFO] [stdout] 22  | impl Eater {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] 23  |     pub async fn report_total_messages() {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     pub async fn read(connection: Arc<Connection>) -> Result<ConnectionStatus, ConnectionError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub async fn acknowledge(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionStatus` is never used
[INFO] [stdout]  --> src/connection.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ConnectionStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connection` is never constructed
[INFO] [stdout]   --> src/connection.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Connection {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `accept` are never used
[INFO] [stdout]   --> src/connection.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Connection {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 17 |     pub fn new(router: Arc<Router>, client: Arc<Client>) -> Connection {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub async fn accept(connection: Connection) {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `reader`, `address`, and `subscriptions` are never read
[INFO] [stdout]   --> src/client.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Client {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 15 |     pub id: Vec<u8>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 16 |     pub reader: Arc<Mutex<OwnedReadHalf>>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     pub writer: Arc<Mutex<OwnedWriteHalf>>,
[INFO] [stdout] 18 |     pub address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 19 |     pub subscriptions: Arc<RwLock<Vec<Arc<Subscription>>>>
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `add_subscription` are never used
[INFO] [stdout]   --> src/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Client {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 23 |     pub fn new(stream: TcpStream) -> Client {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub async fn add_subscription(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Router` is never constructed
[INFO] [stdout]  --> src/router.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Router {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_client`, and `remove_client` are never used
[INFO] [stdout]   --> src/router.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Router {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new() -> Router {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub async fn add_client(&self, id: Vec<u8>, client: Arc<Client>) {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn remove_client(&self, id: &Vec<u8>) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INNER_ALLOC_PERCENTAGE` is never used
[INFO] [stdout]   --> src/storage/mod.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const INNER_ALLOC_PERCENTAGE: f64 = 0.8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Store` is never constructed
[INFO] [stdout]   --> src/storage/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Store {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `ensure_sufficient_remaining_memory`, `append`, and `pipe` are never used
[INFO] [stdout]   --> src/storage/mod.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Store {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new() -> Arc<RwLock<Store>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     async fn ensure_sufficient_remaining_memory(store: Arc<RwLock<Self>>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn append(
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub async fn pipe(&self, offset: u64, subscription: Arc<Subscription>, router: Arc<Router>) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/selection/selector.rs:220:87
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 println!("Field value is {:?} -> {}", field, std::str::from_utf8(field.clone()).unwrap());
[INFO] [stdout]     |                                                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `total_messages` should have an upper case name
[INFO] [stdout]   --> src/protocol/eater.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | static total_messages: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TOTAL_MESSAGES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/storage/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = &memory_id_8bit[2..8].copy_from_slice(&message_id);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "6f22527c4bcf77c90db3cc059e5429fed97fdef2414e689f873bae33aae51b21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f22527c4bcf77c90db3cc059e5429fed97fdef2414e689f873bae33aae51b21", kill_on_drop: false }`
[INFO] [stdout] 6f22527c4bcf77c90db3cc059e5429fed97fdef2414e689f873bae33aae51b21
