[INFO] fetching crate celery-rs-core 0.0.6... [INFO] checking celery-rs-core-0.0.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate celery-rs-core 0.0.6 into /workspace/builds/worker-1-tc1/source [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] validating manifest of crates.io crate celery-rs-core 0.0.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 230 packages to latest compatible versions [INFO] [stderr] Adding amiquip v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding amq-protocol v3.1.1 (available: v9.0.1) [INFO] [stderr] Adding hostname v0.1.5 (available: v0.4.1) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winutil v0.1.1 [INFO] [stderr] Downloaded amq-protocol v3.1.1 [INFO] [stderr] Downloaded amq-protocol-uri v3.1.1 [INFO] [stderr] Downloaded tcp-stream v0.8.2 [INFO] [stderr] Downloaded handlebars v2.0.4 [INFO] [stderr] Downloaded amq-protocol-types v1.2.0 [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded amq-protocol-types v3.1.1 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] [stderr] Downloaded amq-protocol-codegen v1.4.0 [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded built v0.3.2 [INFO] [stderr] Downloaded amq-protocol v1.4.0 [INFO] [stderr] Downloaded cookie-factory v0.2.4 [INFO] [stderr] Downloaded input_buffer v0.2.0 [INFO] [stderr] Downloaded amiquip v0.3.3 [INFO] [stderr] Downloaded hashbrown v0.5.0 [INFO] [stderr] Downloaded amq-protocol-codegen v3.1.1 [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded amq-protocol-tcp v3.1.1 [INFO] [stderr] Downloaded hostname v0.1.5 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36da180e26d3c6e1490bd0fade6d322f80f897121e068b80d28b2006ccdfc6e6 [INFO] running `Command { std: "docker" "start" "-a" "36da180e26d3c6e1490bd0fade6d322f80f897121e068b80d28b2006ccdfc6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36da180e26d3c6e1490bd0fade6d322f80f897121e068b80d28b2006ccdfc6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36da180e26d3c6e1490bd0fade6d322f80f897121e068b80d28b2006ccdfc6e6", kill_on_drop: false }` [INFO] [stdout] 36da180e26d3c6e1490bd0fade6d322f80f897121e068b80d28b2006ccdfc6e6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fb8b1f76c472a572623202c040f9c4e893262bbf7944eafec154c93754631e9 [INFO] running `Command { std: "docker" "start" "-a" "4fb8b1f76c472a572623202c040f9c4e893262bbf7944eafec154c93754631e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking tcp-stream v0.8.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking amq-protocol-uri v3.1.1 [INFO] [stderr] Checking amq-protocol-tcp v3.1.1 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Checking amq-protocol-types v3.1.1 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling git2 v0.10.2 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling handlebars v2.0.4 [INFO] [stderr] Compiling amq-protocol-codegen v3.1.1 [INFO] [stderr] Compiling built v0.3.2 [INFO] [stderr] Compiling amiquip v0.3.3 [INFO] [stderr] Compiling amq-protocol v3.1.1 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking celery-rs-core v0.0.6 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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: 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`, and `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: `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] = note: `#[warn(unused_imports)]` 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 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: 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: 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 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 imports: `Arc` and `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 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 imports: `Channel` and `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: `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: `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: 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: 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: `AmqpProperties`, `AmqpValue`, `Exchange`, and `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: `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: `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: `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: `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: `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::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_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 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 imports: `Exchange` and `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 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 imports: `Arc` and `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 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 imports: `BorrowMut` and `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: `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::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` and `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`, and `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: 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 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: `LockResult`, `Mutex`, and `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: `Arc` and `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` and `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 imports: `ExchangeDeclareOptions`, `ExchangeType`, `FieldTable`, and `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: 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/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/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: 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 imports: `Exchange` and `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 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: unused imports: `Arc` and `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: 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: unused imports: `BorrowMut` and `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: 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: 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_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: 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: 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: 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 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 imports: `BorrowMut` and `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: `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: `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 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 imports: `Arc`, `Mutex`, and `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: 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 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 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: 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 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::::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: 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: `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: 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: 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::::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: 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 src/broker/broker.rs:65:116 [INFO] [stdout] | [INFO] [stdout] 65 | ...tring, declare_exchange: bool, uuid: String, exchange: Option, routing_key: Option) -> Result{ [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 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, is_ssl: bool) -> Result { [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] 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] 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] 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: 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: 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 src/broker/broker.rs:65:116 [INFO] [stdout] | [INFO] [stdout] 65 | ...tring, declare_exchange: bool, uuid: String, exchange: Option, routing_key: Option) -> Result{ [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 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, is_ssl: bool) -> Result { [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 = 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 = 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] 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 2 previous errors; 96 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4fb8b1f76c472a572623202c040f9c4e893262bbf7944eafec154c93754631e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb8b1f76c472a572623202c040f9c4e893262bbf7944eafec154c93754631e9", kill_on_drop: false }` [INFO] [stdout] 4fb8b1f76c472a572623202c040f9c4e893262bbf7944eafec154c93754631e9