[INFO] cloning repository https://github.com/kalikhalid/bitchat-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kalikhalid/bitchat-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalikhalid%2Fbitchat-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalikhalid%2Fbitchat-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 546daebbed264924108d6443bdd5285fadf8376e
[INFO] testing kalikhalid/bitchat-rs against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkalikhalid%2Fbitchat-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kalikhalid/bitchat-rs
[INFO] finished tweaking git repo https://github.com/kalikhalid/bitchat-rs
[INFO] tweaked toml for git repo https://github.com/kalikhalid/bitchat-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kalikhalid/bitchat-rs on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kalikhalid/bitchat-rs 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded objc2-core-bluetooth v0.2.2
[INFO] [stderr]   Downloaded bluez-generated v0.4.0
[INFO] [stderr]   Downloaded dbus-tokio v0.7.6
[INFO] [stderr]   Downloaded twox-hash v2.1.1
[INFO] [stderr]   Downloaded bluez-async v0.8.2
[INFO] [stderr]   Downloaded jni-utils v0.1.1
[INFO] [stderr]   Downloaded jni v0.19.0
[INFO] [stderr]   Downloaded rustyline v14.0.0
[INFO] [stderr]   Downloaded dbus v0.9.7
[INFO] [stderr]   Downloaded serde-xml-rs v0.8.1
[INFO] [stderr]   Downloaded btleplug v0.11.8
[INFO] [stderr]   Downloaded nix v0.28.0
[INFO] [stderr]   Downloaded snow v0.10.0
[INFO] [stderr]   Downloaded libdbus-sys v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa
[INFO] running `Command { std: "docker" "start" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libdbus-sys v0.2.5
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling xml-rs v0.8.27
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling snow v0.10.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling twox-hash v2.1.1
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling chacha20 v0.9.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling poly1305 v0.8.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling chacha20poly1305 v0.10.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling fd-lock v4.0.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling lz4_flex v0.11.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rustyline v14.0.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling dbus v0.9.7
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling serde-xml-rs v0.8.1
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling dbus-tokio v0.7.6
[INFO] [stderr]    Compiling bluez-generated v0.4.0
[INFO] [stderr]    Compiling bluez-async v0.8.2
[INFO] [stderr]    Compiling btleplug v0.11.8
[INFO] [stderr]    Compiling bitchat-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `last_seen` is never read
[INFO] [stdout]   --> src/bluetooth.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct DiscoveredPeer {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub last_seen: std::time::Instant,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiscoveredPeer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/bluetooth.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum BluetoothEvent {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BluetoothEvent` 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 `private_key` is never read
[INFO] [stdout]   --> src/noise.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NoiseKeyPair {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 14 |     pub private_key: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseKeyPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Handshaking` and `Transport` are never constructed
[INFO] [stdout]   --> src/noise.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum NoiseSessionState {
[INFO] [stdout]    |          ----------------- variants in this enum
[INFO] [stdout] 33 |     Handshaking(HandshakeState),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 34 |     Transport(TransportState),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseSessionState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `state`, `is_initiator`, and `remote_static_key` are never read
[INFO] [stdout]   --> src/noise.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct NoiseSession {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 39 |     pub peer_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub state: NoiseSessionState,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub is_initiator: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub remote_static_key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/noise.rs:46:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl NoiseSession {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  46 |     pub fn new_initiator(peer_id: String, local_static: &NoiseKeyPair) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn new_responder(peer_id: String, local_static: &NoiseKeyPair) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn write_handshake_message(&mut self, payload: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn read_handshake_message(&mut self, payload: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn encrypt(&mut self, plaintext: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn decrypt(&mut self, ciphertext: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub fn is_handshake_finished(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn get_remote_static_key(&self) -> Option<&[u8]> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sessions` is never read
[INFO] [stdout]    --> src/noise.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub struct NoiseEncryptionService {
[INFO] [stdout]     |            ---------------------- field in this struct
[INFO] [stdout] 213 |     local_static_keypair: NoiseKeyPair,
[INFO] [stdout] 214 |     sessions: Arc<RwLock<HashMap<String, NoiseSession>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NoiseEncryptionService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/noise.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl NoiseEncryptionService {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn initiate_handshake(&self, peer_id: &str) -> Result<NoiseSession> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub async fn respond_to_handshake(&self, peer_id: &str) -> Result<NoiseSession> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub async fn store_session(&self, session: NoiseSession) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub async fn has_session(&self, peer_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub async fn is_session_ready(&self, peer_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub async fn remove_session(&self, peer_id: &str) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub async fn encrypt_for_peer(&self, peer_id: &str, plaintext: &[u8]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub async fn decrypt_from_peer(&self, peer_id: &str, ciphertext: &[u8]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `my_peer_id` is never read
[INFO] [stdout]   --> src/message.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MessageHandler {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 12 |     my_peer_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageHandler` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/message.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl MessageHandler {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  20 |     pub fn create_announcement(&self, nickname: &str) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn create_leave_announcement(&self) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn create_message(&self, content: &str, recipient: Option<&str>) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |     pub fn create_private_message(&self, content: &str, recipient: &str) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn parse_received_packet(&self, data: &[u8]) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn should_relay_message(&self, packet: &BitchatPacket) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn relay_message(&self, mut packet: BitchatPacket) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn extract_message_from_packet(&self, packet: &BitchatPacket) -> Result<Option<BitchatMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn format_message_for_display(&self, message: &BitchatMessage) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn is_message_for_me(&self, packet: &BitchatPacket) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 223 |     pub fn detect_mentions(&self, content: &str, nickname: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `message_handler` is never read
[INFO] [stdout]   --> src/cli.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CliInterface {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     message_handler: MessageHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 57s
[INFO] running `Command { std: "docker" "inspect" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitchat-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `last_seen` is never read
[INFO] [stdout]   --> src/bluetooth.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct DiscoveredPeer {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub last_seen: std::time::Instant,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiscoveredPeer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/bluetooth.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum BluetoothEvent {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BluetoothEvent` 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 `private_key` is never read
[INFO] [stdout]   --> src/noise.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct NoiseKeyPair {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 14 |     pub private_key: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseKeyPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Handshaking` and `Transport` are never constructed
[INFO] [stdout]   --> src/noise.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub enum NoiseSessionState {
[INFO] [stdout]    |          ----------------- variants in this enum
[INFO] [stdout] 33 |     Handshaking(HandshakeState),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 34 |     Transport(TransportState),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseSessionState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `state`, `is_initiator`, and `remote_static_key` are never read
[INFO] [stdout]   --> src/noise.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct NoiseSession {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 39 |     pub peer_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 40 |     pub state: NoiseSessionState,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub is_initiator: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub remote_static_key: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NoiseSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/noise.rs:46:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl NoiseSession {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  46 |     pub fn new_initiator(peer_id: String, local_static: &NoiseKeyPair) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     pub fn new_responder(peer_id: String, local_static: &NoiseKeyPair) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn write_handshake_message(&mut self, payload: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn read_handshake_message(&mut self, payload: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn encrypt(&mut self, plaintext: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn decrypt(&mut self, ciphertext: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub fn is_handshake_finished(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn get_remote_static_key(&self) -> Option<&[u8]> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sessions` is never read
[INFO] [stdout]    --> src/noise.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub struct NoiseEncryptionService {
[INFO] [stdout]     |            ---------------------- field in this struct
[INFO] [stdout] 213 |     local_static_keypair: NoiseKeyPair,
[INFO] [stdout] 214 |     sessions: Arc<RwLock<HashMap<String, NoiseSession>>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NoiseEncryptionService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/noise.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl NoiseEncryptionService {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn initiate_handshake(&self, peer_id: &str) -> Result<NoiseSession> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub async fn respond_to_handshake(&self, peer_id: &str) -> Result<NoiseSession> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub async fn store_session(&self, session: NoiseSession) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub async fn has_session(&self, peer_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     pub async fn is_session_ready(&self, peer_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub async fn remove_session(&self, peer_id: &str) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub async fn encrypt_for_peer(&self, peer_id: &str, plaintext: &[u8]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub async fn decrypt_from_peer(&self, peer_id: &str, ciphertext: &[u8]) -> Result<Vec<u8>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `create_leave_announcement`, `parse_received_packet`, `relay_message`, `extract_message_from_packet`, `format_message_for_display`, and `is_message_for_me` are never used
[INFO] [stdout]    --> src/message.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl MessageHandler {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  37 |     pub fn create_leave_announcement(&self) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn parse_received_packet(&self, data: &[u8]) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn relay_message(&self, mut packet: BitchatPacket) -> Result<BitchatPacket> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn extract_message_from_packet(&self, packet: &BitchatPacket) -> Result<Option<BitchatMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn format_message_for_display(&self, message: &BitchatMessage) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn is_message_for_me(&self, packet: &BitchatPacket) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `message_handler` is never read
[INFO] [stdout]   --> src/cli.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CliInterface {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     message_handler: MessageHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.35s
[INFO] running `Command { std: "docker" "inspect" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: field `last_seen` is never read
[INFO] [stderr]   --> src/bluetooth.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct DiscoveredPeer {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub last_seen: std::time::Instant,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DiscoveredPeer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Error` is never constructed
[INFO] [stderr]   --> src/bluetooth.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub enum BluetoothEvent {
[INFO] [stderr]    |          -------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 33 |     Error(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BluetoothEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `private_key` is never read
[INFO] [stderr]   --> src/noise.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct NoiseKeyPair {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 14 |     pub private_key: Vec<u8>,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NoiseKeyPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Handshaking` and `Transport` are never constructed
[INFO] [stderr]   --> src/noise.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub enum NoiseSessionState {
[INFO] [stderr]    |          ----------------- variants in this enum
[INFO] [stderr] 33 |     Handshaking(HandshakeState),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 34 |     Transport(TransportState),
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NoiseSessionState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `peer_id`, `state`, `is_initiator`, and `remote_static_key` are never read
[INFO] [stderr]   --> src/noise.rs:39:9
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct NoiseSession {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 39 |     pub peer_id: String,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 40 |     pub state: NoiseSessionState,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 41 |     pub is_initiator: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 42 |     pub remote_static_key: Option<Vec<u8>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `NoiseSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/noise.rs:46:12
[INFO] [stderr]     |
[INFO] [stderr]  45 | impl NoiseSession {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  46 |     pub fn new_initiator(peer_id: String, local_static: &NoiseKeyPair) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  63 |     pub fn new_responder(peer_id: String, local_static: &NoiseKeyPair) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  80 |     pub fn write_handshake_message(&mut self, payload: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 128 |     pub fn read_handshake_message(&mut self, payload: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |     pub fn encrypt(&mut self, plaintext: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 189 |     pub fn decrypt(&mut self, ciphertext: &[u8], output: &mut [u8]) -> Result<usize> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 202 |     pub fn is_handshake_finished(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 206 |     pub fn get_remote_static_key(&self) -> Option<&[u8]> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `sessions` is never read
[INFO] [stderr]    --> src/noise.rs:214:5
[INFO] [stderr]     |
[INFO] [stderr] 212 | pub struct NoiseEncryptionService {
[INFO] [stderr]     |            ---------------------- field in this struct
[INFO] [stderr] 213 |     local_static_keypair: NoiseKeyPair,
[INFO] [stderr] 214 |     sessions: Arc<RwLock<HashMap<String, NoiseSession>>>,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `NoiseEncryptionService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/noise.rs:241:18
[INFO] [stderr]     |
[INFO] [stderr] 217 | impl NoiseEncryptionService {
[INFO] [stderr]     | --------------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 241 |     pub async fn initiate_handshake(&self, peer_id: &str) -> Result<NoiseSession> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 247 |     pub async fn respond_to_handshake(&self, peer_id: &str) -> Result<NoiseSession> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 253 |     pub async fn store_session(&self, session: NoiseSession) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 258 |     pub async fn has_session(&self, peer_id: &str) -> bool {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 263 |     pub async fn is_session_ready(&self, peer_id: &str) -> bool {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 270 |     pub async fn remove_session(&self, peer_id: &str) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 276 |     pub async fn encrypt_for_peer(&self, peer_id: &str, plaintext: &[u8]) -> Result<Vec<u8>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 293 |     pub async fn decrypt_from_peer(&self, peer_id: &str, ciphertext: &[u8]) -> Result<Vec<u8>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `create_leave_announcement`, `parse_received_packet`, `relay_message`, `extract_message_from_packet`, `format_message_for_display`, and `is_message_for_me` are never used
[INFO] [stderr]    --> src/message.rs:37:12
[INFO] [stderr]     |
[INFO] [stderr]  15 | impl MessageHandler {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  37 |     pub fn create_leave_announcement(&self) -> Result<BitchatPacket> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     pub fn parse_received_packet(&self, data: &[u8]) -> Result<BitchatPacket> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 125 |     pub fn relay_message(&self, mut packet: BitchatPacket) -> Result<BitchatPacket> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 137 |     pub fn extract_message_from_packet(&self, packet: &BitchatPacket) -> Result<Option<BitchatMessage>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 191 |     pub fn format_message_for_display(&self, message: &BitchatMessage) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 209 |     pub fn is_message_for_me(&self, packet: &BitchatPacket) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `message_handler` is never read
[INFO] [stderr]   --> src/cli.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct CliInterface {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 16 |     message_handler: MessageHandler,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `bitchat-rs` (bin "bitchat-rs" test) generated 10 warnings
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/bitchat_rs-298a6bd01fec740b)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test bluetooth::tests::test_peer_id_generation ... ok
[INFO] [stdout] test message::tests::test_create_announcement ... ok
[INFO] [stdout] test message::tests::test_mention_detection ... ok
[INFO] [stdout] test message::tests::test_create_message ... ok
[INFO] [stdout] test message::tests::test_private_message ... ok
[INFO] [stdout] test message::tests::test_should_relay_message ... ok
[INFO] [stdout] test protocol::tests::test_message_encode_decode ... ok
[INFO] [stdout] test protocol::tests::test_packet_encode_decode ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa", kill_on_drop: false }`
[INFO] [stdout] 76a18f229f872190303b816dd0a76b54e0bd04dae014c58710745680246c1eaa
