[INFO] fetching crate celery-rs-core 0.0.6...
[INFO] checking celery-rs-core-0.0.6 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate celery-rs-core 0.0.6 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate celery-rs-core 0.0.6 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate celery-rs-core 0.0.6
[INFO] finished tweaking crates.io crate celery-rs-core 0.0.6
[INFO] tweaked toml for crates.io crate celery-rs-core 0.0.6 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hostname v0.1.5
[INFO] [stderr]   Downloaded cookie-factory v0.3.3
[INFO] [stderr]   Downloaded amq-protocol-uri v3.1.1
[INFO] [stderr]   Downloaded amq-protocol v3.1.1
[INFO] [stderr]   Downloaded winutil v0.1.1
[INFO] [stderr]   Downloaded amq-protocol-tcp v3.1.1
[INFO] [stderr]   Downloaded cookie-factory v0.2.4
[INFO] [stderr]   Downloaded tcp-stream v0.8.2
[INFO] [stderr]   Downloaded amq-protocol-types v3.1.1
[INFO] [stderr]   Downloaded amq-protocol v1.4.0
[INFO] [stderr]   Downloaded amq-protocol-types v1.2.0
[INFO] [stderr]   Downloaded built v0.3.2
[INFO] [stderr]   Downloaded amq-protocol-codegen v1.4.0
[INFO] [stderr]   Downloaded snafu v0.4.4
[INFO] [stderr]   Downloaded input_buffer v0.2.0
[INFO] [stderr]   Downloaded snafu-derive v0.4.4
[INFO] [stderr]   Downloaded crossbeam-utils v0.6.6
[INFO] [stderr]   Downloaded crossbeam-channel v0.3.9
[INFO] [stderr]   Downloaded nom v4.2.3
[INFO] [stderr]   Downloaded git2 v0.10.2
[INFO] [stderr]   Downloaded lexical-core v0.7.6
[INFO] [stderr]   Downloaded amiquip v0.3.3
[INFO] [stderr]   Downloaded hashbrown v0.5.0
[INFO] [stderr]   Downloaded handlebars v2.0.4
[INFO] [stderr]   Downloaded pest_derive v2.7.8
[INFO] [stderr]   Downloaded amq-protocol-codegen v3.1.1
[INFO] [stderr]   Downloaded libgit2-sys v0.9.2
[INFO] [stderr]   Downloaded handlebars v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f326dbf7fc49f41c2c0d7d12d6945e0e6fe926b2469a60b9521685f49687e8e9
[INFO] running `Command { std: "docker" "start" "-a" "f326dbf7fc49f41c2c0d7d12d6945e0e6fe926b2469a60b9521685f49687e8e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f326dbf7fc49f41c2c0d7d12d6945e0e6fe926b2469a60b9521685f49687e8e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f326dbf7fc49f41c2c0d7d12d6945e0e6fe926b2469a60b9521685f49687e8e9", kill_on_drop: false }`
[INFO] [stdout] f326dbf7fc49f41c2c0d7d12d6945e0e6fe926b2469a60b9521685f49687e8e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc5f349c51fe9ee13362c9dcfd5d8bd09a24f756f62dd8bdac82b457cc19232a
[INFO] running `Command { std: "docker" "start" "-a" "fc5f349c51fe9ee13362c9dcfd5d8bd09a24f756f62dd8bdac82b457cc19232a", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]    Compiling jobserver v0.1.28
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]    Compiling cookie-factory v0.2.4
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking amq-protocol-uri v3.1.1
[INFO] [stderr]     Checking input_buffer v0.2.0
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling chrono v0.4.37
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking hostname v0.1.5
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libz-sys v1.1.16
[INFO] [stderr]    Compiling libgit2-sys v0.9.2
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling snafu-derive v0.4.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking snafu v0.4.4
[INFO] [stderr]    Compiling pest v2.7.8
[INFO] [stderr]    Compiling pest_meta v2.7.8
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling pest_generator v2.7.8
[INFO] [stderr]    Compiling git2 v0.10.2
[INFO] [stderr]     Checking tcp-stream v0.8.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking amq-protocol-tcp v3.1.1
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking cookie-factory v0.3.3
[INFO] [stderr]    Compiling pest_derive v2.7.8
[INFO] [stderr]     Checking serde_json v1.0.115
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling hashbrown v0.5.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking amq-protocol-types v1.2.0
[INFO] [stderr]     Checking handlebars v1.1.0
[INFO] [stderr]     Checking amq-protocol-types v3.1.1
[INFO] [stderr]    Compiling handlebars v2.0.4
[INFO] [stderr]    Compiling built v0.3.2
[INFO] [stderr]     Checking amq-protocol-codegen v1.4.0
[INFO] [stderr]    Compiling amiquip v0.3.3
[INFO] [stderr]    Compiling amq-protocol-codegen v3.1.1
[INFO] [stderr]    Compiling amq-protocol v1.4.0
[INFO] [stderr]    Compiling amq-protocol v3.1.1
[INFO] [stderr]     Checking celery-rs-core v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/argparse/args.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::uri::AMQPScheme::AMQP`
[INFO] [stdout]   --> src/argparse/args.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use amq_protocol::uri::AMQPScheme::AMQP;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/argparse/kwargs.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/argparse/kwargs.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/broker/broker.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/broker/broker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::Args`
[INFO] [stdout]  --> src/broker/broker.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::env::Args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/broker/broker.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]   --> src/broker/broker.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::Map;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AmqpProperties`, `AmqpValue`, `Exchange`, `Queue`
[INFO] [stdout]   --> src/broker/broker.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use amiquip::{AmqpProperties, AmqpValue, Channel, Exchange, ExchangeDeclareOptions, ExchangeType, FieldTable, Publish, Queue, QueueDeclar...
[INFO] [stdout]    |               ^^^^^^^^^^^^^^  ^^^^^^^^^           ^^^^^^^^                                                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::map::Values`
[INFO] [stdout]   --> src/broker/broker.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use serde_json::map::Values;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::amqp::amqp::AMQPConnectionInf`
[INFO] [stdout]   --> src/broker/broker.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::amqp::amqp::AMQPConnectionInf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::argparse::kwargs::KwArgs`
[INFO] [stdout]   --> src/broker/broker.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::argparse::kwargs::KwArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::rabbitmq_connection_pool::ThreadableRabbitMQConnectionPool`
[INFO] [stdout]   --> src/broker/broker.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::connection::rabbitmq_connection_pool::ThreadableRabbitMQConnectionPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection`
[INFO] [stdout]   --> src/broker/broker.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `message::Message`
[INFO] [stdout]   --> src/broker/broker.rs:23:49
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::message_protocol::{headers::Headers, message::Message, message_body::MessageBody, properties::Properties};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::config::TaskConfig`
[INFO] [stdout]   --> src/broker/broker.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::task::config::TaskConfig;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `num_cpus` is imported redundantly
[INFO] [stdout]  --> src/config/config.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_cpus;
[INFO] [stdout]   |     ^^^^^^^^ the item `num_cpus` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Channel`, `Connection`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use amiquip::{Channel, Connection};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::rabbitmq_connection_utils`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::connection::rabbitmq_connection_utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if(credentials.is_some()){
[INFO] [stdout]    |           ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         if(credentials.is_some()){
[INFO] [stdout] 41 +         if credentials.is_some() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Exchange`, `Publish`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use amiquip::{Channel, Connection, Exchange, Publish, Result};
[INFO] [stdout]   |                                    ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_connection_utils.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         if(conn_result.is_ok()){
[INFO] [stdout]    |           ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 22 -         if(conn_result.is_ok()){
[INFO] [stdout] 22 +         if conn_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_connection_utils.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |             if(channel_result.is_ok()) {
[INFO] [stdout]    |               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -             if(channel_result.is_ok()) {
[INFO] [stdout] 25 +             if channel_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_pool.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_pool.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `RwLock`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]    |                 ^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Credential`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::connection::rabbitmq_connection_factory::{Credential, RabbitMQConnectionFactory};
[INFO] [stdout]    |                                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/argparse/args.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/threadable_rabbit_mq_connection.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |         if (conn_result.is_ok()) {
[INFO] [stdout]    |            ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         if (conn_result.is_ok()) {
[INFO] [stdout] 23 +         if conn_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::uri::AMQPScheme::AMQP`
[INFO] [stdout]   --> src/argparse/args.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use amq_protocol::uri::AMQPScheme::AMQP;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/threadable_rabbit_mq_connection.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |             if (channel_result.is_ok()) {
[INFO] [stdout]    |                ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -             if (channel_result.is_ok()) {
[INFO] [stdout] 26 +             if channel_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AMQPType` is imported redundantly
[INFO] [stdout]   --> src/argparse/args.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use amq_protocol::types::AMQPType;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     use super::*;
[INFO] [stdout]    |         -------- the item `AMQPType` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection`
[INFO] [stdout]  --> src/connection/rabbitmq_channel_utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Value` is imported redundantly
[INFO] [stdout]   --> src/argparse/args.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |     use serde_json::Value;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 92 |
[INFO] [stdout] 93 |     use super::*;
[INFO] [stdout]    |         -------- the item `Value` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/argparse/kwargs.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if(nowait == true) {
[INFO] [stdout]    |       ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -     if(nowait == true) {
[INFO] [stdout] 39 +     if nowait == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/argparse/kwargs.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |     if(nowait == true){
[INFO] [stdout]    |       ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -     if(nowait == true){
[INFO] [stdout] 48 +     if nowait == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AMQPType` is imported redundantly
[INFO] [stdout]    --> src/argparse/kwargs.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout] 99  |     use amq_protocol::types::AMQPType;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     use super::*;
[INFO] [stdout]     |         -------- the item `AMQPType` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Value` is imported redundantly
[INFO] [stdout]    --> src/argparse/kwargs.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use serde_json::Value;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |
[INFO] [stdout] 102 |     use super::*;
[INFO] [stdout]     |         -------- the item `Value` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |     if(nowait == true) {
[INFO] [stdout]    |       ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -     if(nowait == true) {
[INFO] [stdout] 57 +     if nowait == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/broker/broker.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/message_protocol/headers.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/broker/broker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::uri::AMQPScheme::AMQP`
[INFO] [stdout]   --> src/message_protocol/headers.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use amq_protocol::uri::AMQPScheme::AMQP;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::Args`
[INFO] [stdout]  --> src/broker/broker.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::env::Args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Number`
[INFO] [stdout]   --> src/message_protocol/headers.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json::{Map, Number, to_string, Value};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/broker/broker.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/message_protocol/headers.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Map`
[INFO] [stdout]   --> src/broker/broker.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::Map;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AmqpValue`
[INFO] [stdout]  --> src/message_protocol/message.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | use amiquip::{AmqpProperties, AmqpValue};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::uri::AMQPScheme::AMQP`
[INFO] [stdout]  --> src/message_protocol/message.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use amq_protocol::uri::AMQPScheme::AMQP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Map`
[INFO] [stdout]  --> src/message_protocol/message.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{Map, to_string, Value};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AmqpProperties`, `AmqpValue`, `Exchange`, `Queue`
[INFO] [stdout]   --> src/broker/broker.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use amiquip::{AmqpProperties, AmqpValue, Channel, Exchange, ExchangeDeclareOptions, ExchangeType, FieldTable, Publish, Queue, QueueDeclar...
[INFO] [stdout]    |               ^^^^^^^^^^^^^^  ^^^^^^^^^           ^^^^^^^^                                                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/message_protocol/message.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         /// get extra properties
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |         let jheaders = self.headers.convert_to_btree_map();
[INFO] [stdout]    |         --------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::map::Values`
[INFO] [stdout]   --> src/broker/broker.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use serde_json::map::Values;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/message_protocol/message.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         /// get the message body string
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |         let mut body_vec = Vec::<Value>::new();
[INFO] [stdout]    |         --------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hostname` is imported redundantly
[INFO] [stdout]  --> src/nodename/anon_name.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use hostname;
[INFO] [stdout]   |     ^^^^^^^^ the item `hostname` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::amqp::amqp::AMQPConnectionInf`
[INFO] [stdout]   --> src/broker/broker.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::amqp::amqp::AMQPConnectionInf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::argparse::kwargs::KwArgs`
[INFO] [stdout]   --> src/broker/broker.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::argparse::kwargs::KwArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::rabbitmq_connection_pool::ThreadableRabbitMQConnectionPool`
[INFO] [stdout]   --> src/broker/broker.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::connection::rabbitmq_connection_pool::ThreadableRabbitMQConnectionPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection`
[INFO] [stdout]   --> src/broker/broker.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `message::Message`
[INFO] [stdout]   --> src/broker/broker.rs:23:49
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::message_protocol::{headers::Headers, message::Message, message_body::MessageBody, properties::Properties};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::config::TaskConfig`
[INFO] [stdout]   --> src/broker/broker.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::task::config::TaskConfig;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]    --> src/broker/broker.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use std::borrow::BorrowMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]    --> src/broker/broker.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     use std::ops::Deref;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::JoinHandle`
[INFO] [stdout]    --> src/broker/broker.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use std::thread::JoinHandle;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::frame::AMQPFrameType::Header`
[INFO] [stdout]    --> src/broker/broker.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     use amq_protocol::frame::AMQPFrameType::Header;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::prelude::*`
[INFO] [stdout]    --> src/broker/broker.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     use tokio::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AMQPConnectionInf` is imported redundantly
[INFO] [stdout]    --> src/broker/broker.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |     use crate::amqp::amqp::AMQPConnectionInf;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     use super::*;
[INFO] [stdout]     |         -------- the item `AMQPConnectionInf` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AMQPBroker` is imported redundantly
[INFO] [stdout]    --> src/broker/broker.rs:172:33
[INFO] [stdout]     |
[INFO] [stdout] 172 |     use crate::broker::broker::{AMQPBroker, RabbitMQBroker};
[INFO] [stdout]     |                                 ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     use super::*;
[INFO] [stdout]     |         -------- the item `AMQPBroker` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `RabbitMQBroker` is imported redundantly
[INFO] [stdout]    --> src/broker/broker.rs:172:45
[INFO] [stdout]     |
[INFO] [stdout] 172 |     use crate::broker::broker::{AMQPBroker, RabbitMQBroker};
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     use super::*;
[INFO] [stdout]     |         -------- the item `RabbitMQBroker` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CeleryConfig` is imported redundantly
[INFO] [stdout]    --> src/broker/broker.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use crate::config::config::CeleryConfig;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     use super::*;
[INFO] [stdout]     |         -------- the item `CeleryConfig` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ThreadableRabbitMQConnectionPool` is imported redundantly
[INFO] [stdout]    --> src/broker/broker.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     use crate::connection::rabbitmq_connection_pool::ThreadableRabbitMQConnectionPool;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 175 |
[INFO] [stdout] 176 |     use super::*;
[INFO] [stdout]     |         -------- the item `ThreadableRabbitMQConnectionPool` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `num_cpus` is imported redundantly
[INFO] [stdout]  --> src/config/config.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_cpus;
[INFO] [stdout]   |     ^^^^^^^^ the item `num_cpus` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Channel`, `Connection`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use amiquip::{Channel, Connection};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::rabbitmq_connection_utils`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_factory.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::connection::rabbitmq_connection_utils;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if(credentials.is_some()){
[INFO] [stdout]    |           ^                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -         if(credentials.is_some()){
[INFO] [stdout] 41 +         if credentials.is_some() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use std::borrow::Borrow;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     use std::ops::DerefMut;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::rabbitmq_connection_utils`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     use crate::connection::rabbitmq_connection_utils;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Exchange`, `Publish`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use amiquip::{Channel, Connection, Exchange, Publish, Result};
[INFO] [stdout]   |                                    ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_connection_utils.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         if(conn_result.is_ok()){
[INFO] [stdout]    |           ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 22 -         if(conn_result.is_ok()){
[INFO] [stdout] 22 +         if conn_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_connection_utils.rs:25:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |             if(channel_result.is_ok()) {
[INFO] [stdout]    |               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -             if(channel_result.is_ok()) {
[INFO] [stdout] 25 +             if channel_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_pool.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/connection/rabbitmq_connection_pool.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `RwLock`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]    |                 ^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Credential`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::connection::rabbitmq_connection_factory::{Credential, RabbitMQConnectionFactory};
[INFO] [stdout]    |                                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]    --> src/connection/rabbitmq_connection_pool.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use std::borrow::BorrowMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LockResult`, `Mutex`, `PoisonError`
[INFO] [stdout]    --> src/connection/rabbitmq_connection_pool.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use std::sync::{LockResult, Mutex, PoisonError};
[INFO] [stdout]     |                     ^^^^^^^^^^  ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExchangeDeclareOptions`, `ExchangeType`, `FieldTable`, `Publish`
[INFO] [stdout]    --> src/connection/rabbitmq_connection_pool.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout] 107 |     use amiquip::{ExchangeDeclareOptions, ExchangeType, FieldTable, QueueDeclareOptions, QueueDeleteOptions, Result, Publish};
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/threadable_rabbit_mq_connection.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |         if (conn_result.is_ok()) {
[INFO] [stdout]    |            ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         if (conn_result.is_ok()) {
[INFO] [stdout] 23 +         if conn_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/threadable_rabbit_mq_connection.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |             if (channel_result.is_ok()) {
[INFO] [stdout]    |                ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -             if (channel_result.is_ok()) {
[INFO] [stdout] 26 +             if channel_result.is_ok() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection`
[INFO] [stdout]  --> src/connection/rabbitmq_channel_utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::connection::threadable_rabbit_mq_connection::ThreadableRabbitMQConnection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if(nowait == true) {
[INFO] [stdout]    |       ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -     if(nowait == true) {
[INFO] [stdout] 39 +     if nowait == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 |     if(nowait == true){
[INFO] [stdout]    |       ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -     if(nowait == true){
[INFO] [stdout] 48 +     if nowait == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |     if(nowait == true) {
[INFO] [stdout]    |       ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -     if(nowait == true) {
[INFO] [stdout] 57 +     if nowait == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/message_protocol/headers.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::uri::AMQPScheme::AMQP`
[INFO] [stdout]   --> src/message_protocol/headers.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use amq_protocol::uri::AMQPScheme::AMQP;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Number`
[INFO] [stdout]   --> src/message_protocol/headers.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde_json::{Map, Number, to_string, Value};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/message_protocol/headers.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/message_protocol/headers.rs:245:9
[INFO] [stdout]     |
[INFO] [stdout] 245 |     use std::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AmqpValue`
[INFO] [stdout]  --> src/message_protocol/message.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | use amiquip::{AmqpProperties, AmqpValue};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::uri::AMQPScheme::AMQP`
[INFO] [stdout]  --> src/message_protocol/message.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use amq_protocol::uri::AMQPScheme::AMQP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Map`
[INFO] [stdout]  --> src/message_protocol/message.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{Map, to_string, Value};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/message_protocol/message.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         /// get extra properties
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |         let jheaders = self.headers.convert_to_btree_map();
[INFO] [stdout]    |         --------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/message_protocol/message.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         /// get the message body string
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |         let mut body_vec = Vec::<Value>::new();
[INFO] [stdout]    |         --------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amiquip::AmqpValue`
[INFO] [stdout]   --> src/message_protocol/message.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     use amiquip::AmqpValue;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Value` is imported redundantly
[INFO] [stdout]   --> src/message_protocol/message.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |     use serde_json::{from_str, Value};
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         -------- the item `Value` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Args` is imported redundantly
[INFO] [stdout]   --> src/message_protocol/message.rs:80:38
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use crate::argparse::args::{Arg, Args};
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         -------- the item `Args` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Headers` is imported redundantly
[INFO] [stdout]   --> src/message_protocol/message.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use crate::message_protocol::headers::Headers;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         -------- the item `Headers` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `MessageBody` is imported redundantly
[INFO] [stdout]   --> src/message_protocol/message.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     use crate::message_protocol::message_body::MessageBody;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         -------- the item `MessageBody` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Properties` is imported redundantly
[INFO] [stdout]   --> src/message_protocol/message.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     use crate::message_protocol::properties::Properties;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 85 |
[INFO] [stdout] 86 |     use super::*;
[INFO] [stdout]    |         -------- the item `Properties` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hostname` is imported redundantly
[INFO] [stdout]  --> src/nodename/anon_name.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use hostname;
[INFO] [stdout]   |     ^^^^^^^^ the item `hostname` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `amq_protocol::types::FieldArray`
[INFO] [stdout]   --> src/serde_utils/val_handler.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use amq_protocol::types::FieldArray;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `url` is never read
[INFO] [stdout]   --> src/amqp/amqp.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut url = "".to_string();
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/broker/broker.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn create_exchange(config: CeleryConfig, channel: &Channel, durable: bool, exchange: String, exchange_type: ExchangeType) -> Result<b...
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uuid`
[INFO] [stdout]   --> src/broker/broker.rs:65:116
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...tring, declare_exchange: bool, uuid: String, exchange: Option<String>, routing_key: Option<String>) -> Result<bool, QueueError>{
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/broker/broker.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let mut etype = ExchangeType::Direct;
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/broker/broker.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn bind_to_exchange(config: CeleryConfig, channel: &Channel, exchange: String, queue: String, routing_key: String) -> Result<bool, Ex...
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/broker/broker.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let mut json_message = to_string(&json_val);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/broker/broker.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut publish = Publish::with_properties(jbytes, m_routing_key, amq_properties);
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_ssl`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:40:70
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn create_connection(&self, credentials: Option<Credential>, is_ssl: bool) -> Result<RabbitMQConnection, &'static str> {
[INFO] [stdout]    |                                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ssl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |             for i in 0..self.initial_size{
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for i in 0 .. self.active_connections.len(){
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]   --> src/connection/threadable_rabbit_mq_connection.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 let channel = channel_result.unwrap();
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hname` is never read
[INFO] [stdout]   --> src/nodename/anon_name.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut hname = "".to_string();
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/argparse/kwargs.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl KwArg{
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn new(key: String, arg: Value, arg_type: AMQPType) -> KwArg{
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/broker/broker.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct RabbitMQBroker{
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 28 |     config: CeleryConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `email` are never read
[INFO] [stdout]   --> src/config/config.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Admin{
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 33 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 34 |     email: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Admin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Connection` is never used
[INFO] [stdout]  --> src/connection/connection.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Connection{
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conn_inf` is never read
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ThreadableRabbitMQConnectionPool{
[INFO] [stdout]    |            -------------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     conn_inf: AMQPConnectionInf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `release_connection` is never used
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl ThreadableRabbitMQConnectionPool{
[INFO] [stdout]    | ------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn release_connection(&mut self, conn: ThreadableRabbitMQConnection){
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_exchange` is never used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn create_exchange(channel: Channel,  exchange_name: String, exchange_type: ExchangeType, exchange_options: ExchangeDeclareOptions){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/task/config.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct TaskConfig{
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 10 |     task_name: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 11 |     reply_to: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     correlation_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     expires: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     priority: i8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 15 |     time_limit: i64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 16 |     soft_time_limit: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     eta: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     retries: i8,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/broker/broker.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             channel.exchange_declare(etype, exchange.clone().unwrap(), eopts);
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let _ = channel.exchange_declare(etype, exchange.clone().unwrap(), eopts);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/broker/broker.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |             channel.basic_publish(m_exchange, publish);
[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] 131 |             let _ = channel.basic_publish(m_exchange, publish);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             conn.unwrap().connection.close();
[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] 82 |             let _ = conn.unwrap().connection.close();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     channel.exchange_declare(exchange_type, exchange_name, exchange_options);
[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] 13 |     let _ = channel.exchange_declare(exchange_type, exchange_name, exchange_options);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     channel.exchange_declare(exchage_type, exchange_name, ExchangeDeclareOptions::default());
[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] 19 |     let _ = channel.exchange_declare(exchage_type, exchange_name, ExchangeDeclareOptions::default());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     channel.exchange_delete(exchange_name, if_unused);
[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] 24 |     let _ = channel.exchange_delete(exchange_name, if_unused);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     channel.exchange_delete(exchange_name, true);
[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] 29 |     let _ = channel.exchange_delete(exchange_name, true);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fieldTable` should have a snake case name
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:33:98
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn exchange_bind(channel: Channel, source: String, destination: String, routing_key: String, fieldTable: FieldTable){
[INFO] [stdout]    |                                                                                                  ^^^^^^^^^^ help: convert the identifier to snake case: `field_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     channel.exchange_bind(destination, source, routing_key, fieldTable);
[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] 34 |     let _ = channel.exchange_bind(destination, source, routing_key, fieldTable);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         channel.queue_declare_nowait(queue_name, options);
[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] 40 |         let _ = channel.queue_declare_nowait(queue_name, options);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         channel.queue_declare(queue_name, options);
[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] 42 |         let _ = channel.queue_declare(queue_name, options);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         channel.queue_bind_nowait(queue_name, exchange, routing_key, field_table);
[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] 49 |         let _ = channel.queue_bind_nowait(queue_name, exchange, routing_key, field_table);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         channel.queue_bind(queue_name, exchange, routing_key, field_table);
[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] 51 |         let _ = channel.queue_bind(queue_name, exchange, routing_key, field_table);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         channel.queue_delete_nowait(queue_name, options);
[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] 58 |         let _ = channel.queue_delete_nowait(queue_name, options);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/connection/rabbitmq_channel_utils.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         channel.queue_delete(queue_name, options);
[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] 60 |         let _ = channel.queue_delete(queue_name, options);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 85 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `spawn` found for struct `Runtime` in the current scope
[INFO] [stdout]    --> src/broker/broker.rs:360:28
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 let j = rt.spawn(async move {
[INFO] [stdout]     |                         ---^^^^^ method not found in `Runtime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `shutdown_on_idle` found for struct `Runtime` in the current scope
[INFO] [stdout]    --> src/broker/broker.rs:376:16
[INFO] [stdout]     |
[INFO] [stdout] 376 |             rt.shutdown_on_idle();
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ method not found in `Runtime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `url` is never read
[INFO] [stdout]   --> src/amqp/amqp.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut url = "".to_string();
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/broker/broker.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn create_exchange(config: CeleryConfig, channel: &Channel, durable: bool, exchange: String, exchange_type: ExchangeType) -> Result<b...
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uuid`
[INFO] [stdout]   --> src/broker/broker.rs:65:116
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...tring, declare_exchange: bool, uuid: String, exchange: Option<String>, routing_key: Option<String>) -> Result<bool, QueueError>{
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/broker/broker.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let mut etype = ExchangeType::Direct;
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/broker/broker.rs:101:25
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn bind_to_exchange(config: CeleryConfig, channel: &Channel, exchange: String, queue: String, routing_key: String) -> Result<bool, Ex...
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/broker/broker.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let mut json_message = to_string(&json_val);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/broker/broker.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut publish = Publish::with_properties(jbytes, m_routing_key, amq_properties);
[INFO] [stdout]     |                 ----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rmq`
[INFO] [stdout]    --> src/broker/broker.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let rmq = RabbitMQBroker::new(conf.clone());
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rmq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rmq`
[INFO] [stdout]    --> src/broker/broker.rs:219:13
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let rmq = RabbitMQBroker::new(conf.clone());
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rmq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rmq`
[INFO] [stdout]    --> src/broker/broker.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let rmq = RabbitMQBroker::new(conf.clone());
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rmq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply_queue`
[INFO] [stdout]    --> src/broker/broker.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |             let reply_queue = Uuid::new_v4();
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reply_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rmq`
[INFO] [stdout]    --> src/broker/broker.rs:272:13
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let rmq = RabbitMQBroker::new(cnf.clone());
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rmq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/broker/broker.rs:282:21
[INFO] [stdout]     |
[INFO] [stdout] 282 |                 for i in 0..2666 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rq`
[INFO] [stdout]    --> src/broker/broker.rs:286:25
[INFO] [stdout]     |
[INFO] [stdout] 286 | ...   let rq = RabbitMQBroker::create_queue(conf.clone(), &channel, true, String::from("test_queue"), true, uuid, Some("test_exchange".to...
[INFO] [stdout]     |           ^^ help: if this is intentional, prefix it with an underscore: `_rq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply_queue`
[INFO] [stdout]    --> src/broker/broker.rs:293:25
[INFO] [stdout]     |
[INFO] [stdout] 293 |                     let reply_queue = Uuid::new_v4();
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reply_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]    --> src/broker/broker.rs:295:25
[INFO] [stdout]     |
[INFO] [stdout] 295 | ...   let br = RabbitMQBroker::send_task(conf.clone(), &channel, props, headers, body, Some("test_exchange".to_string()), Some("test_rout...
[INFO] [stdout]     |           ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/broker/broker.rs:302:21
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 for i in 0..2666 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rq`
[INFO] [stdout]    --> src/broker/broker.rs:306:25
[INFO] [stdout]     |
[INFO] [stdout] 306 | ...   let rq = RabbitMQBroker::create_queue(conf.clone(), &channelb, true, String::from("test_queue"), true, uuid, Some("test_exchange".t...
[INFO] [stdout]     |           ^^ help: if this is intentional, prefix it with an underscore: `_rq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply_queue`
[INFO] [stdout]    --> src/broker/broker.rs:313:25
[INFO] [stdout]     |
[INFO] [stdout] 313 |                     let reply_queue = Uuid::new_v4();
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reply_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]    --> src/broker/broker.rs:315:25
[INFO] [stdout]     |
[INFO] [stdout] 315 | ...   let br = RabbitMQBroker::send_task(conf.clone(), &channelb, props, headers, body, Some("test_exchange".to_string()), Some("test_rou...
[INFO] [stdout]     |           ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/broker/broker.rs:322:21
[INFO] [stdout]     |
[INFO] [stdout] 322 |                 for i in 0..2666 {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rq`
[INFO] [stdout]    --> src/broker/broker.rs:326:25
[INFO] [stdout]     |
[INFO] [stdout] 326 | ...   let rq = RabbitMQBroker::create_queue(conf.clone(), &channelc, true, String::from("test_queue"), true, uuid, Some("test_exchange".t...
[INFO] [stdout]     |           ^^ help: if this is intentional, prefix it with an underscore: `_rq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reply_queue`
[INFO] [stdout]    --> src/broker/broker.rs:333:25
[INFO] [stdout]     |
[INFO] [stdout] 333 |                     let reply_queue = Uuid::new_v4();
[INFO] [stdout]     |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reply_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `br`
[INFO] [stdout]    --> src/broker/broker.rs:335:25
[INFO] [stdout]     |
[INFO] [stdout] 335 | ...   let br = RabbitMQBroker::send_task(conf.clone(), &channelc, props, headers, body, Some("test_exchange".to_string()), Some("test_rou...
[INFO] [stdout]     |           ^^ help: if this is intentional, prefix it with an underscore: `_br`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_ssl`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_factory.rs:40:70
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn create_connection(&self, credentials: Option<Credential>, is_ssl: bool) -> Result<RabbitMQConnection, &'static str> {
[INFO] [stdout]    |                                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ssl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |             for i in 0..self.initial_size{
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/connection/rabbitmq_connection_pool.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for i in 0 .. self.active_connections.len(){
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel`
[INFO] [stdout]   --> src/connection/threadable_rabbit_mq_connection.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 let channel = channel_result.unwrap();
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cv`
[INFO] [stdout]    --> src/message_protocol/message.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let cv = ch.unwrap().to_owned();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_cv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kwargs`
[INFO] [stdout]    --> src/message_protocol/message.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let kwargs: Option<KwArg> = None;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> src/message_protocol/message.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let m = Message::new(props, h, mb, Some(args), None);
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cv`
[INFO] [stdout]    --> src/message_protocol/message.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let cv = ch.unwrap().to_owned();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_cv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `kwargs`
[INFO] [stdout]    --> src/message_protocol/message.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let kwargs: Option<KwArg> = None;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kwargs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `props`
[INFO] [stdout]    --> src/message_protocol/message.rs:136:20
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let (body, props) = m.get_message_parts();
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_props`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hname` is never read
[INFO] [stdout]   --> src/nodename/anon_name.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut hname = "".to_string();
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `av`
[INFO] [stdout]    --> src/serde_utils/val_handler.rs:102:35
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if let AmqpValue::Boolean(av) = av {
[INFO] [stdout]     |                                   ^^ help: if this is intentional, prefix it with an underscore: `_av`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `av`
[INFO] [stdout]    --> src/serde_utils/val_handler.rs:126:34
[INFO] [stdout]     |
[INFO] [stdout] 126 |         if let AmqpValue::Double(av) = av{
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_av`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 116 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `celery-rs-core` (lib test) due to 3 previous errors; 116 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fc5f349c51fe9ee13362c9dcfd5d8bd09a24f756f62dd8bdac82b457cc19232a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc5f349c51fe9ee13362c9dcfd5d8bd09a24f756f62dd8bdac82b457cc19232a", kill_on_drop: false }`
[INFO] [stdout] fc5f349c51fe9ee13362c9dcfd5d8bd09a24f756f62dd8bdac82b457cc19232a
