[INFO] cloning repository https://github.com/RincewindWizzard/heimstad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RincewindWizzard/heimstad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRincewindWizzard%2Fheimstad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRincewindWizzard%2Fheimstad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bde78c58b8f1b3ec72cb912f4cdea42116d2b01 [INFO] checking RincewindWizzard/heimstad against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRincewindWizzard%2Fheimstad" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RincewindWizzard/heimstad [INFO] finished tweaking git repo https://github.com/RincewindWizzard/heimstad [INFO] tweaked toml for git repo https://github.com/RincewindWizzard/heimstad written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RincewindWizzard/heimstad on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RincewindWizzard/heimstad 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2840739225edf2a9d60c82dc1c20971ced5f11a93189a7aa16ef840975b60316 [INFO] running `Command { std: "docker" "start" "-a" "2840739225edf2a9d60c82dc1c20971ced5f11a93189a7aa16ef840975b60316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2840739225edf2a9d60c82dc1c20971ced5f11a93189a7aa16ef840975b60316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2840739225edf2a9d60c82dc1c20971ced5f11a93189a7aa16ef840975b60316", kill_on_drop: false }` [INFO] [stdout] 2840739225edf2a9d60c82dc1c20971ced5f11a93189a7aa16ef840975b60316 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af57a0c57027f6f660c6b30da76244be9c9d5c288d28bc6bb40a206a177f63b4 [INFO] running `Command { std: "docker" "start" "-a" "af57a0c57027f6f660c6b30da76244be9c9d5c288d28bc6bb40a206a177f63b4", kill_on_drop: false }` [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking rumqttc v0.24.0 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking heimstad v0.1.34 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/actors/broker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/actors/actor2.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Deserializer, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActorFuture` [INFO] [stdout] --> src/actors/actor2.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::actors::actor::{ActorError, ActorFuture, BUFFER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/actors/broker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/actors/message.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/actors/broker.rs:43:83 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn add_actor(&mut self, actor: Box>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/actors/actor.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const BUFFER_SIZE: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ActorFuture` is never used [INFO] [stdout] --> src/actors/actor.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type ActorFuture<'a> = Pin> + Send + 'a>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Payload` is never used [INFO] [stdout] --> src/actors/actor.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Payload = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActorError` is never used [INFO] [stdout] --> src/actors/actor.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ActorError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Message` is never used [INFO] [stdout] --> src/actors/actor.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Message {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ActorResult` is never used [INFO] [stdout] --> src/actors/actor.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ActorResult = JoinHandle>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/actors/actor.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Actor [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wrap_receiver` is never used [INFO] [stdout] --> src/actors/actor.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn wrap_receiver(mut rx: Receiver) -> Receiver [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heartbeat` is never constructed [INFO] [stdout] --> src/actors/heartbeat.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Heartbeat; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEARTBEAT_REPR` is never used [INFO] [stdout] --> src/actors/heartbeat.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const HEARTBEAT_REPR: &str = "Heartbeat"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeartbeatEmitter` is never constructed [INFO] [stdout] --> src/actors/heartbeat.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HeartbeatEmitter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actors/heartbeat.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl HeartbeatEmitter { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 36 | pub fn new(interval: Duration) -> HeartbeatEmitter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Topic` is never constructed [INFO] [stdout] --> src/actors/broker.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Topic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `subscribe`, and `publish` are never used [INFO] [stdout] --> src/actors/broker.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Topic { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | fn new(name: &str) -> Topic { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn subscribe(&mut self, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn publish(&mut self, rx: Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MessageTopic` is never used [INFO] [stdout] --> src/actors/broker.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type MessageTopic = Topic>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Broker` is never constructed [INFO] [stdout] --> src/actors/broker.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Broker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_actor` are never used [INFO] [stdout] --> src/actors/broker.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Broker { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 37 | pub fn new() -> Broker { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn add_actor(&mut self, actor: Box>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Payload` is never used [INFO] [stdout] --> src/actors/message.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Payload { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/actors/message.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_from_bytes`, `get_payload`, and `topic` are never used [INFO] [stdout] --> src/actors/message.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Message { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 30 | pub fn new(topic: &str, payload: T) -> Option [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_from_bytes(topic: &str, payload: Bytes) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_payload(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn topic(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/conf.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Actor` is never used [INFO] [stdout] --> src/conf.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Actor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Emitter` is never constructed [INFO] [stdout] --> src/conf.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Emitter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Minuterie` is never constructed [INFO] [stdout] --> src/conf.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Minuterie { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Outlet` is never constructed [INFO] [stdout] --> src/conf.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Outlet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Switch` is never constructed [INFO] [stdout] --> src/conf.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct Switch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/actors/actor.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, rx: Receiver, tx: Sender) -> ActorFuture; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, rx: Receiver, tx: Sender) -> ActorFuture<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/actors/heartbeat.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn run(&self, rx: Receiver<()>, tx: Sender) -> ActorFuture { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn run(&self, rx: Receiver<()>, tx: Sender) -> ActorFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/actors/message.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/actors/message.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let payload = Bytes::try_from(self.payload.clone()).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/actors/broker.rs:43:83 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn add_actor(&mut self, actor: Box>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `heimstad` (bin "heimstad") due to 1 previous error; 31 warnings emitted [INFO] [stdout] warning: unused variable: `broker` [INFO] [stdout] --> src/actors/broker.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let broker = (); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_broker` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/actors/actor2.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(msg) = rx_b.recv().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/actors/actor2.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | while let Some(msg) = rx_a.recv().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/actors/actor2.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | while let Some(a) = rx_b.recv().await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/actors/actor2.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | while let Some(a) = rx_a.recv().await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/actors/actor2.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Message` is never used [INFO] [stdout] --> src/actors/actor.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Message {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Topic` is never constructed [INFO] [stdout] --> src/actors/broker.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Topic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `subscribe`, and `publish` are never used [INFO] [stdout] --> src/actors/broker.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Topic { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | fn new(name: &str) -> Topic { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn subscribe(&mut self, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn publish(&mut self, rx: Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MessageTopic` is never used [INFO] [stdout] --> src/actors/broker.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type MessageTopic = Topic>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Broker` is never constructed [INFO] [stdout] --> src/actors/broker.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Broker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_actor` are never used [INFO] [stdout] --> src/actors/broker.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Broker { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 37 | pub fn new() -> Broker { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn add_actor(&mut self, actor: Box>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/actors/actor.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, rx: Receiver, tx: Sender) -> ActorFuture; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | fn run(&self, rx: Receiver, tx: Sender) -> ActorFuture<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/actors/heartbeat.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn run(&self, rx: Receiver<()>, tx: Sender) -> ActorFuture { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | fn run(&self, rx: Receiver<()>, tx: Sender) -> ActorFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/actors/message.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let payload = Bytes::try_from(self.payload.clone()).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `heimstad` (bin "heimstad" test) due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "af57a0c57027f6f660c6b30da76244be9c9d5c288d28bc6bb40a206a177f63b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af57a0c57027f6f660c6b30da76244be9c9d5c288d28bc6bb40a206a177f63b4", kill_on_drop: false }` [INFO] [stdout] af57a0c57027f6f660c6b30da76244be9c9d5c288d28bc6bb40a206a177f63b4