[INFO] cloning repository https://github.com/abhijeetbhagat/auriga
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhijeetbhagat/auriga" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijeetbhagat%2Fauriga", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijeetbhagat%2Fauriga'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18290a5c304e69b1876e3b19ee07e3edd5eb1253
[INFO] checking abhijeetbhagat/auriga against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhijeetbhagat%2Fauriga" "/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/abhijeetbhagat/auriga
[INFO] finished tweaking git repo https://github.com/abhijeetbhagat/auriga
[INFO] tweaked toml for git repo https://github.com/abhijeetbhagat/auriga written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/abhijeetbhagat/auriga on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/abhijeetbhagat/auriga 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-io v0.3.1
[INFO] [stderr]   Downloaded futures-macro v0.3.1
[INFO] [stderr]   Downloaded hermit-abi v0.1.6
[INFO] [stderr]   Downloaded futures-executor v0.3.1
[INFO] [stderr]   Downloaded num_cpus v1.12.0
[INFO] [stderr]   Downloaded pin-project-lite v0.1.4
[INFO] [stderr]   Downloaded socket2 v0.3.11
[INFO] [stderr]   Downloaded memchr v2.3.0
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.11
[INFO] [stderr]   Downloaded tokio-util v0.2.0
[INFO] [stderr]   Downloaded quote v1.0.2
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.6
[INFO] [stderr]   Downloaded miow v0.3.3
[INFO] [stderr]   Downloaded futures-channel v0.3.1
[INFO] [stderr]   Downloaded arc-swap v0.4.4
[INFO] [stderr]   Downloaded bytes v0.5.4
[INFO] [stderr]   Downloaded signal-hook-registry v1.2.0
[INFO] [stderr]   Downloaded futures-sink v0.3.1
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.3
[INFO] [stderr]   Downloaded pin-utils v0.1.0-alpha.4
[INFO] [stderr]   Downloaded futures-task v0.3.1
[INFO] [stderr]   Downloaded tokio-macros v0.2.4
[INFO] [stderr]   Downloaded redox_syscall v0.1.56
[INFO] [stderr]   Downloaded futures v0.3.1
[INFO] [stderr]   Downloaded syn v1.0.14
[INFO] [stderr]   Downloaded log v0.4.8
[INFO] [stderr]   Downloaded futures-core v0.3.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.8
[INFO] [stderr]   Downloaded mio v0.6.21
[INFO] [stderr]   Downloaded futures-util v0.3.1
[INFO] [stderr]   Downloaded tokio v0.2.11
[INFO] [stderr]   Downloaded libc v0.2.66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f18c39a97ec67c72ae4c69fd249398296b5b9d303036ac68fe51f33158b842f
[INFO] running `Command { std: "docker" "start" "-a" "7f18c39a97ec67c72ae4c69fd249398296b5b9d303036ac68fe51f33158b842f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f18c39a97ec67c72ae4c69fd249398296b5b9d303036ac68fe51f33158b842f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f18c39a97ec67c72ae4c69fd249398296b5b9d303036ac68fe51f33158b842f", kill_on_drop: false }`
[INFO] [stdout] 7f18c39a97ec67c72ae4c69fd249398296b5b9d303036ac68fe51f33158b842f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ee4dbbe05b0c00c10e93ae7aa002695c3959c550a3edd9a9ef544a6f0d20d35
[INFO] running `Command { std: "docker" "start" "-a" "5ee4dbbe05b0c00c10e93ae7aa002695c3959c550a3edd9a9ef544a6f0d20d35", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking futures-core v0.3.1
[INFO] [stderr]     Checking futures-sink v0.3.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]     Checking futures-task v0.3.1
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]     Checking futures-io v0.3.1
[INFO] [stderr]     Checking arc-swap v0.4.4
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]     Checking pin-project-lite v0.1.4
[INFO] [stderr]     Checking futures-channel v0.3.1
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling tokio-macros v0.2.4
[INFO] [stderr]     Checking tokio v0.2.11
[INFO] [stderr]    Compiling futures-macro v0.3.1
[INFO] [stderr]     Checking futures-util v0.3.1
[INFO] [stderr]     Checking futures-executor v0.3.1
[INFO] [stderr]     Checking futures v0.3.1
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking auriga v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]  --> src/clients/producer.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{thread, time};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/clients/consumer.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     loop {
[INFO] [stdout] 16 | |         println!("Consumer: Waiting for message...");
[INFO] [stdout] 17 | |         stream.read(&mut buf).await?;
[INFO] [stdout] 18 | |         println!(
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         );
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 23 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/broker.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/client.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::stream::{Stream, StreamExt};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/client.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{mpsc, Mutex};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/listener.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/listener.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/listener.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/listener.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::stream::{Stream, StreamExt};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut` and `Bytes`
[INFO] [stdout]  --> src/proto/stomp.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::{BufMut, Bytes, BytesMut};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]  --> src/clients/producer.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{thread, time};
[INFO] [stdout]   |           ^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/clients/consumer.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     loop {
[INFO] [stdout] 16 | |         println!("Consumer: Waiting for message...");
[INFO] [stdout] 17 | |         stream.read(&mut buf).await?;
[INFO] [stdout] 18 | |         println!(
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |         );
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 23 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/broker.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn route_message(self, key: &str) {}
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/queue_manager.rs:50:79
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn subscribe(&mut self, frame: &STOMPFrame, tx: Tx, addr: SocketAddr, client: &mut Client) {
[INFO] [stdout]    |                                                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/queue_manager.rs:101:33
[INFO] [stdout]     |
[INFO] [stdout] 101 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/queue_manager.rs:120:46
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn unsubscribe_disconnect(&mut self, addr: &SocketAddr) {}
[INFO] [stdout]     |                                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `route_message` is never used
[INFO] [stdout]   --> src/broker.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Broker {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn route_message(self, key: &str) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `parser`, and `queue_manager` are never read
[INFO] [stdout]  --> src/exchange.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Exchange {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     parser: STOMPParser,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     queue_manager: QueueManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/proto/stomp.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl STOMPFrame {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Message`, `Receipt`, and `Error` are never constructed
[INFO] [stdout]    --> src/proto/stomp.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub enum Frame {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 114 |     Message,     //convey messages from subscriptions to clients
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 115 |     Receipt,     //ack from server that a client frame was processed
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 116 |     Error,       //let clients know of any errors
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Frame` 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: methods `create_queue` and `unsubscribe_disconnect` are never used
[INFO] [stdout]    --> src/queue_manager.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl QueueManager {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub fn create_queue(&mut self, routing_key: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn unsubscribe_disconnect(&mut self, addr: &SocketAddr) {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/broker.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/client.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::stream::{Stream, StreamExt};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/client.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{mpsc, Mutex};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/listener.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/listener.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/listener.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/listener.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::stream::{Stream, StreamExt};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut` and `Bytes`
[INFO] [stdout]  --> src/proto/stomp.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::{BufMut, Bytes, BytesMut};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/proto/stomp.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         write!(f, "{}", self.r#type);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let _ = write!(f, "{}", self.r#type);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/proto/stomp.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             write!(f, "{}, {}", k, v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let _ = write!(f, "{}, {}", k, v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/proto/stomp.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 | /             write!(
[INFO] [stdout] 32 | |                 f,
[INFO] [stdout] 33 | |                 "{:?}",
[INFO] [stdout] 34 | |                 std::str::from_utf8(self.body.as_ref().unwrap().as_slice()).unwrap()
[INFO] [stdout] 35 | |             );
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let _ = write!(
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/broker.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn route_message(self, key: &str) {}
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/queue_manager.rs:50:79
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn subscribe(&mut self, frame: &STOMPFrame, tx: Tx, addr: SocketAddr, client: &mut Client) {
[INFO] [stdout]    |                                                                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/queue_manager.rs:101:33
[INFO] [stdout]     |
[INFO] [stdout] 101 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/queue_manager.rs:120:46
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn unsubscribe_disconnect(&mut self, addr: &SocketAddr) {}
[INFO] [stdout]     |                                              ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `route_message` is never used
[INFO] [stdout]   --> src/broker.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Broker {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn route_message(self, key: &str) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `parser`, and `queue_manager` are never read
[INFO] [stdout]  --> src/exchange.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Exchange {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     parser: STOMPParser,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     queue_manager: QueueManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/proto/stomp.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl STOMPFrame {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Message`, `Receipt`, and `Error` are never constructed
[INFO] [stdout]    --> src/proto/stomp.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub enum Frame {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 114 |     Message,     //convey messages from subscriptions to clients
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 115 |     Receipt,     //ack from server that a client frame was processed
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 116 |     Error,       //let clients know of any errors
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Frame` 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: methods `create_queue` and `unsubscribe_disconnect` are never used
[INFO] [stdout]    --> src/queue_manager.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl QueueManager {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub fn create_queue(&mut self, routing_key: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn unsubscribe_disconnect(&mut self, addr: &SocketAddr) {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/proto/stomp.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         write!(f, "{}", self.r#type);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let _ = write!(f, "{}", self.r#type);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/proto/stomp.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             write!(f, "{}, {}", k, v);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let _ = write!(f, "{}, {}", k, v);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/proto/stomp.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 | /             write!(
[INFO] [stdout] 32 | |                 f,
[INFO] [stdout] 33 | |                 "{:?}",
[INFO] [stdout] 34 | |                 std::str::from_utf8(self.body.as_ref().unwrap().as_slice()).unwrap()
[INFO] [stdout] 35 | |             );
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let _ = write!(
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.32s
[INFO] running `Command { std: "docker" "inspect" "5ee4dbbe05b0c00c10e93ae7aa002695c3959c550a3edd9a9ef544a6f0d20d35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ee4dbbe05b0c00c10e93ae7aa002695c3959c550a3edd9a9ef544a6f0d20d35", kill_on_drop: false }`
[INFO] [stdout] 5ee4dbbe05b0c00c10e93ae7aa002695c3959c550a3edd9a9ef544a6f0d20d35
