[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] building RincewindWizzard/heimstad against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRincewindWizzard%2Fheimstad" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RincewindWizzard/heimstad on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v0.6.6 [INFO] [stderr] Downloaded tokio-macros v2.3.0 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.0 [INFO] [stderr] Downloaded toml_datetime v0.6.6 [INFO] [stderr] Downloaded redox_syscall v0.5.2 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded clap_lex v0.7.1 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded anstyle-parse v0.2.4 [INFO] [stderr] Downloaded anstyle v1.0.7 [INFO] [stderr] Downloaded anstream v0.6.14 [INFO] [stderr] Downloaded bytemuck v1.16.0 [INFO] [stderr] Downloaded clap v4.5.7 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded cc v1.0.99 [INFO] [stderr] Downloaded toml_edit v0.22.14 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded clap_builder v4.5.7 [INFO] [stderr] Downloaded winnow v0.6.13 [INFO] [stderr] Downloaded futures v0.3.30 [INFO] [stderr] Downloaded rustls-webpki v0.102.4 [INFO] [stderr] Downloaded rustls-native-certs v0.7.0 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded stderrlog v0.6.0 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded object v0.36.0 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.85 [INFO] [stderr] Downloaded toml v0.8.14 [INFO] [stderr] Downloaded clap_derive v4.5.5 [INFO] [stderr] Downloaded clap-verbosity-flag v2.2.0 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded futures-executor v0.3.30 [INFO] [stderr] Downloaded rustls-pemfile v2.1.2 [INFO] [stderr] Downloaded winapi-util v0.1.8 [INFO] [stderr] Downloaded anstyle-query v1.1.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.3 [INFO] [stderr] Downloaded colorchoice v1.0.1 [INFO] [stderr] Downloaded humantime-serde v1.1.1 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded tokio v1.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d523127c2c113e7eb6feedd9a6d4f9dee60bd26c9f7795e295265496cc859571 [INFO] running `Command { std: "docker" "start" "-a" "d523127c2c113e7eb6feedd9a6d4f9dee60bd26c9f7795e295265496cc859571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d523127c2c113e7eb6feedd9a6d4f9dee60bd26c9f7795e295265496cc859571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d523127c2c113e7eb6feedd9a6d4f9dee60bd26c9f7795e295265496cc859571", kill_on_drop: false }` [INFO] [stdout] d523127c2c113e7eb6feedd9a6d4f9dee60bd26c9f7795e295265496cc859571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 466848db275419f63c45749d893d7d366c1212eb791c4de9510d98e44cf65da2 [INFO] running `Command { std: "docker" "start" "-a" "466848db275419f63c45749d893d7d366c1212eb791c4de9510d98e44cf65da2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling stderrlog v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling clap-verbosity-flag v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling 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 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "466848db275419f63c45749d893d7d366c1212eb791c4de9510d98e44cf65da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466848db275419f63c45749d893d7d366c1212eb791c4de9510d98e44cf65da2", kill_on_drop: false }` [INFO] [stdout] 466848db275419f63c45749d893d7d366c1212eb791c4de9510d98e44cf65da2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfe73ccd4a603f5f4a4df78f60e117e886cfc38bfc17884920273ae784f52316 [INFO] running `Command { std: "docker" "start" "-a" "cfe73ccd4a603f5f4a4df78f60e117e886cfc38bfc17884920273ae784f52316", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling 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 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: 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: `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: `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: `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 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: `broker` [INFO] [stdout] --> src/actors/broker.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let broker = (); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 55 | let _broker = (); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 55 - let broker = (); [INFO] [stdout] 55 + let conf::_ = (); [INFO] [stdout] | [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.76s [INFO] running `Command { std: "docker" "inspect" "cfe73ccd4a603f5f4a4df78f60e117e886cfc38bfc17884920273ae784f52316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe73ccd4a603f5f4a4df78f60e117e886cfc38bfc17884920273ae784f52316", kill_on_drop: false }` [INFO] [stdout] cfe73ccd4a603f5f4a4df78f60e117e886cfc38bfc17884920273ae784f52316