[INFO] cloning repository https://github.com/tjz101/mqtt-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tjz101/mqtt-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjz101%2Fmqtt-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjz101%2Fmqtt-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba121ee7b6ccd43472423c0e2a927f94436b014b [INFO] building tjz101/mqtt-test against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjz101%2Fmqtt-test" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tjz101/mqtt-test on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tjz101/mqtt-test [INFO] finished tweaking git repo https://github.com/tjz101/mqtt-test [INFO] tweaked toml for git repo https://github.com/tjz101/mqtt-test written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/tjz101/mqtt-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2aa65fae63fe8928f78c6cdf4276535ac6ae355e57aa00b05338046e76dd47e [INFO] running `Command { std: "docker" "start" "-a" "d2aa65fae63fe8928f78c6cdf4276535ac6ae355e57aa00b05338046e76dd47e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2aa65fae63fe8928f78c6cdf4276535ac6ae355e57aa00b05338046e76dd47e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2aa65fae63fe8928f78c6cdf4276535ac6ae355e57aa00b05338046e76dd47e", kill_on_drop: false }` [INFO] [stdout] d2aa65fae63fe8928f78c6cdf4276535ac6ae355e57aa00b05338046e76dd47e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76fb2f978b18ee81075173669a2c6694859b30c310b9824744aa6db441a75516 [INFO] running `Command { std: "docker" "start" "-a" "76fb2f978b18ee81075173669a2c6694859b30c310b9824744aa6db441a75516", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling paho-mqtt-sys v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix v0.13.0 [INFO] [stderr] Compiling paho-mqtt v0.10.0 [INFO] [stderr] Compiling mqtt-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/actor/recv_actor.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/recv_actor.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/reply_actor.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/recv_actor.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(reply_addr: Addr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/recv_actor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(process: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/reply_actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(client: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/client/mqtt_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | rx: mqtt::Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/mqtt_client.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscribe` [INFO] [stdout] --> src/client/mqtt_client.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn subscribe(&self, topic: &str, qos: i32, recv_addr: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_reconnect` [INFO] [stdout] --> src/client/mqtt_client.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | async fn try_reconnect(&self, topic: &str, qos: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/actor/reply_actor.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/actor/recv_actor.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/recv_actor.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/reply_actor.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/actor/reply_actor.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "76fb2f978b18ee81075173669a2c6694859b30c310b9824744aa6db441a75516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76fb2f978b18ee81075173669a2c6694859b30c310b9824744aa6db441a75516", kill_on_drop: false }` [INFO] [stdout] 76fb2f978b18ee81075173669a2c6694859b30c310b9824744aa6db441a75516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7799be77a582653cde4fb49a8698c85701f231b5ec1801f8e325837a68a9f3e3 [INFO] running `Command { std: "docker" "start" "-a" "7799be77a582653cde4fb49a8698c85701f231b5ec1801f8e325837a68a9f3e3", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/actor/recv_actor.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/recv_actor.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/reply_actor.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/recv_actor.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(reply_addr: Addr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/recv_actor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(process: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/reply_actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(client: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/client/mqtt_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | rx: mqtt::Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/mqtt_client.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscribe` [INFO] [stdout] --> src/client/mqtt_client.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn subscribe(&self, topic: &str, qos: i32, recv_addr: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_reconnect` [INFO] [stdout] --> src/client/mqtt_client.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | async fn try_reconnect(&self, topic: &str, qos: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/actor/reply_actor.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mqtt-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/actor/recv_actor.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/recv_actor.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/reply_actor.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/recv_actor.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(reply_addr: Addr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/recv_actor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(process: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/actor/reply_actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(client: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rx` [INFO] [stdout] --> src/client/mqtt_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | rx: mqtt::Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/mqtt_client.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscribe` [INFO] [stdout] --> src/client/mqtt_client.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn subscribe(&self, topic: &str, qos: i32, recv_addr: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_reconnect` [INFO] [stdout] --> src/client/mqtt_client.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | async fn try_reconnect(&self, topic: &str, qos: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/actor/recv_actor.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/recv_actor.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actor/reply_actor.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | fn handle(&mut self, msg: MqttMsg, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/actor/reply_actor.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/actor/reply_actor.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.01s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/mqtt_test-c88d199ec0c267a9) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mqtt_test-52b9ffd63e014740) [INFO] running `Command { std: "docker" "inspect" "7799be77a582653cde4fb49a8698c85701f231b5ec1801f8e325837a68a9f3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7799be77a582653cde4fb49a8698c85701f231b5ec1801f8e325837a68a9f3e3", kill_on_drop: false }` [INFO] [stdout] 7799be77a582653cde4fb49a8698c85701f231b5ec1801f8e325837a68a9f3e3