[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] checking tjz101/mqtt-test against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjz101%2Fmqtt-test" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tjz101/mqtt-test on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tjz101/mqtt-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paho-mqtt v0.10.0 [INFO] [stderr] Downloaded tokio v1.18.0 [INFO] [stderr] Downloaded paho-mqtt-sys v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e38c45de0711ae108d34d5c3abab4afee703a12b54ea2967a35d52fb0f28dcca [INFO] running `Command { std: "docker" "start" "-a" "e38c45de0711ae108d34d5c3abab4afee703a12b54ea2967a35d52fb0f28dcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e38c45de0711ae108d34d5c3abab4afee703a12b54ea2967a35d52fb0f28dcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38c45de0711ae108d34d5c3abab4afee703a12b54ea2967a35d52fb0f28dcca", kill_on_drop: false }` [INFO] [stdout] e38c45de0711ae108d34d5c3abab4afee703a12b54ea2967a35d52fb0f28dcca [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37cc09a0f80ea3cd15068be973744a3b5e605a76613584969817681bcce3daf3 [INFO] running `Command { std: "docker" "start" "-a" "37cc09a0f80ea3cd15068be973744a3b5e605a76613584969817681bcce3daf3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling paho-mqtt-sys v0.6.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking 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] Checking tokio v1.18.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking paho-mqtt v0.10.0 [INFO] [stderr] Checking actix v0.13.0 [INFO] [stderr] Checking 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: struct `Process` is never constructed [INFO] [stdout] --> src/actor/recv_actor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse_msg` are never used [INFO] [stdout] --> src/actor/recv_actor.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Process { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(reply_addr: Addr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecvActor` is never constructed [INFO] [stdout] --> src/actor/recv_actor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RecvActor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actor/recv_actor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl RecvActor { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(process: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplyActor` is never constructed [INFO] [stdout] --> src/actor/reply_actor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ReplyActor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actor/reply_actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ReplyActor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(client: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/client/mqtt_client.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttClient` is never constructed [INFO] [stdout] --> src/client/mqtt_client.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MqttClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `publish`, `subscribe`, and `try_reconnect` are never used [INFO] [stdout] --> src/client/mqtt_client.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl MqttClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn publish(&self, topic: &str, msg: &str, qos: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn subscribe(&self, topic: &str, qos: i32, recv_addr: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | async fn try_reconnect(&self, topic: &str, qos: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttMsg` is never constructed [INFO] [stdout] --> src/client/mqtt_msg.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MqttMsg(pub String, pub String, pub i32); [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: 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] 28 | let _ = self.client.publish(&msg.0, &msg.1, msg.2); [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: struct `Process` is never constructed [INFO] [stdout] --> src/actor/recv_actor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Process { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse_msg` are never used [INFO] [stdout] --> src/actor/recv_actor.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Process { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(reply_addr: Addr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn parse_msg(&self, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecvActor` is never constructed [INFO] [stdout] --> src/actor/recv_actor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RecvActor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actor/recv_actor.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl RecvActor { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(process: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplyActor` is never constructed [INFO] [stdout] --> src/actor/reply_actor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ReplyActor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actor/reply_actor.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ReplyActor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(client: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/client/mqtt_client.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttClient` is never constructed [INFO] [stdout] --> src/client/mqtt_client.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MqttClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `publish`, `subscribe`, and `try_reconnect` are never used [INFO] [stdout] --> src/client/mqtt_client.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl MqttClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn publish(&self, topic: &str, msg: &str, qos: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn subscribe(&self, topic: &str, qos: i32, recv_addr: Arc>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | async fn try_reconnect(&self, topic: &str, qos: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MqttMsg` is never constructed [INFO] [stdout] --> src/client/mqtt_msg.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MqttMsg(pub String, pub String, pub i32); [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: 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] 28 | let _ = self.client.publish(&msg.0, &msg.1, msg.2); [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 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 `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: 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] 28 | let _ = self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | +++++++ [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: 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] 28 | let _ = self.client.publish(&msg.0, &msg.1, msg.2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.86s [INFO] running `Command { std: "docker" "inspect" "37cc09a0f80ea3cd15068be973744a3b5e605a76613584969817681bcce3daf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37cc09a0f80ea3cd15068be973744a3b5e605a76613584969817681bcce3daf3", kill_on_drop: false }` [INFO] [stdout] 37cc09a0f80ea3cd15068be973744a3b5e605a76613584969817681bcce3daf3